4 src/inc.[ch]: changed the method of updating the progress dialog
5 to reduce the overhead on a fast network.
9 * src/nntp.c: nntp_session_new(): attempt to authenticate at the
10 beginning of a session (thanks to Shiino Yuki and IWAMOTO, Kouichi).
12 src/nntp.c: destroy session when socket error occurred.
17 src/summaryview.[ch]: added a function to filter selected
23 src/prefs_filter.c: rewrote the filtering system (the UI is not
28 * src/filter.c: fixed the matching algorithm of "not contain" flag
29 (also match if a header not exist, and handle same multiple
31 * src/imageview.c: get_resized_size(): fixed a typo that caused
37 src/mh.c: only update FolderItem::last_num when removing the last
38 number of message in MH folders, and don't scan in other case
39 (fixes wrong message count on moving).
44 src/summaryview.c: always move messages by default when using DnD
45 (except for News folder). Copy messages if Ctrl-key is pressed.
46 * src/mainwindow.c: main_window_empty_trash()
47 src/summaryview.c: summary_execute(): added missing
56 * src/prefs_common.c: made the default of "inc_local" FALSE.
61 src/folderview.c: toggle online mode when checking IMAP4 accounts.
62 Pop status bar after that.
63 * src/inc.c: code cleanup.
64 * src/mainwindow.[ch]: added main_window_get() and
65 main_window_toggle_online_if_offline().
66 * src/prefs_common.c: prefs_common_read_config(): fixed a bug that
67 made it offline mode on first execution.
71 * src/imageview.c: enabled automatic resize on window resize.
72 restrict the minimum size to 16 pixels to prevent crash.
73 imageview_init(): don't cache images when using imlib.
74 imageview_show_image(): fixed memory leak.
75 * src/mimeview.c: mimeview_init(): call imageview_init().
79 * src/codeconv.[ch]: added ISO-2022-JP-3 encoding.
85 src/messageview.c: added KOI8-U encoding.
86 * src/prefs_common.c: prefs_message_create(): modified the string
87 of resizing image option.
91 * src/addressbook.c: addressbook_list_selected(): corrected its
93 * src/imageview.[ch]: keep original image data in ImageView, and
94 enabled the toggle of resizing.
95 * src/messageview.[ch]
96 src/mimeview.[ch]: handle ImageView in MimeView instead of
103 src/summaryview.c: removed statusbar_pop_all() from imap.c and
104 news.c (do it in summaryview.c).
109 src/pop.[ch]: made inc_drop_message() the virtual function of
110 Pop3Session and removed the dependency of pop.c on inc.h.
116 src/textview.c: added statusbar to the message view with new window.
120 * src/inc.[ch]: use hash table for progressive update.
121 changed update interval to 2 sec.
125 src/summaryview.c: added FolderItem::unmarked_num to correct the
126 folder message counting.
130 * src/inc.[ch]: update folderview progressively.
131 * src/foldersel.c: display full id for selected item.
135 * src/folderview.[ch]: code cleanup.
136 folderview_append_item(): new. It appends the folder to the folder
138 * src/foldersel.c: foldersel_new_folder(): use
139 folderview_append_item().
143 * src/foldersel.c: implemented 'create new folder' function.
144 * src/folder.[ch]: folder_find_child_item_by_name(): new.
145 * src/utils.h: AUTORELEASE_STR(): convert malloc'd string into
146 auto-release (alloca'd) one.
150 * src/folderview.c: put together folderview_new_imap_folder_cb() into
151 folderview_new_folder_cb().
155 * src/compose.c: compose_write_to_file(): removed redundant strlen()
157 * src/textview.c: textview_button_pressed(): select correct account
158 when address is clicked.
166 * src/folder.c: folder_item_fetch_all_msg()
167 src/folderview.c: folderview_download_cb(): show progress with
169 * src/mainwindow.[ch]: added new functions for progressbar.
173 * src/summaryview.c: summary_key_pressed(): GDK_Left should only
174 switch to folderview when summaryview hscrollbar is at the leftmost
175 position (thanks to Alfons).
179 * src/codeconv.c: conv_euctojis(): made JIS X 0201 Kana conversion
181 * src/prefs_common.[ch]: added PrefsCommon::allow_jisx0201_kana
186 * src/codeconv.c: conv_euctojis(): force JIS X 0201 Kana to JIS X 0208
191 * src/imap.c: imap_get_msginfo(): fixed wrong counting.
204 src/quote_fmt_parse.y
205 src/quoted-printable.c
210 src/xml.c: fixed wrong type of argument for ctype functions (char
211 had been passed instead of unsigned char).
216 * src/mainwindow.[ch]: added MainWindow::messageview_cid.
217 Clear messageview when it is hidden.
218 * src/textview.c: show URL to the statusbar when its link is clicked.
219 textview_uri_security_check(): compare real URL and apparent one
220 and show warning if it seems to be a fake URL.
222 is_uri_string(): return TRUE if the string seems like a URL.
223 get_uri_path(): return URL except for its scheme part.
227 * src/folder.[ch]: folder_item_fetch_all_msg(): new. It fetches all
228 messages in a folder.
229 * src/folderview.c: implemented 'Download' feature.
233 * src/gtkutils.[ch]: implemented ComboButton which adds an arrow
234 menu button to a button.
235 * src/mainwindow.[ch]: main_window_toolbar_create(): added combo
236 button to reply and forward button.
240 * src/mainwindow.c: fixed automatic expansion of window size because
245 * src/addr_compl.[ch]
246 src/gtkshruler.[ch]: changed the copyright notice.
250 * src/gtkstext.c: find_line_params(): also break between mutlibyte
251 and single-byte characters.
255 * src/gtkstext.c: find_line_params(): break lines between multibyte
256 characters on word wrap mode.
260 * src/codeconv.c: conv_iconv_strdup(): fixed crashes on LP64
261 environments (thanks to James Noyes).
262 * src/compose.c: compose_select_account(): don't turn off the sign/
263 encrypt option automatically.
267 * src/inc.[ch]: made inc_account_mail() public.
268 * src/mainwindow.c: moved receive menus into submenu, and added
269 dynamic menus for receiving from each account.
277 * src/procmsg.c: procmsg_open_data_file(): set buffer if DATA_READ
278 is specified and a buffer is given.
279 procmsg_open_cache_file_with_buffer(): new.
280 procmsg_read_cache(): fixed a bug that called setvbuf() after an
281 file I/O which caused buffer read error.
289 * configure.in: enable IPv6 support by default.
293 * src/inc.c: inc_mail(), inc_all_account_mail(): ask user to switch
294 to online when in offline mode.
295 * src/mainwindow.h: added main_window_toggle_online().
302 src/stock_pixmap.[ch]
303 src/pixmap/dir-noselect.xpm: made no-select folders display with
305 * src/Makefile.am: added offline.xpm, online.xpm, and
306 dir-noselect.xpm to EXTRA_DIST.
310 * src/folder.h: added macro FOLDER_ITEM_CAN_ADD().
311 * src/folderview.c: folderview_drag_motion_cb(): code cleanup.
312 folderview_drag_received_cb(): don't accept at no_select folder or
314 * src/foldersel.c: made folders on which no_select flag is set not
319 * src/imap.c: imap_do_copy_msgs(), imap_remove_msgs(): code cleanup.
320 set MSG_INVALID flag when messages are deleted.
321 * src/mh.c: mh_do_move_msgs(), mh_remove_msg(): set MSG_INVALID flag
322 when messages are deleted.
324 procmsg_move_messages()
325 procmsg_copy_messages(): return error status.
326 Added MSG_INVALID to MsgTmpFlags.
327 * src/summaryview.c: summary_execute(): detect errors and only remove
328 nodes that are invalidated.
329 summary_unthread_for_exec(): fixed a bug that didn't remove nodes
334 * src/mainwindow.[ch]: added online switch button to the statusbar,
335 and "/File/Work offline" in the menu.
336 * src/pixmaps/offline.xpm
337 src/pixmaps/online.xpm: new (borrowed from
338 themes/classic/communicator/icons/ in Mozilla).
339 * src/stock_pixmap.[ch]: added online.xpm and offline.xpm.
340 * src/textview.[ch]: textview_show_error(): new.
341 * src/summaryview.c: summary_display_msg_full(): update marks only
342 if messages are displayed.
343 * src/prefs_common.[ch]: added PrefsCommon::online_mode.
344 * src/news.c: news_session_get()
345 src/imap.c: imap_session_get(): return NULL when in offline mode.
346 * src/messageview.[ch]: messageview_show(): return status whether
347 messages are successfully displayed. Display error messages in
348 the view when failed.
350 procmsg_get_message_file()
351 procmsg_open_message(): don't output warnings when fetch failed.
355 * src/html.c: html_get_tag(): support attributes which don't have
360 * src/codeconv.c: conv_get_code_conv_func(): return conv_latintodisp
361 only if src_charset and current charset is identical or current
362 one is multibyte (fixes display of ISO-8859-5 on KOI8-R locale etc.).
366 * autogen.sh: don't include m4 directory in aclocal.
367 * intl/libgnuintl.h: removed from cvs.
368 * po/.cvsignore: added stamp-po and remove-potcdate.sed.
372 * upgraded to gettext-0.12.1.
374 2003-11-24 gettextize <bug-gnu-gettext@gnu.org>
376 * Makefile.am (SUBDIRS): Add m4.
377 (ACLOCAL_AMFLAGS): New variable.
378 (EXTRA_DIST): Add config.rpath.
379 * configure.in (AC_OUTPUT): Add m4/Makefile.
383 * configure.in: added check for d_type member in struct dirent.
384 * src/mh.c: mh_scan_folder(): use d->d_type if available.
385 mh_get_uncached_msgs(): removed redundant stat().
386 mh_parse_msg(): return NULL if not a regular file.
387 mh_scan_tree_recursive(): use d->d_type if available.
389 dirent_is_regular_file()
390 dirent_is_directory(): new. Use d->d_type to determine the type
391 of entry if available.
392 remove_dir_recursive(): use dirent_is_directory().
396 * src/folder.h: added 'updated' flag to FolderItem.
397 * src/folderview.[ch]: folderview_update_all_updated(): new. It
398 updates all updated folders.
399 * src/imap.c: set FolderView::update flag on changes of contents.
400 * src/main.c: send_queue()
401 src/mainwindow.c: send_queue_cb(): code cleanup.
402 * src/mh.c: code cleanup.
403 mh_scan_folder(): correctly count new messages.
404 * src/procmsg.[ch]: code cleanup.
405 procmsg_open_cache_file(): new.
406 procmsg_open_mark_file(): enable read/write/append.
407 procmsg_send_queue(): correctly choose outbox for accounts.
408 * src/send_message.[ch]: send_get_queue_info(): get a queue
409 information from queued messages.
410 send_queue_info_free(): free QueueInfo.
411 send_message_queue(): take QueueInfo as an argument instead of file.
412 * src/summaryview.c: summary_write_cache(): code cleanup.
416 * src/compose.c: compose_redirect_write_headers(): correctly add
421 * src/imap.c: imap_get_msg_list(): fallback to FETCH command if SEARCH
422 command to get flags failed.
423 imap_search_flags(): returns UID array and flags hash table using
425 imap_fetch_flags(): returns UID array and flags hash table using
430 * src/summary_search.c: summary_search_execute(): fixed 'Select all
431 matched' when backward search is enabled.
432 Made the backward search button insensitive when 'select all
441 * src/imap.c: imap_scan_tree(): check the existence of root directory
442 with LIST instead of STATUS.
446 * src/send_message.c: fixed format string bug (exploitable by
447 malicious SMTP server) when calling alertpanel_error()
448 (thanks to Georgi Guninski).
455 src/news.[ch]: refactoring of the folder system (based on the claws'
464 src/summaryview.c: use FOLDER_TYPE() macro at every place.
473 addressbook_folder_load_person()
474 addressbook_folder_load_group(): sort the ctree after the end of
475 the loop (fixes performance issue when many addresses are in one
476 folder) (thanks to christian mock).
480 * src/folderview.c: folder_init(): code cleanup.
481 * src/summaryview.c: summary_init(): check if boldfont is
483 * src/grouplistdialog.c: use proper callback for delete_event (thanks
485 * src/imap.c: allow zero-length messages.
486 * src/recv.c: recv_bytes_write(): return immediately if size == 0.
490 * src/folderview.c: folderview_init(): if font can't be loaded, fall
491 back to gtk default (fixes crashes on startup). Also removed the
496 * src/compose.c: compose_insert_sig(): insert signature at the
497 current cursor position on manual operation.
501 * src/summaryview.c: summary_key_pressed(): don't ignore delete key
502 even if the main window is locked.
506 * src/action.c: improved synchronous action exit code (fixes long
507 delay after action exit on RH9) (thanks to Melvin).
508 * src/stringtable.[ch]: string_table_insert_string(): modified the
509 code to remove the warning "dereferencing type-punned pointer will
510 break strict-aliasing rules".
511 Use const gchar * instead of gchar * for arguments.
515 * src/utils.[ch]: generate_mime_boundary(): a new function to create
516 MIME boundary (moved from rfc2015.c).
517 Removed more special characters.
518 Use random() instead of lrand48() which is obsolete.
519 Added an argument for prefix to prevent duplication.
520 Always add "=_" as a counter-QP sequence to simplify the code.
522 rfc2015_decrypt_message()
524 rfc2015_sign(): fixed a bug that didn't handle continuous content
527 src/rfc2015.c: use generate_mime_boundary().
532 folderview_delete_folder_cb()
533 folderview_remove_mailbox_cb(): close currently displayed folder
534 before removing FolderItem (fixes crash on deleting folder).
536 src/imap.[ch]: imap_scan_tree()
537 src/mh.[ch]: mh_scan_tree(): return -1 when scanning failed.
538 * src/summaryview.c: summary_clear_all(): also clear the message view.
539 * src/imap.c: imap_close(): fail if the specified folder is not
541 imap_scan_tree(): check if the specified root directory exist, and
542 try creating it if not.
543 imap_parse_list(): output warning if a server returns error.
544 imap_find_namespace_from_list(): support not slash-delimited path.
545 imap_status(): don't return values if they're not specified.
549 * sylpheed.spec.in: fixed a typo.
560 src/prefs_common.[ch]: added the receive dialog's option to
561 display the dialog only on manual receiving, and the
562 RECV_DIALOG_ACTIVE option was removed.
566 * src/compose.c: compose_write_headers(): also replace ':' in the
567 MIME boundary with '_' (as a workaround for broken servers).
571 * src/imap.c: imap_scan_tree_recursive(): fixed compile error.
575 * src/prefs_filter.c: added 'Top' and 'Bottom' button.
579 * src/folder.[ch]: folder_item_remove_children(): new. It removes
580 all children under a FolderItem.
581 * src/folderview.c: folderview_rescan_tree(): modified the message.
582 * src/imap.c: imap_scan_tree(), imap_scan_tree_recursive(): reuse
583 the previous FolderItem objects.
587 * src/folder.[ch]: added a reference to its own GNode in FolderItem.
588 folder_item_remove(): free all FolderItem's.
589 folder_tree_destroy(): use folder_item_remove().
590 * src/folderview.c: folderview_sort_folders(): keep the order even
591 if special folders' parents are different.
592 * src/imap.c: imap_scan_tree_recursive(): fixed a memory leak.
593 * src/mh.c: mh_scan_tree(): preserve the previous FolderItem's.
594 mh_remove_missing_folder_items(): scan the directories and remove
596 mh_scan_tree_recursive(): reuse the previous FolderItem objects.
600 * src/mainwindow.c: always reflect window size changes.
601 * src/folderview.c: folderview_init()
602 src/summaryview.c: summary_init(): realize the widget before
604 * src/prefs_common.[ch]: remember the folder and mesage view's
610 src/prefs_common.[ch]: remember the size and position of
612 main_window_set_widgets(): fixed a bug that the hidden items on
613 the header view were shown when changing the view type.
614 Instead of setting the window size, set the each view's size.
618 * src/compose.c: compose_select_account(): don't append signature
620 compose_insert_sig(): don't insert "\n\n" if signature string
621 doesn't exist. Always insert signature at the end of message.
625 * improved sylpheed.spec.in (thanks to Andre Oliveira da Costa).
629 * minor code cleanups for the folder system.
630 * src/compose.c: compose_queue(), compose_draft_cb(): code cleanup.
631 * src/folder.c: code cleanups.
633 src/mh.c: calculate message numbers inside the functions.
634 * src/procmsg.c: procmsg_set_flags(): calculate message numbers.
635 * src/summaryview.[ch]: don't calculate and preserve message numbers
644 src/summaryview.c: renamed *_msgs_with_dest() to *_msgs().
648 * src/imap.[ch]: use CAPABILITY to use protocol extentions.
649 imap_greeting(): parse initial server greeting. Also support
652 imap_cmd_append(): use APPENDUID responses if UIDPLUS is supported.
656 * src/imap.c: imap_get_flag_str(): fixed a buffer overrun.
664 * src/main.c: main(): don't save config files on startup.
669 imap_get_msg_list(): removed redundant UID SEARCH ALL when not
671 Unset MSG_NEW flag if \Seen is set.
672 imap_get_uncached_messages(): fetch all messages if both first_uid
677 * src/imap.c: revamped the implementation so that it always
678 exactly reflects the state of IMAP4 servers.
679 imap_get_msg_list(): examine the state of messages using
681 imap_delete_cached_message(): removes single message cache.
682 imap_get_uid(): removed.
683 imap_cmd_search(): new. It issues UID SEARCH command and returns
685 imap_cmd_gen_recv(): made the length of strings unrestricted.
686 imap_get_uid_table(): returns a hash table from UID array.
693 src/news.[ch]: added Folder::close() method.
694 * src/summaryview.c: summary_clear_list(): call folder_item_close().
698 * flags are now taken over when copying messages into IMAP folders
705 mh_add_msgs(): flags can be also specified when adding files.
706 * src/folder.[ch]: added assertions for virtual functions.
707 * src/procmsg.[ch]: procmsg_get_message_file_list(): return the list
709 procmsg_message_file_list_free(): new.
713 * src/procmsg.h: changed MsgPermFlags and MsgTmpFlags from enum to
714 guint32 for portability (thanks to Alfons).
715 * src/imap.c: imap_add_msgs(): removed redundant unlink().
720 session_read_msg_cb()
721 session_read_data_cb(): fixed a bug that ran into infinite loop
722 if connection was closed by remote host (thanks to Yoichi Imai).
723 Added SESSION_EOF state to SessionState.
724 session_is_connected(): new.
725 * src/inc.[ch]: inc_put_error()
726 src/send_message.c: send_put_error(): also put log messages.
730 * more optimization of IMAP4.
731 * src/folder.[ch]: added a method add_msgs() that adds multiple files
733 Removed redundant scan() for the operations of FolderItem.
734 * src/imap.[ch]: implemented Folder::add_msgs() and optimized move
735 and copy from other Folder instances.
736 * src/mh.[ch]: implemented Folder::add_msgs() and cleaned up the code.
737 mh_fetch_msg(): scan folder if required.
738 * src/procmsg.[ch]: procmsg_get_message_file_list(): returns file
739 list from message list.
740 * src/summaryview.c: don't remove MSG_MARKED flags on
741 delete/move/copy operation.
742 summary_display_msg_full(): removed redundant message fetching.
746 * optimized move/copy/delete/mark operations of IMAP4 by using
747 sequence set when issuing commands (adopted claws' implementation
748 with cleaning it up).
750 imap_set_message_flags()
753 imap_cmd_store(): take sequence set string instead of UID number.
754 imap_do_copy_msgs_with_dest(): optimized by using sequence set.
755 imap_cmd_fetch(): use BODY.PEEK instead of BODY.
756 imap_remove_all_msg()
757 imap_set_message_flags(): use FLAGS.SILENT instead of FLAGS.
759 src/summaryview.c: use imap_msg_list_{set,unset}_perm_flags()
760 instead of issuing commands for each message.
765 src/prefs_account.[ch]
767 src/session.[ch]: added an option to enable/disable non-blocking
772 * src/compose.c: compose_attach_append(): display message's subject
773 when attaching message/rfc822 file.
780 session_read_msg_cb()
781 session_read_data_cb(): optimized by removing sock_peek() and
782 buffering received data in user space (correctly implemented
787 * src/session.c: reverted the previous change because it couldn't
788 handle data receiving after messages correctly.
794 session_read_msg_cb(): optimized by removing sock_peek() and
795 buffering messages in user space.
799 * src/imap.[ch]: refactored.
800 Changed all functions that have SockInfo arguments to take
802 Made imap_cmd_count an instance variable: IMAPSession::cmd_count.
803 imap_open(): only establish TCP (or SSL) connection.
804 imap_session_new(): process greeting and authentication here.
808 * src/imap.[ch]: implemented CRAM-MD5 authentication, and made code
810 * src/prefs_account.[ch]: added option menu for IMAP4 authentication
811 type in Receive tab, and hide other protocols' frames.
815 * src/mainwindow.c: send_queue_cb(): don't scan folder twice if
817 * src/procmsg.c: procmsg_send_queue(): return number of sent
823 main_window_set_toolbar_sensitive()
824 main_window_set_menu_sensitive(): removed the locking of file
825 operations while receiving mail.
829 * src/folder.[ch]: folder_item_remove_msg(): take MsgInfo as an
830 argument instead of message number.
831 * src/imap.[ch]: imap_remove_msg(): reimplemented using
833 * src/mh.[ch]: mh_do_move(): reimplemented using
834 mh_do_move_msgs_with_dest().
835 mh_copy_msg(): reimplemented using mh_copy_msgs_with_dest().
836 * src/procmsg.c: procmsg_send_queue(): modified to use message list.
840 * src/rfc2015.c: rfc2015_is_encrypted(): check MimeInfo::mime_type
841 to suppress some warnings.
842 * src/logwindow.c: log_window_append(): don't scroll up when trimming
847 * src/compose.c: add 'Content-Disposition: inline' to a text/plain
848 part when using PGP/MIME signing.
856 * src/defs.h: changed UI_REFRESH_INTERVAL from 40msec to 50msec.
857 * src/session.c: session_read_msg_cb(): make it always fail if
858 sock_read() returns by error.
859 * src/socket.[ch]: sock_check(): handle exceptional SSL condition.
860 sock_has_pending_data(): removed.
861 Removed debug output.
862 * src/send_message.c: send_recv_message(): display messages to
867 * src/inc.[ch]: update received message number on CList while
869 * src/session.c: session_read_data_cb(): optimized by removing
870 g_malloc() and memcpy().
874 * src/socket.[ch]: sock_add_watch(): new. It monitors SSL by original
875 watch functions (otherwise uses g_io_add_watch()).
876 * src/session.[ch]: removed previous workarounds, and replaced
877 g_io_add_watch() with sock_add_watch().
881 * src/socket.[ch]: added sock_has_pending_data() which returns TRUE
882 if socket has pending data.
883 * src/session.c: session_recv_msg(), session_recv_data(): check if
884 socket has pending data and call the callbacks immediately in that
885 case (fixes the hang at ESMTP EHLO on SSL).
889 * src/socket.c: check return value in SSL functions.
893 * src/mimeview.c: mimeview_init(): initialize TextView to prevent
894 slowdown caused by GTK+ themes (thanks to Yuri Arapov).
898 * src/session.c: session_read_data_cb(): clear Session::read_data_buf
899 before calling callbacks.
903 * src/socket.c: made socket connection protocol independent.
904 * src/session.c: removed debug g_print().
905 * src/inc.c: made status bar output less verbose, and show counter
906 on main window's progressbar.
910 * src/session.c: added missing #include <errno.h>.
914 * src/session.[ch]: reimplemented the Session system with non-blocking
915 I/O to solve the performance and the code design issue.
916 * src/socket.[ch]: added sock_connect_async() and
917 sock_connect_async_cancel() to enable asynchronous connection.
918 sock_peek(): modified the implementation.
919 * src/pop.c: optimized the receiving of the responses of
924 * src/procmsg.c: procmsg_get_thread_tree(): prevent threading problems
925 when a node is an ancestor (parent / great parent), which mostly
926 happens with circular references (thanks to Phillipe Gramoulle
927 for finding an sample set of messages, and Alfons for the patch).
931 * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
932 UIDL list is not found (fixes inability of initial retrieval).
936 * src/main.c: added the option '--status-full' which shows the status
937 of each folder specified. The option '--status' also takes
938 following arguments for folders (thanks to Yuri Arapov).
939 * src/folder.[ch]: folder_get_status(): new. it takes the array of
940 folders as the argument and returns their status.
941 folder_count_total_msgs(): removed.
951 src/inputdialog.c: use gtk_main_iteration() instead of gtk_main()
952 to prevent abort when a button is double-clicked.
956 * src/addr_compl.c: invalidate_address_completion(): check if
957 g_completion_list is NULL (thanks to Kazuhiro NISHIYAMA).
961 * src/pop.c: pop3_session_recv_data_finished(): fixed a bug that
962 deleted messages that is to be kept on server (thanks to Tristan
972 sock_set_io_timeout(): new. It sets the timeout interval.
973 sock_gdk_input_add(): removed since it's not used anymore.
974 * src/prefs_common.[ch]: added an option to set the timeout parameter.
978 * src/action.c: fixed a bug that didn't hide user string in
979 create_io_dialog() (thanks to Markus Amersdorfer).
980 Removed ChildInfo::type and added Children::action_type.
984 * src/inc.c: inc_start(): ask every password before retrieving.
985 Don't popup the redundant error dialog.
987 inc_all_account_mail()
988 inc_progress_dialog_set_list(): separated account list display
990 inc_progress_dialog_set_label()
991 inc_recv_data_finished()
992 inc_recv_message(): properly update the dialog when RETR finished.
997 imap_modified_utf7_to_locale()
998 imap_locale_to_modified_utf7(): fixed compilation failure when not
1003 * src/procmime.c: procmime_scan_multipart_message(): fixed parsing
1004 of message/rfc822 parts.
1008 * src/pop.c: pop3_ok(): detect timeout error.
1012 * src/imap.c: imap_locale_to_modified_utf7(): fixed the encoding bug
1013 when locale strings include '+'.
1014 imap_modified_utf7_to_locale()
1015 imap_locale_to_modified_utf7(): at least escape/unescape '&' even
1016 if iconv() is not supported.
1021 compose_insert_sig()
1022 compose_get_signature_str(): include separator in signature string.
1023 Don't insert separator if signature file is not found.
1024 Disabled use of implicit default signature path (~/.signature) when
1034 src/quote_fmt_parse.y
1035 src/smtp.c: suppress warnings that gcc-3.3 issues.
1036 src/stringtable.c: use string_entry_free().
1040 * src/compose.c: compose_insert_sig(): fixed the bug that always
1041 appended signature separator if signature file was not found.
1042 compose_get_signature_str(): fixed the bug that caused crash if
1043 signature file cannot be opened.
1051 * src/session.c: session_recv_msg(): removed debug print.
1058 imap_cmd_fetch(): check for data size that servers return (fixes
1059 vulnerability found in BugTraq).
1063 * src/addr_compl.c: get_complete_address()
1064 src/addressbook.c: addressbook_format_address()
1065 src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
1066 characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
1067 * src/main.c: main(): set colormap and visual to solve color problem
1068 in Solaris (thanks to Markus Schwarzenberg).
1076 * src/prefs_account.c: temporarily removed POP before SMTP option.
1080 * src/prefs_common.[ch]: changed the description of "Open message when
1081 cursor keys are pressed on summary".
1082 * src/summaryview.c: summary_show(): open message when always_show_msg
1087 * src/logwindow.[ch]: restrict the maximum lines of the log messages
1088 to reduce the memory usage.
1092 * src/compose.c: compose_insert_sig(): fixed a crash when signature
1093 string contains illegal sequence.
1094 * src/utils.[ch]: changed get_wcs_len() to get_mbs_len() for accuracy.
1098 * major refactoring of MIME structure.
1099 * src/procmime.c: procmime_scan_message(): decrypt message if
1100 gpgme is enabled. Create multipart tree only if content-type is
1101 multipart/* or message/rfc822.
1102 procmime_scan_multipart_message(): fixed the scanning of
1103 message/rfc822 part.
1104 * src/action.c: parse_append_msgpart()
1105 src/messageview.c: messageview_show()
1106 src/mimeview.c: mimeview_show_message(): use procmime_scan_message()
1107 instead of procmsg_open_message() and procmime_scan_mime_header().
1108 mimeview_set_multipart_tree(): conform to the new MIME structure.
1109 * src/textview.c: textview_show_part(): removed unnecessary check.
1110 * src/procmsg.c: procmsg_open_message_decrypted(): fixed the file
1111 pointer when decryption failed.
1115 * src/ssl.c: ssl_init_socket_with_method(): replaced log_warning()
1116 by g_warning(), and log_print() by debug_print().
1117 * src/pop.[ch]: added an error code PS_NOTSUPPORTED, and retry with
1118 LAST if UIDL is not supported.
1122 * src/codeconv.c: conv_get_code_conv_func(): convert to EUC-JP only
1123 if it is the current locale encoding when dest_charset_str is NULL.
1127 * src/action.c: execute_actions(): fixed crash when no text widget
1128 is selected (thanks to Paul and Melvin).
1130 src/prefs_actions.c: added missing reference to Claws team in the
1137 session_send_data(): fixed a memory leak and data sending bug.
1138 * src/send_message.c:
1139 send_message_smtp(): fixed focus management.
1143 * src/smtp.[ch]: set the response string to SMTPSession::error_msg
1145 * src/send_message.c: show error dialog if error occurred.
1146 * src/main.c: send_queue()
1147 src/mainwindow.c: send_queue_cb(): don't show error dialog here.
1151 * src/session.c: session_close(): kill child process only if
1152 state is not SESSION_DISCONNECTED.
1153 * src/send_message.c: send_cancel_button_cb()
1154 src/inc.c: inc_cancel(): don't set Session::state to
1155 SESSION_DISCONNECTED.
1156 * src/prefs.[ch]: modified the names of prefs_write_*().
1157 * src/address.[ch]: removed.
1161 * src/compose.c: compose_template_apply(): overwrite recipients.
1165 * src/procheader.c: procheader_date_parse(): removed debug print.
1166 * src/session.c: changed every g_print to debug_print.
1167 session_child_input(): removed unrequired session_close() (it'll
1168 be closed anyway after returning FALSE).
1169 * src/send_message.c: send_message_smtp(): changed g_print to
1174 * src/procheader.c: procheader_procheader_date_parse(): don't add
1175 local timezone offset if timezone is unknown.
1176 Made the Y2K workaround code to follow RFC 2822.
1177 procheader_scan_date_string(): workaround for date strings which
1178 don't have timezone specification.
1179 * src/utils.c: remote_tzoffset_sec(): return -1 if timezone is
1184 * src/action.[ch]: refactored. Also fixed a bug on MIME mode, and
1185 some memory leaks on error.
1186 action_update_msgview_menu(): new.
1187 * src/messageview.[ch]: added "Tools/Actions" menu. Keep window list.
1188 messageview_get_selected_mime_part(): returns MimeInfo of selected
1189 part when MessageView is in MIME mode.
1190 * src/mimeview.[ch]: mimeview_get_selected_part(): returns MimeInfo
1192 * src/summaryview.[ch]: summary_get_selected_msg_list(): returns
1193 MsgInfo list of selected messages.
1197 * src/prefs_filter.[ch]: include original message's headers as
1198 the preset keywords. Modified the sizes of the widgets.
1199 * src/utils.[ch]: added str_case_equal() and str_case_hash() for
1200 case-insensitive hash.
1204 * src/procmsg.c: procmsg_get_filter_keyword(): added X-Sequence to
1205 auto-detected headers.
1209 src/mainwindow.c: modified function names.
1210 get_user_string(): Use input_dialog() instead of its own
1215 * src/codeconv.[ch]: conv_encode_header(): don't include '(' and ')'
1216 in encoded strings if addr_field is TRUE.
1217 * src/compose.c: compose_convert_header(): added a flag 'addr_field'.
1221 * src/prefs_actions.[ch]: separated action execution routine into
1226 * src/prefs_actions.c: minor code cleanup.
1230 * src/codeconv.[ch]: conv_iconv_strdup(): fixed the handling of
1236 inc_recv_data_progressive()
1237 inc_recv_data_finished()
1240 send_send_data_progressive()
1241 send_send_data_finished(): added assertion.
1245 * src/codeconv.[ch]: conv_iconv_strdup(): fixed potential memory
1250 * src/codeconv.[ch]: conv_iconv_strdup(): don't include nul character
1251 in source buffer since it messed up some encoding conversion (like
1256 * src/procmsg.c: procmsg_get_filter_keyword(): unfold headers and
1257 extract ID from List-Id header.
1258 * src/utils.[ch]: extract_one_parenthesis_with_skip_quote(): removed.
1259 extract_list_id_str(): extract ID string from List-Id header.
1263 * src/prefs_actions.c: merged from the claws branch. Fixes several
1264 bugs and adds some features.
1268 * src/compose.c: compose_parse_header(): fixed a bug that unnecessary
1269 linebreaks were included on reediting.
1271 src/pop.c: fixed typos: 'occured'.
1275 * src/compose.[ch]: implemented auto signature replacement on
1277 compose_insert_sig(): added a flag to replace current signature.
1278 compose_get_signature_str(): new. It returns signature string.
1279 compose_insert_command_output(): removed.
1280 compose_select_account(): call compose_insert_sig() on account
1282 compose_destroy(): fixed a memory leak of UndoMain object.
1283 Compose::sig_str: new. It stores current signature string.
1284 * src/gtkutils.[ch]: gtkut_stext_find(): new.
1285 Renamed gtk_stext_clear() to gtkut_stext_clear().
1286 * src/utils.[ch]: get_wcs_len(): returns wide-character length of
1288 normalize_newlines(): converts CR+LF and CR into LF.
1289 get_command_output(): returns command output.
1293 * src/procmsg.[ch]: procmsg_get_filter_keyword(): new. It returns
1294 filter keyword for messages.
1295 * src/summaryview.c: summary_filter_open(): use
1296 procmsg_get_filter_keyword().
1297 * src/messageview.c: create_filter_cb(): implemented.
1303 inc_put_error(): display server responses on error.
1304 * src/pop.[ch]: added Pop3Session::error_msg, and set server responses
1309 * src/messageview.[ch]: separated the forced charset of message view
1310 in separate window from the main window.
1312 textview_show_message()
1313 textview_show_part()
1314 textview_add_part(): use MessageView::forced_charset if specified.
1318 * src/mainwindow.c: modified File menu a bit.
1319 * src/menu.[ch]: added functions to handle item factory rc strings.
1320 * src/messageview.[ch]: added a menu, and made it take over main
1321 window's menu shortcuts.
1322 added msginfo which is duplicated on display to MessageView.
1323 * src/prefs_common.c: prefs_keybind_apply_clicked(): use
1324 menu_factory_clear_rc().
1328 * send_message.c: send_message_smtp():
1329 re-enabled forcing of SMTP AUTH method.
1330 Clear temporary password if authentication failed.
1331 * smtp.c: output warning to log and set SMTPSession::error_val
1333 * smtp.h: changed error value to enum. Added SMTPSession::error_val.
1334 * src/mbox.c: proc_mbox(): force updating of folder.
1338 * src/pop.h: changed error value to enum.
1339 * src/pop.c: pop3_retr_recv(): return PS_IOERR when inc_drop_message()
1341 pop3_ok(): return appropriate error value based on current state.
1342 Output warning to log if error occurs.
1347 src/news.[ch]: refactored. Remove NNTPSockInfo and use NNTPSession
1352 * src/inc.c: inc_pop3_session_do(): retrun appropriate error if
1353 Session::state == SESSION_ERROR.
1354 * po/POTFILES.in: removed src/automaton.c and src/send.c.
1355 Added src/send_message.c.
1360 src/session.c: fixed breakage of POP3 retrieval.
1361 session_recv_data_from_sock_unescape(): read until terminator
1362 appears and also return the actual size.
1366 * src/automaton.[ch]: removed.
1367 * src/session.c: removed some of the debug output.
1368 * src/smtp.c: smtp_session_recv_msg(): workaround in case server
1369 returns EHLO-style response to HELO command.
1370 Ignore all multiline responses except for EHLO since they are
1371 allowed for any command.
1376 src/pop.c: fixed retrieval of messages which contain dot-escaped
1378 session_recv_data(): added a flag for unescape.
1379 session_recv_data_from_sock_unescape(): new. It receives message
1380 for each line and unescapes dot-escaped lines.
1381 Removed the previous workaround.
1382 * src/defs.h: decreased UI_REFRESH_INTERVAL to 40 msec.
1386 * src/pop.[ch]: workaround for brekage of retrieval when given size
1387 and actual one is different.
1391 * src/pop.c: pop3_retr_eom_recv(): ignore invalid end of message
1392 since some servers sometimes return incorrect message size.
1393 * src/news.c: news_session_new(): zero clear NNTPSession object.
1394 Don't initialize Session::sock with nntp_sock->sock to prevent
1395 double-free of SockInfo.
1396 * src/imap.c: zero clear IMAPSession object.
1397 imap_cmd_append(): don't close SockInfo.
1401 * src/pop.c: pop3_session_recv_msg(): fixed STLS.
1406 src/pop.[ch]: reimplemented using new I/O system.
1407 * src/session.[ch]: session_recv_data(): new.
1408 session_send_data_to_sock()
1409 session_recv_data_from_sock(): decreased the frequency of progress
1414 * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
1418 * src/session.[ch]: session_start_tls(): new.
1419 session_recv_msg(): made it static.
1423 * implemented asynchronous network I/O.
1424 * src/session.[ch]: the interface to communicate with servers through
1427 src/send_message.[ch]: rewrote using new I/O system.
1428 * src/socket.[ch]: renamed *_write() to *_write_all(), and made
1429 *_write() as just a simple wrapper for write().
1430 * src/utils.c: get_outgoing_rfc2822_str(): new. It modifies the
1431 message to send with SMTP or NNTP.
1432 file_read_stream_to_str(): new.
1436 * src/textview.c: textview_button_pressed(): corrected the range of
1438 * src/compose.c: compose_wrap_line_all_full(): treat UTF-8 characters
1439 represented with more than 2 bytes as 2 character width and 2 bytes
1440 one as a single character width as a workaround for wrapping problem.
1444 * src/utils.c: subject_compare_for_sort(): allow null strings (fixes
1449 * implemented HTML link correctly.
1450 * src/html.[ch]: HTMLAttr, HTMLTag: new structure for attributes /
1452 html_get_tag(): new. It parses tag and returns HTMLTag object.
1453 html_parse_tag(): also parses <a> tags and 'href' attributes.
1454 * src/textview.c: textview_write_link(): new. It creates link string.
1458 * src/compose.c: compose_wrap_line_all_full(): fixed an infinite
1459 loop / crash bug (thanks to Darko Koruga).
1460 compose_write_to_file(): put correct charset element when
1461 conversion failed but want to send anyway.
1465 * src/headerview.c: headerview_show()
1466 src/textview.c: textview_write_line(): remove unreadable characters
1467 from displayed strings to prevent crashes on multi-byte
1469 * src/codeconv.[ch]: conv_unreadable_locale(): new. It was separated
1470 from conv_localetodisp().
1474 * src/procmsg.c: procmsg_cmp_by_subject()
1475 src/summaryview.c: summary_cmp_by_subject(): ignore Re: when
1478 subject_compare_for_sort()
1479 trim_subject_for_sort(): new.
1487 * src/defs.h: added -i option to the default sendmail command.
1491 * src/codeconv.[ch]: added missing character encodings and locales.
1496 procmsg_get_mark_sum()
1497 procmsg_open_mark_file()
1498 procmsg_read_mark_file(): take FolderItem instead of directory
1503 * src/codeconv.c: conv_encode_header(): fixed a bug that spaces
1504 which is on the wrap boundary would be lost when encoding long
1505 non-ascii strings (thanks to Sergey Vlasov).
1506 Don't force wrapping within a long word until it reaches hard line
1507 length limit (998 characters) (workaround for the breakage of
1508 long address list with no spaces).
1512 * src/prefs_account.c: fixed compile failure when using neither
1517 * src/codeconv.c: fixed UTF-8 locale support.
1518 conv_get_code_conv_func(): return conv_noconv if locale encoding
1519 is UTF-8. Return conv_latintodisp on ISO-8859-* to locale encoding
1521 conv_convert(): call conv_iconv_strdup() instead of
1522 conv_codeset_strdup().
1523 conv_codeset_strdup(): moved some codes into conv_iconv_strdup().
1527 * src/prefs_account.[ch]: added an option to use command output for
1529 * src/compose.c: compose_insert_sig(): use command output if
1531 compose_insert_command_output(): new.
1535 * src/main.c: main(): remove lock socket if sylpheed is not running
1536 when --status command is executed.
1537 lock_socket_remove(): new.
1541 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
1542 codeset is US-ASCII (or POSIX).
1546 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
1547 and continue conversion.
1551 * src/summaryview.c: summary_selected(): always update widget
1556 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
1557 date in timezones more than GMT+12 or less than GMT-12.
1561 * src/prefs_common.[ch]
1562 src/sourcewindow.c: remember the size of source window.
1563 * src/md5.c: fixed a compile problem with gcc 3.3.
1567 * src/about.c: about_create(): modified the copyright notice.
1571 * src/colorlabel.c: don't use pixmaps for label color rect but draw
1572 rectangles so we can respect the color map of palette based visuals
1573 (fixes the long time crashes on Solaris - thanks to Alfons
1578 * src/procheader.c: procheader_date_parse(): made month string case
1580 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
1581 selection list is empty.
1585 * src/quote_fmt_parse.y: removed gettext translatable strings.
1586 * src/unmime.c: unmime_header(): remove broken characters when
1587 code conversion failed.
1588 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
1589 headers if long words more than 75 characters are entered.
1593 * src/prefs_account.c: prefs_account_receive_create()
1594 src/utils.c: to_human_readable(): made units translatable.
1598 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
1599 at first byte (fixes abort() problem of glibc).
1600 * src/html.c: html_read_line(): remove characters which can't be
1601 displayed on the current locale.
1606 trim_subject_for_compare(): renamed from trim_subject().
1607 trim_subject(): new. It removes [...] or (...) at the beginning
1609 * src/prefs_folder_item.c
1611 added options for trimming summary / compose subject.
1612 * src/summaryview.c: summary_set_header(): trim subject if the folder
1614 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
1620 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
1621 X-Face header problem).
1622 conv_encode_header(): allow up to 97 characters for one word.
1626 * src/filter.c: filter_match_condition(): fixed the bug that
1627 second condition ignored regex.
1628 * src/news.h: NewsGroupInfo: use guint for message numbers
1629 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
1633 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
1634 on code conversion failure.
1635 conv_get_charset_str()
1636 conv_get_charset_from_str(): optimized using hash table.
1640 * src/quote_fmt_parse.y:
1641 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
1642 treat only "\n-- \n" as a signature separator.
1646 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
1647 * src/summary_search.c: summary_search_execute(): search collapsed
1653 conv_unreadable_latin(): include 0x7f as an unreadable character.
1654 conv_localetodisp(): don't remove 8bit characters by default.
1655 conv_get_current_charset()
1656 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
1657 appended at the last of locale name.
1658 * src/compose.c: compose_write_to_file(): show from and to encoding
1659 when code conversion failed.
1667 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
1668 (thanks to Colin Leroy).
1669 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
1674 * src/textview.c: textview_write_line(): don't convert if conv is
1679 * src/codeconv.[ch]:
1680 renamed conv_guess_encoding() to conv_guess_ja_encoding().
1681 conv_localetodisp(): new. It removes unreadable characters from
1682 (assumed) current locale string.
1683 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
1684 NULL and current locale encoding is US-ASCII.
1685 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
1686 specified for destination charset.
1687 * src/textview.c: textview_write_line(): use conv_localetodisp()
1688 instead of strncpy2() if conversion failed.
1692 * src/codeconv.c: conv_iconv_strdup()
1694 imap_modified_utf7_to_locale()
1695 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
1696 a warning on some systems.
1697 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
1699 Return NULL instead of incomplete string if conversion failed.
1703 * src/summaryview.c: summary_execute(): select appropriate node
1704 if currently selected node is to be deleted.
1705 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
1706 TRUE if the specified node is selected.
1710 * src/summaryview.c: summary_status_show(): fixed a occasional crash
1711 on deleting or moving.
1715 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
1716 of EUC-JP more accurate.
1717 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
1729 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
1730 duplication bug if the source string has CRLF.
1732 canonicalize_str(): new. Returns newly allocated canonicalized
1734 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
1735 uncanonicalize_file_replace(): new.
1736 * src/compose.c: always canonicalize body before processing, and
1737 uncanonicalize before returning.
1741 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
1742 ENC_8BIT for Russian charsets.
1743 * src/compose.c: compose_write_to_file(): use base64 when signing
1748 * src/prefs_common.c: prefs_send_create(): added a description for
1749 the setting of Content-Transfer-Encoding.
1753 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
1755 * src/procmime.c: procmime_get_encoding_for_charset(): return
1756 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
1757 * src/compose.c: compose_attach_append(): set correct Content-
1758 Transfer-Encoding for message/rfc822.
1759 compose_write_to_file(): enabled user-definable Content-Transfer-
1761 * src/prefs_common.[ch]: added an option for user-defined Content-
1766 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
1767 line doesn't end with linebreak.
1771 * implemented quoted-printable encoding.
1772 * src/quoted-printable.[ch]: qp_encode_line(): new.
1774 compose_write_to_file()
1775 compose_write_attach(): implemented quoted-printable encoding.
1776 compose_attach_property_create(): enabled quoted-printable menu
1778 * src/procmime.c: procmime_get_encoding_for_charset(): return
1779 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
1780 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
1787 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
1788 of abbreviation of newsgroup name.
1792 * configure.in: show the result of iconv detection.
1796 * src/codeconv.[ch]: made the transition from libjconv to iconv().
1797 conv_iconv_strdup(): new.
1801 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
1807 src/prefs_folder_item.c: English fix (property -> properties).
1808 * src/prefs_filter.c: alert if entry is not saved.
1809 prefs_filter_dialog_to_filter(): new.
1813 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
1814 strings after linefeed.
1819 * src/codeconv.[ch]: code cleanup and optimization.
1820 conv_code_converter_new()
1821 conv_convert(): use functions obtained by conv_get_code_conv_func()
1822 when using libjconv.
1823 conv_codeset_strdup(): code cleanup.
1824 conv_get_code_conv_func(): added an argument for destination
1825 character set, and generalized.
1829 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
1831 * src/compose.c: compose_convert_header(): remove trailing spaces.
1832 * src/customheader.c: custom_header_read_str(): strip the spaces
1834 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
1835 strip the spaces of name and value.
1843 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
1844 into infinite loop when encountering invalid characters.
1848 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
1850 * src/summaryview.c: summary_show(): removed summary_sort() because
1851 it is done inside folder_item_get_msg_list(). This will improve
1852 the performance of summary display.
1853 Sorted out the summary sort functions using macros.
1857 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
1858 list if FolderItem::sort_key is set.
1859 Added SORT_BY_TO to FolderSortKey enum.
1860 * src/mainwindow.c: added "View/Sort/by recipient".
1868 * src/codeconv.c: conv_encode_header(): fix for redundant space on
1870 * src/compose.c: compose_convert_header(): always pass string to
1871 conv_encode_header() for line-breaking.
1875 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
1876 parsing of email addresses.
1880 * src/defs.h: added DEFAULT_BROWSER_CMD.
1881 * src/mimeview.c: mimeview_view_file()
1882 src/prefs_common.c: prefs_other_create()
1883 src/utils.c: open_uri(): changed the default web browser to
1884 mozilla, and changed 'raise' command (which is undocumented)
1885 to 'new-window' in 'netscape -remote'.
1889 * src/compose.c: compose_send_control_enter(): fixed crash on
1890 Ctrl-Enter when Message/Send has no accelerator key (thanks to
1898 sort_summary_type_cb(): prevent unwanted processing on unchecking
1903 * src/main.c: process command line option before gtk_init() to
1904 enable remote operation without X (thanks to Ruslan N. Balkin).
1905 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
1910 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
1911 (the spec of autotools seems to be changed).
1915 * src/imap.c: get path separator using LIST command if server
1916 doesn't support NAMESPACE (based on the patch by Brian Sammon).
1917 imap_parse_list(): added an argument to return path separator.
1918 imap_get_namespace_by_list(): new.
1922 * src/addr_compl.c: add_address(): removed the debug print.
1923 * src/gtkutils.[ch]: gtkut_window_popup()
1924 src/mainwindow.c: main_window_popup(): applied the patch to fix
1925 the behavior of window popup from Sergey Vlasov (thanks!)
1926 * src/account.c: account_edit_create(): use signal_connect_after
1927 for row_move signal to fix the row position bug.
1928 account_row_moved(): scroll the CList half page.
1929 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
1931 * src/summaryview.c: summary_reply(): use selection text only if
1932 the displayed message is selected (thanks to Sergey Vlasov).
1936 * src/codeconv.c: conv_encode_header(): reimplemented the routine
1937 of MIME header encoding. And use Q-encoding method if the current
1938 locale is single-byte one.
1939 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
1940 of wide-character string. Consider control codes as non-ASCII.
1941 get_next_word_len(): new. It returns the length of next word.
1942 is_next_mbs(), find_wspace(): removed.
1943 * src/quoted-printable.[ch]: new.
1944 qp_decode_line(): decodes one QP line.
1945 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
1946 qp_get_q_encoding_len(): returns the length when a string is
1948 qp_q_encode(): Q-encode a string (RFC 2047).
1949 * src/unmime.c: moved the functions for quoted-printable to
1954 * src/send.c: send_message_local(): escape line that only have one
1955 dot character (postfix's sendmail command will stop there).
1959 * src/send.c: send_message_local(): don't escape first-dot line
1960 (thanks to Sergey Vlasov).
1964 * autogen.sh: added 'libtoolize --force --copy' to override the
1966 * acconfig.h: removed.
1967 * configure.in: increased minimal version of GPGME to 0.3.10.
1968 Fixed checking of XIM.
1970 ac/gnupg-check-typedef.m4: added an argument for comment.
1974 * src/imageview.[ch]: fixed conflicting declarations of
1975 imageview_show_image() (thanks to Thorsten Maerz).
1979 * src/compose.c: compose_entry_append(): don't add ", " on subject
1981 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
1982 charset from the table (currently disabled for non-Japanese locales).
1983 conv_get_current_locale(): also refer to LC_CTYPE.
1987 * README: added a description about hidden settings.
1991 * src/prefs_common.[ch]: reorganized the common prefs dialog.
1992 Made enable_hscrollbar and bold_unread hidden options.
1996 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
2001 account_find_from_message_file()
2002 account_find_from_msginfo(): new. They find an account from the
2003 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
2006 compose_reedit(): restore messages' previous account on composition.
2007 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
2012 * src/compose.c: cleaned up the code using compose_entry_set()
2013 (don't use gtk_entry_set_text() directly).
2017 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
2021 * updated autotools and libtool to the latest version.
2022 * configure.in: added AC_PREREQ(2.50).
2026 * src/textview.c: textview_set_font(): fix for message display in
2027 UTF-8 locales (thanks to Sergey Vlasov).
2031 * src/imageview.[ch]: imageview_show_image(): resize images to fit
2032 the window size if specified.
2033 * src/prefs_common.[ch]: added an option 'Resize attached images'.
2037 * refactoring for SMTP implementation.
2038 * src/session.h: added ui_func to Session.
2039 * src/smtp.[ch]: separated the connection routine from
2040 smtp_session_new() to smtp_connect().
2041 Changed the argument of every function other than smtp_ok() from
2042 SockInfo to SMTPSession.
2043 Call UI callback from each functions.
2044 * src/send.c: send_message_smtp(): separated the code for UI update
2045 into send_progress_dialog_update().
2049 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
2050 * src/send.c: send_message_smtp(): call smtp_auth() and display
2051 the state to the dialog.
2055 * src/filter.c: strmatch_regex(): use extended regex (thanks to
2057 * src/main.c: main(): removed the code for assortrc -> filterrc
2059 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
2060 current locale is C or POSIX.
2061 gtkut_stext_is_uri_string(): include "www." for URI string.
2062 * src/textview.c: textview_make_clickable_parts(): include "www."
2071 * src/textview.c: textview_add_part(): indicate signature status
2072 using different colors.
2076 * src/folder.c: folder_write_list_recursive(): escape
2077 To/Cc/Bcc/Reply-To strings.
2081 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
2082 headers on locales other than Japanese when not using libjconv.
2086 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
2087 corresponding error message.
2088 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
2093 * src/prefs_account.[ch]: removed prefs_account_save_config() since
2095 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
2096 procmime_mimeinfo_free_all() can be used in every case.
2100 * src/account.c: account_get_special_folder(): support F_INBOX, and
2105 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
2106 COMPOSE_ENTRY_*, and added
2107 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
2110 compose_redirect(): added FolderItem to the arguments, and reflect
2111 settings in the item.
2112 compose_entry_set(): new.
2113 compose_entry_append(): code cleanup.
2114 compose_entries_set_from_item(): take ComposeMode in its arguments,
2115 and enabled FolderItem::use_auto_to_on_reply.
2116 * src/summaryview.c: summary_reply(): pass folder_item to
2117 compose_{reply,forward,redirect}().
2121 * src/gtkutils.[ch]:
2122 gtkut_font_load(): new. It automatically choose font or fontset
2124 gtkut_font_load_from_fontset(): new. It tries to load single font
2125 instead of fontset from a fontset string.
2129 src/summaryview.c: workaround for the problem that couldn't display
2130 8-bit characters in C or POSIX locale (use font instead of fontset).
2133 src/textview.c: made code cleanup using gtkut_font_load*().
2137 * src/mh.c: mh_get_msginfo(): set correct message number.
2141 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
2142 It returns a new MsgInfo associated to a message number.
2143 folder_item_get_msginfo(): new.
2144 * src/imap.[ch]: imap_get_msginfo(): new.
2145 * src/mh.[ch]: mh_get_msginfo(): new.
2146 * src/news.[ch]: news_get_msginfo(): new.
2150 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
2151 infinite loop if an invalid code appeared.
2155 * src/codeconv.c: conv_codeset_strdup()
2156 src/html.[ch]: html_read_line(): don't output conversion failure
2158 Added HTML_CONV_FAILED to the enum HTMLState.
2162 * implemented per-folder auto-set address (still in progress).
2163 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
2164 and set entries from it (if mailto is empty).
2165 compose_entry_append(): activate menu if required.
2166 compose_entries_set_from_item(): new.
2167 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
2168 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
2170 folder_build_tree(), folder_read_folder_func(),
2171 folder_write_list_recursive(): added the above members.
2172 * src/prefs_folder_item.[ch]: added auto-set addresses.
2173 * src/pop.[ch]: removed Pop3State::prev_folder.
2177 * src/compose.c: allow dropping files by also "moving" files from a
2178 file manager (thanks to Alfons).
2182 * compose_reply_set_entry(): made Reply-To have priority over
2183 List-Post on ML reply.
2187 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
2188 * src/summaryview.c: summary_step(): fixed a bug that lost the
2189 correct selection anchor.
2190 summary_key_pressed(): use gtk_sctree_select() instead of
2194 src/recv.c: differentiate disk full and socket errors
2195 (thanks to Colin Leroy).
2199 * src/account.c: account_edit_prefs(): removed unused variables.
2200 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
2203 compose_reply_set_entry(): receive reply type with one argument.
2204 * src/summaryview.c: summary_reply(): reduced conditional branches.
2208 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
2209 from line ends (thanks to Sergey Vlasov).
2210 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
2215 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
2216 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
2217 messages all at once.
2221 * src/account.[ch]: account_open(): new. It opens account prefs
2222 dialog and reflects to UI when finished.
2224 folderview_button_pressed()
2225 folderview_property_cb(): open account prefs dialog when the
2226 property of the root folder of remote account is requested.
2230 * src/account.c: account_destroy(): unref account information in
2232 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
2233 specified account information in all folders.
2235 folderview_rm_imap_server_cb()
2236 folderview_rm_news_server_cb(): destroy Folder first because
2237 folder_destroy() refers to account information.
2241 * src/account.c: account_find_from_item(): fixed a bug which didn't
2242 select the correct account.
2243 * inc_pop3_session_do():
2244 fixed the resource leak when SSL initialization failed.
2245 Immediately break from temporary event loop if cancelled.
2249 * src/account.[ch]: account_find_from_item(): new.
2251 compose_reply(), compose_forward(), compose_redirect()
2252 src/mainwindow.c: compose_cb(): select optimal account when
2254 * src/folder.[ch]: added FolderItem::apply_sub.
2255 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
2256 index of option menu which contains the specified data.
2257 * src/prefs_folder_item(): added Compose tab, and the setting of
2262 * configure.in: added $LDAP_LIBS for lber library detection.
2270 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
2271 leak, and added error checking.
2275 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
2276 removed Compose::orig_account.
2277 compose_check_for_valid_recipient(): check only enabled entries.
2278 compose_write_headers()
2279 compose_redirect_write_headers(): add Newsgroups header only
2280 when the entry is enabled.
2281 compose_send(): modified the method of finding a mail account
2282 from a news account so that it tries to match the From address.
2283 * src/send.c: send_message_queue(): enabled the queueing of news
2285 * src/news.[ch]: news_post_stream(): new.
2289 * configure.in: check lber first and use $LDAP_LIBS on the check
2294 * po/*.po: fixed many typos of format strings which will lead to
2295 crash (thanks to Sergey Vlasov).
2299 * src/procheader.c: procheader_parse_stream(): added Cc header
2300 to the target for full parsing.
2301 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
2302 returns the full message information from the given information.
2303 * src/compose.c: compose_reply(), compose_forward(): get full
2304 message information for Cc header.
2308 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
2309 IMAP4 and NNTP folder summary after checking those accounts.
2317 * src/prefs_common.c: prefs_compose_create(): modified the label
2318 of the option for Reply button.
2319 * configure.in: add -lldap and -llber to the 5th argument of
2320 AC_CHECK_LIB() for LDAP library detection.
2325 INSTALL.jp: updated.
2329 * src/mainwindow.c: toggle the behavior of Reply button between
2330 normal reply and reply-to-list.
2331 * src/prefs_common.[ch]: added an option to switch the function
2336 * src/compose.c: compose_new(): removed the workaround for XIM
2337 because it doesn't have any effect and only seems to cause
2342 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
2343 compose_parse_header(): parse also List-Post header.
2344 compose_reply_set_entry(): support reply-to-ML (fall back to
2345 normal reply if ML address is not found).
2348 src/summaryview.c: reorganized Reply menu and added 'Reply to
2350 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
2351 returns newly allocated parameters.
2355 * src/account.c: account_read_config_all(): set account information
2356 to default before initializing with configuration file.
2357 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
2358 newly created account information structure initialized by
2359 the default settings.
2364 replace_address_in_edit(): check if newtext is NULL.
2365 completion_window_button_press(): fixed a memory leak.
2366 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
2367 recv_time is RECV_TIME_KEEP.
2368 pop3_getrange_uidl_recv(): only set get_all flag if
2369 ac_prefs->getall is set.
2370 pop3_retr_recv(): don't delete messages which are not received
2371 by filter, and set recv_time to RECV_TIME_KEEP in the case.
2372 * src/pop.h: added an enum RecvTime.
2373 * src/inc.c: inc_drop_message(): unlink temporary message file if
2374 not received by filter.
2378 * src/mainwindow.c: added 'Edit/Select thread' menu.
2379 * src/summaryview.[ch]: added 'Select thread' to the context menu.
2380 summary_select_thread(): new. It selects all messages of current
2385 * src/rfc2015.c: check_signature(): corrected error handling and
2390 * src/rfc2015.c: check_signature(): correctly remove the last empty
2391 line, and canonicalize the file part before verifying (this should
2392 fix incompatibility with Evolution or some other MUAs).
2393 * src/utils.[ch]: copy_file_part(): new. It copies the specified
2394 range of file stream to another file.
2398 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
2399 8-bit text when signing (thanks to Colin Leroy).
2403 * src/prefs_common.c: prefs_send_create(): fixed the charset string
2404 for Cyrillic (Windows-1251).
2412 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
2413 Windows-1251. Added bg_BG locale.
2417 * src/compose.c: account_activated(): change the state of menu items
2418 and entries according to the selected account.
2419 compose_select_account(): new. It changes the state of title bar,
2420 menu items and entries.
2424 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
2426 Don't refresh summary view on fetching when open_inbox_on_inc is
2431 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
2432 is set (to avoid summary refresh problem).
2433 * src/imap.c: removed warnings by checking the existence of directory
2434 before calling remove*_numbered_files().
2438 * src/prefs_common.c: corrected English.
2442 * src/prefs_common.[ch]: added an option: "Mark messages as read
2443 only when opened in new window".
2448 folder_tree_destroy()
2449 folder_write_list_recursive(): added sanity check.
2450 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
2451 can't get session, create empty folder node (based on the
2452 Alfons' suggestion).
2456 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
2458 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
2463 * src/news.c: news_scan_group(): fixed wrong message number
2468 * major refactoring for POP3.
2469 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
2470 inc_pop3_state_destroy(), inc_get_uidl_table(), and
2471 inc_write_uidl_list() into pop.c.
2472 Moved Pop3State::folder_table and Pop3State::inc_state into
2475 inc_put_error(): added lockbusy state.
2476 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
2477 inc_cancel(): don't terminate the automaton here but just set
2478 the flags to prevent crash.
2480 pop3_getauth_pass_recv()
2481 pop3_getauth_apop_recv(): check lockbusy state.
2482 pop3_retr_recv(): check Pop3State::cancelled flag.
2483 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
2484 automaton_input_cb(): terminate if cancelled flag is true.
2485 * sylpheed.desktop: changed Type=Internet to Type=Application.
2486 Added Categories=Application;Network;.
2492 src/progressdialog.c: show detailed information to the status
2494 Added cur_total_recv_bytes to Pop3State.
2495 * src/prefs_common.[ch]: added an option to specify whether to
2496 close receive dialog when finished.
2500 * src/folder.[ch]: folder_get_path(): new. It returns the root path
2504 imap_folder_destroy()
2506 imap_remove_all_msg()
2507 news_folder_destroy(): remove cache directories / files when
2508 deleting Folder / messages.
2512 is_file_entry_exist(): check if the argument is NULL.
2514 remove_numbered_files()
2515 remove_expired_files(): fixed memory leaks on error.
2524 src/smtp.[ch]: made Folder and Session destructor virtual method.
2528 * src/compose.c: do joining of normal lines only when auto-wrapping.
2529 * src/main.c: modified the warning message for GnuPG.
2530 * src/about.c: about_create(): modified the compiled-in features
2532 * configure.in: improved LDAP library checking (thanks to Alfons).
2542 compose_wrap_line_all(): backed out the change to join lines that
2547 * configure.in: require at least gpgme-0.3.5.
2551 * src/alertpanel.c: alertpanel_create(): minor modification.
2560 * src/alertpanel.c: alertpanel_create(): modified the layout.
2561 * src/rfc2015.c: check_signature(): don't abort on error.
2565 * src/compose.c: compose_wrap_line_all(): freeze widget only if
2566 required to repress flickers.
2570 * src/compose.c: improved line wrapping.
2572 compose_wrap_line_all(): also join lines that are not indented.
2573 dump_text(): handle multi-byte strings correctly.
2577 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
2578 (go to next line when space is entered at line limit).
2582 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
2587 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
2588 checking to prevent confusion.
2592 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
2593 method Folder::get_msg_list().
2594 * src/account.c: account_edit_prefs(), account_delete(): use
2595 folderview_set_all() instead of folderview_rescan_all().
2596 * src/folderview.[ch]:
2597 folderview_check_new_all(): new. Updates all folders.
2598 folderview_rescan_tree(): confirm before executing.
2599 folderview_rescan_all(): commented out since it's not used anymore.
2600 folderview_update_item_foreach(): added a flag for summary update.
2601 * src/inc.c: inc_finished(): update summary only when
2602 prefs_common.scan_all_after_inc is set.
2603 inc_drop_message(): set mtime of target folder to 0 to force
2604 the updating of summary.
2605 inc_start(), get_spool(): update also summary when updating
2607 * src/mainwindow.c: changed 'File - Rescan folder tree' to
2608 'File - Check for new messages in all folders'.
2612 * src/compose.c: compose_write_to_file(): clearsign message body
2614 compose_clearsign_text(): new. Replaces the string with clearsigned
2616 * src/prefs_account.c: added an option for clearsign.
2617 * src/rfc2015.c: rfc2015_clearsign(): new.
2618 pgp_sign(): added a flag for clearsign.
2619 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
2620 name (needs to be freed by caller).
2621 str_write_to_file(), file_read_to_str(): new.
2625 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
2626 to avoid memory leak.
2630 * src/base64.c: include string.h for memcpy().
2631 * src/gtksctree.c: use macro ABS() instead of function abs().
2632 * src/prefs_account.c
2633 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
2634 conflict with the function send() in sys/socket.h.
2635 * src/mainwindow.c: commented out the unnecessary functions.
2636 * src/utils.c: canonicalize_file_replace(): correct warning message.
2640 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
2641 temporary files in ~/.sylpheed/.
2642 * src/main.c: create temporary directory in ~/.sylpheed/.
2644 src/inc.c: create temporary files in ~/.sylpheed/, and modified
2646 compose_exec_ext_editor(): fixed a bug that failed to create the
2647 temporary file if g_get_tmp_dir() returned directory other than
2652 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
2656 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
2657 to replace the file when the given file and temporary file are not
2658 on the same filesystem.
2659 copy_file(): added a flag whether to keep backup.
2660 move_file(): added a flag whether to overwrite the destination file.
2664 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
2665 * src/select-keys.c: modified key selection dialog.
2669 * src/socket.[ch]: my_gethostbyname(): new.
2670 * src/utils.c: get_domain_name(): return FQDN instead of short
2671 hostname (thanks to Bob Woodside).
2672 * src/template.c: made the debug messages less verbose.
2676 * src/prefs_common.[ch]: removed obsolete default sign key setting.
2677 * src/utils.c: canonicalize_file(): correct the error check of
2682 * src/compose.c: compose_write_to_file():
2683 canonicalize line endings before encrypting/signing (this will fix
2684 interoperability with other MUAs).
2685 Removed unnecessary strdup.
2686 Don't encrypt/sign draft message.
2688 canonicalize_file(), canonicalize_file_replace(): new.
2690 src/select-keys.c: changed g_message() to debug_print() and
2692 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
2693 MIME structure scanning.
2694 * src/textview.c: textview_add_part(): show signature status in
2697 src/sigstatus.c: modified translatable strings and some MIME
2702 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
2703 the temporary file when saving from queue.
2709 src/prefs_account.[ch]
2710 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
2711 Modified some messages.
2715 * src/textview.c: textview_scan_header(): fixed a memory leak
2720 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
2721 in right conditional block.
2725 * src/compose.c: compose_wrap_line_all(): fixed character buffer
2731 log_error(): add time stamp to log messages.
2736 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
2740 * src/socket.c: implemented socket I/O timeout.
2742 * src/pop.c: check errors and return error value correctly.
2746 * src/prefs_actions.c: made the action's input/output dialog display
2747 without delay. Made the dialog modal instead of making window
2748 insensitive. Also cleaned up its UI.
2752 * implemented --attach command line option.
2754 Cmd::attach_files: new member to store file paths.
2755 parse_cmd_opt(): added --attach option. --compose option is implied.
2756 prohibit_duplicate_launch()
2757 lock_socket_input_cb(): added "compose_attach" message.
2760 src/textview.c: renamed compose_new_with_recipient() to
2761 compose_new(), and added an argument for attachment files.
2765 * src/logwindow.c: freeze GtkText widget while hidden.
2766 log_window_append(): changed the header for message and warning.
2770 * src/news.c: implement automatic cache expiration.
2771 news_delete_expired_caches(): new.
2772 news_get_article_list(): fixed a bug that nonexistent messages
2773 were not removed from list.
2774 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
2775 procmsg_get_last_num_in_cache().
2776 * src/utils.[ch]: remove_expired_files(): new.
2781 inc_mail(): force summary refresh when using external command for
2783 inc_all_account_mail(): fixed a bug on spool checking failure.
2794 src/editldap_basedn.c
2796 src/prefs_common.c: fixed memory leaks which didn't free strings
2797 gtk_editable_get_chars() returned. And minor code cleanups.
2799 src/vcard.h: removed C++-style comments.
2803 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
2804 strings which include both multi-byte and us-ascii characters.
2808 * src/utils.c: remove_numbered_files(): don't try to unlink()
2811 conv_get_code_conv_func(): return conv_anytodisp() if charset is
2813 conv_unmime_header_overwrite()
2814 conv_unmime_header(): do conv_anytodisp() before decoding header.
2822 * src/compose.c: added 'Tools/Actions' menu.
2826 * src/base64.c: a minor fix for BASE64VAL() macro.
2830 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
2838 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
2839 base64_encode(), base64_decode(): new.
2840 * src/rfc822.[ch]: removed.
2842 src/about.c: removed the copyright notice for fetchmail.
2848 src/unmime.[ch]: rewrote the MIME decode routines.
2850 unmime_quoted_printable_line(): new.
2852 procheader_get_one_field()
2853 procheader_get_unfolded_line(): remove also CR.
2857 * libkcc: removed from the source tree.
2859 src/about.c: removed the copyright notice for libkcc.
2860 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
2862 * src/prefs_actions.c: removed unnecessary spaces/tabs.
2866 * src/prefs_actions.c: comply with the coding style.
2867 Modified the UI design.
2868 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
2869 menu when multiple messages are selected.
2873 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
2874 update_actions_menu(): simplified the menu deletion.
2875 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
2879 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
2880 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
2885 * configure.in: added check for strchr.
2889 * src/prefs_common.[ch]
2890 src/inc.c: added an option to inhibit receive error dialog.
2894 * src/account.c: account_find_from_address(): support multiple
2895 addresses in header.
2899 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
2900 GtkCTreeNode* so that it won't become invalid after the row move.
2901 Removed dependency to gtkutils.c.
2902 * src/prefs_common.[ch]
2903 src/summaryview.c: summary_selected(): added an option to show
2904 message when cursor keys are pressed on summary view.
2910 src/compose.c: changed "host_alias" to "target_alias" so that it
2911 shows the correct system name on cross-compiling (thanks to
2916 * src/prefs_account.[ch]: added the option menu to force an
2917 authentication method for SMTP AUTH.
2919 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
2920 specify the authentication method for SMTP AUTH.
2921 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
2925 * src/prefs_common.[ch]
2926 src/compose.c: enabled "Wrap on input".
2930 * src/summaryview.[ch]
2931 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
2932 Made some code cleanups.
2937 src/prefs_common.[ch]: added the hidden option to specify the
2938 policy of the vertical scrollbar on folder view.
2942 * src/messageview.[ch]:
2943 messageview_copy_clipboard(): fixed a bug that couldn't copy text
2945 messageview_get_current_textview(): new.
2946 messageview_get_text_widget(): removed.
2947 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
2948 * src/compose.[ch]: implemented the "Paste as quotation" feature.
2949 text_inserted(): new callback for "insert_text" signal.
2950 Add quote mark to the pasted text if Compose::paste_as_quotation
2955 * src/compose.c: if the Content-Type of a file is text/*, check
2956 its content and set the optimal Content-Transfer-Encoding (thanks
2961 * src/textview.c: textview_key_pressed(): pass key press event to
2962 main window to activate menu shortcuts (thanks to Alfons).
2966 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
2967 for mtime to prevent flooring.
2970 imap_move_msgs_with_dest()
2971 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
2973 imap_parse_envelope()
2974 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
2975 full information of messages and simplify the parser. Also fixed
2976 the bug that References header was ignored on threading.
2977 imap_parse_one_address()
2978 imap_parse_address(): removed.
2979 imap_get_header(): new. It reads the RFC822 header and returns
2980 a newly allocated string.
2981 * src/procheader.[ch]: changed procheader_parse() to
2982 procheader_parse_stream() and added different interfaces for it.
2986 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
2994 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
2995 could be inserted into the hash table.
2996 inc_write_uidl_list(): a minor code cleanup.
2997 * src/mainwindow.c: main_window_get_current_state():
2998 make the state unexecutable on an empty folder.
2999 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
3000 * src/pop.c: minor code cleanups.
3004 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
3005 corrected the behavior of the radio buttons.
3009 * implemented 'Delete messages after N days' feature for POP3.
3011 inc_get_uidl_table()
3012 inc_write_uidl_list(): moved the location of UIDL list file from
3013 RC_DIR/uidl-* to RC_DIR/uidl/*.
3014 Added received time for each UIDLs.
3015 src/main.c: main(): create RC_DIR/uidl/ directory.
3016 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
3017 Added recv_time to Pop3MsgInfo.
3018 src/prefs_account.[ch]: added an option for the number of days for
3027 * src/folder.c: folder_set_missing_folders(): fixed a bug that
3028 caused multiplication of special folders on startup if their
3030 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
3035 * src/compose.c: compose_reply(), compose_forward(): reverted the
3036 last change since it causes lockup problem.
3040 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
3042 compose_new_with_recipient(): workaround for initial XIM problem.
3046 * src/mainwindow.c: sort ascending / descending order can be
3047 specified with separated menu items.
3048 Added "View/Sort/Don't sort" menu item.
3049 * src/summaryview.[ch]: summary_sort(): added an argument for
3054 * implemented persistent sort order.
3056 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
3057 folder_write_list_recursive(): write sorting state.
3059 src/summaryview.[ch]: summary_show(): sort if required.
3060 select the top node on descending sort.
3061 Removed SummarySortType and sorting state variables from
3069 src/prefs_account.[ch]: enabled NNTP over SSL.
3070 * src/nntp.c: nntp_group(): issue MODE READER command and retry
3071 when GROUP command once failed (this seems to avoid problems on
3072 some broken news servers).
3076 * faq/it/*.html: corrected DOS linebreaks.
3077 * faq/*/*.html: changed ">" to ".
3081 * src/prefs_account.c: prefs_account_protocol_activated(): hide
3082 unnecessary frames in SSL tab.
3088 src/prefs_account.[ch]: enabled STLS command in POP3.
3089 * src/account.c: account_clist_set_row(): display TLS setting.
3093 * src/compose.c: compose_send_later_cb(): support redirect function.
3096 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
3098 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
3102 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
3103 * src/compose.c: compose_create(): removed unrequired lines.
3107 * src/news.c: news_scan_group(): fixed a bug that set the wrong
3108 values in some cases.
3109 * src/prefs_account.c: corrected English in Advanced - Folder
3114 * src/textview.c: textview_show_message(), textview_show_part():
3115 fixed a bug that GtkSText *text pointed the incorrect object.
3116 textview_add_part(): freeze GtkSText while adding RFC822 headers.
3117 textview_show_part(): fixed a bug that couldn't display single
3118 part MIME message as text.
3122 * src/compose.c: compose_redirect_write_to_file(): correct the target
3123 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
3124 incomplete file when an error occured.
3129 compose_create(): disable menus for draft on redirection mode.
3130 compose_redirect_write_to_file(): correct the error handling of
3132 * src/prefs_common.c: turned off the "Display recipient on `From'
3133 column if sender is yourself" option by default.
3137 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
3138 Based on the implementation of the claws branch.
3139 compose_redirect(): create a new window and make it uneditable.
3140 compose_redirect_write_to_file(): copy headers and body of
3141 original message except for some.
3142 compose_redirect_write_headers(): add extra "Resent-*" headers.
3143 compose_create(): set menu sensitivity for redirection mode.
3147 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
3148 space is inserted between encoded string and the following folded
3149 one (thanks to Masahiro Tomita).
3153 * src/mainwindow.[ch]: some refactoring has been made.
3154 main_window_toggle_message_view(): moved summary_toggle_view_real()
3156 * src/messageview.[ch]: messageview_is_visible(): new.
3157 * src/summary_search.c
3158 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
3159 Instead use messageview_is_visible().
3163 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
3164 * src/summaryview.[ch]:
3165 summary_expand_threads(), summary_collapse_threads(): new.
3169 * src/mainwindow.c: Fixed the behavior of
3170 '/View/Show or hide/Folder tree' and
3171 '/View/Show or hide/Message view' toggle menu.
3172 Removed '/View/Toggle summary view' menu and integrated the
3173 function into '/View/Show or hide/Message view'.
3174 main_window_set_widgets(): change the state of toggle menu items.
3175 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
3180 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
3181 MIME contents other than text as children of message/rfc822 part.
3183 procmime_mimeinfo_next(): modified for message/rfc822 part which
3184 content-type is single part MIME.
3185 procmime_scan_multipart_message(): fix for nested message/rfc822
3186 part. Corrected the size of the contents of message/rfc822.
3187 * src/textview.c: textview_show_part(): extract the contents of
3188 multipart/* and message/rfc822. Some code cleanups.
3189 textview_add_parts(): new. It adds the all parts under a part to
3191 textview_clear(): reset body_pos and cur_pos.
3195 * src/addr_compl.c: modified so that it behaves better.
3196 get_address_from_edit(): ignore comma inside of brackets.
3197 completion_window_apply_selection(): new. Only apply the current
3199 completion_window_accept_selection(): removed.
3200 address_completion_complete_address_in_entry(): minor code cleanup.
3201 don't replace address in entry here.
3202 completion_window_select_row(): always apply clist selection to
3204 completion_window_key_press(): don't apply selection here.
3208 * src/imap.c: imap_create_folder(): keep trailing directory separator
3209 to create a folder that contains sub folder.
3213 * src/foldersel.c: sort tree with case insensitive.
3214 * src/mainwindow.c: allsel_cb()
3215 src/messageview.c: messageview_select_all(): fixed 'Select all'
3217 * src/mainwindow.c: removed common and account prefs button from
3222 * src/compose.c: compose_account_option_menu_create(): check if
3231 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
3232 manual/en/*: updated the English manual.
3234 faq/it/*: added German and Italian FAQ.
3237 faq/fr/*: updated FAQs.
3239 src/mainwindow.c: added German and Italian language.
3243 * src/prefs_account.c: turn off "receive at get all" option by default
3244 when creating an IMAP or News account.
3248 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
3249 * src/prefs_folder_item.c: show also identifier path.
3250 Made layout using table. Show uneditable entry using background
3252 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
3257 * src/automaton.[ch]: added UI callback to Automaton.
3259 src/pop.c: use callback instead of calling inc_progress_update()
3261 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
3266 * src/folderview.c: properly sort abbreviated newsgroups.
3271 src/prefs_common.[ch]
3272 src/summaryview.c: added an option to specify the minimum length
3273 for abbreviated newsgroups name.
3277 * src/folderview.c: folderview_check_new(): skip unselectable folders.
3278 * src/summaryview.c: added 'Create filter rule' to the context menu.
3279 * src/imap.c: some code cleanups.
3280 imap_scan_tree_recursive(): get path separator for each calls.
3281 imap_get_path_separator(): new.
3285 * src/imap.[ch]: supported namespace for others/shared folders
3287 imap_parse_namespace(): parse also others/shared namespace.
3288 imap_find_namespace(): search also others/shared namespace.
3290 strchr_parenthesis_close(): return pointer to closing parenthesis.
3291 strsplit_parenthesis(): split parenthetic list into array of
3296 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
3297 parse date string like "Mon,6 May 2002 20:31:12 +0800".
3298 procheader_scan_date_string(): new. Separated string scanning
3299 part from procheader_date_parse().
3303 * src/summary_search.c: summary_search_execute(): unlock while
3304 selecting summary row (thanks to Martin Schaaf).
3305 * src/summaryview.c: summary_set_column_titles(): reversed the
3306 direction of the arrow so that it matches with Win/Mac style.
3310 * src/compose.c: compose_write_headers(): quote self address name
3311 if required. Some code cleanups. Don't override Newsgroups and
3312 Cc with custom headers.
3313 * src/imap.c: imap_add_msg(): return UID for appended message.
3314 * src/compose.c: compose_queue(): check if queue folder exists.
3315 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
3317 imap_open(): removed an unrequired argument.
3321 * src/utils.[ch]: trim_string(): new. It trim characters longer than
3322 the specified length and adds "...".
3323 * src/folderview.c: trim folder name when displaying dialog.
3327 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
3329 * src/folderview.c: folderview_select()
3330 src/summary_search.c: summary_search_execute(): lock summary view
3331 while searching (thanks to Martin Schaaf).
3339 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
3343 * src/summaryview.c: summary_show(): fixed a bug that didn't process
3345 * src/account.c: account_edit_prefs(): fixed a crash bug when account
3347 * src/prefs_account.c: prefs_account_apply(): display error dialog
3348 if account name is empty.
3349 * src/imap.c: changed some log_print() to debug_print() to reduce
3354 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
3358 mh_do_move_msgs_with_dest()
3360 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
3361 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
3362 if stat() succeeded.
3364 imap_fetch_msg(): SELECT mailbox before FETCH if required.
3365 imap_scan_folder(): set last_num using the value of UIDNEXT.
3366 imap_select(): return immediately if there is no need for SELECT.
3367 preserve the path of currently selected mailbox.
3368 imap_status(): added UIDNEXT.
3372 * src/folder.c: folder_item_scan(): removed the warning.
3373 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
3374 setting case sensitivity.
3378 * src/mainwindow.c: main_window_create(): restrict the minimum size.
3382 * src/compose.c: merged the new line-wrapping routine.
3383 join_next_line(): fixed a bug that didn't join multibyte
3385 get_indent_length(): modified enums and variable names.
3386 INDENT_CHARS: don't indent ':'.
3388 folderview_rename_folder_cb()
3389 folderview_delete_folder_cb(): support folder identifier.
3390 folderview_rm_imap_folder_cb(): integrated with
3391 folderview_delete_folder_cb().
3395 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
3396 * src/folderview.c: folderview_check_new(): abort checking if
3397 folder_item_scan() failed.
3401 * src/imap.c: imap_create_missing_folders(): create only INBOX and
3403 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
3404 type of news folders unchangeable.
3405 prefs_folder_item_destroy(): use prefs_dialog_destroy().
3406 * src/prefs.[ch]: prefs_dialog_destroy(): new.
3410 * src/prefs_account.[ch]: added special folder setting to Advanced
3411 tab. Also moved "IMAP server directory" setting to there.
3412 * src/account.[ch]: account_get_special_folder(): new. It returns
3413 the optimal special folder for accounts.
3414 * src/compose.c: use account_get_special_folder().
3415 * src/prefs_folder_item.[ch]: new. Implemented folder property
3416 dialog, and the special folder settings (most of the functions in
3417 claws are not integrated yet, and the structure is slightly
3419 * src/folderview.c: enabled Property menu.
3423 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
3424 scanning when encountering separators ',' and ';'.
3428 * src/mainwindow.c: reorderd the menu a bit.
3429 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
3430 compose_reply_set_entry(): made 'Reply to sender' work for
3435 * src/compose.c: compose_create(): set geometry hints to restrict
3436 the maximum size of window.
3437 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
3438 imap_get_uncached_messages()
3439 imap_cmd_fetch(): ignore responses which don't include FETCH.
3443 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
3444 the clause for OpenSSL).
3448 * src/prefs_account.c
3449 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
3455 src/session.[ch]: first reorganization of SMTP protocol handling.
3456 SMTPSession: new class which is a sub class of Session.
3457 smtp_session_new(): moved send_smtp_open() into this function.
3458 smtp_from(): moved SMTP AUTH calls into smtp_auth().
3459 smtp_auth(): use server response for SMTP AUTH method.
3460 smtp_ehlo(): read server response and set auth type flags.
3461 smtp_helo(): separated EHLO command.
3462 smtp_ok(): return the last server response if the buffer is
3464 * src/esmtp.[ch]: merged into smtp.[ch].
3465 * src/imap.c: imap_session_destroy_all(): use session_destroy().
3469 * src/imap.c: imap_open(): show warning message if IMAP4 session
3470 can't be established.
3474 * src/compose.c: made template able to be inserted into the current
3476 * src/mainwindow.c: moved some menu items under the submenu
3477 '/View/Show or hide'.
3482 src/inc.c: changed folder_find_item_from_path() to
3483 folder_find_item_from_identifier().
3485 src/prefs_filter.c: use folder_item_get_identifier() to specify
3490 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
3491 existed in claws' implementation).
3492 folder_find_from_name(): find Folder from name and type.
3493 folder_get_identifier(): return Folder id.
3494 folder_item_get_identifier(): return FolderItem id.
3495 folder_find_item_from_identifier(): find FolderItem from id.
3496 folder_get_type_string(): return folder type string.
3497 folder_get_type_from_string(): return FolderType from string
3498 (and fixed the wrong g_strcasecmp() usage).
3500 src/import.c: use folder_item_get_identifier() and
3501 folder_find_item_from_identifier().
3505 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
3506 point the correct address after reading the continuous line.
3507 imap_scan_folder(): set new number to 0 if unseen number is 0.
3508 imap_parse_flags(): don't add new and unread flag if \Seen flag
3510 * ac/Makefile.am: removed gpgme.m4 from MACROS.
3514 * fixed the old problem that couldn't add flags to currently opened
3517 compose_send(): update outbox after saving.
3519 compose_draft_cb(): use procmsg_add_flags().
3520 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
3522 * src/main.c: send_queue(): send from all queue folders.
3523 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
3525 procmsg_flush_mark_queue(): new. Write all queued flags into file.
3526 procmsg_add_flags(): new. Add specified flags to the folder.
3527 procmsg_send_queue(): added an argument to specify queue folder.
3528 procmsg_save_to_outbox(): use procmsg_add_flags().
3529 * src/summaryview.c:
3530 summary_show(): up the opened flag of FolderItem.
3531 summary_clear_list(): down the opened flag of FolderItem.
3532 summary_write_cache(): call procmsg_flush_mark_queue().
3536 * src/summaryview.[ch]: trim the tail of folder name and selected
3537 number on the status label if the space is not enough.
3541 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
3542 set SpecialFolderItemType when creating special folders under
3544 * ac/gpgme.m4: removed.
3546 * ac/missing/gdk-pixbuf.m4
3547 ac/missing/gettext.m4
3549 ac/missing/imlib.m4: added for convenience.
3553 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
3554 shown after the decoded challenge string. Fixed a memory leak.
3556 * src/compose.c: compose_draft_cb(): mark draft messages as read.
3557 * src/folderview.c: folderview_update_node(): disable emphasis
3558 for Outbox and Draft folders.
3562 * src/messageview.c: messageview_show(): fixed a memory leak.
3563 * src/summaryview.c: summary_save_as(): show error dialog if copy
3565 * src/about.c: about_show(): make the window active if it is already
3570 * src/compose.c: show confirmation dialog before sending if Subject
3572 compose_check_entries(): new.
3574 compose_send_later_cb(): use compose_check_entries().
3575 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
3579 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
3580 responses with continuous line correctly, and fixed a memory leak.
3584 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
3586 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
3587 after pasting with middle button to prevent the selection growth.
3592 folderview_rename_folder_cb()
3593 folderview_delete_folder_cb(): modify filter rules only if the
3594 target folder is in the default mailbox.
3595 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
3602 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
3603 Moved 'Delete duplicated messages' under 'Tools'.
3607 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
3609 * src/imap.c: imap_create_special_folder(): fixed a crash bug
3610 when folder creation failed, and re-try to create folders under
3612 imap_scan_tree_recursive(): don't automatically add namespace
3613 prefix if it's INBOX. Search also under the INBOX for special
3615 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
3620 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
3621 abbreviated newsgroup name.
3622 * src/folderview.c: folderview_update_node(): display newsgroups
3623 with abbreviated name if name and path is the same.
3624 * src/summaryview.c: summary_status_show(): show the newsgroup with
3630 src/folderview.c: changed the label 'Draft' to 'Drafts'.
3631 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
3632 imap_create_missing_folders(): fixed the wrong assignment of
3633 Queue folder to draft.
3637 * enabled Sent / Draft / Queue folders on IMAP server.
3638 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
3639 queue and draft folder if they exist.
3641 imap_create_trash(): removed.
3642 imap_create_special_folder(): new. Generalized imap_create_trash().
3643 imap_create_missing_folders(): automatically create missing folders.
3644 imap_is_msg_changed(): added the dummy method.
3645 imap_scan_tree_recursive(): search also Sent, Draft and Queue
3646 folders. Minor code cleanups.
3647 imap_parse_envelope(): check for null strings.
3648 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
3649 for messages on IMAP folder.
3653 * src/compose.c: compose_send(): use account's outbox folder
3655 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
3656 that the outbox can be specified.
3660 * src/compose.c: don't save to outbox when messages are queued.
3661 compose_save_to_outbox(): moved to procmsg.c.
3662 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
3664 procmsg_save_to_outbox(): new. Removes the queueing headers if
3665 needed, and adds the given file to the outbox.
3669 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
3670 get_indent_length(): treat ':' and '#' also as quote char, and
3671 cleaned up using strchr().
3675 * src/mainwindow.c: modified some menu items.
3679 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
3680 (current "outbox" will be kept until rescan).
3681 * src/folder.c: folder_set_missing_folders(): create the missing
3684 src/folderview.c: changed 'Outbox' to 'Sent'.
3685 * src/main.c: call folder_set_missing_folders().
3686 * src/mh.c: mh_scan_tree(): create missing folders.
3687 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
3688 didn't set the menu sensitivity correctly.
3693 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
3694 folderview_rename_folder_cb(): reopen the current folder when
3695 the ancestor is renamed.
3696 imap_rename_folder(): new method implementation.
3698 imap_rename_folder_func(): new.
3699 imap_remove_folder(): remove also the cache directory.
3703 * src/imap.c: implemented locale encoding <-> modified utf-7
3704 conversion, and supported i18n of folder name (thanks to Suzuki
3706 imap_path_separator_subst(): handle the escape characters of
3708 imap_modified_utf7_to_locale()
3709 imap_locale_to_modified_utf7(): new.
3710 imap_create_trash(): modified so that it create the Trash folder
3711 to the correct location when imap directory is specified.
3712 imap_get_real_path(): removed debug print.
3716 * src/socket.c: implemented timeout for DNS lookup and connect().
3717 sock_connect_by_hostname(): timeout support and code cleanup.
3718 sock_connect_with_timeout(): new.
3719 sock_peek(): implemented SSL peek.
3723 * src/messageview.c: messageview_show(): display single-part
3724 text/html messages with the normal text view.
3738 src/prefs_customheader.c
3739 src/prefs_display_header.c
3754 src/xml.c: added 'b' to the option of all fopen().
3762 * src/ssl.[ch]: match its coding style.
3763 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
3767 faq/en/sylpheed-faq*.html
3769 faq/es/sylpheed-faq*.html
3771 faq/fr/sylpheed-faq*.html
3777 src/manual.[ch]: added FAQs in English, Spanish and French.
3781 * manual/en/sylpheed*.html: updated to the latest version.
3786 src/mgutils.c: include string.h to remove warning about strlen()
3800 src/summaryview.c: added break to the last label of switch to
3801 prevent the 'deprecated use of label at end of compound statement'
3803 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
3807 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
3809 inc_cancel_all(): new. It cancels the all current incorporation.
3810 * src/mainwindow.c: added 'Cancel receiving' menu.
3811 * src/textview.c: a minor fix for single-part MIME messages, and
3812 a bit of cleanup for textview_write_body().
3816 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
3817 information if any errors occured before issuing UIDL command.
3818 src/inc.h: added uidl_is_valid to Pop3State.
3819 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
3827 * src/mimeview.c: mimeview_create(): set the initial notebook page
3829 * src/folderview.c: folderview_selected(): scroll the view if the
3830 selected row is hidden.
3831 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
3832 and select the added row.
3833 * src/summaryview.c: fix threading for null message ids.
3837 * src/textview.c: textview_show_message(): follow message/rfc822
3839 textview_add_part(): add a caption before the attached text files.
3840 textview_show_header(): don't add the newline.
3841 * src/messageview.c: enabled message search also in MIME mode.
3845 * src/messageview.c: messageview_show(): set header state of
3846 MimeView's TextView, too.
3847 * src/mimeview.c: mimeview_show_message(): call
3848 textview_show_message() to display message.
3849 * src/textview.c: textview_add_part(): new. It adds the content
3850 of message part without clearing the view.
3851 textview_show_message(): display all parts with appropriate
3853 textview_write_body(): separated from textview_show_part().
3858 src/prefs_common.c: added ISO-8859-15 to the codesets for
3859 displaying and sending.
3860 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
3861 conversion failed, and made caller deal with it.
3862 * src/compose.c: compose_write_to_file(): show error dialog when
3863 code conversion failed, and let user select whether to send it
3865 * src/textview.c: textview_write_line(): show the original string
3866 if code conversion failed.
3870 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
3871 if copy_mbox() failed (thanks to Alexander Kabaev).
3872 * src/prefs_account.[ch]: added separate user ID / password setting
3874 * src/send.c: send_message_smtp(): use separate user ID / password
3875 for SMTP AUTH if it is specified.
3880 src/pop.[ch]: refactored the UIDL management.
3881 store the information of messages into the array of Pop3MsgInfo
3882 structure, and do full scanning of not retrieved messages.
3888 src/mainwindow.c: set WMCLASS for window/dialog.
3889 * src/codeconv.c: conv_codeset_strdup(): return source string
3890 when jconv_alloc_conv() failed.
3894 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
3901 src/summaryview.c: implemented the new notebook tab interface for
3903 * src/textview.[ch]: fixed line space related glitches.
3907 * src/prefs_filter.c:
3908 prefs_filter_rename_path()
3909 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
3913 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
3914 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
3916 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
3917 cancelled, and fixed potential crash bug.
3918 * src/grouplistdialog.c: enabled cancelling of data receiving.
3919 * src/news.c: news_get_group_list(): destroy current session if
3924 * src/manage_window.[ch]: fixed a bug that caused crash when
3925 the main window was hidden.
3926 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
3927 Monitor "unmap_event", "destroy" events.
3934 src/grouplistdialog.c
3938 src/message_search.c
3942 src/prefs_customheader.c
3943 src/prefs_display_header.c
3945 src/prefs_template.c
3946 src/summary_search.c
3947 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
3948 connect signals for window management.
3952 * src/prefs_account.[ch]: added receive size limit option.
3953 * src/pop.c: skip messages larger than the limit size.
3954 LOOKUP_NEXT_MSG(): new macro.
3955 * src/compose.c: compose_attach_append(): check whether the file
3960 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
3961 changed g_message()'s to debug_print() and g_warning().
3962 rfc2015_decrypt_message(): fixed a bug that duplicated message
3963 parts when decryption was failed/cancelled. And made some code
3965 * src/passphrase.c: made the dialog transient.
3966 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
3971 src/procmsg.[ch]: fixed a bug that failed to parse multipart
3972 messages if GPGME was enabled.
3973 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
3975 * src/prefs_account.c: prefs_account_privacy_create(): modified
3976 the vertical spacing.
3980 * src/menu.[ch]: menu_set_sensitive_all(): new.
3981 menu_set_insensitive_all(): made it a wrapper for
3982 menu_set_sensitive_all().
3983 * src/prefs_account.c:
3984 prefs_account_open()
3985 prefs_account_protocol_set_optmenu(): made the protocol type
3986 unchangeable after creating an account.
3987 * src/compose.c: compose_attach_parts(): traverse MIME tree to
3988 extract all attathed files from nested multipart MIME message.
3992 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
3993 obtain minimum/maximum number, and to specify first number
3996 src/inc.c: enabled new message checking on news folder.
3997 * src/news.c: news_scan_group(): implemented. Guess new/unread
3998 message number from the response of GROUP command and the mark
4000 news_select_group(): return the total/first/last number.
4001 * src/prefs_account.c: prefs_account_receive_create(): modified
4002 the text of the 'Get all' check button.
4006 * src/account.c: made 'Get all' checkbox available for IMAP4 and
4008 * src/inc.c: corrected the argument of folderview_check_new().
4009 * src/prefs_account.c: modification for the "`Get all' checks for
4010 new mail on this account" checkbox.
4014 * src/folderview.[ch]:
4015 folderview_rescan_tree(), folderview_rescan_all(): renamed from
4016 folderview_update_tree() and folderview_update_all().
4017 folderview_update_all_node(): removed.
4018 folderview_check_new(): new. If the argument is NULL, it checks
4019 all local folders. If the arguments is specified, it checks
4020 the (local and remote) folder.
4023 inc_all_account_mail(): check also IMAP4 account.
4028 folderview_rename_folder_cb()
4029 folderview_delete_folder_cb(): modify the filter rules when folder
4031 * src/prefs_filter.[ch]:
4032 prefs_filter_rename_path(): new. It renames the destination paths
4034 prefs_filter_delete_path(): new. It deletes the filter rules if
4035 the destination paths matched.
4036 * thanks to Neill Miller for above.
4040 * src/compose.c: inherit attached files when forwarding or reediting
4041 (rewrote the code in claws branch).
4042 compose_attach_parts(): new. It extracts and attaches the files
4043 in the given message.
4044 compose_attach_append(): chnaged the types of arguments.
4045 * src/messageview.c: messageview_show(): moved the GPG decryption
4047 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
4055 * src/summary_search(): summary_search_execute(): scroll the view
4056 when message view is hidden.
4060 * src/foldersel.c: foldersel_set_tree(): made different type of
4061 folders selectable in moving mode.
4062 * src/folderview.[ch]: folderview_update_msg_num(): compare the
4063 numbers with the CTree's labels, and don't update folder_item here.
4064 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
4065 implemented moving between different type of folders.
4066 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
4067 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
4068 mh_move_msg() and mh_move_msgs_with_dest()).
4069 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
4070 moving between different type of folders.
4071 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
4072 * src/summaryview.c: summary_status_show(): update folder_item
4074 * po/POTFILES.in: removed reference to headerwindow.c.
4075 * src/summaryview.c: summary_step(): fixed the behavior on the
4076 head and tail of the list.
4080 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
4081 all header' toggle state from the property of the TextView.
4082 * src/summaryview.[ch]: made 'All header' toggle switch.
4083 Prohibited unnecessary menu update.
4084 summary_select_node(): added the argument 'do_refresh'.
4089 * src/utils.c: strsplit_with_quote(): remove quotation characters
4090 in the function (fix composer's external editor problem) (thanks
4091 to Stefaan A Eeckels).
4092 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
4093 main_window_menu_callback_block()
4094 main_window_menu_callback_unblock(): new.
4095 main_window_set_menu_sensitive(): set the toggle status of
4097 show_all_header_cb(): read the status of toggle menu item.
4098 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
4099 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
4104 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
4105 the path separator (thanks to Sergey Vlasov).
4106 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
4107 if the length of selection is zero.
4108 Fixed the assertion.
4109 * src/utils.c: str_open_as_stream(): return immediately if
4110 the length of str is zero.
4111 * src/headerwindow.[ch]: removed.
4113 src/inc.c: removed stale thread support codes.
4117 * src/procmsg.c: procmsg_open_message(): modified so that it
4118 returns the stream of decrypted message file if it exists
4119 (this fixes the failure of gpg decryption in messageview.c).
4129 src/prefs_template.c
4131 src/quote_fmt_parse.y
4133 src/utils.[ch]: if the part of the message text is selected, use
4134 it for quoted text instead of the entire message body (thanks to
4136 src/utils.[ch]: str_open_as_stream(): new. It returns an
4137 temporary stream for the given string.
4138 * src/main.c: added "--send" command line option.
4139 * src/compose.c: compose_reply_set_entry(): add From address to
4140 Cc if Reply-To and to_all are both specified.
4141 * Makefile.am: correct the Source: line in the RPM spec file in
4146 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
4148 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
4149 that specifies the folder selection type.
4160 src/prefs_customheader.c
4162 src/summaryview.c: made it compile with C compilers other than gcc
4163 (thanks to Shawn Houston).
4167 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
4169 * src/prefs_common.c: made the key binding setting separate dialog.
4170 * src/addressbook.c: addressbook_format_address(): add "" around
4171 the display name if it contains comma (thanks to Satoshi Watanabe).
4172 * src/addr_compl.c: get_complete_address(): add "" around the
4173 display name if it contains comma.
4174 get_address_from_edit(): handle the quotation character correctly.
4175 * src/addr_compl.c: get_complete_address()
4176 src/addressbook.c: addressbook_format_address(): fixed a bug that
4177 caused wrong text processing if the display name is empty.
4182 * src/compose.c: compose_exec_ext_editor_real(): replaced
4183 g_strsplit() with strsplit_with_quote().
4185 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
4187 folderview_drag_motion_cb()
4188 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
4189 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
4193 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
4194 of the message is different from the current mailbox.
4195 Return the correct value.
4196 imap_cmd_append(): properly implemented the APPEND command.
4201 src/messageview.[ch]
4202 src/summaryview.[ch]
4203 src/textview.[ch]: show all headers in the message view, and don't
4204 use the header window anymore.
4206 src/prefs_common.c: changed the default shortcut of 'compose new
4209 src/summaryview.[ch]: summary_display_msg_selected(): new.
4210 Show the selected message if 'Show all header' is selected.
4212 src/sourcewindow.c: changed some procmsg_get_message_file_path()
4213 to procmsg_get_message_file() to be sure the message is
4215 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
4216 any folder to MH folder.
4217 folderview_drag_received_cb(): copy messages instead of moving
4218 if the source folder is news or IMAP.
4220 src/summaryview.c: allow copy from news folder.
4224 * src/prefs_common.c: prefs_other_create(): modified the design
4225 of the external command settings.
4226 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
4227 preset closer to the original.
4228 Added Mutt keybind preset.
4229 Also change the compose keybinds.
4230 * src/compose.c: modified some menu shortcuts.
4231 * src/codeconv.c: modified the locale_table for Thai encoding.
4235 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
4236 * src/prefs_common.c: prefs_interface_create(): modified the
4237 description for menu shortcut.
4241 * src/gtkutils.[ch]: added gtk_stext_clear().
4244 src/summaryview.[ch]: enabled multiple forwarding.
4245 * src/summaryview.c:
4246 summary_set_marks_selected(): set marks for all selected row.
4247 summary_reply(): moved from summary_reply_cb().
4248 * compose.[ch]: compose_forward(): modified so that it receives
4250 * src/mainwindow.c: cleanup for reply processing.
4251 * src/summaryview.c: summary_reply(): fixed a memory leak.
4252 summary_key_pressed(): removed hardcoded mark / mark as unread
4255 src/prefs_common.c: added mark / mark as unread shortcuts to
4260 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
4261 if prefs_common.linewrap_quote is not set (it is only for
4262 auto-wrapping on reply).
4263 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
4264 when creating a new account.
4265 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
4267 * src/prefs_common.c: prefs_interface_create(): modified the
4268 description of key binds selector.
4272 * src/mimeview.c: fixed multiple dialog / moving by correcting
4273 button / key event processing.
4275 src/textview.c: pass some key press events to MimeView in MIME
4277 * src/prefs_filter.c: fixed a bug that didn't set the order of
4279 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
4280 empty_menurc string.
4285 src/prefs_common.c: reorganized the menu shortcuts.
4286 Added 'View - Toggle summary view'.
4287 * src/summaryview.[ch]: summary_toggle_view(): made it public
4289 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
4291 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
4292 closing the dialog with window manager (in more appropriate way).
4293 * src/imageview.[ch]
4295 src/mimeview.c: fixed wrong scrolling position when switching
4296 between text and image parts. Also free the unrequired image
4297 (thanks to Sergey Vlasov).
4298 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
4303 * src/prefs_common.c: implemented shortcut quick changer.
4304 * src/folderview.c: folderview_key_pressed()
4305 src/summaryview.c: summary_key_pressed(): removed some hardcoded
4311 procmime_get_mime_type()
4312 procmime_get_mime_type_table(): made the MIME type search case
4315 gtk_stext_delete_line(): delete newline on empty line.
4316 gtk_stext_delete_to_line_end(): delete newline if cursor is on
4318 (thanks to Yasuzaki Masayoshi.)
4323 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
4324 and made them customizable.
4325 * src/utils.[ch]: added get_file_size_as_crlf() which returns
4326 the file size when converting LF to CR+LF.
4330 * src/compose.c: enabled 'Ctrl-Enter' or
4331 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
4333 * src/gtkstext.c: disabled some Emacs key bindings.
4334 gtk_stext_key_press(): don't extend selection when Shift-Enter
4335 is pressed to prevent the disapperance of cursor.
4336 * src/summaryview.c: summary_select_next_unread(): added the button
4337 to search unread message again from the beginning to the dialog.
4338 * src/folderview.c: folderview_key_pressed(): go to next unread
4339 folder if space key is pressed on the empty folder.
4340 Move CTree focus before selecting row.
4344 * src/defs.h: modified the XLFD of default fonts.
4345 * src/textview.c: textview_create(): fixed a bug that caused
4346 segfault if font couldn't be loaded.
4348 src/grouplistdialog.c: compare subscribed groups with path.
4349 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
4353 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
4354 when URL is wider than wrapping margin.
4356 src/prefs_filter.[ch]
4357 src/summaryview.[ch]: added "Create filter rule" function based
4358 on the patch from Luca Rosellini.
4359 * src/summaryview.c: summary_filter_open(): added X-List and
4360 X-Mailing-list to the automatically detected headers.
4364 * configure.in: support Mac OS X (Darwin).
4368 * src/prefs_filter.c: use inc_(un)lock() instead of
4369 inc_autocheck_timer_{remove|set}().
4370 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
4371 instead of gtk_ctree_sort_node() so that messages within threads
4373 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
4374 target of sizeof was wrong and caused crash on Alpha architecture
4375 (thanks to Motonobu Ichimura).
4380 foldersel_gnode_func(): made the names of special folders
4382 foldersel_set_tree(): move the special folder to the top.
4383 * src/inputdialog.[ch]: input_dialog_query_password(): new.
4387 src/send.c: use input_dialog_query_password() instead of their
4388 own query functions.
4392 * src/defs.h: modified the default font.
4396 src/news.[ch]: moved the class definition and some methods to
4397 the proper location.
4401 * src/mimeview.c: mimeview_save_as()
4402 src/summaryview.c: summary_save_as(): put the default filename
4403 based on the subject.
4404 * src/utils.[ch]: added subst_chars() and subst_for_filename()
4405 which substitute some special characters with underscore.
4406 * src/filesel.c: filesel_select_file(): select the default filename.
4411 INSTALL.jp: added the description and the URL for libjconv.
4412 * src/mainwindow.c: menu entries cleanup.
4418 src/about.c: modified the copyright year.
4419 * src/gtkstext.h: added the notice for modification by the Sylpheed
4425 INSTALL.jp: added the URL for compface.
4433 * src/headerwindow.c
4436 src/sourcewindow.c: set wmclass when creating windows.
4440 * src/compose.c: compose_wrap_line_all(): fixed the bug that
4441 caused infinite loop when wrapping certain patterns of quoted text.
4445 * src/imap.c: imap_parse_envelope(): put the assertion after
4446 imap_parse_address() to prevent segmentation fault.
4451 src/mainwindow.c: modified some labels of menu items.
4452 * src/ldif.c: put the return value of fgetc() in a gint.
4453 * src/importldif.c: don't brace null strings with _().
4454 * src/compose.c: moved the position of Subject entry to the last.
4455 Reorganized the menu.
4456 compose_draft_cb(): added 'keep editing after saving to draft'
4461 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
4462 menu. Moved 'Help' menu to just the right of 'Configuration'.
4463 Removed 'File - Close' menu item.
4467 * src/mainwindow.c: some menu reorganization.
4468 * AUTHORS: updated. Added more contributors.
4469 * src/account.c: account_row_moved(): new. Moves displayed row to
4470 the appropriate position when up / down button are pressed.
4471 account_clist_set(): move displayed row to the appropriate position.
4473 src/mainwindow.c: set title and wmclass when creating windows.
4477 * src/gtkstext.c: fixed a bug that didn't show block cursor
4478 correctly. Removed unnecessary GdkGC copy. Fixed cursor
4483 src/undo.c: modified to use GtkSText.
4484 * src/menu.h: added #include <gtk/gtkmenu.h>.
4489 configure.in: added XIM checking for GTK+.
4490 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
4494 * src/filter.c: added #include <sys/types.h>.
4498 * src/template.c: template_write_config(): fixed a typo.
4499 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
4501 src/prefs_filter.c: supported regular expression (thanks to
4503 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
4504 undo state when pasted clipboard was empty.
4505 undo_check_size(): use g_list_last().
4507 undo_redo(): fixed NULL checking and made a bit of optimization.
4509 * src/prefs_common.c: changed the default value of linewrap length
4514 * reorganization of pixmap management.
4515 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
4516 * modified every files which directly use pixmaps data to use
4518 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
4519 undo_set_change_state_func(), and changed its argument from
4520 GtkWidget* to gpointer.
4521 undo_merge(): code cleanup.
4522 * src/compose.c: renamed compose_set_undo() to
4523 compose_undo_state_changed().
4527 * src/account.c: account_find_from_address(): made it case
4529 * src/addressbook.c: addressbook_create(): set wmclass.
4530 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
4533 src/ldif.[ch]: merged from the claws branch.
4534 * src/importldif.c: removed some warnings.
4535 imp_ldif_field_list_toggle(): fixed button checking.
4536 imp_ldif_dialog_create(): minor layout fix.
4537 * src/ldif.c: removed some warnings.
4539 INSTALL.jp: updated confirmation list.
4542 vcard_test_read_file(): fixed a memory leak of tagtemp.
4543 Some code cleanups (decreasing the indent level).
4546 src/syldap.[ch]: disabled runtime library checking because JPilot
4547 and LDAP libraries are linked on the build time, and the program
4548 doesn't execute without them anyway.
4550 src/addrindex.c: changed "J-Pilot" to "JPilot".
4551 Removed warning for atoi().
4555 * src/procmsg.c: procmsg_empty_trash()
4556 src/mainwindow.c: main_window_empty_trash(): empty trash only if
4557 it contains some messages.
4558 * src/imap.c: search_array_str(): new.
4559 imap_status(): fixed a bug that didn't parse the command response
4564 * merged undo function (by Jens Oberender).
4565 * src/undo.[ch]: new.
4566 undo_insert_text_cb(): fix for multibyte characters (obtain the
4567 number of letters instead of bytes).
4568 * src/compose.[ch]: added the code for undo.
4569 * src/prefs_common.[ch]: added the interface for setting undo level.
4573 * src/compose.c: compose_template_apply()
4574 src/prefs_template.c: prefs_template_clist_set_row()
4575 src/template.c: template_write_config(): don't replace To: and
4576 Subject: entry in composition window if they are empty.
4584 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
4585 * src/ldif.c: ldif_get_line(): ignore CR.
4586 * src/mimeview.c: mimeview_show_message(): search also text/html
4587 for first text part.
4591 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
4592 that didn't update accountrc if account_list == NULL (thanks to
4597 * src/utils.h: added the macro&n