3 * src/gtkstext.c: find_line_params(): break lines between multibyte
4 characters on word wrap mode.
8 * src/codeconv.c: conv_iconv_strdup(): fixed crashes on LP64
9 environments (thanks to James Noyes).
10 * src/compose.c: compose_select_account(): don't turn off the sign/
11 encrypt option automatically.
15 * src/inc.[ch]: made inc_account_mail() public.
16 * src/mainwindow.c: moved receive menus into submenu, and added
17 dynamic menus for receiving from each account.
25 * src/procmsg.c: procmsg_open_data_file(): set buffer if DATA_READ
26 is specified and a buffer is given.
27 procmsg_open_cache_file_with_buffer(): new.
28 procmsg_read_cache(): fixed a bug that called setvbuf() after an
29 file I/O which caused buffer read error.
37 * configure.in: enable IPv6 support by default.
41 * src/inc.c: inc_mail(), inc_all_account_mail(): ask user to switch
42 to online when in offline mode.
43 * src/mainwindow.h: added main_window_toggle_online().
51 src/pixmap/dir-noselect.xpm: made no-select folders display with
53 * src/Makefile.am: added offline.xpm, online.xpm, and
54 dir-noselect.xpm to EXTRA_DIST.
58 * src/folder.h: added macro FOLDER_ITEM_CAN_ADD().
59 * src/folderview.c: folderview_drag_motion_cb(): code cleanup.
60 folderview_drag_received_cb(): don't accept at no_select folder or
62 * src/foldersel.c: made folders on which no_select flag is set not
67 * src/imap.c: imap_do_copy_msgs(), imap_remove_msgs(): code cleanup.
68 set MSG_INVALID flag when messages are deleted.
69 * src/mh.c: mh_do_move_msgs(), mh_remove_msg(): set MSG_INVALID flag
70 when messages are deleted.
72 procmsg_move_messages()
73 procmsg_copy_messages(): return error status.
74 Added MSG_INVALID to MsgTmpFlags.
75 * src/summaryview.c: summary_execute(): detect errors and only remove
76 nodes that are invalidated.
77 summary_unthread_for_exec(): fixed a bug that didn't remove nodes
82 * src/mainwindow.[ch]: added online switch button to the statusbar,
83 and "/File/Work offline" in the menu.
84 * src/pixmaps/offline.xpm
85 src/pixmaps/online.xpm: new (borrowed from
86 themes/classic/communicator/icons/ in Mozilla).
87 * src/stock_pixmap.[ch]: added online.xpm and offline.xpm.
88 * src/textview.[ch]: textview_show_error(): new.
89 * src/summaryview.c: summary_display_msg_full(): update marks only
90 if messages are displayed.
91 * src/prefs_common.[ch]: added PrefsCommon::online_mode.
92 * src/news.c: news_session_get()
93 src/imap.c: imap_session_get(): return NULL when in offline mode.
94 * src/messageview.[ch]: messageview_show(): return status whether
95 messages are successfully displayed. Display error messages in
98 procmsg_get_message_file()
99 procmsg_open_message(): don't output warnings when fetch failed.
103 * src/html.c: html_get_tag(): support attributes which don't have
108 * src/codeconv.c: conv_get_code_conv_func(): return conv_latintodisp
109 only if src_charset and current charset is identical or current
110 one is multibyte (fixes display of ISO-8859-5 on KOI8-R locale etc.).
114 * autogen.sh: don't include m4 directory in aclocal.
115 * intl/libgnuintl.h: removed from cvs.
116 * po/.cvsignore: added stamp-po and remove-potcdate.sed.
120 * upgraded to gettext-0.12.1.
122 2003-11-24 gettextize <bug-gnu-gettext@gnu.org>
124 * Makefile.am (SUBDIRS): Add m4.
125 (ACLOCAL_AMFLAGS): New variable.
126 (EXTRA_DIST): Add config.rpath.
127 * configure.in (AC_OUTPUT): Add m4/Makefile.
131 * configure.in: added check for d_type member in struct dirent.
132 * src/mh.c: mh_scan_folder(): use d->d_type if available.
133 mh_get_uncached_msgs(): removed redundant stat().
134 mh_parse_msg(): return NULL if not a regular file.
135 mh_scan_tree_recursive(): use d->d_type if available.
137 dirent_is_regular_file()
138 dirent_is_directory(): new. Use d->d_type to determine the type
139 of entry if available.
140 remove_dir_recursive(): use dirent_is_directory().
144 * src/folder.h: added 'updated' flag to FolderItem.
145 * src/folderview.[ch]: folderview_update_all_updated(): new. It
146 updates all updated folders.
147 * src/imap.c: set FolderView::update flag on changes of contents.
148 * src/main.c: send_queue()
149 src/mainwindow.c: send_queue_cb(): code cleanup.
150 * src/mh.c: code cleanup.
151 mh_scan_folder(): correctly count new messages.
152 * src/procmsg.[ch]: code cleanup.
153 procmsg_open_cache_file(): new.
154 procmsg_open_mark_file(): enable read/write/append.
155 procmsg_send_queue(): correctly choose outbox for accounts.
156 * src/send_message.[ch]: send_get_queue_info(): get a queue
157 information from queued messages.
158 send_queue_info_free(): free QueueInfo.
159 send_message_queue(): take QueueInfo as an argument instead of file.
160 * src/summaryview.c: summary_write_cache(): code cleanup.
164 * src/compose.c: compose_redirect_write_headers(): correctly add
169 * src/imap.c: imap_get_msg_list(): fallback to FETCH command if SEARCH
170 command to get flags failed.
171 imap_search_flags(): returns UID array and flags hash table using
173 imap_fetch_flags(): returns UID array and flags hash table using
178 * src/summary_search.c: summary_search_execute(): fixed 'Select all
179 matched' when backward search is enabled.
180 Made the backward search button insensitive when 'select all
189 * src/imap.c: imap_scan_tree(): check the existence of root directory
190 with LIST instead of STATUS.
194 * src/send_message.c: fixed format string bug (exploitable by
195 malicious SMTP server) when calling alertpanel_error()
196 (thanks to Georgi Guninski).
203 src/news.[ch]: refactoring of the folder system (based on the claws'
212 src/summaryview.c: use FOLDER_TYPE() macro at every place.
221 addressbook_folder_load_person()
222 addressbook_folder_load_group(): sort the ctree after the end of
223 the loop (fixes performance issue when many addresses are in one
224 folder) (thanks to christian mock).
228 * src/folderview.c: folder_init(): code cleanup.
229 * src/summaryview.c: summary_init(): check if boldfont is
231 * src/grouplistdialog.c: use proper callback for delete_event (thanks
233 * src/imap.c: allow zero-length messages.
234 * src/recv.c: recv_bytes_write(): return immediately if size == 0.
238 * src/folderview.c: folderview_init(): if font can't be loaded, fall
239 back to gtk default (fixes crashes on startup). Also removed the
244 * src/compose.c: compose_insert_sig(): insert signature at the
245 current cursor position on manual operation.
249 * src/summaryview.c: summary_key_pressed(): don't ignore delete key
250 even if the main window is locked.
254 * src/action.c: improved synchronous action exit code (fixes long
255 delay after action exit on RH9) (thanks to Melvin).
256 * src/stringtable.[ch]: string_table_insert_string(): modified the
257 code to remove the warning "dereferencing type-punned pointer will
258 break strict-aliasing rules".
259 Use const gchar * instead of gchar * for arguments.
263 * src/utils.[ch]: generate_mime_boundary(): a new function to create
264 MIME boundary (moved from rfc2015.c).
265 Removed more special characters.
266 Use random() instead of lrand48() which is obsolete.
267 Added an argument for prefix to prevent duplication.
268 Always add "=_" as a counter-QP sequence to simplify the code.
270 rfc2015_decrypt_message()
272 rfc2015_sign(): fixed a bug that didn't handle continuous content
275 src/rfc2015.c: use generate_mime_boundary().
280 folderview_delete_folder_cb()
281 folderview_remove_mailbox_cb(): close currently displayed folder
282 before removing FolderItem (fixes crash on deleting folder).
284 src/imap.[ch]: imap_scan_tree()
285 src/mh.[ch]: mh_scan_tree(): return -1 when scanning failed.
286 * src/summaryview.c: summary_clear_all(): also clear the message view.
287 * src/imap.c: imap_close(): fail if the specified folder is not
289 imap_scan_tree(): check if the specified root directory exist, and
290 try creating it if not.
291 imap_parse_list(): output warning if a server returns error.
292 imap_find_namespace_from_list(): support not slash-delimited path.
293 imap_status(): don't return values if they're not specified.
297 * sylpheed.spec.in: fixed a typo.
308 src/prefs_common.[ch]: added the receive dialog's option to
309 display the dialog only on manual receiving, and the
310 RECV_DIALOG_ACTIVE option was removed.
314 * src/compose.c: compose_write_headers(): also replace ':' in the
315 MIME boundary with '_' (as a workaround for broken servers).
319 * src/imap.c: imap_scan_tree_recursive(): fixed compile error.
323 * src/prefs_filter.c: added 'Top' and 'Bottom' button.
327 * src/folder.[ch]: folder_item_remove_children(): new. It removes
328 all children under a FolderItem.
329 * src/folderview.c: folderview_rescan_tree(): modified the message.
330 * src/imap.c: imap_scan_tree(), imap_scan_tree_recursive(): reuse
331 the previous FolderItem objects.
335 * src/folder.[ch]: added a reference to its own GNode in FolderItem.
336 folder_item_remove(): free all FolderItem's.
337 folder_tree_destroy(): use folder_item_remove().
338 * src/folderview.c: folderview_sort_folders(): keep the order even
339 if special folders' parents are different.
340 * src/imap.c: imap_scan_tree_recursive(): fixed a memory leak.
341 * src/mh.c: mh_scan_tree(): preserve the previous FolderItem's.
342 mh_remove_missing_folder_items(): scan the directories and remove
344 mh_scan_tree_recursive(): reuse the previous FolderItem objects.
348 * src/mainwindow.c: always reflect window size changes.
349 * src/folderview.c: folderview_init()
350 src/summaryview.c: summary_init(): realize the widget before
352 * src/prefs_common.[ch]: remember the folder and mesage view's
358 src/prefs_common.[ch]: remember the size and position of
360 main_window_set_widgets(): fixed a bug that the hidden items on
361 the header view were shown when changing the view type.
362 Instead of setting the window size, set the each view's size.
366 * src/compose.c: compose_select_account(): don't append signature
368 compose_insert_sig(): don't insert "\n\n" if signature string
369 doesn't exist. Always insert signature at the end of message.
373 * improved sylpheed.spec.in (thanks to Andre Oliveira da Costa).
377 * minor code cleanups for the folder system.
378 * src/compose.c: compose_queue(), compose_draft_cb(): code cleanup.
379 * src/folder.c: code cleanups.
381 src/mh.c: calculate message numbers inside the functions.
382 * src/procmsg.c: procmsg_set_flags(): calculate message numbers.
383 * src/summaryview.[ch]: don't calculate and preserve message numbers
392 src/summaryview.c: renamed *_msgs_with_dest() to *_msgs().
396 * src/imap.[ch]: use CAPABILITY to use protocol extentions.
397 imap_greeting(): parse initial server greeting. Also support
400 imap_cmd_append(): use APPENDUID responses if UIDPLUS is supported.
404 * src/imap.c: imap_get_flag_str(): fixed a buffer overrun.
412 * src/main.c: main(): don't save config files on startup.
417 imap_get_msg_list(): removed redundant UID SEARCH ALL when not
419 Unset MSG_NEW flag if \Seen is set.
420 imap_get_uncached_messages(): fetch all messages if both first_uid
425 * src/imap.c: revamped the implementation so that it always
426 exactly reflects the state of IMAP4 servers.
427 imap_get_msg_list(): examine the state of messages using
429 imap_delete_cached_message(): removes single message cache.
430 imap_get_uid(): removed.
431 imap_cmd_search(): new. It issues UID SEARCH command and returns
433 imap_cmd_gen_recv(): made the length of strings unrestricted.
434 imap_get_uid_table(): returns a hash table from UID array.
441 src/news.[ch]: added Folder::close() method.
442 * src/summaryview.c: summary_clear_list(): call folder_item_close().
446 * flags are now taken over when copying messages into IMAP folders
453 mh_add_msgs(): flags can be also specified when adding files.
454 * src/folder.[ch]: added assertions for virtual functions.
455 * src/procmsg.[ch]: procmsg_get_message_file_list(): return the list
457 procmsg_message_file_list_free(): new.
461 * src/procmsg.h: changed MsgPermFlags and MsgTmpFlags from enum to
462 guint32 for portability (thanks to Alfons).
463 * src/imap.c: imap_add_msgs(): removed redundant unlink().
468 session_read_msg_cb()
469 session_read_data_cb(): fixed a bug that ran into infinite loop
470 if connection was closed by remote host (thanks to Yoichi Imai).
471 Added SESSION_EOF state to SessionState.
472 session_is_connected(): new.
473 * src/inc.[ch]: inc_put_error()
474 src/send_message.c: send_put_error(): also put log messages.
478 * more optimization of IMAP4.
479 * src/folder.[ch]: added a method add_msgs() that adds multiple files
481 Removed redundant scan() for the operations of FolderItem.
482 * src/imap.[ch]: implemented Folder::add_msgs() and optimized move
483 and copy from other Folder instances.
484 * src/mh.[ch]: implemented Folder::add_msgs() and cleaned up the code.
485 mh_fetch_msg(): scan folder if required.
486 * src/procmsg.[ch]: procmsg_get_message_file_list(): returns file
487 list from message list.
488 * src/summaryview.c: don't remove MSG_MARKED flags on
489 delete/move/copy operation.
490 summary_display_msg_full(): removed redundant message fetching.
494 * optimized move/copy/delete/mark operations of IMAP4 by using
495 sequence set when issuing commands (adopted claws' implementation
496 with cleaning it up).
498 imap_set_message_flags()
501 imap_cmd_store(): take sequence set string instead of UID number.
502 imap_do_copy_msgs_with_dest(): optimized by using sequence set.
503 imap_cmd_fetch(): use BODY.PEEK instead of BODY.
504 imap_remove_all_msg()
505 imap_set_message_flags(): use FLAGS.SILENT instead of FLAGS.
507 src/summaryview.c: use imap_msg_list_{set,unset}_perm_flags()
508 instead of issuing commands for each message.
513 src/prefs_account.[ch]
515 src/session.[ch]: added an option to enable/disable non-blocking
520 * src/compose.c: compose_attach_append(): display message's subject
521 when attaching message/rfc822 file.
528 session_read_msg_cb()
529 session_read_data_cb(): optimized by removing sock_peek() and
530 buffering received data in user space (correctly implemented
535 * src/session.c: reverted the previous change because it couldn't
536 handle data receiving after messages correctly.
542 session_read_msg_cb(): optimized by removing sock_peek() and
543 buffering messages in user space.
547 * src/imap.[ch]: refactored.
548 Changed all functions that have SockInfo arguments to take
550 Made imap_cmd_count an instance variable: IMAPSession::cmd_count.
551 imap_open(): only establish TCP (or SSL) connection.
552 imap_session_new(): process greeting and authentication here.
556 * src/imap.[ch]: implemented CRAM-MD5 authentication, and made code
558 * src/prefs_account.[ch]: added option menu for IMAP4 authentication
559 type in Receive tab, and hide other protocols' frames.
563 * src/mainwindow.c: send_queue_cb(): don't scan folder twice if
565 * src/procmsg.c: procmsg_send_queue(): return number of sent
571 main_window_set_toolbar_sensitive()
572 main_window_set_menu_sensitive(): removed the locking of file
573 operations while receiving mail.
577 * src/folder.[ch]: folder_item_remove_msg(): take MsgInfo as an
578 argument instead of message number.
579 * src/imap.[ch]: imap_remove_msg(): reimplemented using
581 * src/mh.[ch]: mh_do_move(): reimplemented using
582 mh_do_move_msgs_with_dest().
583 mh_copy_msg(): reimplemented using mh_copy_msgs_with_dest().
584 * src/procmsg.c: procmsg_send_queue(): modified to use message list.
588 * src/rfc2015.c: rfc2015_is_encrypted(): check MimeInfo::mime_type
589 to suppress some warnings.
590 * src/logwindow.c: log_window_append(): don't scroll up when trimming
595 * src/compose.c: add 'Content-Disposition: inline' to a text/plain
596 part when using PGP/MIME signing.
604 * src/defs.h: changed UI_REFRESH_INTERVAL from 40msec to 50msec.
605 * src/session.c: session_read_msg_cb(): make it always fail if
606 sock_read() returns by error.
607 * src/socket.[ch]: sock_check(): handle exceptional SSL condition.
608 sock_has_pending_data(): removed.
609 Removed debug output.
610 * src/send_message.c: send_recv_message(): display messages to
615 * src/inc.[ch]: update received message number on CList while
617 * src/session.c: session_read_data_cb(): optimized by removing
618 g_malloc() and memcpy().
622 * src/socket.[ch]: sock_add_watch(): new. It monitors SSL by original
623 watch functions (otherwise uses g_io_add_watch()).
624 * src/session.[ch]: removed previous workarounds, and replaced
625 g_io_add_watch() with sock_add_watch().
629 * src/socket.[ch]: added sock_has_pending_data() which returns TRUE
630 if socket has pending data.
631 * src/session.c: session_recv_msg(), session_recv_data(): check if
632 socket has pending data and call the callbacks immediately in that
633 case (fixes the hang at ESMTP EHLO on SSL).
637 * src/socket.c: check return value in SSL functions.
641 * src/mimeview.c: mimeview_init(): initialize TextView to prevent
642 slowdown caused by GTK+ themes (thanks to Yuri Arapov).
646 * src/session.c: session_read_data_cb(): clear Session::read_data_buf
647 before calling callbacks.
651 * src/socket.c: made socket connection protocol independent.
652 * src/session.c: removed debug g_print().
653 * src/inc.c: made status bar output less verbose, and show counter
654 on main window's progressbar.
658 * src/session.c: added missing #include <errno.h>.
662 * src/session.[ch]: reimplemented the Session system with non-blocking
663 I/O to solve the performance and the code design issue.
664 * src/socket.[ch]: added sock_connect_async() and
665 sock_connect_async_cancel() to enable asynchronous connection.
666 sock_peek(): modified the implementation.
667 * src/pop.c: optimized the receiving of the responses of
672 * src/procmsg.c: procmsg_get_thread_tree(): prevent threading problems
673 when a node is an ancestor (parent / great parent), which mostly
674 happens with circular references (thanks to Phillipe Gramoulle
675 for finding an sample set of messages, and Alfons for the patch).
679 * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
680 UIDL list is not found (fixes inability of initial retrieval).
684 * src/main.c: added the option '--status-full' which shows the status
685 of each folder specified. The option '--status' also takes
686 following arguments for folders (thanks to Yuri Arapov).
687 * src/folder.[ch]: folder_get_status(): new. it takes the array of
688 folders as the argument and returns their status.
689 folder_count_total_msgs(): removed.
699 src/inputdialog.c: use gtk_main_iteration() instead of gtk_main()
700 to prevent abort when a button is double-clicked.
704 * src/addr_compl.c: invalidate_address_completion(): check if
705 g_completion_list is NULL (thanks to Kazuhiro NISHIYAMA).
709 * src/pop.c: pop3_session_recv_data_finished(): fixed a bug that
710 deleted messages that is to be kept on server (thanks to Tristan
720 sock_set_io_timeout(): new. It sets the timeout interval.
721 sock_gdk_input_add(): removed since it's not used anymore.
722 * src/prefs_common.[ch]: added an option to set the timeout parameter.
726 * src/action.c: fixed a bug that didn't hide user string in
727 create_io_dialog() (thanks to Markus Amersdorfer).
728 Removed ChildInfo::type and added Children::action_type.
732 * src/inc.c: inc_start(): ask every password before retrieving.
733 Don't popup the redundant error dialog.
735 inc_all_account_mail()
736 inc_progress_dialog_set_list(): separated account list display
738 inc_progress_dialog_set_label()
739 inc_recv_data_finished()
740 inc_recv_message(): properly update the dialog when RETR finished.
745 imap_modified_utf7_to_locale()
746 imap_locale_to_modified_utf7(): fixed compilation failure when not
751 * src/procmime.c: procmime_scan_multipart_message(): fixed parsing
752 of message/rfc822 parts.
756 * src/pop.c: pop3_ok(): detect timeout error.
760 * src/imap.c: imap_locale_to_modified_utf7(): fixed the encoding bug
761 when locale strings include '+'.
762 imap_modified_utf7_to_locale()
763 imap_locale_to_modified_utf7(): at least escape/unescape '&' even
764 if iconv() is not supported.
770 compose_get_signature_str(): include separator in signature string.
771 Don't insert separator if signature file is not found.
772 Disabled use of implicit default signature path (~/.signature) when
782 src/quote_fmt_parse.y
783 src/smtp.c: suppress warnings that gcc-3.3 issues.
784 src/stringtable.c: use string_entry_free().
788 * src/compose.c: compose_insert_sig(): fixed the bug that always
789 appended signature separator if signature file was not found.
790 compose_get_signature_str(): fixed the bug that caused crash if
791 signature file cannot be opened.
799 * src/session.c: session_recv_msg(): removed debug print.
806 imap_cmd_fetch(): check for data size that servers return (fixes
807 vulnerability found in BugTraq).
811 * src/addr_compl.c: get_complete_address()
812 src/addressbook.c: addressbook_format_address()
813 src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
814 characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
815 * src/main.c: main(): set colormap and visual to solve color problem
816 in Solaris (thanks to Markus Schwarzenberg).
824 * src/prefs_account.c: temporarily removed POP before SMTP option.
828 * src/prefs_common.[ch]: changed the description of "Open message when
829 cursor keys are pressed on summary".
830 * src/summaryview.c: summary_show(): open message when always_show_msg
835 * src/logwindow.[ch]: restrict the maximum lines of the log messages
836 to reduce the memory usage.
840 * src/compose.c: compose_insert_sig(): fixed a crash when signature
841 string contains illegal sequence.
842 * src/utils.[ch]: changed get_wcs_len() to get_mbs_len() for accuracy.
846 * major refactoring of MIME structure.
847 * src/procmime.c: procmime_scan_message(): decrypt message if
848 gpgme is enabled. Create multipart tree only if content-type is
849 multipart/* or message/rfc822.
850 procmime_scan_multipart_message(): fixed the scanning of
852 * src/action.c: parse_append_msgpart()
853 src/messageview.c: messageview_show()
854 src/mimeview.c: mimeview_show_message(): use procmime_scan_message()
855 instead of procmsg_open_message() and procmime_scan_mime_header().
856 mimeview_set_multipart_tree(): conform to the new MIME structure.
857 * src/textview.c: textview_show_part(): removed unnecessary check.
858 * src/procmsg.c: procmsg_open_message_decrypted(): fixed the file
859 pointer when decryption failed.
863 * src/ssl.c: ssl_init_socket_with_method(): replaced log_warning()
864 by g_warning(), and log_print() by debug_print().
865 * src/pop.[ch]: added an error code PS_NOTSUPPORTED, and retry with
866 LAST if UIDL is not supported.
870 * src/codeconv.c: conv_get_code_conv_func(): convert to EUC-JP only
871 if it is the current locale encoding when dest_charset_str is NULL.
875 * src/action.c: execute_actions(): fixed crash when no text widget
876 is selected (thanks to Paul and Melvin).
878 src/prefs_actions.c: added missing reference to Claws team in the
885 session_send_data(): fixed a memory leak and data sending bug.
886 * src/send_message.c:
887 send_message_smtp(): fixed focus management.
891 * src/smtp.[ch]: set the response string to SMTPSession::error_msg
893 * src/send_message.c: show error dialog if error occurred.
894 * src/main.c: send_queue()
895 src/mainwindow.c: send_queue_cb(): don't show error dialog here.
899 * src/session.c: session_close(): kill child process only if
900 state is not SESSION_DISCONNECTED.
901 * src/send_message.c: send_cancel_button_cb()
902 src/inc.c: inc_cancel(): don't set Session::state to
903 SESSION_DISCONNECTED.
904 * src/prefs.[ch]: modified the names of prefs_write_*().
905 * src/address.[ch]: removed.
909 * src/compose.c: compose_template_apply(): overwrite recipients.
913 * src/procheader.c: procheader_date_parse(): removed debug print.
914 * src/session.c: changed every g_print to debug_print.
915 session_child_input(): removed unrequired session_close() (it'll
916 be closed anyway after returning FALSE).
917 * src/send_message.c: send_message_smtp(): changed g_print to
922 * src/procheader.c: procheader_procheader_date_parse(): don't add
923 local timezone offset if timezone is unknown.
924 Made the Y2K workaround code to follow RFC 2822.
925 procheader_scan_date_string(): workaround for date strings which
926 don't have timezone specification.
927 * src/utils.c: remote_tzoffset_sec(): return -1 if timezone is
932 * src/action.[ch]: refactored. Also fixed a bug on MIME mode, and
933 some memory leaks on error.
934 action_update_msgview_menu(): new.
935 * src/messageview.[ch]: added "Tools/Actions" menu. Keep window list.
936 messageview_get_selected_mime_part(): returns MimeInfo of selected
937 part when MessageView is in MIME mode.
938 * src/mimeview.[ch]: mimeview_get_selected_part(): returns MimeInfo
940 * src/summaryview.[ch]: summary_get_selected_msg_list(): returns
941 MsgInfo list of selected messages.
945 * src/prefs_filter.[ch]: include original message's headers as
946 the preset keywords. Modified the sizes of the widgets.
947 * src/utils.[ch]: added str_case_equal() and str_case_hash() for
948 case-insensitive hash.
952 * src/procmsg.c: procmsg_get_filter_keyword(): added X-Sequence to
953 auto-detected headers.
957 src/mainwindow.c: modified function names.
958 get_user_string(): Use input_dialog() instead of its own
963 * src/codeconv.[ch]: conv_encode_header(): don't include '(' and ')'
964 in encoded strings if addr_field is TRUE.
965 * src/compose.c: compose_convert_header(): added a flag 'addr_field'.
969 * src/prefs_actions.[ch]: separated action execution routine into
974 * src/prefs_actions.c: minor code cleanup.
978 * src/codeconv.[ch]: conv_iconv_strdup(): fixed the handling of
984 inc_recv_data_progressive()
985 inc_recv_data_finished()
988 send_send_data_progressive()
989 send_send_data_finished(): added assertion.
993 * src/codeconv.[ch]: conv_iconv_strdup(): fixed potential memory
998 * src/codeconv.[ch]: conv_iconv_strdup(): don't include nul character
999 in source buffer since it messed up some encoding conversion (like
1004 * src/procmsg.c: procmsg_get_filter_keyword(): unfold headers and
1005 extract ID from List-Id header.
1006 * src/utils.[ch]: extract_one_parenthesis_with_skip_quote(): removed.
1007 extract_list_id_str(): extract ID string from List-Id header.
1011 * src/prefs_actions.c: merged from the claws branch. Fixes several
1012 bugs and adds some features.
1016 * src/compose.c: compose_parse_header(): fixed a bug that unnecessary
1017 linebreaks were included on reediting.
1019 src/pop.c: fixed typos: 'occured'.
1023 * src/compose.[ch]: implemented auto signature replacement on
1025 compose_insert_sig(): added a flag to replace current signature.
1026 compose_get_signature_str(): new. It returns signature string.
1027 compose_insert_command_output(): removed.
1028 compose_select_account(): call compose_insert_sig() on account
1030 compose_destroy(): fixed a memory leak of UndoMain object.
1031 Compose::sig_str: new. It stores current signature string.
1032 * src/gtkutils.[ch]: gtkut_stext_find(): new.
1033 Renamed gtk_stext_clear() to gtkut_stext_clear().
1034 * src/utils.[ch]: get_wcs_len(): returns wide-character length of
1036 normalize_newlines(): converts CR+LF and CR into LF.
1037 get_command_output(): returns command output.
1041 * src/procmsg.[ch]: procmsg_get_filter_keyword(): new. It returns
1042 filter keyword for messages.
1043 * src/summaryview.c: summary_filter_open(): use
1044 procmsg_get_filter_keyword().
1045 * src/messageview.c: create_filter_cb(): implemented.
1051 inc_put_error(): display server responses on error.
1052 * src/pop.[ch]: added Pop3Session::error_msg, and set server responses
1057 * src/messageview.[ch]: separated the forced charset of message view
1058 in separate window from the main window.
1060 textview_show_message()
1061 textview_show_part()
1062 textview_add_part(): use MessageView::forced_charset if specified.
1066 * src/mainwindow.c: modified File menu a bit.
1067 * src/menu.[ch]: added functions to handle item factory rc strings.
1068 * src/messageview.[ch]: added a menu, and made it take over main
1069 window's menu shortcuts.
1070 added msginfo which is duplicated on display to MessageView.
1071 * src/prefs_common.c: prefs_keybind_apply_clicked(): use
1072 menu_factory_clear_rc().
1076 * send_message.c: send_message_smtp():
1077 re-enabled forcing of SMTP AUTH method.
1078 Clear temporary password if authentication failed.
1079 * smtp.c: output warning to log and set SMTPSession::error_val
1081 * smtp.h: changed error value to enum. Added SMTPSession::error_val.
1082 * src/mbox.c: proc_mbox(): force updating of folder.
1086 * src/pop.h: changed error value to enum.
1087 * src/pop.c: pop3_retr_recv(): return PS_IOERR when inc_drop_message()
1089 pop3_ok(): return appropriate error value based on current state.
1090 Output warning to log if error occurs.
1095 src/news.[ch]: refactored. Remove NNTPSockInfo and use NNTPSession
1100 * src/inc.c: inc_pop3_session_do(): retrun appropriate error if
1101 Session::state == SESSION_ERROR.
1102 * po/POTFILES.in: removed src/automaton.c and src/send.c.
1103 Added src/send_message.c.
1108 src/session.c: fixed breakage of POP3 retrieval.
1109 session_recv_data_from_sock_unescape(): read until terminator
1110 appears and also return the actual size.
1114 * src/automaton.[ch]: removed.
1115 * src/session.c: removed some of the debug output.
1116 * src/smtp.c: smtp_session_recv_msg(): workaround in case server
1117 returns EHLO-style response to HELO command.
1118 Ignore all multiline responses except for EHLO since they are
1119 allowed for any command.
1124 src/pop.c: fixed retrieval of messages which contain dot-escaped
1126 session_recv_data(): added a flag for unescape.
1127 session_recv_data_from_sock_unescape(): new. It receives message
1128 for each line and unescapes dot-escaped lines.
1129 Removed the previous workaround.
1130 * src/defs.h: decreased UI_REFRESH_INTERVAL to 40 msec.
1134 * src/pop.[ch]: workaround for brekage of retrieval when given size
1135 and actual one is different.
1139 * src/pop.c: pop3_retr_eom_recv(): ignore invalid end of message
1140 since some servers sometimes return incorrect message size.
1141 * src/news.c: news_session_new(): zero clear NNTPSession object.
1142 Don't initialize Session::sock with nntp_sock->sock to prevent
1143 double-free of SockInfo.
1144 * src/imap.c: zero clear IMAPSession object.
1145 imap_cmd_append(): don't close SockInfo.
1149 * src/pop.c: pop3_session_recv_msg(): fixed STLS.
1154 src/pop.[ch]: reimplemented using new I/O system.
1155 * src/session.[ch]: session_recv_data(): new.
1156 session_send_data_to_sock()
1157 session_recv_data_from_sock(): decreased the frequency of progress
1162 * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
1166 * src/session.[ch]: session_start_tls(): new.
1167 session_recv_msg(): made it static.
1171 * implemented asynchronous network I/O.
1172 * src/session.[ch]: the interface to communicate with servers through
1175 src/send_message.[ch]: rewrote using new I/O system.
1176 * src/socket.[ch]: renamed *_write() to *_write_all(), and made
1177 *_write() as just a simple wrapper for write().
1178 * src/utils.c: get_outgoing_rfc2822_str(): new. It modifies the
1179 message to send with SMTP or NNTP.
1180 file_read_stream_to_str(): new.
1184 * src/textview.c: textview_button_pressed(): corrected the range of
1186 * src/compose.c: compose_wrap_line_all_full(): treat UTF-8 characters
1187 represented with more than 2 bytes as 2 character width and 2 bytes
1188 one as a single character width as a workaround for wrapping problem.
1192 * src/utils.c: subject_compare_for_sort(): allow null strings (fixes
1197 * implemented HTML link correctly.
1198 * src/html.[ch]: HTMLAttr, HTMLTag: new structure for attributes /
1200 html_get_tag(): new. It parses tag and returns HTMLTag object.
1201 html_parse_tag(): also parses <a> tags and 'href' attributes.
1202 * src/textview.c: textview_write_link(): new. It creates link string.
1206 * src/compose.c: compose_wrap_line_all_full(): fixed an infinite
1207 loop / crash bug (thanks to Darko Koruga).
1208 compose_write_to_file(): put correct charset element when
1209 conversion failed but want to send anyway.
1213 * src/headerview.c: headerview_show()
1214 src/textview.c: textview_write_line(): remove unreadable characters
1215 from displayed strings to prevent crashes on multi-byte
1217 * src/codeconv.[ch]: conv_unreadable_locale(): new. It was separated
1218 from conv_localetodisp().
1222 * src/procmsg.c: procmsg_cmp_by_subject()
1223 src/summaryview.c: summary_cmp_by_subject(): ignore Re: when
1226 subject_compare_for_sort()
1227 trim_subject_for_sort(): new.
1235 * src/defs.h: added -i option to the default sendmail command.
1239 * src/codeconv.[ch]: added missing character encodings and locales.
1244 procmsg_get_mark_sum()
1245 procmsg_open_mark_file()
1246 procmsg_read_mark_file(): take FolderItem instead of directory
1251 * src/codeconv.c: conv_encode_header(): fixed a bug that spaces
1252 which is on the wrap boundary would be lost when encoding long
1253 non-ascii strings (thanks to Sergey Vlasov).
1254 Don't force wrapping within a long word until it reaches hard line
1255 length limit (998 characters) (workaround for the breakage of
1256 long address list with no spaces).
1260 * src/prefs_account.c: fixed compile failure when using neither
1265 * src/codeconv.c: fixed UTF-8 locale support.
1266 conv_get_code_conv_func(): return conv_noconv if locale encoding
1267 is UTF-8. Return conv_latintodisp on ISO-8859-* to locale encoding
1269 conv_convert(): call conv_iconv_strdup() instead of
1270 conv_codeset_strdup().
1271 conv_codeset_strdup(): moved some codes into conv_iconv_strdup().
1275 * src/prefs_account.[ch]: added an option to use command output for
1277 * src/compose.c: compose_insert_sig(): use command output if
1279 compose_insert_command_output(): new.
1283 * src/main.c: main(): remove lock socket if sylpheed is not running
1284 when --status command is executed.
1285 lock_socket_remove(): new.
1289 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
1290 codeset is US-ASCII (or POSIX).
1294 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
1295 and continue conversion.
1299 * src/summaryview.c: summary_selected(): always update widget
1304 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
1305 date in timezones more than GMT+12 or less than GMT-12.
1309 * src/prefs_common.[ch]
1310 src/sourcewindow.c: remember the size of source window.
1311 * src/md5.c: fixed a compile problem with gcc 3.3.
1315 * src/about.c: about_create(): modified the copyright notice.
1319 * src/colorlabel.c: don't use pixmaps for label color rect but draw
1320 rectangles so we can respect the color map of palette based visuals
1321 (fixes the long time crashes on Solaris - thanks to Alfons
1326 * src/procheader.c: procheader_date_parse(): made month string case
1328 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
1329 selection list is empty.
1333 * src/quote_fmt_parse.y: removed gettext translatable strings.
1334 * src/unmime.c: unmime_header(): remove broken characters when
1335 code conversion failed.
1336 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
1337 headers if long words more than 75 characters are entered.
1341 * src/prefs_account.c: prefs_account_receive_create()
1342 src/utils.c: to_human_readable(): made units translatable.
1346 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
1347 at first byte (fixes abort() problem of glibc).
1348 * src/html.c: html_read_line(): remove characters which can't be
1349 displayed on the current locale.
1354 trim_subject_for_compare(): renamed from trim_subject().
1355 trim_subject(): new. It removes [...] or (...) at the beginning
1357 * src/prefs_folder_item.c
1359 added options for trimming summary / compose subject.
1360 * src/summaryview.c: summary_set_header(): trim subject if the folder
1362 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
1368 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
1369 X-Face header problem).
1370 conv_encode_header(): allow up to 97 characters for one word.
1374 * src/filter.c: filter_match_condition(): fixed the bug that
1375 second condition ignored regex.
1376 * src/news.h: NewsGroupInfo: use guint for message numbers
1377 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
1381 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
1382 on code conversion failure.
1383 conv_get_charset_str()
1384 conv_get_charset_from_str(): optimized using hash table.
1388 * src/quote_fmt_parse.y:
1389 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
1390 treat only "\n-- \n" as a signature separator.
1394 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
1395 * src/summary_search.c: summary_search_execute(): search collapsed
1401 conv_unreadable_latin(): include 0x7f as an unreadable character.
1402 conv_localetodisp(): don't remove 8bit characters by default.
1403 conv_get_current_charset()
1404 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
1405 appended at the last of locale name.
1406 * src/compose.c: compose_write_to_file(): show from and to encoding
1407 when code conversion failed.
1415 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
1416 (thanks to Colin Leroy).
1417 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
1422 * src/textview.c: textview_write_line(): don't convert if conv is
1427 * src/codeconv.[ch]:
1428 renamed conv_guess_encoding() to conv_guess_ja_encoding().
1429 conv_localetodisp(): new. It removes unreadable characters from
1430 (assumed) current locale string.
1431 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
1432 NULL and current locale encoding is US-ASCII.
1433 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
1434 specified for destination charset.
1435 * src/textview.c: textview_write_line(): use conv_localetodisp()
1436 instead of strncpy2() if conversion failed.
1440 * src/codeconv.c: conv_iconv_strdup()
1442 imap_modified_utf7_to_locale()
1443 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
1444 a warning on some systems.
1445 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
1447 Return NULL instead of incomplete string if conversion failed.
1451 * src/summaryview.c: summary_execute(): select appropriate node
1452 if currently selected node is to be deleted.
1453 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
1454 TRUE if the specified node is selected.
1458 * src/summaryview.c: summary_status_show(): fixed a occasional crash
1459 on deleting or moving.
1463 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
1464 of EUC-JP more accurate.
1465 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
1477 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
1478 duplication bug if the source string has CRLF.
1480 canonicalize_str(): new. Returns newly allocated canonicalized
1482 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
1483 uncanonicalize_file_replace(): new.
1484 * src/compose.c: always canonicalize body before processing, and
1485 uncanonicalize before returning.
1489 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
1490 ENC_8BIT for Russian charsets.
1491 * src/compose.c: compose_write_to_file(): use base64 when signing
1496 * src/prefs_common.c: prefs_send_create(): added a description for
1497 the setting of Content-Transfer-Encoding.
1501 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
1503 * src/procmime.c: procmime_get_encoding_for_charset(): return
1504 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
1505 * src/compose.c: compose_attach_append(): set correct Content-
1506 Transfer-Encoding for message/rfc822.
1507 compose_write_to_file(): enabled user-definable Content-Transfer-
1509 * src/prefs_common.[ch]: added an option for user-defined Content-
1514 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
1515 line doesn't end with linebreak.
1519 * implemented quoted-printable encoding.
1520 * src/quoted-printable.[ch]: qp_encode_line(): new.
1522 compose_write_to_file()
1523 compose_write_attach(): implemented quoted-printable encoding.
1524 compose_attach_property_create(): enabled quoted-printable menu
1526 * src/procmime.c: procmime_get_encoding_for_charset(): return
1527 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
1528 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
1535 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
1536 of abbreviation of newsgroup name.
1540 * configure.in: show the result of iconv detection.
1544 * src/codeconv.[ch]: made the transition from libjconv to iconv().
1545 conv_iconv_strdup(): new.
1549 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
1555 src/prefs_folder_item.c: English fix (property -> properties).
1556 * src/prefs_filter.c: alert if entry is not saved.
1557 prefs_filter_dialog_to_filter(): new.
1561 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
1562 strings after linefeed.
1567 * src/codeconv.[ch]: code cleanup and optimization.
1568 conv_code_converter_new()
1569 conv_convert(): use functions obtained by conv_get_code_conv_func()
1570 when using libjconv.
1571 conv_codeset_strdup(): code cleanup.
1572 conv_get_code_conv_func(): added an argument for destination
1573 character set, and generalized.
1577 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
1579 * src/compose.c: compose_convert_header(): remove trailing spaces.
1580 * src/customheader.c: custom_header_read_str(): strip the spaces
1582 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
1583 strip the spaces of name and value.
1591 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
1592 into infinite loop when encountering invalid characters.
1596 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
1598 * src/summaryview.c: summary_show(): removed summary_sort() because
1599 it is done inside folder_item_get_msg_list(). This will improve
1600 the performance of summary display.
1601 Sorted out the summary sort functions using macros.
1605 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
1606 list if FolderItem::sort_key is set.
1607 Added SORT_BY_TO to FolderSortKey enum.
1608 * src/mainwindow.c: added "View/Sort/by recipient".
1616 * src/codeconv.c: conv_encode_header(): fix for redundant space on
1618 * src/compose.c: compose_convert_header(): always pass string to
1619 conv_encode_header() for line-breaking.
1623 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
1624 parsing of email addresses.
1628 * src/defs.h: added DEFAULT_BROWSER_CMD.
1629 * src/mimeview.c: mimeview_view_file()
1630 src/prefs_common.c: prefs_other_create()
1631 src/utils.c: open_uri(): changed the default web browser to
1632 mozilla, and changed 'raise' command (which is undocumented)
1633 to 'new-window' in 'netscape -remote'.
1637 * src/compose.c: compose_send_control_enter(): fixed crash on
1638 Ctrl-Enter when Message/Send has no accelerator key (thanks to
1646 sort_summary_type_cb(): prevent unwanted processing on unchecking
1651 * src/main.c: process command line option before gtk_init() to
1652 enable remote operation without X (thanks to Ruslan N. Balkin).
1653 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
1658 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
1659 (the spec of autotools seems to be changed).
1663 * src/imap.c: get path separator using LIST command if server
1664 doesn't support NAMESPACE (based on the patch by Brian Sammon).
1665 imap_parse_list(): added an argument to return path separator.
1666 imap_get_namespace_by_list(): new.
1670 * src/addr_compl.c: add_address(): removed the debug print.
1671 * src/gtkutils.[ch]: gtkut_window_popup()
1672 src/mainwindow.c: main_window_popup(): applied the patch to fix
1673 the behavior of window popup from Sergey Vlasov (thanks!)
1674 * src/account.c: account_edit_create(): use signal_connect_after
1675 for row_move signal to fix the row position bug.
1676 account_row_moved(): scroll the CList half page.
1677 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
1679 * src/summaryview.c: summary_reply(): use selection text only if
1680 the displayed message is selected (thanks to Sergey Vlasov).
1684 * src/codeconv.c: conv_encode_header(): reimplemented the routine
1685 of MIME header encoding. And use Q-encoding method if the current
1686 locale is single-byte one.
1687 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
1688 of wide-character string. Consider control codes as non-ASCII.
1689 get_next_word_len(): new. It returns the length of next word.
1690 is_next_mbs(), find_wspace(): removed.
1691 * src/quoted-printable.[ch]: new.
1692 qp_decode_line(): decodes one QP line.
1693 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
1694 qp_get_q_encoding_len(): returns the length when a string is
1696 qp_q_encode(): Q-encode a string (RFC 2047).
1697 * src/unmime.c: moved the functions for quoted-printable to
1702 * src/send.c: send_message_local(): escape line that only have one
1703 dot character (postfix's sendmail command will stop there).
1707 * src/send.c: send_message_local(): don't escape first-dot line
1708 (thanks to Sergey Vlasov).
1712 * autogen.sh: added 'libtoolize --force --copy' to override the
1714 * acconfig.h: removed.
1715 * configure.in: increased minimal version of GPGME to 0.3.10.
1716 Fixed checking of XIM.
1718 ac/gnupg-check-typedef.m4: added an argument for comment.
1722 * src/imageview.[ch]: fixed conflicting declarations of
1723 imageview_show_image() (thanks to Thorsten Maerz).
1727 * src/compose.c: compose_entry_append(): don't add ", " on subject
1729 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
1730 charset from the table (currently disabled for non-Japanese locales).
1731 conv_get_current_locale(): also refer to LC_CTYPE.
1735 * README: added a description about hidden settings.
1739 * src/prefs_common.[ch]: reorganized the common prefs dialog.
1740 Made enable_hscrollbar and bold_unread hidden options.
1744 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
1749 account_find_from_message_file()
1750 account_find_from_msginfo(): new. They find an account from the
1751 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
1754 compose_reedit(): restore messages' previous account on composition.
1755 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
1760 * src/compose.c: cleaned up the code using compose_entry_set()
1761 (don't use gtk_entry_set_text() directly).
1765 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
1769 * updated autotools and libtool to the latest version.
1770 * configure.in: added AC_PREREQ(2.50).
1774 * src/textview.c: textview_set_font(): fix for message display in
1775 UTF-8 locales (thanks to Sergey Vlasov).
1779 * src/imageview.[ch]: imageview_show_image(): resize images to fit
1780 the window size if specified.
1781 * src/prefs_common.[ch]: added an option 'Resize attached images'.
1785 * refactoring for SMTP implementation.
1786 * src/session.h: added ui_func to Session.
1787 * src/smtp.[ch]: separated the connection routine from
1788 smtp_session_new() to smtp_connect().
1789 Changed the argument of every function other than smtp_ok() from
1790 SockInfo to SMTPSession.
1791 Call UI callback from each functions.
1792 * src/send.c: send_message_smtp(): separated the code for UI update
1793 into send_progress_dialog_update().
1797 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
1798 * src/send.c: send_message_smtp(): call smtp_auth() and display
1799 the state to the dialog.
1803 * src/filter.c: strmatch_regex(): use extended regex (thanks to
1805 * src/main.c: main(): removed the code for assortrc -> filterrc
1807 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
1808 current locale is C or POSIX.
1809 gtkut_stext_is_uri_string(): include "www." for URI string.
1810 * src/textview.c: textview_make_clickable_parts(): include "www."
1819 * src/textview.c: textview_add_part(): indicate signature status
1820 using different colors.
1824 * src/folder.c: folder_write_list_recursive(): escape
1825 To/Cc/Bcc/Reply-To strings.
1829 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
1830 headers on locales other than Japanese when not using libjconv.
1834 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
1835 corresponding error message.
1836 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
1841 * src/prefs_account.[ch]: removed prefs_account_save_config() since
1843 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
1844 procmime_mimeinfo_free_all() can be used in every case.
1848 * src/account.c: account_get_special_folder(): support F_INBOX, and
1853 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
1854 COMPOSE_ENTRY_*, and added
1855 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
1858 compose_redirect(): added FolderItem to the arguments, and reflect
1859 settings in the item.
1860 compose_entry_set(): new.
1861 compose_entry_append(): code cleanup.
1862 compose_entries_set_from_item(): take ComposeMode in its arguments,
1863 and enabled FolderItem::use_auto_to_on_reply.
1864 * src/summaryview.c: summary_reply(): pass folder_item to
1865 compose_{reply,forward,redirect}().
1869 * src/gtkutils.[ch]:
1870 gtkut_font_load(): new. It automatically choose font or fontset
1872 gtkut_font_load_from_fontset(): new. It tries to load single font
1873 instead of fontset from a fontset string.
1877 src/summaryview.c: workaround for the problem that couldn't display
1878 8-bit characters in C or POSIX locale (use font instead of fontset).
1881 src/textview.c: made code cleanup using gtkut_font_load*().
1885 * src/mh.c: mh_get_msginfo(): set correct message number.
1889 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
1890 It returns a new MsgInfo associated to a message number.
1891 folder_item_get_msginfo(): new.
1892 * src/imap.[ch]: imap_get_msginfo(): new.
1893 * src/mh.[ch]: mh_get_msginfo(): new.
1894 * src/news.[ch]: news_get_msginfo(): new.
1898 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
1899 infinite loop if an invalid code appeared.
1903 * src/codeconv.c: conv_codeset_strdup()
1904 src/html.[ch]: html_read_line(): don't output conversion failure
1906 Added HTML_CONV_FAILED to the enum HTMLState.
1910 * implemented per-folder auto-set address (still in progress).
1911 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
1912 and set entries from it (if mailto is empty).
1913 compose_entry_append(): activate menu if required.
1914 compose_entries_set_from_item(): new.
1915 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
1916 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
1918 folder_build_tree(), folder_read_folder_func(),
1919 folder_write_list_recursive(): added the above members.
1920 * src/prefs_folder_item.[ch]: added auto-set addresses.
1921 * src/pop.[ch]: removed Pop3State::prev_folder.
1925 * src/compose.c: allow dropping files by also "moving" files from a
1926 file manager (thanks to Alfons).
1930 * compose_reply_set_entry(): made Reply-To have priority over
1931 List-Post on ML reply.
1935 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
1936 * src/summaryview.c: summary_step(): fixed a bug that lost the
1937 correct selection anchor.
1938 summary_key_pressed(): use gtk_sctree_select() instead of
1942 src/recv.c: differentiate disk full and socket errors
1943 (thanks to Colin Leroy).
1947 * src/account.c: account_edit_prefs(): removed unused variables.
1948 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
1951 compose_reply_set_entry(): receive reply type with one argument.
1952 * src/summaryview.c: summary_reply(): reduced conditional branches.
1956 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
1957 from line ends (thanks to Sergey Vlasov).
1958 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
1963 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
1964 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
1965 messages all at once.
1969 * src/account.[ch]: account_open(): new. It opens account prefs
1970 dialog and reflects to UI when finished.
1972 folderview_button_pressed()
1973 folderview_property_cb(): open account prefs dialog when the
1974 property of the root folder of remote account is requested.
1978 * src/account.c: account_destroy(): unref account information in
1980 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
1981 specified account information in all folders.
1983 folderview_rm_imap_server_cb()
1984 folderview_rm_news_server_cb(): destroy Folder first because
1985 folder_destroy() refers to account information.
1989 * src/account.c: account_find_from_item(): fixed a bug which didn't
1990 select the correct account.
1991 * inc_pop3_session_do():
1992 fixed the resource leak when SSL initialization failed.
1993 Immediately break from temporary event loop if cancelled.
1997 * src/account.[ch]: account_find_from_item(): new.
1999 compose_reply(), compose_forward(), compose_redirect()
2000 src/mainwindow.c: compose_cb(): select optimal account when
2002 * src/folder.[ch]: added FolderItem::apply_sub.
2003 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
2004 index of option menu which contains the specified data.
2005 * src/prefs_folder_item(): added Compose tab, and the setting of
2010 * configure.in: added $LDAP_LIBS for lber library detection.
2018 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
2019 leak, and added error checking.
2023 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
2024 removed Compose::orig_account.
2025 compose_check_for_valid_recipient(): check only enabled entries.
2026 compose_write_headers()
2027 compose_redirect_write_headers(): add Newsgroups header only
2028 when the entry is enabled.
2029 compose_send(): modified the method of finding a mail account
2030 from a news account so that it tries to match the From address.
2031 * src/send.c: send_message_queue(): enabled the queueing of news
2033 * src/news.[ch]: news_post_stream(): new.
2037 * configure.in: check lber first and use $LDAP_LIBS on the check
2042 * po/*.po: fixed many typos of format strings which will lead to
2043 crash (thanks to Sergey Vlasov).
2047 * src/procheader.c: procheader_parse_stream(): added Cc header
2048 to the target for full parsing.
2049 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
2050 returns the full message information from the given information.
2051 * src/compose.c: compose_reply(), compose_forward(): get full
2052 message information for Cc header.
2056 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
2057 IMAP4 and NNTP folder summary after checking those accounts.
2065 * src/prefs_common.c: prefs_compose_create(): modified the label
2066 of the option for Reply button.
2067 * configure.in: add -lldap and -llber to the 5th argument of
2068 AC_CHECK_LIB() for LDAP library detection.
2073 INSTALL.jp: updated.
2077 * src/mainwindow.c: toggle the behavior of Reply button between
2078 normal reply and reply-to-list.
2079 * src/prefs_common.[ch]: added an option to switch the function
2084 * src/compose.c: compose_new(): removed the workaround for XIM
2085 because it doesn't have any effect and only seems to cause
2090 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
2091 compose_parse_header(): parse also List-Post header.
2092 compose_reply_set_entry(): support reply-to-ML (fall back to
2093 normal reply if ML address is not found).
2096 src/summaryview.c: reorganized Reply menu and added 'Reply to
2098 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
2099 returns newly allocated parameters.
2103 * src/account.c: account_read_config_all(): set account information
2104 to default before initializing with configuration file.
2105 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
2106 newly created account information structure initialized by
2107 the default settings.
2112 replace_address_in_edit(): check if newtext is NULL.
2113 completion_window_button_press(): fixed a memory leak.
2114 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
2115 recv_time is RECV_TIME_KEEP.
2116 pop3_getrange_uidl_recv(): only set get_all flag if
2117 ac_prefs->getall is set.
2118 pop3_retr_recv(): don't delete messages which are not received
2119 by filter, and set recv_time to RECV_TIME_KEEP in the case.
2120 * src/pop.h: added an enum RecvTime.
2121 * src/inc.c: inc_drop_message(): unlink temporary message file if
2122 not received by filter.
2126 * src/mainwindow.c: added 'Edit/Select thread' menu.
2127 * src/summaryview.[ch]: added 'Select thread' to the context menu.
2128 summary_select_thread(): new. It selects all messages of current
2133 * src/rfc2015.c: check_signature(): corrected error handling and
2138 * src/rfc2015.c: check_signature(): correctly remove the last empty
2139 line, and canonicalize the file part before verifying (this should
2140 fix incompatibility with Evolution or some other MUAs).
2141 * src/utils.[ch]: copy_file_part(): new. It copies the specified
2142 range of file stream to another file.
2146 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
2147 8-bit text when signing (thanks to Colin Leroy).
2151 * src/prefs_common.c: prefs_send_create(): fixed the charset string
2152 for Cyrillic (Windows-1251).
2160 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
2161 Windows-1251. Added bg_BG locale.
2165 * src/compose.c: account_activated(): change the state of menu items
2166 and entries according to the selected account.
2167 compose_select_account(): new. It changes the state of title bar,
2168 menu items and entries.
2172 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
2174 Don't refresh summary view on fetching when open_inbox_on_inc is
2179 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
2180 is set (to avoid summary refresh problem).
2181 * src/imap.c: removed warnings by checking the existence of directory
2182 before calling remove*_numbered_files().
2186 * src/prefs_common.c: corrected English.
2190 * src/prefs_common.[ch]: added an option: "Mark messages as read
2191 only when opened in new window".
2196 folder_tree_destroy()
2197 folder_write_list_recursive(): added sanity check.
2198 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
2199 can't get session, create empty folder node (based on the
2200 Alfons' suggestion).
2204 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
2206 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
2211 * src/news.c: news_scan_group(): fixed wrong message number
2216 * major refactoring for POP3.
2217 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
2218 inc_pop3_state_destroy(), inc_get_uidl_table(), and
2219 inc_write_uidl_list() into pop.c.
2220 Moved Pop3State::folder_table and Pop3State::inc_state into
2223 inc_put_error(): added lockbusy state.
2224 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
2225 inc_cancel(): don't terminate the automaton here but just set
2226 the flags to prevent crash.
2228 pop3_getauth_pass_recv()
2229 pop3_getauth_apop_recv(): check lockbusy state.
2230 pop3_retr_recv(): check Pop3State::cancelled flag.
2231 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
2232 automaton_input_cb(): terminate if cancelled flag is true.
2233 * sylpheed.desktop: changed Type=Internet to Type=Application.
2234 Added Categories=Application;Network;.
2240 src/progressdialog.c: show detailed information to the status
2242 Added cur_total_recv_bytes to Pop3State.
2243 * src/prefs_common.[ch]: added an option to specify whether to
2244 close receive dialog when finished.
2248 * src/folder.[ch]: folder_get_path(): new. It returns the root path
2252 imap_folder_destroy()
2254 imap_remove_all_msg()
2255 news_folder_destroy(): remove cache directories / files when
2256 deleting Folder / messages.
2260 is_file_entry_exist(): check if the argument is NULL.
2262 remove_numbered_files()
2263 remove_expired_files(): fixed memory leaks on error.
2272 src/smtp.[ch]: made Folder and Session destructor virtual method.
2276 * src/compose.c: do joining of normal lines only when auto-wrapping.
2277 * src/main.c: modified the warning message for GnuPG.
2278 * src/about.c: about_create(): modified the compiled-in features
2280 * configure.in: improved LDAP library checking (thanks to Alfons).
2290 compose_wrap_line_all(): backed out the change to join lines that
2295 * configure.in: require at least gpgme-0.3.5.
2299 * src/alertpanel.c: alertpanel_create(): minor modification.
2308 * src/alertpanel.c: alertpanel_create(): modified the layout.
2309 * src/rfc2015.c: check_signature(): don't abort on error.
2313 * src/compose.c: compose_wrap_line_all(): freeze widget only if
2314 required to repress flickers.
2318 * src/compose.c: improved line wrapping.
2320 compose_wrap_line_all(): also join lines that are not indented.
2321 dump_text(): handle multi-byte strings correctly.
2325 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
2326 (go to next line when space is entered at line limit).
2330 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
2335 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
2336 checking to prevent confusion.
2340 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
2341 method Folder::get_msg_list().
2342 * src/account.c: account_edit_prefs(), account_delete(): use
2343 folderview_set_all() instead of folderview_rescan_all().
2344 * src/folderview.[ch]:
2345 folderview_check_new_all(): new. Updates all folders.
2346 folderview_rescan_tree(): confirm before executing.
2347 folderview_rescan_all(): commented out since it's not used anymore.
2348 folderview_update_item_foreach(): added a flag for summary update.
2349 * src/inc.c: inc_finished(): update summary only when
2350 prefs_common.scan_all_after_inc is set.
2351 inc_drop_message(): set mtime of target folder to 0 to force
2352 the updating of summary.
2353 inc_start(), get_spool(): update also summary when updating
2355 * src/mainwindow.c: changed 'File - Rescan folder tree' to
2356 'File - Check for new messages in all folders'.
2360 * src/compose.c: compose_write_to_file(): clearsign message body
2362 compose_clearsign_text(): new. Replaces the string with clearsigned
2364 * src/prefs_account.c: added an option for clearsign.
2365 * src/rfc2015.c: rfc2015_clearsign(): new.
2366 pgp_sign(): added a flag for clearsign.
2367 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
2368 name (needs to be freed by caller).
2369 str_write_to_file(), file_read_to_str(): new.
2373 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
2374 to avoid memory leak.
2378 * src/base64.c: include string.h for memcpy().
2379 * src/gtksctree.c: use macro ABS() instead of function abs().
2380 * src/prefs_account.c
2381 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
2382 conflict with the function send() in sys/socket.h.
2383 * src/mainwindow.c: commented out the unnecessary functions.
2384 * src/utils.c: canonicalize_file_replace(): correct warning message.
2388 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
2389 temporary files in ~/.sylpheed/.
2390 * src/main.c: create temporary directory in ~/.sylpheed/.
2392 src/inc.c: create temporary files in ~/.sylpheed/, and modified
2394 compose_exec_ext_editor(): fixed a bug that failed to create the
2395 temporary file if g_get_tmp_dir() returned directory other than
2400 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
2404 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
2405 to replace the file when the given file and temporary file are not
2406 on the same filesystem.
2407 copy_file(): added a flag whether to keep backup.
2408 move_file(): added a flag whether to overwrite the destination file.
2412 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
2413 * src/select-keys.c: modified key selection dialog.
2417 * src/socket.[ch]: my_gethostbyname(): new.
2418 * src/utils.c: get_domain_name(): return FQDN instead of short
2419 hostname (thanks to Bob Woodside).
2420 * src/template.c: made the debug messages less verbose.
2424 * src/prefs_common.[ch]: removed obsolete default sign key setting.
2425 * src/utils.c: canonicalize_file(): correct the error check of
2430 * src/compose.c: compose_write_to_file():
2431 canonicalize line endings before encrypting/signing (this will fix
2432 interoperability with other MUAs).
2433 Removed unnecessary strdup.
2434 Don't encrypt/sign draft message.
2436 canonicalize_file(), canonicalize_file_replace(): new.
2438 src/select-keys.c: changed g_message() to debug_print() and
2440 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
2441 MIME structure scanning.
2442 * src/textview.c: textview_add_part(): show signature status in
2445 src/sigstatus.c: modified translatable strings and some MIME
2450 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
2451 the temporary file when saving from queue.
2457 src/prefs_account.[ch]
2458 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
2459 Modified some messages.
2463 * src/textview.c: textview_scan_header(): fixed a memory leak
2468 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
2469 in right conditional block.
2473 * src/compose.c: compose_wrap_line_all(): fixed character buffer
2479 log_error(): add time stamp to log messages.
2484 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
2488 * src/socket.c: implemented socket I/O timeout.
2490 * src/pop.c: check errors and return error value correctly.
2494 * src/prefs_actions.c: made the action's input/output dialog display
2495 without delay. Made the dialog modal instead of making window
2496 insensitive. Also cleaned up its UI.
2500 * implemented --attach command line option.
2502 Cmd::attach_files: new member to store file paths.
2503 parse_cmd_opt(): added --attach option. --compose option is implied.
2504 prohibit_duplicate_launch()
2505 lock_socket_input_cb(): added "compose_attach" message.
2508 src/textview.c: renamed compose_new_with_recipient() to
2509 compose_new(), and added an argument for attachment files.
2513 * src/logwindow.c: freeze GtkText widget while hidden.
2514 log_window_append(): changed the header for message and warning.
2518 * src/news.c: implement automatic cache expiration.
2519 news_delete_expired_caches(): new.
2520 news_get_article_list(): fixed a bug that nonexistent messages
2521 were not removed from list.
2522 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
2523 procmsg_get_last_num_in_cache().
2524 * src/utils.[ch]: remove_expired_files(): new.
2529 inc_mail(): force summary refresh when using external command for
2531 inc_all_account_mail(): fixed a bug on spool checking failure.
2542 src/editldap_basedn.c
2544 src/prefs_common.c: fixed memory leaks which didn't free strings
2545 gtk_editable_get_chars() returned. And minor code cleanups.
2547 src/vcard.h: removed C++-style comments.
2551 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
2552 strings which include both multi-byte and us-ascii characters.
2556 * src/utils.c: remove_numbered_files(): don't try to unlink()
2559 conv_get_code_conv_func(): return conv_anytodisp() if charset is
2561 conv_unmime_header_overwrite()
2562 conv_unmime_header(): do conv_anytodisp() before decoding header.
2570 * src/compose.c: added 'Tools/Actions' menu.
2574 * src/base64.c: a minor fix for BASE64VAL() macro.
2578 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
2586 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
2587 base64_encode(), base64_decode(): new.
2588 * src/rfc822.[ch]: removed.
2590 src/about.c: removed the copyright notice for fetchmail.
2596 src/unmime.[ch]: rewrote the MIME decode routines.
2598 unmime_quoted_printable_line(): new.
2600 procheader_get_one_field()
2601 procheader_get_unfolded_line(): remove also CR.
2605 * libkcc: removed from the source tree.
2607 src/about.c: removed the copyright notice for libkcc.
2608 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
2610 * src/prefs_actions.c: removed unnecessary spaces/tabs.
2614 * src/prefs_actions.c: comply with the coding style.
2615 Modified the UI design.
2616 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
2617 menu when multiple messages are selected.
2621 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
2622 update_actions_menu(): simplified the menu deletion.
2623 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
2627 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
2628 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
2633 * configure.in: added check for strchr.
2637 * src/prefs_common.[ch]
2638 src/inc.c: added an option to inhibit receive error dialog.
2642 * src/account.c: account_find_from_address(): support multiple
2643 addresses in header.
2647 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
2648 GtkCTreeNode* so that it won't become invalid after the row move.
2649 Removed dependency to gtkutils.c.
2650 * src/prefs_common.[ch]
2651 src/summaryview.c: summary_selected(): added an option to show
2652 message when cursor keys are pressed on summary view.
2658 src/compose.c: changed "host_alias" to "target_alias" so that it
2659 shows the correct system name on cross-compiling (thanks to
2664 * src/prefs_account.[ch]: added the option menu to force an
2665 authentication method for SMTP AUTH.
2667 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
2668 specify the authentication method for SMTP AUTH.
2669 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
2673 * src/prefs_common.[ch]
2674 src/compose.c: enabled "Wrap on input".
2678 * src/summaryview.[ch]
2679 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
2680 Made some code cleanups.
2685 src/prefs_common.[ch]: added the hidden option to specify the
2686 policy of the vertical scrollbar on folder view.
2690 * src/messageview.[ch]:
2691 messageview_copy_clipboard(): fixed a bug that couldn't copy text
2693 messageview_get_current_textview(): new.
2694 messageview_get_text_widget(): removed.
2695 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
2696 * src/compose.[ch]: implemented the "Paste as quotation" feature.
2697 text_inserted(): new callback for "insert_text" signal.
2698 Add quote mark to the pasted text if Compose::paste_as_quotation
2703 * src/compose.c: if the Content-Type of a file is text/*, check
2704 its content and set the optimal Content-Transfer-Encoding (thanks
2709 * src/textview.c: textview_key_pressed(): pass key press event to
2710 main window to activate menu shortcuts (thanks to Alfons).
2714 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
2715 for mtime to prevent flooring.
2718 imap_move_msgs_with_dest()
2719 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
2721 imap_parse_envelope()
2722 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
2723 full information of messages and simplify the parser. Also fixed
2724 the bug that References header was ignored on threading.
2725 imap_parse_one_address()
2726 imap_parse_address(): removed.
2727 imap_get_header(): new. It reads the RFC822 header and returns
2728 a newly allocated string.
2729 * src/procheader.[ch]: changed procheader_parse() to
2730 procheader_parse_stream() and added different interfaces for it.
2734 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
2742 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
2743 could be inserted into the hash table.
2744 inc_write_uidl_list(): a minor code cleanup.
2745 * src/mainwindow.c: main_window_get_current_state():
2746 make the state unexecutable on an empty folder.
2747 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
2748 * src/pop.c: minor code cleanups.
2752 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
2753 corrected the behavior of the radio buttons.
2757 * implemented 'Delete messages after N days' feature for POP3.
2759 inc_get_uidl_table()
2760 inc_write_uidl_list(): moved the location of UIDL list file from
2761 RC_DIR/uidl-* to RC_DIR/uidl/*.
2762 Added received time for each UIDLs.
2763 src/main.c: main(): create RC_DIR/uidl/ directory.
2764 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
2765 Added recv_time to Pop3MsgInfo.
2766 src/prefs_account.[ch]: added an option for the number of days for
2775 * src/folder.c: folder_set_missing_folders(): fixed a bug that
2776 caused multiplication of special folders on startup if their
2778 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
2783 * src/compose.c: compose_reply(), compose_forward(): reverted the
2784 last change since it causes lockup problem.
2788 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
2790 compose_new_with_recipient(): workaround for initial XIM problem.
2794 * src/mainwindow.c: sort ascending / descending order can be
2795 specified with separated menu items.
2796 Added "View/Sort/Don't sort" menu item.
2797 * src/summaryview.[ch]: summary_sort(): added an argument for
2802 * implemented persistent sort order.
2804 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
2805 folder_write_list_recursive(): write sorting state.
2807 src/summaryview.[ch]: summary_show(): sort if required.
2808 select the top node on descending sort.
2809 Removed SummarySortType and sorting state variables from
2817 src/prefs_account.[ch]: enabled NNTP over SSL.
2818 * src/nntp.c: nntp_group(): issue MODE READER command and retry
2819 when GROUP command once failed (this seems to avoid problems on
2820 some broken news servers).
2824 * faq/it/*.html: corrected DOS linebreaks.
2825 * faq/*/*.html: changed ">" to ".
2829 * src/prefs_account.c: prefs_account_protocol_activated(): hide
2830 unnecessary frames in SSL tab.
2836 src/prefs_account.[ch]: enabled STLS command in POP3.
2837 * src/account.c: account_clist_set_row(): display TLS setting.
2841 * src/compose.c: compose_send_later_cb(): support redirect function.
2844 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
2846 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
2850 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
2851 * src/compose.c: compose_create(): removed unrequired lines.
2855 * src/news.c: news_scan_group(): fixed a bug that set the wrong
2856 values in some cases.
2857 * src/prefs_account.c: corrected English in Advanced - Folder
2862 * src/textview.c: textview_show_message(), textview_show_part():
2863 fixed a bug that GtkSText *text pointed the incorrect object.
2864 textview_add_part(): freeze GtkSText while adding RFC822 headers.
2865 textview_show_part(): fixed a bug that couldn't display single
2866 part MIME message as text.
2870 * src/compose.c: compose_redirect_write_to_file(): correct the target
2871 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
2872 incomplete file when an error occured.
2877 compose_create(): disable menus for draft on redirection mode.
2878 compose_redirect_write_to_file(): correct the error handling of
2880 * src/prefs_common.c: turned off the "Display recipient on `From'
2881 column if sender is yourself" option by default.
2885 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
2886 Based on the implementation of the claws branch.
2887 compose_redirect(): create a new window and make it uneditable.
2888 compose_redirect_write_to_file(): copy headers and body of
2889 original message except for some.
2890 compose_redirect_write_headers(): add extra "Resent-*" headers.
2891 compose_create(): set menu sensitivity for redirection mode.
2895 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
2896 space is inserted between encoded string and the following folded
2897 one (thanks to Masahiro Tomita).
2901 * src/mainwindow.[ch]: some refactoring has been made.
2902 main_window_toggle_message_view(): moved summary_toggle_view_real()
2904 * src/messageview.[ch]: messageview_is_visible(): new.
2905 * src/summary_search.c
2906 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
2907 Instead use messageview_is_visible().
2911 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
2912 * src/summaryview.[ch]:
2913 summary_expand_threads(), summary_collapse_threads(): new.
2917 * src/mainwindow.c: Fixed the behavior of
2918 '/View/Show or hide/Folder tree' and
2919 '/View/Show or hide/Message view' toggle menu.
2920 Removed '/View/Toggle summary view' menu and integrated the
2921 function into '/View/Show or hide/Message view'.
2922 main_window_set_widgets(): change the state of toggle menu items.
2923 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
2928 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
2929 MIME contents other than text as children of message/rfc822 part.
2931 procmime_mimeinfo_next(): modified for message/rfc822 part which
2932 content-type is single part MIME.
2933 procmime_scan_multipart_message(): fix for nested message/rfc822
2934 part. Corrected the size of the contents of message/rfc822.
2935 * src/textview.c: textview_show_part(): extract the contents of
2936 multipart/* and message/rfc822. Some code cleanups.
2937 textview_add_parts(): new. It adds the all parts under a part to
2939 textview_clear(): reset body_pos and cur_pos.
2943 * src/addr_compl.c: modified so that it behaves better.
2944 get_address_from_edit(): ignore comma inside of brackets.
2945 completion_window_apply_selection(): new. Only apply the current
2947 completion_window_accept_selection(): removed.
2948 address_completion_complete_address_in_entry(): minor code cleanup.
2949 don't replace address in entry here.
2950 completion_window_select_row(): always apply clist selection to
2952 completion_window_key_press(): don't apply selection here.
2956 * src/imap.c: imap_create_folder(): keep trailing directory separator
2957 to create a folder that contains sub folder.
2961 * src/foldersel.c: sort tree with case insensitive.
2962 * src/mainwindow.c: allsel_cb()
2963 src/messageview.c: messageview_select_all(): fixed 'Select all'
2965 * src/mainwindow.c: removed common and account prefs button from
2970 * src/compose.c: compose_account_option_menu_create(): check if
2979 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
2980 manual/en/*: updated the English manual.
2982 faq/it/*: added German and Italian FAQ.
2985 faq/fr/*: updated FAQs.
2987 src/mainwindow.c: added German and Italian language.
2991 * src/prefs_account.c: turn off "receive at get all" option by default
2992 when creating an IMAP or News account.
2996 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
2997 * src/prefs_folder_item.c: show also identifier path.
2998 Made layout using table. Show uneditable entry using background
3000 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
3005 * src/automaton.[ch]: added UI callback to Automaton.
3007 src/pop.c: use callback instead of calling inc_progress_update()
3009 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
3014 * src/folderview.c: properly sort abbreviated newsgroups.
3019 src/prefs_common.[ch]
3020 src/summaryview.c: added an option to specify the minimum length
3021 for abbreviated newsgroups name.
3025 * src/folderview.c: folderview_check_new(): skip unselectable folders.
3026 * src/summaryview.c: added 'Create filter rule' to the context menu.
3027 * src/imap.c: some code cleanups.
3028 imap_scan_tree_recursive(): get path separator for each calls.
3029 imap_get_path_separator(): new.
3033 * src/imap.[ch]: supported namespace for others/shared folders
3035 imap_parse_namespace(): parse also others/shared namespace.
3036 imap_find_namespace(): search also others/shared namespace.
3038 strchr_parenthesis_close(): return pointer to closing parenthesis.
3039 strsplit_parenthesis(): split parenthetic list into array of
3044 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
3045 parse date string like "Mon,6 May 2002 20:31:12 +0800".
3046 procheader_scan_date_string(): new. Separated string scanning
3047 part from procheader_date_parse().
3051 * src/summary_search.c: summary_search_execute(): unlock while
3052 selecting summary row (thanks to Martin Schaaf).
3053 * src/summaryview.c: summary_set_column_titles(): reversed the
3054 direction of the arrow so that it matches with Win/Mac style.
3058 * src/compose.c: compose_write_headers(): quote self address name
3059 if required. Some code cleanups. Don't override Newsgroups and
3060 Cc with custom headers.
3061 * src/imap.c: imap_add_msg(): return UID for appended message.
3062 * src/compose.c: compose_queue(): check if queue folder exists.
3063 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
3065 imap_open(): removed an unrequired argument.
3069 * src/utils.[ch]: trim_string(): new. It trim characters longer than
3070 the specified length and adds "...".
3071 * src/folderview.c: trim folder name when displaying dialog.
3075 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
3077 * src/folderview.c: folderview_select()
3078 src/summary_search.c: summary_search_execute(): lock summary view
3079 while searching (thanks to Martin Schaaf).
3087 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
3091 * src/summaryview.c: summary_show(): fixed a bug that didn't process
3093 * src/account.c: account_edit_prefs(): fixed a crash bug when account
3095 * src/prefs_account.c: prefs_account_apply(): display error dialog
3096 if account name is empty.
3097 * src/imap.c: changed some log_print() to debug_print() to reduce
3102 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
3106 mh_do_move_msgs_with_dest()
3108 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
3109 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
3110 if stat() succeeded.
3112 imap_fetch_msg(): SELECT mailbox before FETCH if required.
3113 imap_scan_folder(): set last_num using the value of UIDNEXT.
3114 imap_select(): return immediately if there is no need for SELECT.
3115 preserve the path of currently selected mailbox.
3116 imap_status(): added UIDNEXT.
3120 * src/folder.c: folder_item_scan(): removed the warning.
3121 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
3122 setting case sensitivity.
3126 * src/mainwindow.c: main_window_create(): restrict the minimum size.
3130 * src/compose.c: merged the new line-wrapping routine.
3131 join_next_line(): fixed a bug that didn't join multibyte
3133 get_indent_length(): modified enums and variable names.
3134 INDENT_CHARS: don't indent ':'.
3136 folderview_rename_folder_cb()
3137 folderview_delete_folder_cb(): support folder identifier.
3138 folderview_rm_imap_folder_cb(): integrated with
3139 folderview_delete_folder_cb().
3143 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
3144 * src/folderview.c: folderview_check_new(): abort checking if
3145 folder_item_scan() failed.
3149 * src/imap.c: imap_create_missing_folders(): create only INBOX and
3151 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
3152 type of news folders unchangeable.
3153 prefs_folder_item_destroy(): use prefs_dialog_destroy().
3154 * src/prefs.[ch]: prefs_dialog_destroy(): new.
3158 * src/prefs_account.[ch]: added special folder setting to Advanced
3159 tab. Also moved "IMAP server directory" setting to there.
3160 * src/account.[ch]: account_get_special_folder(): new. It returns
3161 the optimal special folder for accounts.
3162 * src/compose.c: use account_get_special_folder().
3163 * src/prefs_folder_item.[ch]: new. Implemented folder property
3164 dialog, and the special folder settings (most of the functions in
3165 claws are not integrated yet, and the structure is slightly
3167 * src/folderview.c: enabled Property menu.
3171 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
3172 scanning when encountering separators ',' and ';'.
3176 * src/mainwindow.c: reorderd the menu a bit.
3177 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
3178 compose_reply_set_entry(): made 'Reply to sender' work for
3183 * src/compose.c: compose_create(): set geometry hints to restrict
3184 the maximum size of window.
3185 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
3186 imap_get_uncached_messages()
3187 imap_cmd_fetch(): ignore responses which don't include FETCH.
3191 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
3192 the clause for OpenSSL).
3196 * src/prefs_account.c
3197 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
3203 src/session.[ch]: first reorganization of SMTP protocol handling.
3204 SMTPSession: new class which is a sub class of Session.
3205 smtp_session_new(): moved send_smtp_open() into this function.
3206 smtp_from(): moved SMTP AUTH calls into smtp_auth().
3207 smtp_auth(): use server response for SMTP AUTH method.
3208 smtp_ehlo(): read server response and set auth type flags.
3209 smtp_helo(): separated EHLO command.
3210 smtp_ok(): return the last server response if the buffer is
3212 * src/esmtp.[ch]: merged into smtp.[ch].
3213 * src/imap.c: imap_session_destroy_all(): use session_destroy().
3217 * src/imap.c: imap_open(): show warning message if IMAP4 session
3218 can't be established.
3222 * src/compose.c: made template able to be inserted into the current
3224 * src/mainwindow.c: moved some menu items under the submenu
3225 '/View/Show or hide'.
3230 src/inc.c: changed folder_find_item_from_path() to
3231 folder_find_item_from_identifier().
3233 src/prefs_filter.c: use folder_item_get_identifier() to specify
3238 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
3239 existed in claws' implementation).
3240 folder_find_from_name(): find Folder from name and type.
3241 folder_get_identifier(): return Folder id.
3242 folder_item_get_identifier(): return FolderItem id.
3243 folder_find_item_from_identifier(): find FolderItem from id.
3244 folder_get_type_string(): return folder type string.
3245 folder_get_type_from_string(): return FolderType from string
3246 (and fixed the wrong g_strcasecmp() usage).
3248 src/import.c: use folder_item_get_identifier() and
3249 folder_find_item_from_identifier().
3253 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
3254 point the correct address after reading the continuous line.
3255 imap_scan_folder(): set new number to 0 if unseen number is 0.
3256 imap_parse_flags(): don't add new and unread flag if \Seen flag
3258 * ac/Makefile.am: removed gpgme.m4 from MACROS.
3262 * fixed the old problem that couldn't add flags to currently opened
3265 compose_send(): update outbox after saving.
3267 compose_draft_cb(): use procmsg_add_flags().
3268 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
3270 * src/main.c: send_queue(): send from all queue folders.
3271 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
3273 procmsg_flush_mark_queue(): new. Write all queued flags into file.
3274 procmsg_add_flags(): new. Add specified flags to the folder.
3275 procmsg_send_queue(): added an argument to specify queue folder.
3276 procmsg_save_to_outbox(): use procmsg_add_flags().
3277 * src/summaryview.c:
3278 summary_show(): up the opened flag of FolderItem.
3279 summary_clear_list(): down the opened flag of FolderItem.
3280 summary_write_cache(): call procmsg_flush_mark_queue().
3284 * src/summaryview.[ch]: trim the tail of folder name and selected
3285 number on the status label if the space is not enough.
3289 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
3290 set SpecialFolderItemType when creating special folders under
3292 * ac/gpgme.m4: removed.
3294 * ac/missing/gdk-pixbuf.m4
3295 ac/missing/gettext.m4
3297 ac/missing/imlib.m4: added for convenience.
3301 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
3302 shown after the decoded challenge string. Fixed a memory leak.
3304 * src/compose.c: compose_draft_cb(): mark draft messages as read.
3305 * src/folderview.c: folderview_update_node(): disable emphasis
3306 for Outbox and Draft folders.
3310 * src/messageview.c: messageview_show(): fixed a memory leak.
3311 * src/summaryview.c: summary_save_as(): show error dialog if copy
3313 * src/about.c: about_show(): make the window active if it is already
3318 * src/compose.c: show confirmation dialog before sending if Subject
3320 compose_check_entries(): new.
3322 compose_send_later_cb(): use compose_check_entries().
3323 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
3327 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
3328 responses with continuous line correctly, and fixed a memory leak.
3332 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
3334 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
3335 after pasting with middle button to prevent the selection growth.
3340 folderview_rename_folder_cb()
3341 folderview_delete_folder_cb(): modify filter rules only if the
3342 target folder is in the default mailbox.
3343 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
3350 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
3351 Moved 'Delete duplicated messages' under 'Tools'.
3355 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
3357 * src/imap.c: imap_create_special_folder(): fixed a crash bug
3358 when folder creation failed, and re-try to create folders under
3360 imap_scan_tree_recursive(): don't automatically add namespace
3361 prefix if it's INBOX. Search also under the INBOX for special
3363 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
3368 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
3369 abbreviated newsgroup name.
3370 * src/folderview.c: folderview_update_node(): display newsgroups
3371 with abbreviated name if name and path is the same.
3372 * src/summaryview.c: summary_status_show(): show the newsgroup with
3378 src/folderview.c: changed the label 'Draft' to 'Drafts'.
3379 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
3380 imap_create_missing_folders(): fixed the wrong assignment of
3381 Queue folder to draft.
3385 * enabled Sent / Draft / Queue folders on IMAP server.
3386 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
3387 queue and draft folder if they exist.
3389 imap_create_trash(): removed.
3390 imap_create_special_folder(): new. Generalized imap_create_trash().
3391 imap_create_missing_folders(): automatically create missing folders.
3392 imap_is_msg_changed(): added the dummy method.
3393 imap_scan_tree_recursive(): search also Sent, Draft and Queue
3394 folders. Minor code cleanups.
3395 imap_parse_envelope(): check for null strings.
3396 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
3397 for messages on IMAP folder.
3401 * src/compose.c: compose_send(): use account's outbox folder
3403 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
3404 that the outbox can be specified.
3408 * src/compose.c: don't save to outbox when messages are queued.
3409 compose_save_to_outbox(): moved to procmsg.c.
3410 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
3412 procmsg_save_to_outbox(): new. Removes the queueing headers if
3413 needed, and adds the given file to the outbox.
3417 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
3418 get_indent_length(): treat ':' and '#' also as quote char, and
3419 cleaned up using strchr().
3423 * src/mainwindow.c: modified some menu items.
3427 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
3428 (current "outbox" will be kept until rescan).
3429 * src/folder.c: folder_set_missing_folders(): create the missing
3432 src/folderview.c: changed 'Outbox' to 'Sent'.
3433 * src/main.c: call folder_set_missing_folders().
3434 * src/mh.c: mh_scan_tree(): create missing folders.
3435 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
3436 didn't set the menu sensitivity correctly.
3441 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
3442 folderview_rename_folder_cb(): reopen the current folder when
3443 the ancestor is renamed.
3444 imap_rename_folder(): new method implementation.
3446 imap_rename_folder_func(): new.
3447 imap_remove_folder(): remove also the cache directory.
3451 * src/imap.c: implemented locale encoding <-> modified utf-7
3452 conversion, and supported i18n of folder name (thanks to Suzuki
3454 imap_path_separator_subst(): handle the escape characters of
3456 imap_modified_utf7_to_locale()
3457 imap_locale_to_modified_utf7(): new.
3458 imap_create_trash(): modified so that it create the Trash folder
3459 to the correct location when imap directory is specified.
3460 imap_get_real_path(): removed debug print.
3464 * src/socket.c: implemented timeout for DNS lookup and connect().
3465 sock_connect_by_hostname(): timeout support and code cleanup.
3466 sock_connect_with_timeout(): new.
3467 sock_peek(): implemented SSL peek.
3471 * src/messageview.c: messageview_show(): display single-part
3472 text/html messages with the normal text view.
3486 src/prefs_customheader.c
3487 src/prefs_display_header.c
3502 src/xml.c: added 'b' to the option of all fopen().
3510 * src/ssl.[ch]: match its coding style.
3511 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
3515 faq/en/sylpheed-faq*.html
3517 faq/es/sylpheed-faq*.html
3519 faq/fr/sylpheed-faq*.html
3525 src/manual.[ch]: added FAQs in English, Spanish and French.
3529 * manual/en/sylpheed*.html: updated to the latest version.
3534 src/mgutils.c: include string.h to remove warning about strlen()
3548 src/summaryview.c: added break to the last label of switch to
3549 prevent the 'deprecated use of label at end of compound statement'
3551 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
3555 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
3557 inc_cancel_all(): new. It cancels the all current incorporation.
3558 * src/mainwindow.c: added 'Cancel receiving' menu.
3559 * src/textview.c: a minor fix for single-part MIME messages, and
3560 a bit of cleanup for textview_write_body().
3564 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
3565 information if any errors occured before issuing UIDL command.
3566 src/inc.h: added uidl_is_valid to Pop3State.
3567 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
3575 * src/mimeview.c: mimeview_create(): set the initial notebook page
3577 * src/folderview.c: folderview_selected(): scroll the view if the
3578 selected row is hidden.
3579 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
3580 and select the added row.
3581 * src/summaryview.c: fix threading for null message ids.
3585 * src/textview.c: textview_show_message(): follow message/rfc822
3587 textview_add_part(): add a caption before the attached text files.
3588 textview_show_header(): don't add the newline.
3589 * src/messageview.c: enabled message search also in MIME mode.
3593 * src/messageview.c: messageview_show(): set header state of
3594 MimeView's TextView, too.
3595 * src/mimeview.c: mimeview_show_message(): call
3596 textview_show_message() to display message.
3597 * src/textview.c: textview_add_part(): new. It adds the content
3598 of message part without clearing the view.
3599 textview_show_message(): display all parts with appropriate
3601 textview_write_body(): separated from textview_show_part().
3606 src/prefs_common.c: added ISO-8859-15 to the codesets for
3607 displaying and sending.
3608 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
3609 conversion failed, and made caller deal with it.
3610 * src/compose.c: compose_write_to_file(): show error dialog when
3611 code conversion failed, and let user select whether to send it
3613 * src/textview.c: textview_write_line(): show the original string
3614 if code conversion failed.
3618 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
3619 if copy_mbox() failed (thanks to Alexander Kabaev).
3620 * src/prefs_account.[ch]: added separate user ID / password setting
3622 * src/send.c: send_message_smtp(): use separate user ID / password
3623 for SMTP AUTH if it is specified.
3628 src/pop.[ch]: refactored the UIDL management.
3629 store the information of messages into the array of Pop3MsgInfo
3630 structure, and do full scanning of not retrieved messages.
3636 src/mainwindow.c: set WMCLASS for window/dialog.
3637 * src/codeconv.c: conv_codeset_strdup(): return source string
3638 when jconv_alloc_conv() failed.
3642 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
3649 src/summaryview.c: implemented the new notebook tab interface for
3651 * src/textview.[ch]: fixed line space related glitches.
3655 * src/prefs_filter.c:
3656 prefs_filter_rename_path()
3657 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
3661 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
3662 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
3664 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
3665 cancelled, and fixed potential crash bug.
3666 * src/grouplistdialog.c: enabled cancelling of data receiving.
3667 * src/news.c: news_get_group_list(): destroy current session if
3672 * src/manage_window.[ch]: fixed a bug that caused crash when
3673 the main window was hidden.
3674 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
3675 Monitor "unmap_event", "destroy" events.
3682 src/grouplistdialog.c
3686 src/message_search.c
3690 src/prefs_customheader.c
3691 src/prefs_display_header.c
3693 src/prefs_template.c
3694 src/summary_search.c
3695 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
3696 connect signals for window management.
3700 * src/prefs_account.[ch]: added receive size limit option.
3701 * src/pop.c: skip messages larger than the limit size.
3702 LOOKUP_NEXT_MSG(): new macro.
3703 * src/compose.c: compose_attach_append(): check whether the file
3708 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
3709 changed g_message()'s to debug_print() and g_warning().
3710 rfc2015_decrypt_message(): fixed a bug that duplicated message
3711 parts when decryption was failed/cancelled. And made some code
3713 * src/passphrase.c: made the dialog transient.
3714 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
3719 src/procmsg.[ch]: fixed a bug that failed to parse multipart
3720 messages if GPGME was enabled.
3721 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
3723 * src/prefs_account.c: prefs_account_privacy_create(): modified
3724 the vertical spacing.
3728 * src/menu.[ch]: menu_set_sensitive_all(): new.
3729 menu_set_insensitive_all(): made it a wrapper for
3730 menu_set_sensitive_all().
3731 * src/prefs_account.c:
3732 prefs_account_open()
3733 prefs_account_protocol_set_optmenu(): made the protocol type
3734 unchangeable after creating an account.
3735 * src/compose.c: compose_attach_parts(): traverse MIME tree to
3736 extract all attathed files from nested multipart MIME message.
3740 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
3741 obtain minimum/maximum number, and to specify first number
3744 src/inc.c: enabled new message checking on news folder.
3745 * src/news.c: news_scan_group(): implemented. Guess new/unread
3746 message number from the response of GROUP command and the mark
3748 news_select_group(): return the total/first/last number.
3749 * src/prefs_account.c: prefs_account_receive_create(): modified
3750 the text of the 'Get all' check button.
3754 * src/account.c: made 'Get all' checkbox available for IMAP4 and
3756 * src/inc.c: corrected the argument of folderview_check_new().
3757 * src/prefs_account.c: modification for the "`Get all' checks for
3758 new mail on this account" checkbox.
3762 * src/folderview.[ch]:
3763 folderview_rescan_tree(), folderview_rescan_all(): renamed from
3764 folderview_update_tree() and folderview_update_all().
3765 folderview_update_all_node(): removed.
3766 folderview_check_new(): new. If the argument is NULL, it checks
3767 all local folders. If the arguments is specified, it checks
3768 the (local and remote) folder.
3771 inc_all_account_mail(): check also IMAP4 account.
3776 folderview_rename_folder_cb()
3777 folderview_delete_folder_cb(): modify the filter rules when folder
3779 * src/prefs_filter.[ch]:
3780 prefs_filter_rename_path(): new. It renames the destination paths
3782 prefs_filter_delete_path(): new. It deletes the filter rules if
3783 the destination paths matched.
3784 * thanks to Neill Miller for above.
3788 * src/compose.c: inherit attached files when forwarding or reediting
3789 (rewrote the code in claws branch).
3790 compose_attach_parts(): new. It extracts and attaches the files
3791 in the given message.
3792 compose_attach_append(): chnaged the types of arguments.
3793 * src/messageview.c: messageview_show(): moved the GPG decryption
3795 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
3803 * src/summary_search(): summary_search_execute(): scroll the view
3804 when message view is hidden.
3808 * src/foldersel.c: foldersel_set_tree(): made different type of
3809 folders selectable in moving mode.
3810 * src/folderview.[ch]: folderview_update_msg_num(): compare the
3811 numbers with the CTree's labels, and don't update folder_item here.
3812 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
3813 implemented moving between different type of folders.
3814 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
3815 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
3816 mh_move_msg() and mh_move_msgs_with_dest()).
3817 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
3818 moving between different type of folders.
3819 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
3820 * src/summaryview.c: summary_status_show(): update folder_item
3822 * po/POTFILES.in: removed reference to headerwindow.c.
3823 * src/summaryview.c: summary_step(): fixed the behavior on the
3824 head and tail of the list.
3828 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
3829 all header' toggle state from the property of the TextView.
3830 * src/summaryview.[ch]: made 'All header' toggle switch.
3831 Prohibited unnecessary menu update.
3832 summary_select_node(): added the argument 'do_refresh'.
3837 * src/utils.c: strsplit_with_quote(): remove quotation characters
3838 in the function (fix composer's external editor problem) (thanks
3839 to Stefaan A Eeckels).
3840 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
3841 main_window_menu_callback_block()
3842 main_window_menu_callback_unblock(): new.
3843 main_window_set_menu_sensitive(): set the toggle status of
3845 show_all_header_cb(): read the status of toggle menu item.
3846 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
3847 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
3852 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
3853 the path separator (thanks to Sergey Vlasov).
3854 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
3855 if the length of selection is zero.
3856 Fixed the assertion.
3857 * src/utils.c: str_open_as_stream(): return immediately if
3858 the length of str is zero.
3859 * src/headerwindow.[ch]: removed.
3861 src/inc.c: removed stale thread support codes.
3865 * src/procmsg.c: procmsg_open_message(): modified so that it
3866 returns the stream of decrypted message file if it exists
3867 (this fixes the failure of gpg decryption in messageview.c).
3877 src/prefs_template.c
3879 src/quote_fmt_parse.y
3881 src/utils.[ch]: if the part of the message text is selected, use
3882 it for quoted text instead of the entire message body (thanks to
3884 src/utils.[ch]: str_open_as_stream(): new. It returns an
3885 temporary stream for the given string.
3886 * src/main.c: added "--send" command line option.
3887 * src/compose.c: compose_reply_set_entry(): add From address to
3888 Cc if Reply-To and to_all are both specified.
3889 * Makefile.am: correct the Source: line in the RPM spec file in
3894 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
3896 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
3897 that specifies the folder selection type.
3908 src/prefs_customheader.c
3910 src/summaryview.c: made it compile with C compilers other than gcc
3911 (thanks to Shawn Houston).
3915 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
3917 * src/prefs_common.c: made the key binding setting separate dialog.
3918 * src/addressbook.c: addressbook_format_address(): add "" around
3919 the display name if it contains comma (thanks to Satoshi Watanabe).
3920 * src/addr_compl.c: get_complete_address(): add "" around the
3921 display name if it contains comma.
3922 get_address_from_edit(): handle the quotation character correctly.
3923 * src/addr_compl.c: get_complete_address()
3924 src/addressbook.c: addressbook_format_address(): fixed a bug that
3925 caused wrong text processing if the display name is empty.
3930 * src/compose.c: compose_exec_ext_editor_real(): replaced
3931 g_strsplit() with strsplit_with_quote().
3933 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
3935 folderview_drag_motion_cb()
3936 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
3937 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
3941 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
3942 of the message is different from the current mailbox.
3943 Return the correct value.
3944 imap_cmd_append(): properly implemented the APPEND command.
3949 src/messageview.[ch]
3950 src/summaryview.[ch]
3951 src/textview.[ch]: show all headers in the message view, and don't
3952 use the header window anymore.
3954 src/prefs_common.c: changed the default shortcut of 'compose new
3957 src/summaryview.[ch]: summary_display_msg_selected(): new.
3958 Show the selected message if 'Show all header' is selected.
3960 src/sourcewindow.c: changed some procmsg_get_message_file_path()
3961 to procmsg_get_message_file() to be sure the message is
3963 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
3964 any folder to MH folder.
3965 folderview_drag_received_cb(): copy messages instead of moving
3966 if the source folder is news or IMAP.
3968 src/summaryview.c: allow copy from news folder.
3972 * src/prefs_common.c: prefs_other_create(): modified the design
3973 of the external command settings.
3974 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
3975 preset closer to the original.
3976 Added Mutt keybind preset.
3977 Also change the compose keybinds.
3978 * src/compose.c: modified some menu shortcuts.
3979 * src/codeconv.c: modified the locale_table for Thai encoding.
3983 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
3984 * src/prefs_common.c: prefs_interface_create(): modified the
3985 description for menu shortcut.
3989 * src/gtkutils.[ch]: added gtk_stext_clear().
3992 src/summaryview.[ch]: enabled multiple forwarding.
3993 * src/summaryview.c:
3994 summary_set_marks_selected(): set marks for all selected row.
3995 summary_reply(): moved from summary_reply_cb().
3996 * compose.[ch]: compose_forward(): modified so that it receives
3998 * src/mainwindow.c: cleanup for reply processing.
3999 * src/summaryview.c: summary_reply(): fixed a memory leak.
4000 summary_key_pressed(): removed hardcoded mark / mark as unread
4003 src/prefs_common.c: added mark / mark as unread shortcuts to
4008 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
4009 if prefs_common.linewrap_quote is not set (it is only for
4010 auto-wrapping on reply).
4011 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
4012 when creating a new account.
4013 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
4015 * src/prefs_common.c: prefs_interface_create(): modified the
4016 description of key binds selector.
4020 * src/mimeview.c: fixed multiple dialog / moving by correcting
4021 button / key event processing.
4023 src/textview.c: pass some key press events to MimeView in MIME
4025 * src/prefs_filter.c: fixed a bug that didn't set the order of
4027 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
4028 empty_menurc string.
4033 src/prefs_common.c: reorganized the menu shortcuts.
4034 Added 'View - Toggle summary view'.
4035 * src/summaryview.[ch]: summary_toggle_view(): made it public
4037 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
4039 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
4040 closing the dialog with window manager (in more appropriate way).
4041 * src/imageview.[ch]
4043 src/mimeview.c: fixed wrong scrolling position when switching
4044 between text and image parts. Also free the unrequired image
4045 (thanks to Sergey Vlasov).
4046 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
4051 * src/prefs_common.c: implemented shortcut quick changer.
4052 * src/folderview.c: folderview_key_pressed()
4053 src/summaryview.c: summary_key_pressed(): removed some hardcoded
4059 procmime_get_mime_type()
4060 procmime_get_mime_type_table(): made the MIME type search case
4063 gtk_stext_delete_line(): delete newline on empty line.
4064 gtk_stext_delete_to_line_end(): delete newline if cursor is on
4066 (thanks to Yasuzaki Masayoshi.)
4071 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
4072 and made them customizable.
4073 * src/utils.[ch]: added get_file_size_as_crlf() which returns
4074 the file size when converting LF to CR+LF.
4078 * src/compose.c: enabled 'Ctrl-Enter' or
4079 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
4081 * src/gtkstext.c: disabled some Emacs key bindings.
4082 gtk_stext_key_press(): don't extend selection when Shift-Enter
4083 is pressed to prevent the disapperance of cursor.
4084 * src/summaryview.c: summary_select_next_unread(): added the button
4085 to search unread message again from the beginning to the dialog.
4086 * src/folderview.c: folderview_key_pressed(): go to next unread
4087 folder if space key is pressed on the empty folder.
4088 Move CTree focus before selecting row.
4092 * src/defs.h: modified the XLFD of default fonts.
4093 * src/textview.c: textview_create(): fixed a bug that caused
4094 segfault if font couldn't be loaded.
4096 src/grouplistdialog.c: compare subscribed groups with path.
4097 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
4101 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
4102 when URL is wider than wrapping margin.
4104 src/prefs_filter.[ch]
4105 src/summaryview.[ch]: added "Create filter rule" function based
4106 on the patch from Luca Rosellini.
4107 * src/summaryview.c: summary_filter_open(): added X-List and
4108 X-Mailing-list to the automatically detected headers.
4112 * configure.in: support Mac OS X (Darwin).
4116 * src/prefs_filter.c: use inc_(un)lock() instead of
4117 inc_autocheck_timer_{remove|set}().
4118 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
4119 instead of gtk_ctree_sort_node() so that messages within threads
4121 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
4122 target of sizeof was wrong and caused crash on Alpha architecture
4123 (thanks to Motonobu Ichimura).
4128 foldersel_gnode_func(): made the names of special folders
4130 foldersel_set_tree(): move the special folder to the top.
4131 * src/inputdialog.[ch]: input_dialog_query_password(): new.
4135 src/send.c: use input_dialog_query_password() instead of their
4136 own query functions.
4140 * src/defs.h: modified the default font.
4144 src/news.[ch]: moved the class definition and some methods to
4145 the proper location.
4149 * src/mimeview.c: mimeview_save_as()
4150 src/summaryview.c: summary_save_as(): put the default filename
4151 based on the subject.
4152 * src/utils.[ch]: added subst_chars() and subst_for_filename()
4153 which substitute some special characters with underscore.
4154 * src/filesel.c: filesel_select_file(): select the default filename.
4159 INSTALL.jp: added the description and the URL for libjconv.
4160 * src/mainwindow.c: menu entries cleanup.
4166 src/about.c: modified the copyright year.
4167 * src/gtkstext.h: added the notice for modification by the Sylpheed
4173 INSTALL.jp: added the URL for compface.
4181 * src/headerwindow.c
4184 src/sourcewindow.c: set wmclass when creating windows.
4188 * src/compose.c: compose_wrap_line_all(): fixed the bug that
4189 caused infinite loop when wrapping certain patterns of quoted text.
4193 * src/imap.c: imap_parse_envelope(): put the assertion after
4194 imap_parse_address() to prevent segmentation fault.
4199 src/mainwindow.c: modified some labels of menu items.
4200 * src/ldif.c: put the return value of fgetc() in a gint.
4201 * src/importldif.c: don't brace null strings with _().
4202 * src/compose.c: moved the position of Subject entry to the last.
4203 Reorganized the menu.
4204 compose_draft_cb(): added 'keep editing after saving to draft'
4209 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
4210 menu. Moved 'Help' menu to just the right of 'Configuration'.
4211 Removed 'File - Close' menu item.
4215 * src/mainwindow.c: some menu reorganization.
4216 * AUTHORS: updated. Added more contributors.
4217 * src/account.c: account_row_moved(): new. Moves displayed row to
4218 the appropriate position when up / down button are pressed.
4219 account_clist_set(): move displayed row to the appropriate position.
4221 src/mainwindow.c: set title and wmclass when creating windows.
4225 * src/gtkstext.c: fixed a bug that didn't show block cursor
4226 correctly. Removed unnecessary GdkGC copy. Fixed cursor
4231 src/undo.c: modified to use GtkSText.
4232 * src/menu.h: added #include <gtk/gtkmenu.h>.
4237 configure.in: added XIM checking for GTK+.
4238 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
4242 * src/filter.c: added #include <sys/types.h>.
4246 * src/template.c: template_write_config(): fixed a typo.
4247 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
4249 src/prefs_filter.c: supported regular expression (thanks to
4251 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
4252 undo state when pasted clipboard was empty.
4253 undo_check_size(): use g_list_last().
4255 undo_redo(): fixed NULL checking and made a bit of optimization.
4257 * src/prefs_common.c: changed the default value of linewrap length
4262 * reorganization of pixmap management.
4263 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
4264 * modified every files which directly use pixmaps data to use
4266 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
4267 undo_set_change_state_func(), and changed its argument from
4268 GtkWidget* to gpointer.
4269 undo_merge(): code cleanup.
4270 * src/compose.c: renamed compose_set_undo() to
4271 compose_undo_state_changed().
4275 * src/account.c: account_find_from_address(): made it case
4277 * src/addressbook.c: addressbook_create(): set wmclass.
4278 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
4281 src/ldif.[ch]: merged from the claws branch.
4282 * src/importldif.c: removed some warnings.
4283 imp_ldif_field_list_toggle(): fixed button checking.
4284 imp_ldif_dialog_create(): minor layout fix.
4285 * src/ldif.c: removed some warnings.
4287 INSTALL.jp: updated confirmation list.
4290 vcard_test_read_file(): fixed a memory leak of tagtemp.
4291 Some code cleanups (decreasing the indent level).
4294 src/syldap.[ch]: disabled runtime library checking because JPilot
4295 and LDAP libraries are linked on the build time, and the program
4296 doesn't execute without them anyway.
4298 src/addrindex.c: changed "J-Pilot" to "JPilot".
4299 Removed warning for atoi().
4303 * src/procmsg.c: procmsg_empty_trash()
4304 src/mainwindow.c: main_window_empty_trash(): empty trash only if
4305 it contains some messages.
4306 * src/imap.c: search_array_str(): new.
4307 imap_status(): fixed a bug that didn't parse the command response
4312 * merged undo function (by Jens Oberender).
4313 * src/undo.[ch]: new.
4314 undo_insert_text_cb(): fix for multibyte characters (obtain the
4315 number of letters instead of bytes).
4316 * src/compose.[ch]: added the code for undo.
4317 * src/prefs_common.[ch]: added the interface for setting undo level.
4321 * src/compose.c: compose_template_apply()
4322 src/prefs_template.c: prefs_template_clist_set_row()
4323 src/template.c: template_write_config(): don't replace To: and
4324 Subject: entry in composition window if they are empty.
4332 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
4333 * src/ldif.c: ldif_get_line(): ignore CR.
4334 * src/mimeview.c: mimeview_show_message(): search also text/html
4335 for first text part.
4339 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
4340 that didn't update accountrc if account_list == NULL (thanks to
4345 * src/utils.h: added the macro Xstrcat_a() that concatenates
4346 two strings and return alloca'd string.
4347 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
4348 handle folder name which includes some spaces correctly
4349 (based on the patch from Willem van Engen (thanks!)).
4350 * src/compose.c: compose_wrap_line_all(): fixed the crash when
4351 wrapping long lines if linewrap quotation is disabled and
4352 a word spanning more than one line.
4356 * applied the Tobias' patch with modification (thanks!).
4358 imap_msg_set_perm_flags()
4359 imap_msg_unset_perm_flags(): new. They set permanent flags to
4362 src/summaryview.c: set flags on IMAP server when flags are changed.
4366 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
4367 of gtk_container_remove() for workaround of a bug in
4368 Gtk{Text,Entry} (thanks to Sergey Vlasov).
4374 src/textview.c: replaced gtk_container_remove() with
4375 gtkut_container_remove(), and removed previous partial fix.
4379 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
4380 checked user ID on "local", but didn't on IMAP4.
4381 * src/imap.c: imap_session_get(): fixed a crash bug when
4382 rfolder->session == NULL.
4383 * Makefile.am: changed the arguments of tar from 'chojf' to
4385 * src/summaryview.c: summary_toggle_view(): disclaim the selection
4386 of textview before removing vpaned.
4390 * src/messageview.c: messageview_change_view_type(): disclaim the
4391 selection before removing textview. This solves the mysterious
4392 copy-paste disability (thanks to Melvin Hadasht).
4393 * src/textview.c: textview_set_font(): use
4394 gtk_editable_claim_selection() instead of
4395 gtk_editable_select_region().
4399 * src/prefs_template.c: prefs_template_window_create(): supported
4400 address completion on the To: entry.
4405 folder_count_total_msgs()
4406 folder_count_total_msgs_func(): use g_node_traverse() to traverse
4411 * src/compose.c: fixed a bug that empty body was refused.
4412 * src/prefs_template.c: fixed a bug that didn't set To: entry
4413 correctly. Display error dialog if format is illegal.
4414 * src/prefs_common.c
4416 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
4417 "{ }" to prevent confusion on using parenthesis.
4418 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
4422 * src/prefs_template.c: added colon to the header labels.
4427 src/prefs_template.c
4428 src/template.[ch]: added To field to the template.
4432 * src/textview.c: textview_show_part(): use first found
4433 message/rfc822 header.
4434 * src/folderview.c: added "Search messages..." to the context menu.
4435 * src/prefs_common.c: prefs_quote_description_create(): added
4436 description for characters which need to be escaped.
4440 * src/compose.c: compose_wrap_line_all(): more merging from claws.
4441 GET_CHAR(): renamed GET_TEXT() and made it more generic.
4442 Modified compose_wrap_line() and compose_wrap_line_all() to use
4444 * src/textview.c: textview_show_part(): show the header of nested
4445 RFC822 attachment correctly.
4450 src/main.c: added --status option to get new, unread and total
4451 message count from a running Sylpheed (merged from claws).
4452 prohibit_duplicate_launch(): output '\n' only once.
4457 src/gtkutils.[ch]: merged the new wrapping function.
4458 gtkut_text_str_compare_n()
4459 gtkut_text_str_compare()
4460 gtkut_text_is_uri_string(): backport from the GtkSText in the
4461 claws branch, and made modification.
4462 * src/prefs_template.c
4463 src/template.[ch]: added Subject to the template.
4467 * src/compose.c: compose_write_headers(): added missing parenthesis
4468 that generated invalid custom header (thanks to Masaaki Noro).
4469 Allow Sender: custom header.
4473 * src/procheader.c: procheader_date_parse(): workaround for
4474 RFC-incompliant Date header.
4478 * src/addrbook.c: removed redundant functions, and fixed generation
4479 of spurious address book file names.
4480 * src/addrindex.c: V-Card -> vCard.
4484 * src/textview.c: get_email_part(): replaced isalnum() with
4485 the macro IS_ASCII_ALNUM() which restricts the range of
4486 characters to 7bit ASCII (thanks to Shimamoto).
4487 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
4492 * src/textview.c: textview_show_part(): show headers on nested
4497 * src/imap.c: imap_session_get()
4498 src/news.c: news_session_get(): fixed segfault when reconnection
4500 * src/grouplistdialog.c: removed redundant code, and expand nodes
4501 that doesn't match the pattern.
4505 * src/compose.c: modified so that it sends message when any of
4506 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
4507 compose_check_for_valid_recipient(): new.
4508 * src/grouplistdialog.c: improved the UI.
4509 Added appropriate description and search button.
4510 Search doesn't get group list again.
4514 * src/news.[ch]: news_session_get(): update the last access time
4516 news_group_list_free(): new.
4517 * src/grouplistdialog.c: free resources correctly.
4522 src/grouplistdialog.[ch]: more merging of new newsgroup
4523 subscription dialog.
4524 * src/news.[ch]: renamed news_remove_group_list() to
4525 news_remove_group_list_cache().
4529 * src/defs.h: added MAX_ENTRY_LENGTH definition.
4530 * src/compose.c: compose_add_entry_field(): create new entry with
4535 * src/grouplistdialog.c: made non-leaf node selectable.
4536 Give the complete newsgroup name for each nodes.
4540 * src/grouplistdialog.c
4541 src/news.[ch]: merging of new newsgroup subscription dialog
4542 (still in progress. Don't use it yet!).
4546 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
4547 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
4549 compose_entries_set(): new. It parses mailto URL and put each
4550 values into the entries.
4554 * src/compose.c: compose_forward(): fixed a bug that forward
4555 quote mark wasn't used (thanks to Hironori IWANE).
4558 src/prefs_common.c: added Thai encodings (thanks to Manrat
4563 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
4567 src/news.c: added last_access_time to Session.
4568 imap_session_get(): check connection only when access interval
4577 * src/socket.c: ssl_gets(): use SSL_peek.
4578 * updated NEWS and AUTHORS.
4579 * Makefile.am: fixed release target.
4583 * src/template.c: changed the format of template file to
4585 * src/compose.c: compose_template_apply(): freeze the text widget
4586 while inserting strings.