7 * src/folder.c: folder_item_fetch_all_msg()
8 src/folderview.c: folderview_download_cb(): show progress with
10 * src/mainwindow.[ch]: added new functions for progressbar.
14 * src/summaryview.c: summary_key_pressed(): GDK_Left should only
15 switch to folderview when summaryview hscrollbar is at the leftmost
16 position (thanks to Alfons).
20 * src/codeconv.c: conv_euctojis(): made JIS X 0201 Kana conversion
22 * src/prefs_common.[ch]: added PrefsCommon::allow_jisx0201_kana
27 * src/codeconv.c: conv_euctojis(): force JIS X 0201 Kana to JIS X 0208
32 * src/imap.c: imap_get_msginfo(): fixed wrong counting.
46 src/quoted-printable.c
51 src/xml.c: fixed wrong type of argument for ctype functions (char
52 had been passed instead of unsigned char).
57 * src/mainwindow.[ch]: added MainWindow::messageview_cid.
58 Clear messageview when it is hidden.
59 * src/textview.c: show URL to the statusbar when its link is clicked.
60 textview_uri_security_check(): compare real URL and apparent one
61 and show warning if it seems to be a fake URL.
63 is_uri_string(): return TRUE if the string seems like a URL.
64 get_uri_path(): return URL except for its scheme part.
68 * src/folder.[ch]: folder_item_fetch_all_msg(): new. It fetches all
70 * src/folderview.c: implemented 'Download' feature.
74 * src/gtkutils.[ch]: implemented ComboButton which adds an arrow
75 menu button to a button.
76 * src/mainwindow.[ch]: main_window_toolbar_create(): added combo
77 button to reply and forward button.
81 * src/mainwindow.c: fixed automatic expansion of window size because
87 src/gtkshruler.[ch]: changed the copyright notice.
91 * src/gtkstext.c: find_line_params(): also break between mutlibyte
92 and single-byte characters.
96 * src/gtkstext.c: find_line_params(): break lines between multibyte
97 characters on word wrap mode.
101 * src/codeconv.c: conv_iconv_strdup(): fixed crashes on LP64
102 environments (thanks to James Noyes).
103 * src/compose.c: compose_select_account(): don't turn off the sign/
104 encrypt option automatically.
108 * src/inc.[ch]: made inc_account_mail() public.
109 * src/mainwindow.c: moved receive menus into submenu, and added
110 dynamic menus for receiving from each account.
118 * src/procmsg.c: procmsg_open_data_file(): set buffer if DATA_READ
119 is specified and a buffer is given.
120 procmsg_open_cache_file_with_buffer(): new.
121 procmsg_read_cache(): fixed a bug that called setvbuf() after an
122 file I/O which caused buffer read error.
130 * configure.in: enable IPv6 support by default.
134 * src/inc.c: inc_mail(), inc_all_account_mail(): ask user to switch
135 to online when in offline mode.
136 * src/mainwindow.h: added main_window_toggle_online().
143 src/stock_pixmap.[ch]
144 src/pixmap/dir-noselect.xpm: made no-select folders display with
146 * src/Makefile.am: added offline.xpm, online.xpm, and
147 dir-noselect.xpm to EXTRA_DIST.
151 * src/folder.h: added macro FOLDER_ITEM_CAN_ADD().
152 * src/folderview.c: folderview_drag_motion_cb(): code cleanup.
153 folderview_drag_received_cb(): don't accept at no_select folder or
155 * src/foldersel.c: made folders on which no_select flag is set not
160 * src/imap.c: imap_do_copy_msgs(), imap_remove_msgs(): code cleanup.
161 set MSG_INVALID flag when messages are deleted.
162 * src/mh.c: mh_do_move_msgs(), mh_remove_msg(): set MSG_INVALID flag
163 when messages are deleted.
165 procmsg_move_messages()
166 procmsg_copy_messages(): return error status.
167 Added MSG_INVALID to MsgTmpFlags.
168 * src/summaryview.c: summary_execute(): detect errors and only remove
169 nodes that are invalidated.
170 summary_unthread_for_exec(): fixed a bug that didn't remove nodes
175 * src/mainwindow.[ch]: added online switch button to the statusbar,
176 and "/File/Work offline" in the menu.
177 * src/pixmaps/offline.xpm
178 src/pixmaps/online.xpm: new (borrowed from
179 themes/classic/communicator/icons/ in Mozilla).
180 * src/stock_pixmap.[ch]: added online.xpm and offline.xpm.
181 * src/textview.[ch]: textview_show_error(): new.
182 * src/summaryview.c: summary_display_msg_full(): update marks only
183 if messages are displayed.
184 * src/prefs_common.[ch]: added PrefsCommon::online_mode.
185 * src/news.c: news_session_get()
186 src/imap.c: imap_session_get(): return NULL when in offline mode.
187 * src/messageview.[ch]: messageview_show(): return status whether
188 messages are successfully displayed. Display error messages in
189 the view when failed.
191 procmsg_get_message_file()
192 procmsg_open_message(): don't output warnings when fetch failed.
196 * src/html.c: html_get_tag(): support attributes which don't have
201 * src/codeconv.c: conv_get_code_conv_func(): return conv_latintodisp
202 only if src_charset and current charset is identical or current
203 one is multibyte (fixes display of ISO-8859-5 on KOI8-R locale etc.).
207 * autogen.sh: don't include m4 directory in aclocal.
208 * intl/libgnuintl.h: removed from cvs.
209 * po/.cvsignore: added stamp-po and remove-potcdate.sed.
213 * upgraded to gettext-0.12.1.
215 2003-11-24 gettextize <bug-gnu-gettext@gnu.org>
217 * Makefile.am (SUBDIRS): Add m4.
218 (ACLOCAL_AMFLAGS): New variable.
219 (EXTRA_DIST): Add config.rpath.
220 * configure.in (AC_OUTPUT): Add m4/Makefile.
224 * configure.in: added check for d_type member in struct dirent.
225 * src/mh.c: mh_scan_folder(): use d->d_type if available.
226 mh_get_uncached_msgs(): removed redundant stat().
227 mh_parse_msg(): return NULL if not a regular file.
228 mh_scan_tree_recursive(): use d->d_type if available.
230 dirent_is_regular_file()
231 dirent_is_directory(): new. Use d->d_type to determine the type
232 of entry if available.
233 remove_dir_recursive(): use dirent_is_directory().
237 * src/folder.h: added 'updated' flag to FolderItem.
238 * src/folderview.[ch]: folderview_update_all_updated(): new. It
239 updates all updated folders.
240 * src/imap.c: set FolderView::update flag on changes of contents.
241 * src/main.c: send_queue()
242 src/mainwindow.c: send_queue_cb(): code cleanup.
243 * src/mh.c: code cleanup.
244 mh_scan_folder(): correctly count new messages.
245 * src/procmsg.[ch]: code cleanup.
246 procmsg_open_cache_file(): new.
247 procmsg_open_mark_file(): enable read/write/append.
248 procmsg_send_queue(): correctly choose outbox for accounts.
249 * src/send_message.[ch]: send_get_queue_info(): get a queue
250 information from queued messages.
251 send_queue_info_free(): free QueueInfo.
252 send_message_queue(): take QueueInfo as an argument instead of file.
253 * src/summaryview.c: summary_write_cache(): code cleanup.
257 * src/compose.c: compose_redirect_write_headers(): correctly add
262 * src/imap.c: imap_get_msg_list(): fallback to FETCH command if SEARCH
263 command to get flags failed.
264 imap_search_flags(): returns UID array and flags hash table using
266 imap_fetch_flags(): returns UID array and flags hash table using
271 * src/summary_search.c: summary_search_execute(): fixed 'Select all
272 matched' when backward search is enabled.
273 Made the backward search button insensitive when 'select all
282 * src/imap.c: imap_scan_tree(): check the existence of root directory
283 with LIST instead of STATUS.
287 * src/send_message.c: fixed format string bug (exploitable by
288 malicious SMTP server) when calling alertpanel_error()
289 (thanks to Georgi Guninski).
296 src/news.[ch]: refactoring of the folder system (based on the claws'
305 src/summaryview.c: use FOLDER_TYPE() macro at every place.
314 addressbook_folder_load_person()
315 addressbook_folder_load_group(): sort the ctree after the end of
316 the loop (fixes performance issue when many addresses are in one
317 folder) (thanks to christian mock).
321 * src/folderview.c: folder_init(): code cleanup.
322 * src/summaryview.c: summary_init(): check if boldfont is
324 * src/grouplistdialog.c: use proper callback for delete_event (thanks
326 * src/imap.c: allow zero-length messages.
327 * src/recv.c: recv_bytes_write(): return immediately if size == 0.
331 * src/folderview.c: folderview_init(): if font can't be loaded, fall
332 back to gtk default (fixes crashes on startup). Also removed the
337 * src/compose.c: compose_insert_sig(): insert signature at the
338 current cursor position on manual operation.
342 * src/summaryview.c: summary_key_pressed(): don't ignore delete key
343 even if the main window is locked.
347 * src/action.c: improved synchronous action exit code (fixes long
348 delay after action exit on RH9) (thanks to Melvin).
349 * src/stringtable.[ch]: string_table_insert_string(): modified the
350 code to remove the warning "dereferencing type-punned pointer will
351 break strict-aliasing rules".
352 Use const gchar * instead of gchar * for arguments.
356 * src/utils.[ch]: generate_mime_boundary(): a new function to create
357 MIME boundary (moved from rfc2015.c).
358 Removed more special characters.
359 Use random() instead of lrand48() which is obsolete.
360 Added an argument for prefix to prevent duplication.
361 Always add "=_" as a counter-QP sequence to simplify the code.
363 rfc2015_decrypt_message()
365 rfc2015_sign(): fixed a bug that didn't handle continuous content
368 src/rfc2015.c: use generate_mime_boundary().
373 folderview_delete_folder_cb()
374 folderview_remove_mailbox_cb(): close currently displayed folder
375 before removing FolderItem (fixes crash on deleting folder).
377 src/imap.[ch]: imap_scan_tree()
378 src/mh.[ch]: mh_scan_tree(): return -1 when scanning failed.
379 * src/summaryview.c: summary_clear_all(): also clear the message view.
380 * src/imap.c: imap_close(): fail if the specified folder is not
382 imap_scan_tree(): check if the specified root directory exist, and
383 try creating it if not.
384 imap_parse_list(): output warning if a server returns error.
385 imap_find_namespace_from_list(): support not slash-delimited path.
386 imap_status(): don't return values if they're not specified.
390 * sylpheed.spec.in: fixed a typo.
401 src/prefs_common.[ch]: added the receive dialog's option to
402 display the dialog only on manual receiving, and the
403 RECV_DIALOG_ACTIVE option was removed.
407 * src/compose.c: compose_write_headers(): also replace ':' in the
408 MIME boundary with '_' (as a workaround for broken servers).
412 * src/imap.c: imap_scan_tree_recursive(): fixed compile error.
416 * src/prefs_filter.c: added 'Top' and 'Bottom' button.
420 * src/folder.[ch]: folder_item_remove_children(): new. It removes
421 all children under a FolderItem.
422 * src/folderview.c: folderview_rescan_tree(): modified the message.
423 * src/imap.c: imap_scan_tree(), imap_scan_tree_recursive(): reuse
424 the previous FolderItem objects.
428 * src/folder.[ch]: added a reference to its own GNode in FolderItem.
429 folder_item_remove(): free all FolderItem's.
430 folder_tree_destroy(): use folder_item_remove().
431 * src/folderview.c: folderview_sort_folders(): keep the order even
432 if special folders' parents are different.
433 * src/imap.c: imap_scan_tree_recursive(): fixed a memory leak.
434 * src/mh.c: mh_scan_tree(): preserve the previous FolderItem's.
435 mh_remove_missing_folder_items(): scan the directories and remove
437 mh_scan_tree_recursive(): reuse the previous FolderItem objects.
441 * src/mainwindow.c: always reflect window size changes.
442 * src/folderview.c: folderview_init()
443 src/summaryview.c: summary_init(): realize the widget before
445 * src/prefs_common.[ch]: remember the folder and mesage view's
451 src/prefs_common.[ch]: remember the size and position of
453 main_window_set_widgets(): fixed a bug that the hidden items on
454 the header view were shown when changing the view type.
455 Instead of setting the window size, set the each view's size.
459 * src/compose.c: compose_select_account(): don't append signature
461 compose_insert_sig(): don't insert "\n\n" if signature string
462 doesn't exist. Always insert signature at the end of message.
466 * improved sylpheed.spec.in (thanks to Andre Oliveira da Costa).
470 * minor code cleanups for the folder system.
471 * src/compose.c: compose_queue(), compose_draft_cb(): code cleanup.
472 * src/folder.c: code cleanups.
474 src/mh.c: calculate message numbers inside the functions.
475 * src/procmsg.c: procmsg_set_flags(): calculate message numbers.
476 * src/summaryview.[ch]: don't calculate and preserve message numbers
485 src/summaryview.c: renamed *_msgs_with_dest() to *_msgs().
489 * src/imap.[ch]: use CAPABILITY to use protocol extentions.
490 imap_greeting(): parse initial server greeting. Also support
493 imap_cmd_append(): use APPENDUID responses if UIDPLUS is supported.
497 * src/imap.c: imap_get_flag_str(): fixed a buffer overrun.
505 * src/main.c: main(): don't save config files on startup.
510 imap_get_msg_list(): removed redundant UID SEARCH ALL when not
512 Unset MSG_NEW flag if \Seen is set.
513 imap_get_uncached_messages(): fetch all messages if both first_uid
518 * src/imap.c: revamped the implementation so that it always
519 exactly reflects the state of IMAP4 servers.
520 imap_get_msg_list(): examine the state of messages using
522 imap_delete_cached_message(): removes single message cache.
523 imap_get_uid(): removed.
524 imap_cmd_search(): new. It issues UID SEARCH command and returns
526 imap_cmd_gen_recv(): made the length of strings unrestricted.
527 imap_get_uid_table(): returns a hash table from UID array.
534 src/news.[ch]: added Folder::close() method.
535 * src/summaryview.c: summary_clear_list(): call folder_item_close().
539 * flags are now taken over when copying messages into IMAP folders
546 mh_add_msgs(): flags can be also specified when adding files.
547 * src/folder.[ch]: added assertions for virtual functions.
548 * src/procmsg.[ch]: procmsg_get_message_file_list(): return the list
550 procmsg_message_file_list_free(): new.
554 * src/procmsg.h: changed MsgPermFlags and MsgTmpFlags from enum to
555 guint32 for portability (thanks to Alfons).
556 * src/imap.c: imap_add_msgs(): removed redundant unlink().
561 session_read_msg_cb()
562 session_read_data_cb(): fixed a bug that ran into infinite loop
563 if connection was closed by remote host (thanks to Yoichi Imai).
564 Added SESSION_EOF state to SessionState.
565 session_is_connected(): new.
566 * src/inc.[ch]: inc_put_error()
567 src/send_message.c: send_put_error(): also put log messages.
571 * more optimization of IMAP4.
572 * src/folder.[ch]: added a method add_msgs() that adds multiple files
574 Removed redundant scan() for the operations of FolderItem.
575 * src/imap.[ch]: implemented Folder::add_msgs() and optimized move
576 and copy from other Folder instances.
577 * src/mh.[ch]: implemented Folder::add_msgs() and cleaned up the code.
578 mh_fetch_msg(): scan folder if required.
579 * src/procmsg.[ch]: procmsg_get_message_file_list(): returns file
580 list from message list.
581 * src/summaryview.c: don't remove MSG_MARKED flags on
582 delete/move/copy operation.
583 summary_display_msg_full(): removed redundant message fetching.
587 * optimized move/copy/delete/mark operations of IMAP4 by using
588 sequence set when issuing commands (adopted claws' implementation
589 with cleaning it up).
591 imap_set_message_flags()
594 imap_cmd_store(): take sequence set string instead of UID number.
595 imap_do_copy_msgs_with_dest(): optimized by using sequence set.
596 imap_cmd_fetch(): use BODY.PEEK instead of BODY.
597 imap_remove_all_msg()
598 imap_set_message_flags(): use FLAGS.SILENT instead of FLAGS.
600 src/summaryview.c: use imap_msg_list_{set,unset}_perm_flags()
601 instead of issuing commands for each message.
606 src/prefs_account.[ch]
608 src/session.[ch]: added an option to enable/disable non-blocking
613 * src/compose.c: compose_attach_append(): display message's subject
614 when attaching message/rfc822 file.
621 session_read_msg_cb()
622 session_read_data_cb(): optimized by removing sock_peek() and
623 buffering received data in user space (correctly implemented
628 * src/session.c: reverted the previous change because it couldn't
629 handle data receiving after messages correctly.
635 session_read_msg_cb(): optimized by removing sock_peek() and
636 buffering messages in user space.
640 * src/imap.[ch]: refactored.
641 Changed all functions that have SockInfo arguments to take
643 Made imap_cmd_count an instance variable: IMAPSession::cmd_count.
644 imap_open(): only establish TCP (or SSL) connection.
645 imap_session_new(): process greeting and authentication here.
649 * src/imap.[ch]: implemented CRAM-MD5 authentication, and made code
651 * src/prefs_account.[ch]: added option menu for IMAP4 authentication
652 type in Receive tab, and hide other protocols' frames.
656 * src/mainwindow.c: send_queue_cb(): don't scan folder twice if
658 * src/procmsg.c: procmsg_send_queue(): return number of sent
664 main_window_set_toolbar_sensitive()
665 main_window_set_menu_sensitive(): removed the locking of file
666 operations while receiving mail.
670 * src/folder.[ch]: folder_item_remove_msg(): take MsgInfo as an
671 argument instead of message number.
672 * src/imap.[ch]: imap_remove_msg(): reimplemented using
674 * src/mh.[ch]: mh_do_move(): reimplemented using
675 mh_do_move_msgs_with_dest().
676 mh_copy_msg(): reimplemented using mh_copy_msgs_with_dest().
677 * src/procmsg.c: procmsg_send_queue(): modified to use message list.
681 * src/rfc2015.c: rfc2015_is_encrypted(): check MimeInfo::mime_type
682 to suppress some warnings.
683 * src/logwindow.c: log_window_append(): don't scroll up when trimming
688 * src/compose.c: add 'Content-Disposition: inline' to a text/plain
689 part when using PGP/MIME signing.
697 * src/defs.h: changed UI_REFRESH_INTERVAL from 40msec to 50msec.
698 * src/session.c: session_read_msg_cb(): make it always fail if
699 sock_read() returns by error.
700 * src/socket.[ch]: sock_check(): handle exceptional SSL condition.
701 sock_has_pending_data(): removed.
702 Removed debug output.
703 * src/send_message.c: send_recv_message(): display messages to
708 * src/inc.[ch]: update received message number on CList while
710 * src/session.c: session_read_data_cb(): optimized by removing
711 g_malloc() and memcpy().
715 * src/socket.[ch]: sock_add_watch(): new. It monitors SSL by original
716 watch functions (otherwise uses g_io_add_watch()).
717 * src/session.[ch]: removed previous workarounds, and replaced
718 g_io_add_watch() with sock_add_watch().
722 * src/socket.[ch]: added sock_has_pending_data() which returns TRUE
723 if socket has pending data.
724 * src/session.c: session_recv_msg(), session_recv_data(): check if
725 socket has pending data and call the callbacks immediately in that
726 case (fixes the hang at ESMTP EHLO on SSL).
730 * src/socket.c: check return value in SSL functions.
734 * src/mimeview.c: mimeview_init(): initialize TextView to prevent
735 slowdown caused by GTK+ themes (thanks to Yuri Arapov).
739 * src/session.c: session_read_data_cb(): clear Session::read_data_buf
740 before calling callbacks.
744 * src/socket.c: made socket connection protocol independent.
745 * src/session.c: removed debug g_print().
746 * src/inc.c: made status bar output less verbose, and show counter
747 on main window's progressbar.
751 * src/session.c: added missing #include <errno.h>.
755 * src/session.[ch]: reimplemented the Session system with non-blocking
756 I/O to solve the performance and the code design issue.
757 * src/socket.[ch]: added sock_connect_async() and
758 sock_connect_async_cancel() to enable asynchronous connection.
759 sock_peek(): modified the implementation.
760 * src/pop.c: optimized the receiving of the responses of
765 * src/procmsg.c: procmsg_get_thread_tree(): prevent threading problems
766 when a node is an ancestor (parent / great parent), which mostly
767 happens with circular references (thanks to Phillipe Gramoulle
768 for finding an sample set of messages, and Alfons for the patch).
772 * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
773 UIDL list is not found (fixes inability of initial retrieval).
777 * src/main.c: added the option '--status-full' which shows the status
778 of each folder specified. The option '--status' also takes
779 following arguments for folders (thanks to Yuri Arapov).
780 * src/folder.[ch]: folder_get_status(): new. it takes the array of
781 folders as the argument and returns their status.
782 folder_count_total_msgs(): removed.
792 src/inputdialog.c: use gtk_main_iteration() instead of gtk_main()
793 to prevent abort when a button is double-clicked.
797 * src/addr_compl.c: invalidate_address_completion(): check if
798 g_completion_list is NULL (thanks to Kazuhiro NISHIYAMA).
802 * src/pop.c: pop3_session_recv_data_finished(): fixed a bug that
803 deleted messages that is to be kept on server (thanks to Tristan
813 sock_set_io_timeout(): new. It sets the timeout interval.
814 sock_gdk_input_add(): removed since it's not used anymore.
815 * src/prefs_common.[ch]: added an option to set the timeout parameter.
819 * src/action.c: fixed a bug that didn't hide user string in
820 create_io_dialog() (thanks to Markus Amersdorfer).
821 Removed ChildInfo::type and added Children::action_type.
825 * src/inc.c: inc_start(): ask every password before retrieving.
826 Don't popup the redundant error dialog.
828 inc_all_account_mail()
829 inc_progress_dialog_set_list(): separated account list display
831 inc_progress_dialog_set_label()
832 inc_recv_data_finished()
833 inc_recv_message(): properly update the dialog when RETR finished.
838 imap_modified_utf7_to_locale()
839 imap_locale_to_modified_utf7(): fixed compilation failure when not
844 * src/procmime.c: procmime_scan_multipart_message(): fixed parsing
845 of message/rfc822 parts.
849 * src/pop.c: pop3_ok(): detect timeout error.
853 * src/imap.c: imap_locale_to_modified_utf7(): fixed the encoding bug
854 when locale strings include '+'.
855 imap_modified_utf7_to_locale()
856 imap_locale_to_modified_utf7(): at least escape/unescape '&' even
857 if iconv() is not supported.
863 compose_get_signature_str(): include separator in signature string.
864 Don't insert separator if signature file is not found.
865 Disabled use of implicit default signature path (~/.signature) when
875 src/quote_fmt_parse.y
876 src/smtp.c: suppress warnings that gcc-3.3 issues.
877 src/stringtable.c: use string_entry_free().
881 * src/compose.c: compose_insert_sig(): fixed the bug that always
882 appended signature separator if signature file was not found.
883 compose_get_signature_str(): fixed the bug that caused crash if
884 signature file cannot be opened.
892 * src/session.c: session_recv_msg(): removed debug print.
899 imap_cmd_fetch(): check for data size that servers return (fixes
900 vulnerability found in BugTraq).
904 * src/addr_compl.c: get_complete_address()
905 src/addressbook.c: addressbook_format_address()
906 src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
907 characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
908 * src/main.c: main(): set colormap and visual to solve color problem
909 in Solaris (thanks to Markus Schwarzenberg).
917 * src/prefs_account.c: temporarily removed POP before SMTP option.
921 * src/prefs_common.[ch]: changed the description of "Open message when
922 cursor keys are pressed on summary".
923 * src/summaryview.c: summary_show(): open message when always_show_msg
928 * src/logwindow.[ch]: restrict the maximum lines of the log messages
929 to reduce the memory usage.
933 * src/compose.c: compose_insert_sig(): fixed a crash when signature
934 string contains illegal sequence.
935 * src/utils.[ch]: changed get_wcs_len() to get_mbs_len() for accuracy.
939 * major refactoring of MIME structure.
940 * src/procmime.c: procmime_scan_message(): decrypt message if
941 gpgme is enabled. Create multipart tree only if content-type is
942 multipart/* or message/rfc822.
943 procmime_scan_multipart_message(): fixed the scanning of
945 * src/action.c: parse_append_msgpart()
946 src/messageview.c: messageview_show()
947 src/mimeview.c: mimeview_show_message(): use procmime_scan_message()
948 instead of procmsg_open_message() and procmime_scan_mime_header().
949 mimeview_set_multipart_tree(): conform to the new MIME structure.
950 * src/textview.c: textview_show_part(): removed unnecessary check.
951 * src/procmsg.c: procmsg_open_message_decrypted(): fixed the file
952 pointer when decryption failed.
956 * src/ssl.c: ssl_init_socket_with_method(): replaced log_warning()
957 by g_warning(), and log_print() by debug_print().
958 * src/pop.[ch]: added an error code PS_NOTSUPPORTED, and retry with
959 LAST if UIDL is not supported.
963 * src/codeconv.c: conv_get_code_conv_func(): convert to EUC-JP only
964 if it is the current locale encoding when dest_charset_str is NULL.
968 * src/action.c: execute_actions(): fixed crash when no text widget
969 is selected (thanks to Paul and Melvin).
971 src/prefs_actions.c: added missing reference to Claws team in the
978 session_send_data(): fixed a memory leak and data sending bug.
979 * src/send_message.c:
980 send_message_smtp(): fixed focus management.
984 * src/smtp.[ch]: set the response string to SMTPSession::error_msg
986 * src/send_message.c: show error dialog if error occurred.
987 * src/main.c: send_queue()
988 src/mainwindow.c: send_queue_cb(): don't show error dialog here.
992 * src/session.c: session_close(): kill child process only if
993 state is not SESSION_DISCONNECTED.
994 * src/send_message.c: send_cancel_button_cb()
995 src/inc.c: inc_cancel(): don't set Session::state to
996 SESSION_DISCONNECTED.
997 * src/prefs.[ch]: modified the names of prefs_write_*().
998 * src/address.[ch]: removed.
1002 * src/compose.c: compose_template_apply(): overwrite recipients.
1006 * src/procheader.c: procheader_date_parse(): removed debug print.
1007 * src/session.c: changed every g_print to debug_print.
1008 session_child_input(): removed unrequired session_close() (it'll
1009 be closed anyway after returning FALSE).
1010 * src/send_message.c: send_message_smtp(): changed g_print to
1015 * src/procheader.c: procheader_procheader_date_parse(): don't add
1016 local timezone offset if timezone is unknown.
1017 Made the Y2K workaround code to follow RFC 2822.
1018 procheader_scan_date_string(): workaround for date strings which
1019 don't have timezone specification.
1020 * src/utils.c: remote_tzoffset_sec(): return -1 if timezone is
1025 * src/action.[ch]: refactored. Also fixed a bug on MIME mode, and
1026 some memory leaks on error.
1027 action_update_msgview_menu(): new.
1028 * src/messageview.[ch]: added "Tools/Actions" menu. Keep window list.
1029 messageview_get_selected_mime_part(): returns MimeInfo of selected
1030 part when MessageView is in MIME mode.
1031 * src/mimeview.[ch]: mimeview_get_selected_part(): returns MimeInfo
1033 * src/summaryview.[ch]: summary_get_selected_msg_list(): returns
1034 MsgInfo list of selected messages.
1038 * src/prefs_filter.[ch]: include original message's headers as
1039 the preset keywords. Modified the sizes of the widgets.
1040 * src/utils.[ch]: added str_case_equal() and str_case_hash() for
1041 case-insensitive hash.
1045 * src/procmsg.c: procmsg_get_filter_keyword(): added X-Sequence to
1046 auto-detected headers.
1050 src/mainwindow.c: modified function names.
1051 get_user_string(): Use input_dialog() instead of its own
1056 * src/codeconv.[ch]: conv_encode_header(): don't include '(' and ')'
1057 in encoded strings if addr_field is TRUE.
1058 * src/compose.c: compose_convert_header(): added a flag 'addr_field'.
1062 * src/prefs_actions.[ch]: separated action execution routine into
1067 * src/prefs_actions.c: minor code cleanup.
1071 * src/codeconv.[ch]: conv_iconv_strdup(): fixed the handling of
1077 inc_recv_data_progressive()
1078 inc_recv_data_finished()
1081 send_send_data_progressive()
1082 send_send_data_finished(): added assertion.
1086 * src/codeconv.[ch]: conv_iconv_strdup(): fixed potential memory
1091 * src/codeconv.[ch]: conv_iconv_strdup(): don't include nul character
1092 in source buffer since it messed up some encoding conversion (like
1097 * src/procmsg.c: procmsg_get_filter_keyword(): unfold headers and
1098 extract ID from List-Id header.
1099 * src/utils.[ch]: extract_one_parenthesis_with_skip_quote(): removed.
1100 extract_list_id_str(): extract ID string from List-Id header.
1104 * src/prefs_actions.c: merged from the claws branch. Fixes several
1105 bugs and adds some features.
1109 * src/compose.c: compose_parse_header(): fixed a bug that unnecessary
1110 linebreaks were included on reediting.
1112 src/pop.c: fixed typos: 'occured'.
1116 * src/compose.[ch]: implemented auto signature replacement on
1118 compose_insert_sig(): added a flag to replace current signature.
1119 compose_get_signature_str(): new. It returns signature string.
1120 compose_insert_command_output(): removed.
1121 compose_select_account(): call compose_insert_sig() on account
1123 compose_destroy(): fixed a memory leak of UndoMain object.
1124 Compose::sig_str: new. It stores current signature string.
1125 * src/gtkutils.[ch]: gtkut_stext_find(): new.
1126 Renamed gtk_stext_clear() to gtkut_stext_clear().
1127 * src/utils.[ch]: get_wcs_len(): returns wide-character length of
1129 normalize_newlines(): converts CR+LF and CR into LF.
1130 get_command_output(): returns command output.
1134 * src/procmsg.[ch]: procmsg_get_filter_keyword(): new. It returns
1135 filter keyword for messages.
1136 * src/summaryview.c: summary_filter_open(): use
1137 procmsg_get_filter_keyword().
1138 * src/messageview.c: create_filter_cb(): implemented.
1144 inc_put_error(): display server responses on error.
1145 * src/pop.[ch]: added Pop3Session::error_msg, and set server responses
1150 * src/messageview.[ch]: separated the forced charset of message view
1151 in separate window from the main window.
1153 textview_show_message()
1154 textview_show_part()
1155 textview_add_part(): use MessageView::forced_charset if specified.
1159 * src/mainwindow.c: modified File menu a bit.
1160 * src/menu.[ch]: added functions to handle item factory rc strings.
1161 * src/messageview.[ch]: added a menu, and made it take over main
1162 window's menu shortcuts.
1163 added msginfo which is duplicated on display to MessageView.
1164 * src/prefs_common.c: prefs_keybind_apply_clicked(): use
1165 menu_factory_clear_rc().
1169 * send_message.c: send_message_smtp():
1170 re-enabled forcing of SMTP AUTH method.
1171 Clear temporary password if authentication failed.
1172 * smtp.c: output warning to log and set SMTPSession::error_val
1174 * smtp.h: changed error value to enum. Added SMTPSession::error_val.
1175 * src/mbox.c: proc_mbox(): force updating of folder.
1179 * src/pop.h: changed error value to enum.
1180 * src/pop.c: pop3_retr_recv(): return PS_IOERR when inc_drop_message()
1182 pop3_ok(): return appropriate error value based on current state.
1183 Output warning to log if error occurs.
1188 src/news.[ch]: refactored. Remove NNTPSockInfo and use NNTPSession
1193 * src/inc.c: inc_pop3_session_do(): retrun appropriate error if
1194 Session::state == SESSION_ERROR.
1195 * po/POTFILES.in: removed src/automaton.c and src/send.c.
1196 Added src/send_message.c.
1201 src/session.c: fixed breakage of POP3 retrieval.
1202 session_recv_data_from_sock_unescape(): read until terminator
1203 appears and also return the actual size.
1207 * src/automaton.[ch]: removed.
1208 * src/session.c: removed some of the debug output.
1209 * src/smtp.c: smtp_session_recv_msg(): workaround in case server
1210 returns EHLO-style response to HELO command.
1211 Ignore all multiline responses except for EHLO since they are
1212 allowed for any command.
1217 src/pop.c: fixed retrieval of messages which contain dot-escaped
1219 session_recv_data(): added a flag for unescape.
1220 session_recv_data_from_sock_unescape(): new. It receives message
1221 for each line and unescapes dot-escaped lines.
1222 Removed the previous workaround.
1223 * src/defs.h: decreased UI_REFRESH_INTERVAL to 40 msec.
1227 * src/pop.[ch]: workaround for brekage of retrieval when given size
1228 and actual one is different.
1232 * src/pop.c: pop3_retr_eom_recv(): ignore invalid end of message
1233 since some servers sometimes return incorrect message size.
1234 * src/news.c: news_session_new(): zero clear NNTPSession object.
1235 Don't initialize Session::sock with nntp_sock->sock to prevent
1236 double-free of SockInfo.
1237 * src/imap.c: zero clear IMAPSession object.
1238 imap_cmd_append(): don't close SockInfo.
1242 * src/pop.c: pop3_session_recv_msg(): fixed STLS.
1247 src/pop.[ch]: reimplemented using new I/O system.
1248 * src/session.[ch]: session_recv_data(): new.
1249 session_send_data_to_sock()
1250 session_recv_data_from_sock(): decreased the frequency of progress
1255 * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
1259 * src/session.[ch]: session_start_tls(): new.
1260 session_recv_msg(): made it static.
1264 * implemented asynchronous network I/O.
1265 * src/session.[ch]: the interface to communicate with servers through
1268 src/send_message.[ch]: rewrote using new I/O system.
1269 * src/socket.[ch]: renamed *_write() to *_write_all(), and made
1270 *_write() as just a simple wrapper for write().
1271 * src/utils.c: get_outgoing_rfc2822_str(): new. It modifies the
1272 message to send with SMTP or NNTP.
1273 file_read_stream_to_str(): new.
1277 * src/textview.c: textview_button_pressed(): corrected the range of
1279 * src/compose.c: compose_wrap_line_all_full(): treat UTF-8 characters
1280 represented with more than 2 bytes as 2 character width and 2 bytes
1281 one as a single character width as a workaround for wrapping problem.
1285 * src/utils.c: subject_compare_for_sort(): allow null strings (fixes
1290 * implemented HTML link correctly.
1291 * src/html.[ch]: HTMLAttr, HTMLTag: new structure for attributes /
1293 html_get_tag(): new. It parses tag and returns HTMLTag object.
1294 html_parse_tag(): also parses <a> tags and 'href' attributes.
1295 * src/textview.c: textview_write_link(): new. It creates link string.
1299 * src/compose.c: compose_wrap_line_all_full(): fixed an infinite
1300 loop / crash bug (thanks to Darko Koruga).
1301 compose_write_to_file(): put correct charset element when
1302 conversion failed but want to send anyway.
1306 * src/headerview.c: headerview_show()
1307 src/textview.c: textview_write_line(): remove unreadable characters
1308 from displayed strings to prevent crashes on multi-byte
1310 * src/codeconv.[ch]: conv_unreadable_locale(): new. It was separated
1311 from conv_localetodisp().
1315 * src/procmsg.c: procmsg_cmp_by_subject()
1316 src/summaryview.c: summary_cmp_by_subject(): ignore Re: when
1319 subject_compare_for_sort()
1320 trim_subject_for_sort(): new.
1328 * src/defs.h: added -i option to the default sendmail command.
1332 * src/codeconv.[ch]: added missing character encodings and locales.
1337 procmsg_get_mark_sum()
1338 procmsg_open_mark_file()
1339 procmsg_read_mark_file(): take FolderItem instead of directory
1344 * src/codeconv.c: conv_encode_header(): fixed a bug that spaces
1345 which is on the wrap boundary would be lost when encoding long
1346 non-ascii strings (thanks to Sergey Vlasov).
1347 Don't force wrapping within a long word until it reaches hard line
1348 length limit (998 characters) (workaround for the breakage of
1349 long address list with no spaces).
1353 * src/prefs_account.c: fixed compile failure when using neither
1358 * src/codeconv.c: fixed UTF-8 locale support.
1359 conv_get_code_conv_func(): return conv_noconv if locale encoding
1360 is UTF-8. Return conv_latintodisp on ISO-8859-* to locale encoding
1362 conv_convert(): call conv_iconv_strdup() instead of
1363 conv_codeset_strdup().
1364 conv_codeset_strdup(): moved some codes into conv_iconv_strdup().
1368 * src/prefs_account.[ch]: added an option to use command output for
1370 * src/compose.c: compose_insert_sig(): use command output if
1372 compose_insert_command_output(): new.
1376 * src/main.c: main(): remove lock socket if sylpheed is not running
1377 when --status command is executed.
1378 lock_socket_remove(): new.
1382 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
1383 codeset is US-ASCII (or POSIX).
1387 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
1388 and continue conversion.
1392 * src/summaryview.c: summary_selected(): always update widget
1397 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
1398 date in timezones more than GMT+12 or less than GMT-12.
1402 * src/prefs_common.[ch]
1403 src/sourcewindow.c: remember the size of source window.
1404 * src/md5.c: fixed a compile problem with gcc 3.3.
1408 * src/about.c: about_create(): modified the copyright notice.
1412 * src/colorlabel.c: don't use pixmaps for label color rect but draw
1413 rectangles so we can respect the color map of palette based visuals
1414 (fixes the long time crashes on Solaris - thanks to Alfons
1419 * src/procheader.c: procheader_date_parse(): made month string case
1421 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
1422 selection list is empty.
1426 * src/quote_fmt_parse.y: removed gettext translatable strings.
1427 * src/unmime.c: unmime_header(): remove broken characters when
1428 code conversion failed.
1429 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
1430 headers if long words more than 75 characters are entered.
1434 * src/prefs_account.c: prefs_account_receive_create()
1435 src/utils.c: to_human_readable(): made units translatable.
1439 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
1440 at first byte (fixes abort() problem of glibc).
1441 * src/html.c: html_read_line(): remove characters which can't be
1442 displayed on the current locale.
1447 trim_subject_for_compare(): renamed from trim_subject().
1448 trim_subject(): new. It removes [...] or (...) at the beginning
1450 * src/prefs_folder_item.c
1452 added options for trimming summary / compose subject.
1453 * src/summaryview.c: summary_set_header(): trim subject if the folder
1455 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
1461 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
1462 X-Face header problem).
1463 conv_encode_header(): allow up to 97 characters for one word.
1467 * src/filter.c: filter_match_condition(): fixed the bug that
1468 second condition ignored regex.
1469 * src/news.h: NewsGroupInfo: use guint for message numbers
1470 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
1474 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
1475 on code conversion failure.
1476 conv_get_charset_str()
1477 conv_get_charset_from_str(): optimized using hash table.
1481 * src/quote_fmt_parse.y:
1482 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
1483 treat only "\n-- \n" as a signature separator.
1487 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
1488 * src/summary_search.c: summary_search_execute(): search collapsed
1494 conv_unreadable_latin(): include 0x7f as an unreadable character.
1495 conv_localetodisp(): don't remove 8bit characters by default.
1496 conv_get_current_charset()
1497 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
1498 appended at the last of locale name.
1499 * src/compose.c: compose_write_to_file(): show from and to encoding
1500 when code conversion failed.
1508 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
1509 (thanks to Colin Leroy).
1510 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
1515 * src/textview.c: textview_write_line(): don't convert if conv is
1520 * src/codeconv.[ch]:
1521 renamed conv_guess_encoding() to conv_guess_ja_encoding().
1522 conv_localetodisp(): new. It removes unreadable characters from
1523 (assumed) current locale string.
1524 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
1525 NULL and current locale encoding is US-ASCII.
1526 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
1527 specified for destination charset.
1528 * src/textview.c: textview_write_line(): use conv_localetodisp()
1529 instead of strncpy2() if conversion failed.
1533 * src/codeconv.c: conv_iconv_strdup()
1535 imap_modified_utf7_to_locale()
1536 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
1537 a warning on some systems.
1538 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
1540 Return NULL instead of incomplete string if conversion failed.
1544 * src/summaryview.c: summary_execute(): select appropriate node
1545 if currently selected node is to be deleted.
1546 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
1547 TRUE if the specified node is selected.
1551 * src/summaryview.c: summary_status_show(): fixed a occasional crash
1552 on deleting or moving.
1556 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
1557 of EUC-JP more accurate.
1558 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
1570 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
1571 duplication bug if the source string has CRLF.
1573 canonicalize_str(): new. Returns newly allocated canonicalized
1575 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
1576 uncanonicalize_file_replace(): new.
1577 * src/compose.c: always canonicalize body before processing, and
1578 uncanonicalize before returning.
1582 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
1583 ENC_8BIT for Russian charsets.
1584 * src/compose.c: compose_write_to_file(): use base64 when signing
1589 * src/prefs_common.c: prefs_send_create(): added a description for
1590 the setting of Content-Transfer-Encoding.
1594 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
1596 * src/procmime.c: procmime_get_encoding_for_charset(): return
1597 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
1598 * src/compose.c: compose_attach_append(): set correct Content-
1599 Transfer-Encoding for message/rfc822.
1600 compose_write_to_file(): enabled user-definable Content-Transfer-
1602 * src/prefs_common.[ch]: added an option for user-defined Content-
1607 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
1608 line doesn't end with linebreak.
1612 * implemented quoted-printable encoding.
1613 * src/quoted-printable.[ch]: qp_encode_line(): new.
1615 compose_write_to_file()
1616 compose_write_attach(): implemented quoted-printable encoding.
1617 compose_attach_property_create(): enabled quoted-printable menu
1619 * src/procmime.c: procmime_get_encoding_for_charset(): return
1620 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
1621 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
1628 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
1629 of abbreviation of newsgroup name.
1633 * configure.in: show the result of iconv detection.
1637 * src/codeconv.[ch]: made the transition from libjconv to iconv().
1638 conv_iconv_strdup(): new.
1642 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
1648 src/prefs_folder_item.c: English fix (property -> properties).
1649 * src/prefs_filter.c: alert if entry is not saved.
1650 prefs_filter_dialog_to_filter(): new.
1654 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
1655 strings after linefeed.
1660 * src/codeconv.[ch]: code cleanup and optimization.
1661 conv_code_converter_new()
1662 conv_convert(): use functions obtained by conv_get_code_conv_func()
1663 when using libjconv.
1664 conv_codeset_strdup(): code cleanup.
1665 conv_get_code_conv_func(): added an argument for destination
1666 character set, and generalized.
1670 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
1672 * src/compose.c: compose_convert_header(): remove trailing spaces.
1673 * src/customheader.c: custom_header_read_str(): strip the spaces
1675 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
1676 strip the spaces of name and value.
1684 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
1685 into infinite loop when encountering invalid characters.
1689 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
1691 * src/summaryview.c: summary_show(): removed summary_sort() because
1692 it is done inside folder_item_get_msg_list(). This will improve
1693 the performance of summary display.
1694 Sorted out the summary sort functions using macros.
1698 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
1699 list if FolderItem::sort_key is set.
1700 Added SORT_BY_TO to FolderSortKey enum.
1701 * src/mainwindow.c: added "View/Sort/by recipient".
1709 * src/codeconv.c: conv_encode_header(): fix for redundant space on
1711 * src/compose.c: compose_convert_header(): always pass string to
1712 conv_encode_header() for line-breaking.
1716 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
1717 parsing of email addresses.
1721 * src/defs.h: added DEFAULT_BROWSER_CMD.
1722 * src/mimeview.c: mimeview_view_file()
1723 src/prefs_common.c: prefs_other_create()
1724 src/utils.c: open_uri(): changed the default web browser to
1725 mozilla, and changed 'raise' command (which is undocumented)
1726 to 'new-window' in 'netscape -remote'.
1730 * src/compose.c: compose_send_control_enter(): fixed crash on
1731 Ctrl-Enter when Message/Send has no accelerator key (thanks to
1739 sort_summary_type_cb(): prevent unwanted processing on unchecking
1744 * src/main.c: process command line option before gtk_init() to
1745 enable remote operation without X (thanks to Ruslan N. Balkin).
1746 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
1751 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
1752 (the spec of autotools seems to be changed).
1756 * src/imap.c: get path separator using LIST command if server
1757 doesn't support NAMESPACE (based on the patch by Brian Sammon).
1758 imap_parse_list(): added an argument to return path separator.
1759 imap_get_namespace_by_list(): new.
1763 * src/addr_compl.c: add_address(): removed the debug print.
1764 * src/gtkutils.[ch]: gtkut_window_popup()
1765 src/mainwindow.c: main_window_popup(): applied the patch to fix
1766 the behavior of window popup from Sergey Vlasov (thanks!)
1767 * src/account.c: account_edit_create(): use signal_connect_after
1768 for row_move signal to fix the row position bug.
1769 account_row_moved(): scroll the CList half page.
1770 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
1772 * src/summaryview.c: summary_reply(): use selection text only if
1773 the displayed message is selected (thanks to Sergey Vlasov).
1777 * src/codeconv.c: conv_encode_header(): reimplemented the routine
1778 of MIME header encoding. And use Q-encoding method if the current
1779 locale is single-byte one.
1780 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
1781 of wide-character string. Consider control codes as non-ASCII.
1782 get_next_word_len(): new. It returns the length of next word.
1783 is_next_mbs(), find_wspace(): removed.
1784 * src/quoted-printable.[ch]: new.
1785 qp_decode_line(): decodes one QP line.
1786 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
1787 qp_get_q_encoding_len(): returns the length when a string is
1789 qp_q_encode(): Q-encode a string (RFC 2047).
1790 * src/unmime.c: moved the functions for quoted-printable to
1795 * src/send.c: send_message_local(): escape line that only have one
1796 dot character (postfix's sendmail command will stop there).
1800 * src/send.c: send_message_local(): don't escape first-dot line
1801 (thanks to Sergey Vlasov).
1805 * autogen.sh: added 'libtoolize --force --copy' to override the
1807 * acconfig.h: removed.
1808 * configure.in: increased minimal version of GPGME to 0.3.10.
1809 Fixed checking of XIM.
1811 ac/gnupg-check-typedef.m4: added an argument for comment.
1815 * src/imageview.[ch]: fixed conflicting declarations of
1816 imageview_show_image() (thanks to Thorsten Maerz).
1820 * src/compose.c: compose_entry_append(): don't add ", " on subject
1822 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
1823 charset from the table (currently disabled for non-Japanese locales).
1824 conv_get_current_locale(): also refer to LC_CTYPE.
1828 * README: added a description about hidden settings.
1832 * src/prefs_common.[ch]: reorganized the common prefs dialog.
1833 Made enable_hscrollbar and bold_unread hidden options.
1837 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
1842 account_find_from_message_file()
1843 account_find_from_msginfo(): new. They find an account from the
1844 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
1847 compose_reedit(): restore messages' previous account on composition.
1848 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
1853 * src/compose.c: cleaned up the code using compose_entry_set()
1854 (don't use gtk_entry_set_text() directly).
1858 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
1862 * updated autotools and libtool to the latest version.
1863 * configure.in: added AC_PREREQ(2.50).
1867 * src/textview.c: textview_set_font(): fix for message display in
1868 UTF-8 locales (thanks to Sergey Vlasov).
1872 * src/imageview.[ch]: imageview_show_image(): resize images to fit
1873 the window size if specified.
1874 * src/prefs_common.[ch]: added an option 'Resize attached images'.
1878 * refactoring for SMTP implementation.
1879 * src/session.h: added ui_func to Session.
1880 * src/smtp.[ch]: separated the connection routine from
1881 smtp_session_new() to smtp_connect().
1882 Changed the argument of every function other than smtp_ok() from
1883 SockInfo to SMTPSession.
1884 Call UI callback from each functions.
1885 * src/send.c: send_message_smtp(): separated the code for UI update
1886 into send_progress_dialog_update().
1890 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
1891 * src/send.c: send_message_smtp(): call smtp_auth() and display
1892 the state to the dialog.
1896 * src/filter.c: strmatch_regex(): use extended regex (thanks to
1898 * src/main.c: main(): removed the code for assortrc -> filterrc
1900 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
1901 current locale is C or POSIX.
1902 gtkut_stext_is_uri_string(): include "www." for URI string.
1903 * src/textview.c: textview_make_clickable_parts(): include "www."
1912 * src/textview.c: textview_add_part(): indicate signature status
1913 using different colors.
1917 * src/folder.c: folder_write_list_recursive(): escape
1918 To/Cc/Bcc/Reply-To strings.
1922 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
1923 headers on locales other than Japanese when not using libjconv.
1927 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
1928 corresponding error message.
1929 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
1934 * src/prefs_account.[ch]: removed prefs_account_save_config() since
1936 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
1937 procmime_mimeinfo_free_all() can be used in every case.
1941 * src/account.c: account_get_special_folder(): support F_INBOX, and
1946 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
1947 COMPOSE_ENTRY_*, and added
1948 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
1951 compose_redirect(): added FolderItem to the arguments, and reflect
1952 settings in the item.
1953 compose_entry_set(): new.
1954 compose_entry_append(): code cleanup.
1955 compose_entries_set_from_item(): take ComposeMode in its arguments,
1956 and enabled FolderItem::use_auto_to_on_reply.
1957 * src/summaryview.c: summary_reply(): pass folder_item to
1958 compose_{reply,forward,redirect}().
1962 * src/gtkutils.[ch]:
1963 gtkut_font_load(): new. It automatically choose font or fontset
1965 gtkut_font_load_from_fontset(): new. It tries to load single font
1966 instead of fontset from a fontset string.
1970 src/summaryview.c: workaround for the problem that couldn't display
1971 8-bit characters in C or POSIX locale (use font instead of fontset).
1974 src/textview.c: made code cleanup using gtkut_font_load*().
1978 * src/mh.c: mh_get_msginfo(): set correct message number.
1982 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
1983 It returns a new MsgInfo associated to a message number.
1984 folder_item_get_msginfo(): new.
1985 * src/imap.[ch]: imap_get_msginfo(): new.
1986 * src/mh.[ch]: mh_get_msginfo(): new.
1987 * src/news.[ch]: news_get_msginfo(): new.
1991 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
1992 infinite loop if an invalid code appeared.
1996 * src/codeconv.c: conv_codeset_strdup()
1997 src/html.[ch]: html_read_line(): don't output conversion failure
1999 Added HTML_CONV_FAILED to the enum HTMLState.
2003 * implemented per-folder auto-set address (still in progress).
2004 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
2005 and set entries from it (if mailto is empty).
2006 compose_entry_append(): activate menu if required.
2007 compose_entries_set_from_item(): new.
2008 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
2009 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
2011 folder_build_tree(), folder_read_folder_func(),
2012 folder_write_list_recursive(): added the above members.
2013 * src/prefs_folder_item.[ch]: added auto-set addresses.
2014 * src/pop.[ch]: removed Pop3State::prev_folder.
2018 * src/compose.c: allow dropping files by also "moving" files from a
2019 file manager (thanks to Alfons).
2023 * compose_reply_set_entry(): made Reply-To have priority over
2024 List-Post on ML reply.
2028 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
2029 * src/summaryview.c: summary_step(): fixed a bug that lost the
2030 correct selection anchor.
2031 summary_key_pressed(): use gtk_sctree_select() instead of
2035 src/recv.c: differentiate disk full and socket errors
2036 (thanks to Colin Leroy).
2040 * src/account.c: account_edit_prefs(): removed unused variables.
2041 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
2044 compose_reply_set_entry(): receive reply type with one argument.
2045 * src/summaryview.c: summary_reply(): reduced conditional branches.
2049 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
2050 from line ends (thanks to Sergey Vlasov).
2051 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
2056 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
2057 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
2058 messages all at once.
2062 * src/account.[ch]: account_open(): new. It opens account prefs
2063 dialog and reflects to UI when finished.
2065 folderview_button_pressed()
2066 folderview_property_cb(): open account prefs dialog when the
2067 property of the root folder of remote account is requested.
2071 * src/account.c: account_destroy(): unref account information in
2073 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
2074 specified account information in all folders.
2076 folderview_rm_imap_server_cb()
2077 folderview_rm_news_server_cb(): destroy Folder first because
2078 folder_destroy() refers to account information.
2082 * src/account.c: account_find_from_item(): fixed a bug which didn't
2083 select the correct account.
2084 * inc_pop3_session_do():
2085 fixed the resource leak when SSL initialization failed.
2086 Immediately break from temporary event loop if cancelled.
2090 * src/account.[ch]: account_find_from_item(): new.
2092 compose_reply(), compose_forward(), compose_redirect()
2093 src/mainwindow.c: compose_cb(): select optimal account when
2095 * src/folder.[ch]: added FolderItem::apply_sub.
2096 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
2097 index of option menu which contains the specified data.
2098 * src/prefs_folder_item(): added Compose tab, and the setting of
2103 * configure.in: added $LDAP_LIBS for lber library detection.
2111 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
2112 leak, and added error checking.
2116 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
2117 removed Compose::orig_account.
2118 compose_check_for_valid_recipient(): check only enabled entries.
2119 compose_write_headers()
2120 compose_redirect_write_headers(): add Newsgroups header only
2121 when the entry is enabled.
2122 compose_send(): modified the method of finding a mail account
2123 from a news account so that it tries to match the From address.
2124 * src/send.c: send_message_queue(): enabled the queueing of news
2126 * src/news.[ch]: news_post_stream(): new.
2130 * configure.in: check lber first and use $LDAP_LIBS on the check
2135 * po/*.po: fixed many typos of format strings which will lead to
2136 crash (thanks to Sergey Vlasov).
2140 * src/procheader.c: procheader_parse_stream(): added Cc header
2141 to the target for full parsing.
2142 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
2143 returns the full message information from the given information.
2144 * src/compose.c: compose_reply(), compose_forward(): get full
2145 message information for Cc header.
2149 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
2150 IMAP4 and NNTP folder summary after checking those accounts.
2158 * src/prefs_common.c: prefs_compose_create(): modified the label
2159 of the option for Reply button.
2160 * configure.in: add -lldap and -llber to the 5th argument of
2161 AC_CHECK_LIB() for LDAP library detection.
2166 INSTALL.jp: updated.
2170 * src/mainwindow.c: toggle the behavior of Reply button between
2171 normal reply and reply-to-list.
2172 * src/prefs_common.[ch]: added an option to switch the function
2177 * src/compose.c: compose_new(): removed the workaround for XIM
2178 because it doesn't have any effect and only seems to cause
2183 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
2184 compose_parse_header(): parse also List-Post header.
2185 compose_reply_set_entry(): support reply-to-ML (fall back to
2186 normal reply if ML address is not found).
2189 src/summaryview.c: reorganized Reply menu and added 'Reply to
2191 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
2192 returns newly allocated parameters.
2196 * src/account.c: account_read_config_all(): set account information
2197 to default before initializing with configuration file.
2198 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
2199 newly created account information structure initialized by
2200 the default settings.
2205 replace_address_in_edit(): check if newtext is NULL.
2206 completion_window_button_press(): fixed a memory leak.
2207 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
2208 recv_time is RECV_TIME_KEEP.
2209 pop3_getrange_uidl_recv(): only set get_all flag if
2210 ac_prefs->getall is set.
2211 pop3_retr_recv(): don't delete messages which are not received
2212 by filter, and set recv_time to RECV_TIME_KEEP in the case.
2213 * src/pop.h: added an enum RecvTime.
2214 * src/inc.c: inc_drop_message(): unlink temporary message file if
2215 not received by filter.
2219 * src/mainwindow.c: added 'Edit/Select thread' menu.
2220 * src/summaryview.[ch]: added 'Select thread' to the context menu.
2221 summary_select_thread(): new. It selects all messages of current
2226 * src/rfc2015.c: check_signature(): corrected error handling and
2231 * src/rfc2015.c: check_signature(): correctly remove the last empty
2232 line, and canonicalize the file part before verifying (this should
2233 fix incompatibility with Evolution or some other MUAs).
2234 * src/utils.[ch]: copy_file_part(): new. It copies the specified
2235 range of file stream to another file.
2239 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
2240 8-bit text when signing (thanks to Colin Leroy).
2244 * src/prefs_common.c: prefs_send_create(): fixed the charset string
2245 for Cyrillic (Windows-1251).
2253 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
2254 Windows-1251. Added bg_BG locale.
2258 * src/compose.c: account_activated(): change the state of menu items
2259 and entries according to the selected account.
2260 compose_select_account(): new. It changes the state of title bar,
2261 menu items and entries.
2265 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
2267 Don't refresh summary view on fetching when open_inbox_on_inc is
2272 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
2273 is set (to avoid summary refresh problem).
2274 * src/imap.c: removed warnings by checking the existence of directory
2275 before calling remove*_numbered_files().
2279 * src/prefs_common.c: corrected English.
2283 * src/prefs_common.[ch]: added an option: "Mark messages as read
2284 only when opened in new window".
2289 folder_tree_destroy()
2290 folder_write_list_recursive(): added sanity check.
2291 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
2292 can't get session, create empty folder node (based on the
2293 Alfons' suggestion).
2297 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
2299 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
2304 * src/news.c: news_scan_group(): fixed wrong message number
2309 * major refactoring for POP3.
2310 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
2311 inc_pop3_state_destroy(), inc_get_uidl_table(), and
2312 inc_write_uidl_list() into pop.c.
2313 Moved Pop3State::folder_table and Pop3State::inc_state into
2316 inc_put_error(): added lockbusy state.
2317 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
2318 inc_cancel(): don't terminate the automaton here but just set
2319 the flags to prevent crash.
2321 pop3_getauth_pass_recv()
2322 pop3_getauth_apop_recv(): check lockbusy state.
2323 pop3_retr_recv(): check Pop3State::cancelled flag.
2324 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
2325 automaton_input_cb(): terminate if cancelled flag is true.
2326 * sylpheed.desktop: changed Type=Internet to Type=Application.
2327 Added Categories=Application;Network;.
2333 src/progressdialog.c: show detailed information to the status
2335 Added cur_total_recv_bytes to Pop3State.
2336 * src/prefs_common.[ch]: added an option to specify whether to
2337 close receive dialog when finished.
2341 * src/folder.[ch]: folder_get_path(): new. It returns the root path
2345 imap_folder_destroy()
2347 imap_remove_all_msg()
2348 news_folder_destroy(): remove cache directories / files when
2349 deleting Folder / messages.
2353 is_file_entry_exist(): check if the argument is NULL.
2355 remove_numbered_files()
2356 remove_expired_files(): fixed memory leaks on error.
2365 src/smtp.[ch]: made Folder and Session destructor virtual method.
2369 * src/compose.c: do joining of normal lines only when auto-wrapping.
2370 * src/main.c: modified the warning message for GnuPG.
2371 * src/about.c: about_create(): modified the compiled-in features
2373 * configure.in: improved LDAP library checking (thanks to Alfons).
2383 compose_wrap_line_all(): backed out the change to join lines that
2388 * configure.in: require at least gpgme-0.3.5.
2392 * src/alertpanel.c: alertpanel_create(): minor modification.
2401 * src/alertpanel.c: alertpanel_create(): modified the layout.
2402 * src/rfc2015.c: check_signature(): don't abort on error.
2406 * src/compose.c: compose_wrap_line_all(): freeze widget only if
2407 required to repress flickers.
2411 * src/compose.c: improved line wrapping.
2413 compose_wrap_line_all(): also join lines that are not indented.
2414 dump_text(): handle multi-byte strings correctly.
2418 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
2419 (go to next line when space is entered at line limit).
2423 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
2428 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
2429 checking to prevent confusion.
2433 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
2434 method Folder::get_msg_list().
2435 * src/account.c: account_edit_prefs(), account_delete(): use
2436 folderview_set_all() instead of folderview_rescan_all().
2437 * src/folderview.[ch]:
2438 folderview_check_new_all(): new. Updates all folders.
2439 folderview_rescan_tree(): confirm before executing.
2440 folderview_rescan_all(): commented out since it's not used anymore.
2441 folderview_update_item_foreach(): added a flag for summary update.
2442 * src/inc.c: inc_finished(): update summary only when
2443 prefs_common.scan_all_after_inc is set.
2444 inc_drop_message(): set mtime of target folder to 0 to force
2445 the updating of summary.
2446 inc_start(), get_spool(): update also summary when updating
2448 * src/mainwindow.c: changed 'File - Rescan folder tree' to
2449 'File - Check for new messages in all folders'.
2453 * src/compose.c: compose_write_to_file(): clearsign message body
2455 compose_clearsign_text(): new. Replaces the string with clearsigned
2457 * src/prefs_account.c: added an option for clearsign.
2458 * src/rfc2015.c: rfc2015_clearsign(): new.
2459 pgp_sign(): added a flag for clearsign.
2460 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
2461 name (needs to be freed by caller).
2462 str_write_to_file(), file_read_to_str(): new.
2466 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
2467 to avoid memory leak.
2471 * src/base64.c: include string.h for memcpy().
2472 * src/gtksctree.c: use macro ABS() instead of function abs().
2473 * src/prefs_account.c
2474 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
2475 conflict with the function send() in sys/socket.h.
2476 * src/mainwindow.c: commented out the unnecessary functions.
2477 * src/utils.c: canonicalize_file_replace(): correct warning message.
2481 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
2482 temporary files in ~/.sylpheed/.
2483 * src/main.c: create temporary directory in ~/.sylpheed/.
2485 src/inc.c: create temporary files in ~/.sylpheed/, and modified
2487 compose_exec_ext_editor(): fixed a bug that failed to create the
2488 temporary file if g_get_tmp_dir() returned directory other than
2493 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
2497 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
2498 to replace the file when the given file and temporary file are not
2499 on the same filesystem.
2500 copy_file(): added a flag whether to keep backup.
2501 move_file(): added a flag whether to overwrite the destination file.
2505 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
2506 * src/select-keys.c: modified key selection dialog.
2510 * src/socket.[ch]: my_gethostbyname(): new.
2511 * src/utils.c: get_domain_name(): return FQDN instead of short
2512 hostname (thanks to Bob Woodside).
2513 * src/template.c: made the debug messages less verbose.
2517 * src/prefs_common.[ch]: removed obsolete default sign key setting.
2518 * src/utils.c: canonicalize_file(): correct the error check of
2523 * src/compose.c: compose_write_to_file():
2524 canonicalize line endings before encrypting/signing (this will fix
2525 interoperability with other MUAs).
2526 Removed unnecessary strdup.
2527 Don't encrypt/sign draft message.
2529 canonicalize_file(), canonicalize_file_replace(): new.
2531 src/select-keys.c: changed g_message() to debug_print() and
2533 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
2534 MIME structure scanning.
2535 * src/textview.c: textview_add_part(): show signature status in
2538 src/sigstatus.c: modified translatable strings and some MIME
2543 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
2544 the temporary file when saving from queue.
2550 src/prefs_account.[ch]
2551 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
2552 Modified some messages.
2556 * src/textview.c: textview_scan_header(): fixed a memory leak
2561 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
2562 in right conditional block.
2566 * src/compose.c: compose_wrap_line_all(): fixed character buffer
2572 log_error(): add time stamp to log messages.
2577 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
2581 * src/socket.c: implemented socket I/O timeout.
2583 * src/pop.c: check errors and return error value correctly.
2587 * src/prefs_actions.c: made the action's input/output dialog display
2588 without delay. Made the dialog modal instead of making window
2589 insensitive. Also cleaned up its UI.
2593 * implemented --attach command line option.
2595 Cmd::attach_files: new member to store file paths.
2596 parse_cmd_opt(): added --attach option. --compose option is implied.
2597 prohibit_duplicate_launch()
2598 lock_socket_input_cb(): added "compose_attach" message.
2601 src/textview.c: renamed compose_new_with_recipient() to
2602 compose_new(), and added an argument for attachment files.
2606 * src/logwindow.c: freeze GtkText widget while hidden.
2607 log_window_append(): changed the header for message and warning.
2611 * src/news.c: implement automatic cache expiration.
2612 news_delete_expired_caches(): new.
2613 news_get_article_list(): fixed a bug that nonexistent messages
2614 were not removed from list.
2615 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
2616 procmsg_get_last_num_in_cache().
2617 * src/utils.[ch]: remove_expired_files(): new.
2622 inc_mail(): force summary refresh when using external command for
2624 inc_all_account_mail(): fixed a bug on spool checking failure.
2635 src/editldap_basedn.c
2637 src/prefs_common.c: fixed memory leaks which didn't free strings
2638 gtk_editable_get_chars() returned. And minor code cleanups.
2640 src/vcard.h: removed C++-style comments.
2644 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
2645 strings which include both multi-byte and us-ascii characters.
2649 * src/utils.c: remove_numbered_files(): don't try to unlink()
2652 conv_get_code_conv_func(): return conv_anytodisp() if charset is
2654 conv_unmime_header_overwrite()
2655 conv_unmime_header(): do conv_anytodisp() before decoding header.
2663 * src/compose.c: added 'Tools/Actions' menu.
2667 * src/base64.c: a minor fix for BASE64VAL() macro.
2671 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
2679 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
2680 base64_encode(), base64_decode(): new.
2681 * src/rfc822.[ch]: removed.
2683 src/about.c: removed the copyright notice for fetchmail.
2689 src/unmime.[ch]: rewrote the MIME decode routines.
2691 unmime_quoted_printable_line(): new.
2693 procheader_get_one_field()
2694 procheader_get_unfolded_line(): remove also CR.
2698 * libkcc: removed from the source tree.
2700 src/about.c: removed the copyright notice for libkcc.
2701 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
2703 * src/prefs_actions.c: removed unnecessary spaces/tabs.
2707 * src/prefs_actions.c: comply with the coding style.
2708 Modified the UI design.
2709 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
2710 menu when multiple messages are selected.
2714 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
2715 update_actions_menu(): simplified the menu deletion.
2716 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
2720 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
2721 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
2726 * configure.in: added check for strchr.
2730 * src/prefs_common.[ch]
2731 src/inc.c: added an option to inhibit receive error dialog.
2735 * src/account.c: account_find_from_address(): support multiple
2736 addresses in header.
2740 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
2741 GtkCTreeNode* so that it won't become invalid after the row move.
2742 Removed dependency to gtkutils.c.
2743 * src/prefs_common.[ch]
2744 src/summaryview.c: summary_selected(): added an option to show
2745 message when cursor keys are pressed on summary view.
2751 src/compose.c: changed "host_alias" to "target_alias" so that it
2752 shows the correct system name on cross-compiling (thanks to
2757 * src/prefs_account.[ch]: added the option menu to force an
2758 authentication method for SMTP AUTH.
2760 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
2761 specify the authentication method for SMTP AUTH.
2762 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
2766 * src/prefs_common.[ch]
2767 src/compose.c: enabled "Wrap on input".
2771 * src/summaryview.[ch]
2772 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
2773 Made some code cleanups.
2778 src/prefs_common.[ch]: added the hidden option to specify the
2779 policy of the vertical scrollbar on folder view.
2783 * src/messageview.[ch]:
2784 messageview_copy_clipboard(): fixed a bug that couldn't copy text
2786 messageview_get_current_textview(): new.
2787 messageview_get_text_widget(): removed.
2788 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
2789 * src/compose.[ch]: implemented the "Paste as quotation" feature.
2790 text_inserted(): new callback for "insert_text" signal.
2791 Add quote mark to the pasted text if Compose::paste_as_quotation
2796 * src/compose.c: if the Content-Type of a file is text/*, check
2797 its content and set the optimal Content-Transfer-Encoding (thanks
2802 * src/textview.c: textview_key_pressed(): pass key press event to
2803 main window to activate menu shortcuts (thanks to Alfons).
2807 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
2808 for mtime to prevent flooring.
2811 imap_move_msgs_with_dest()
2812 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
2814 imap_parse_envelope()
2815 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
2816 full information of messages and simplify the parser. Also fixed
2817 the bug that References header was ignored on threading.
2818 imap_parse_one_address()
2819 imap_parse_address(): removed.
2820 imap_get_header(): new. It reads the RFC822 header and returns
2821 a newly allocated string.
2822 * src/procheader.[ch]: changed procheader_parse() to
2823 procheader_parse_stream() and added different interfaces for it.
2827 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
2835 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
2836 could be inserted into the hash table.
2837 inc_write_uidl_list(): a minor code cleanup.
2838 * src/mainwindow.c: main_window_get_current_state():
2839 make the state unexecutable on an empty folder.
2840 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
2841 * src/pop.c: minor code cleanups.
2845 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
2846 corrected the behavior of the radio buttons.
2850 * implemented 'Delete messages after N days' feature for POP3.
2852 inc_get_uidl_table()
2853 inc_write_uidl_list(): moved the location of UIDL list file from
2854 RC_DIR/uidl-* to RC_DIR/uidl/*.
2855 Added received time for each UIDLs.
2856 src/main.c: main(): create RC_DIR/uidl/ directory.
2857 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
2858 Added recv_time to Pop3MsgInfo.
2859 src/prefs_account.[ch]: added an option for the number of days for
2868 * src/folder.c: folder_set_missing_folders(): fixed a bug that
2869 caused multiplication of special folders on startup if their
2871 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
2876 * src/compose.c: compose_reply(), compose_forward(): reverted the
2877 last change since it causes lockup problem.
2881 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
2883 compose_new_with_recipient(): workaround for initial XIM problem.
2887 * src/mainwindow.c: sort ascending / descending order can be
2888 specified with separated menu items.
2889 Added "View/Sort/Don't sort" menu item.
2890 * src/summaryview.[ch]: summary_sort(): added an argument for
2895 * implemented persistent sort order.
2897 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
2898 folder_write_list_recursive(): write sorting state.
2900 src/summaryview.[ch]: summary_show(): sort if required.
2901 select the top node on descending sort.
2902 Removed SummarySortType and sorting state variables from
2910 src/prefs_account.[ch]: enabled NNTP over SSL.
2911 * src/nntp.c: nntp_group(): issue MODE READER command and retry
2912 when GROUP command once failed (this seems to avoid problems on
2913 some broken news servers).
2917 * faq/it/*.html: corrected DOS linebreaks.
2918 * faq/*/*.html: changed ">" to ".
2922 * src/prefs_account.c: prefs_account_protocol_activated(): hide
2923 unnecessary frames in SSL tab.
2929 src/prefs_account.[ch]: enabled STLS command in POP3.
2930 * src/account.c: account_clist_set_row(): display TLS setting.
2934 * src/compose.c: compose_send_later_cb(): support redirect function.
2937 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
2939 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
2943 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
2944 * src/compose.c: compose_create(): removed unrequired lines.
2948 * src/news.c: news_scan_group(): fixed a bug that set the wrong
2949 values in some cases.
2950 * src/prefs_account.c: corrected English in Advanced - Folder
2955 * src/textview.c: textview_show_message(), textview_show_part():
2956 fixed a bug that GtkSText *text pointed the incorrect object.
2957 textview_add_part(): freeze GtkSText while adding RFC822 headers.
2958 textview_show_part(): fixed a bug that couldn't display single
2959 part MIME message as text.
2963 * src/compose.c: compose_redirect_write_to_file(): correct the target
2964 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
2965 incomplete file when an error occured.
2970 compose_create(): disable menus for draft on redirection mode.
2971 compose_redirect_write_to_file(): correct the error handling of
2973 * src/prefs_common.c: turned off the "Display recipient on `From'
2974 column if sender is yourself" option by default.
2978 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
2979 Based on the implementation of the claws branch.
2980 compose_redirect(): create a new window and make it uneditable.
2981 compose_redirect_write_to_file(): copy headers and body of
2982 original message except for some.
2983 compose_redirect_write_headers(): add extra "Resent-*" headers.
2984 compose_create(): set menu sensitivity for redirection mode.
2988 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
2989 space is inserted between encoded string and the following folded
2990 one (thanks to Masahiro Tomita).
2994 * src/mainwindow.[ch]: some refactoring has been made.
2995 main_window_toggle_message_view(): moved summary_toggle_view_real()
2997 * src/messageview.[ch]: messageview_is_visible(): new.
2998 * src/summary_search.c
2999 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
3000 Instead use messageview_is_visible().
3004 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
3005 * src/summaryview.[ch]:
3006 summary_expand_threads(), summary_collapse_threads(): new.
3010 * src/mainwindow.c: Fixed the behavior of
3011 '/View/Show or hide/Folder tree' and
3012 '/View/Show or hide/Message view' toggle menu.
3013 Removed '/View/Toggle summary view' menu and integrated the
3014 function into '/View/Show or hide/Message view'.
3015 main_window_set_widgets(): change the state of toggle menu items.
3016 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
3021 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
3022 MIME contents other than text as children of message/rfc822 part.
3024 procmime_mimeinfo_next(): modified for message/rfc822 part which
3025 content-type is single part MIME.
3026 procmime_scan_multipart_message(): fix for nested message/rfc822
3027 part. Corrected the size of the contents of message/rfc822.
3028 * src/textview.c: textview_show_part(): extract the contents of
3029 multipart/* and message/rfc822. Some code cleanups.
3030 textview_add_parts(): new. It adds the all parts under a part to
3032 textview_clear(): reset body_pos and cur_pos.
3036 * src/addr_compl.c: modified so that it behaves better.
3037 get_address_from_edit(): ignore comma inside of brackets.
3038 completion_window_apply_selection(): new. Only apply the current
3040 completion_window_accept_selection(): removed.
3041 address_completion_complete_address_in_entry(): minor code cleanup.
3042 don't replace address in entry here.
3043 completion_window_select_row(): always apply clist selection to
3045 completion_window_key_press(): don't apply selection here.
3049 * src/imap.c: imap_create_folder(): keep trailing directory separator
3050 to create a folder that contains sub folder.
3054 * src/foldersel.c: sort tree with case insensitive.
3055 * src/mainwindow.c: allsel_cb()
3056 src/messageview.c: messageview_select_all(): fixed 'Select all'
3058 * src/mainwindow.c: removed common and account prefs button from
3063 * src/compose.c: compose_account_option_menu_create(): check if
3072 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
3073 manual/en/*: updated the English manual.
3075 faq/it/*: added German and Italian FAQ.
3078 faq/fr/*: updated FAQs.
3080 src/mainwindow.c: added German and Italian language.
3084 * src/prefs_account.c: turn off "receive at get all" option by default
3085 when creating an IMAP or News account.
3089 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
3090 * src/prefs_folder_item.c: show also identifier path.
3091 Made layout using table. Show uneditable entry using background
3093 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
3098 * src/automaton.[ch]: added UI callback to Automaton.
3100 src/pop.c: use callback instead of calling inc_progress_update()
3102 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
3107 * src/folderview.c: properly sort abbreviated newsgroups.
3112 src/prefs_common.[ch]
3113 src/summaryview.c: added an option to specify the minimum length
3114 for abbreviated newsgroups name.
3118 * src/folderview.c: folderview_check_new(): skip unselectable folders.
3119 * src/summaryview.c: added 'Create filter rule' to the context menu.
3120 * src/imap.c: some code cleanups.
3121 imap_scan_tree_recursive(): get path separator for each calls.
3122 imap_get_path_separator(): new.
3126 * src/imap.[ch]: supported namespace for others/shared folders
3128 imap_parse_namespace(): parse also others/shared namespace.
3129 imap_find_namespace(): search also others/shared namespace.
3131 strchr_parenthesis_close(): return pointer to closing parenthesis.
3132 strsplit_parenthesis(): split parenthetic list into array of
3137 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
3138 parse date string like "Mon,6 May 2002 20:31:12 +0800".
3139 procheader_scan_date_string(): new. Separated string scanning
3140 part from procheader_date_parse().
3144 * src/summary_search.c: summary_search_execute(): unlock while
3145 selecting summary row (thanks to Martin Schaaf).
3146 * src/summaryview.c: summary_set_column_titles(): reversed the
3147 direction of the arrow so that it matches with Win/Mac style.
3151 * src/compose.c: compose_write_headers(): quote self address name
3152 if required. Some code cleanups. Don't override Newsgroups and
3153 Cc with custom headers.
3154 * src/imap.c: imap_add_msg(): return UID for appended message.
3155 * src/compose.c: compose_queue(): check if queue folder exists.
3156 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
3158 imap_open(): removed an unrequired argument.
3162 * src/utils.[ch]: trim_string(): new. It trim characters longer than
3163 the specified length and adds "...".
3164 * src/folderview.c: trim folder name when displaying dialog.
3168 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
3170 * src/folderview.c: folderview_select()
3171 src/summary_search.c: summary_search_execute(): lock summary view
3172 while searching (thanks to Martin Schaaf).
3180 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
3184 * src/summaryview.c: summary_show(): fixed a bug that didn't process
3186 * src/account.c: account_edit_prefs(): fixed a crash bug when account
3188 * src/prefs_account.c: prefs_account_apply(): display error dialog
3189 if account name is empty.
3190 * src/imap.c: changed some log_print() to debug_print() to reduce
3195 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
3199 mh_do_move_msgs_with_dest()
3201 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
3202 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
3203 if stat() succeeded.
3205 imap_fetch_msg(): SELECT mailbox before FETCH if required.
3206 imap_scan_folder(): set last_num using the value of UIDNEXT.
3207 imap_select(): return immediately if there is no need for SELECT.
3208 preserve the path of currently selected mailbox.
3209 imap_status(): added UIDNEXT.
3213 * src/folder.c: folder_item_scan(): removed the warning.
3214 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
3215 setting case sensitivity.
3219 * src/mainwindow.c: main_window_create(): restrict the minimum size.
3223 * src/compose.c: merged the new line-wrapping routine.
3224 join_next_line(): fixed a bug that didn't join multibyte
3226 get_indent_length(): modified enums and variable names.
3227 INDENT_CHARS: don't indent ':'.
3229 folderview_rename_folder_cb()
3230 folderview_delete_folder_cb(): support folder identifier.
3231 folderview_rm_imap_folder_cb(): integrated with
3232 folderview_delete_folder_cb().
3236 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
3237 * src/folderview.c: folderview_check_new(): abort checking if
3238 folder_item_scan() failed.
3242 * src/imap.c: imap_create_missing_folders(): create only INBOX and
3244 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
3245 type of news folders unchangeable.
3246 prefs_folder_item_destroy(): use prefs_dialog_destroy().
3247 * src/prefs.[ch]: prefs_dialog_destroy(): new.
3251 * src/prefs_account.[ch]: added special folder setting to Advanced
3252 tab. Also moved "IMAP server directory" setting to there.
3253 * src/account.[ch]: account_get_special_folder(): new. It returns
3254 the optimal special folder for accounts.
3255 * src/compose.c: use account_get_special_folder().
3256 * src/prefs_folder_item.[ch]: new. Implemented folder property
3257 dialog, and the special folder settings (most of the functions in
3258 claws are not integrated yet, and the structure is slightly
3260 * src/folderview.c: enabled Property menu.
3264 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
3265 scanning when encountering separators ',' and ';'.
3269 * src/mainwindow.c: reorderd the menu a bit.
3270 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
3271 compose_reply_set_entry(): made 'Reply to sender' work for
3276 * src/compose.c: compose_create(): set geometry hints to restrict
3277 the maximum size of window.
3278 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
3279 imap_get_uncached_messages()
3280 imap_cmd_fetch(): ignore responses which don't include FETCH.
3284 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
3285 the clause for OpenSSL).
3289 * src/prefs_account.c
3290 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
3296 src/session.[ch]: first reorganization of SMTP protocol handling.
3297 SMTPSession: new class which is a sub class of Session.
3298 smtp_session_new(): moved send_smtp_open() into this function.
3299 smtp_from(): moved SMTP AUTH calls into smtp_auth().
3300 smtp_auth(): use server response for SMTP AUTH method.
3301 smtp_ehlo(): read server response and set auth type flags.
3302 smtp_helo(): separated EHLO command.
3303 smtp_ok(): return the last server response if the buffer is
3305 * src/esmtp.[ch]: merged into smtp.[ch].
3306 * src/imap.c: imap_session_destroy_all(): use session_destroy().
3310 * src/imap.c: imap_open(): show warning message if IMAP4 session
3311 can't be established.
3315 * src/compose.c: made template able to be inserted into the current
3317 * src/mainwindow.c: moved some menu items under the submenu
3318 '/View/Show or hide'.
3323 src/inc.c: changed folder_find_item_from_path() to
3324 folder_find_item_from_identifier().
3326 src/prefs_filter.c: use folder_item_get_identifier() to specify
3331 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
3332 existed in claws' implementation).
3333 folder_find_from_name(): find Folder from name and type.
3334 folder_get_identifier(): return Folder id.
3335 folder_item_get_identifier(): return FolderItem id.
3336 folder_find_item_from_identifier(): find FolderItem from id.
3337 folder_get_type_string(): return folder type string.
3338 folder_get_type_from_string(): return FolderType from string
3339 (and fixed the wrong g_strcasecmp() usage).
3341 src/import.c: use folder_item_get_identifier() and
3342 folder_find_item_from_identifier().
3346 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
3347 point the correct address after reading the continuous line.
3348 imap_scan_folder(): set new number to 0 if unseen number is 0.
3349 imap_parse_flags(): don't add new and unread flag if \Seen flag
3351 * ac/Makefile.am: removed gpgme.m4 from MACROS.
3355 * fixed the old problem that couldn't add flags to currently opened
3358 compose_send(): update outbox after saving.
3360 compose_draft_cb(): use procmsg_add_flags().
3361 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
3363 * src/main.c: send_queue(): send from all queue folders.
3364 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
3366 procmsg_flush_mark_queue(): new. Write all queued flags into file.
3367 procmsg_add_flags(): new. Add specified flags to the folder.
3368 procmsg_send_queue(): added an argument to specify queue folder.
3369 procmsg_save_to_outbox(): use procmsg_add_flags().
3370 * src/summaryview.c:
3371 summary_show(): up the opened flag of FolderItem.
3372 summary_clear_list(): down the opened flag of FolderItem.
3373 summary_write_cache(): call procmsg_flush_mark_queue().
3377 * src/summaryview.[ch]: trim the tail of folder name and selected
3378 number on the status label if the space is not enough.
3382 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
3383 set SpecialFolderItemType when creating special folders under
3385 * ac/gpgme.m4: removed.
3387 * ac/missing/gdk-pixbuf.m4
3388 ac/missing/gettext.m4
3390 ac/missing/imlib.m4: added for convenience.
3394 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
3395 shown after the decoded challenge string. Fixed a memory leak.
3397 * src/compose.c: compose_draft_cb(): mark draft messages as read.
3398 * src/folderview.c: folderview_update_node(): disable emphasis
3399 for Outbox and Draft folders.
3403 * src/messageview.c: messageview_show(): fixed a memory leak.
3404 * src/summaryview.c: summary_save_as(): show error dialog if copy
3406 * src/about.c: about_show(): make the window active if it is already
3411 * src/compose.c: show confirmation dialog before sending if Subject
3413 compose_check_entries(): new.
3415 compose_send_later_cb(): use compose_check_entries().
3416 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
3420 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
3421 responses with continuous line correctly, and fixed a memory leak.
3425 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
3427 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
3428 after pasting with middle button to prevent the selection growth.
3433 folderview_rename_folder_cb()
3434 folderview_delete_folder_cb(): modify filter rules only if the
3435 target folder is in the default mailbox.
3436 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
3443 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
3444 Moved 'Delete duplicated messages' under 'Tools'.
3448 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
3450 * src/imap.c: imap_create_special_folder(): fixed a crash bug
3451 when folder creation failed, and re-try to create folders under
3453 imap_scan_tree_recursive(): don't automatically add namespace
3454 prefix if it's INBOX. Search also under the INBOX for special
3456 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
3461 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
3462 abbreviated newsgroup name.
3463 * src/folderview.c: folderview_update_node(): display newsgroups
3464 with abbreviated name if name and path is the same.
3465 * src/summaryview.c: summary_status_show(): show the newsgroup with
3471 src/folderview.c: changed the label 'Draft' to 'Drafts'.
3472 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
3473 imap_create_missing_folders(): fixed the wrong assignment of
3474 Queue folder to draft.
3478 * enabled Sent / Draft / Queue folders on IMAP server.
3479 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
3480 queue and draft folder if they exist.
3482 imap_create_trash(): removed.
3483 imap_create_special_folder(): new. Generalized imap_create_trash().
3484 imap_create_missing_folders(): automatically create missing folders.
3485 imap_is_msg_changed(): added the dummy method.
3486 imap_scan_tree_recursive(): search also Sent, Draft and Queue
3487 folders. Minor code cleanups.
3488 imap_parse_envelope(): check for null strings.
3489 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
3490 for messages on IMAP folder.
3494 * src/compose.c: compose_send(): use account's outbox folder
3496 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
3497 that the outbox can be specified.
3501 * src/compose.c: don't save to outbox when messages are queued.
3502 compose_save_to_outbox(): moved to procmsg.c.
3503 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
3505 procmsg_save_to_outbox(): new. Removes the queueing headers if
3506 needed, and adds the given file to the outbox.
3510 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
3511 get_indent_length(): treat ':' and '#' also as quote char, and
3512 cleaned up using strchr().
3516 * src/mainwindow.c: modified some menu items.
3520 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
3521 (current "outbox" will be kept until rescan).
3522 * src/folder.c: folder_set_missing_folders(): create the missing
3525 src/folderview.c: changed 'Outbox' to 'Sent'.
3526 * src/main.c: call folder_set_missing_folders().
3527 * src/mh.c: mh_scan_tree(): create missing folders.
3528 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
3529 didn't set the menu sensitivity correctly.
3534 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
3535 folderview_rename_folder_cb(): reopen the current folder when
3536 the ancestor is renamed.
3537 imap_rename_folder(): new method implementation.
3539 imap_rename_folder_func(): new.
3540 imap_remove_folder(): remove also the cache directory.
3544 * src/imap.c: implemented locale encoding <-> modified utf-7
3545 conversion, and supported i18n of folder name (thanks to Suzuki
3547 imap_path_separator_subst(): handle the escape characters of
3549 imap_modified_utf7_to_locale()
3550 imap_locale_to_modified_utf7(): new.
3551 imap_create_trash(): modified so that it create the Trash folder
3552 to the correct location when imap directory is specified.
3553 imap_get_real_path(): removed debug print.
3557 * src/socket.c: implemented timeout for DNS lookup and connect().
3558 sock_connect_by_hostname(): timeout support and code cleanup.
3559 sock_connect_with_timeout(): new.
3560 sock_peek(): implemented SSL peek.
3564 * src/messageview.c: messageview_show(): display single-part
3565 text/html messages with the normal text view.
3579 src/prefs_customheader.c
3580 src/prefs_display_header.c
3595 src/xml.c: added 'b' to the option of all fopen().
3603 * src/ssl.[ch]: match its coding style.
3604 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
3608 faq/en/sylpheed-faq*.html
3610 faq/es/sylpheed-faq*.html
3612 faq/fr/sylpheed-faq*.html
3618 src/manual.[ch]: added FAQs in English, Spanish and French.
3622 * manual/en/sylpheed*.html: updated to the latest version.
3627 src/mgutils.c: include string.h to remove warning about strlen()
3641 src/summaryview.c: added break to the last label of switch to
3642 prevent the 'deprecated use of label at end of compound statement'
3644 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
3648 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
3650 inc_cancel_all(): new. It cancels the all current incorporation.
3651 * src/mainwindow.c: added 'Cancel receiving' menu.
3652 * src/textview.c: a minor fix for single-part MIME messages, and
3653 a bit of cleanup for textview_write_body().
3657 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
3658 information if any errors occured before issuing UIDL command.
3659 src/inc.h: added uidl_is_valid to Pop3State.
3660 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
3668 * src/mimeview.c: mimeview_create(): set the initial notebook page
3670 * src/folderview.c: folderview_selected(): scroll the view if the
3671 selected row is hidden.
3672 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
3673 and select the added row.
3674 * src/summaryview.c: fix threading for null message ids.
3678 * src/textview.c: textview_show_message(): follow message/rfc822
3680 textview_add_part(): add a caption before the attached text files.
3681 textview_show_header(): don't add the newline.
3682 * src/messageview.c: enabled message search also in MIME mode.
3686 * src/messageview.c: messageview_show(): set header state of
3687 MimeView's TextView, too.
3688 * src/mimeview.c: mimeview_show_message(): call
3689 textview_show_message() to display message.
3690 * src/textview.c: textview_add_part(): new. It adds the content
3691 of message part without clearing the view.
3692 textview_show_message(): display all parts with appropriate
3694 textview_write_body(): separated from textview_show_part().
3699 src/prefs_common.c: added ISO-8859-15 to the codesets for
3700 displaying and sending.
3701 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
3702 conversion failed, and made caller deal with it.
3703 * src/compose.c: compose_write_to_file(): show error dialog when
3704 code conversion failed, and let user select whether to send it
3706 * src/textview.c: textview_write_line(): show the original string
3707 if code conversion failed.
3711 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
3712 if copy_mbox() failed (thanks to Alexander Kabaev).
3713 * src/prefs_account.[ch]: added separate user ID / password setting
3715 * src/send.c: send_message_smtp(): use separate user ID / password
3716 for SMTP AUTH if it is specified.
3721 src/pop.[ch]: refactored the UIDL management.
3722 store the information of messages into the array of Pop3MsgInfo
3723 structure, and do full scanning of not retrieved messages.
3729 src/mainwindow.c: set WMCLASS for window/dialog.
3730 * src/codeconv.c: conv_codeset_strdup(): return source string
3731 when jconv_alloc_conv() failed.
3735 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
3742 src/summaryview.c: implemented the new notebook tab interface for
3744 * src/textview.[ch]: fixed line space related glitches.
3748 * src/prefs_filter.c:
3749 prefs_filter_rename_path()
3750 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
3754 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
3755 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
3757 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
3758 cancelled, and fixed potential crash bug.
3759 * src/grouplistdialog.c: enabled cancelling of data receiving.
3760 * src/news.c: news_get_group_list(): destroy current session if
3765 * src/manage_window.[ch]: fixed a bug that caused crash when
3766 the main window was hidden.
3767 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
3768 Monitor "unmap_event", "destroy" events.
3775 src/grouplistdialog.c
3779 src/message_search.c
3783 src/prefs_customheader.c
3784 src/prefs_display_header.c
3786 src/prefs_template.c
3787 src/summary_search.c
3788 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
3789 connect signals for window management.
3793 * src/prefs_account.[ch]: added receive size limit option.
3794 * src/pop.c: skip messages larger than the limit size.
3795 LOOKUP_NEXT_MSG(): new macro.
3796 * src/compose.c: compose_attach_append(): check whether the file
3801 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
3802 changed g_message()'s to debug_print() and g_warning().
3803 rfc2015_decrypt_message(): fixed a bug that duplicated message
3804 parts when decryption was failed/cancelled. And made some code
3806 * src/passphrase.c: made the dialog transient.
3807 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
3812 src/procmsg.[ch]: fixed a bug that failed to parse multipart
3813 messages if GPGME was enabled.
3814 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
3816 * src/prefs_account.c: prefs_account_privacy_create(): modified
3817 the vertical spacing.
3821 * src/menu.[ch]: menu_set_sensitive_all(): new.
3822 menu_set_insensitive_all(): made it a wrapper for
3823 menu_set_sensitive_all().
3824 * src/prefs_account.c:
3825 prefs_account_open()
3826 prefs_account_protocol_set_optmenu(): made the protocol type
3827 unchangeable after creating an account.
3828 * src/compose.c: compose_attach_parts(): traverse MIME tree to
3829 extract all attathed files from nested multipart MIME message.
3833 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
3834 obtain minimum/maximum number, and to specify first number
3837 src/inc.c: enabled new message checking on news folder.
3838 * src/news.c: news_scan_group(): implemented. Guess new/unread
3839 message number from the response of GROUP command and the mark
3841 news_select_group(): return the total/first/last number.
3842 * src/prefs_account.c: prefs_account_receive_create(): modified
3843 the text of the 'Get all' check button.
3847 * src/account.c: made 'Get all' checkbox available for IMAP4 and
3849 * src/inc.c: corrected the argument of folderview_check_new().
3850 * src/prefs_account.c: modification for the "`Get all' checks for
3851 new mail on this account" checkbox.
3855 * src/folderview.[ch]:
3856 folderview_rescan_tree(), folderview_rescan_all(): renamed from
3857 folderview_update_tree() and folderview_update_all().
3858 folderview_update_all_node(): removed.
3859 folderview_check_new(): new. If the argument is NULL, it checks
3860 all local folders. If the arguments is specified, it checks
3861 the (local and remote) folder.
3864 inc_all_account_mail(): check also IMAP4 account.
3869 folderview_rename_folder_cb()
3870 folderview_delete_folder_cb(): modify the filter rules when folder
3872 * src/prefs_filter.[ch]:
3873 prefs_filter_rename_path(): new. It renames the destination paths
3875 prefs_filter_delete_path(): new. It deletes the filter rules if
3876 the destination paths matched.
3877 * thanks to Neill Miller for above.
3881 * src/compose.c: inherit attached files when forwarding or reediting
3882 (rewrote the code in claws branch).
3883 compose_attach_parts(): new. It extracts and attaches the files
3884 in the given message.
3885 compose_attach_append(): chnaged the types of arguments.
3886 * src/messageview.c: messageview_show(): moved the GPG decryption
3888 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
3896 * src/summary_search(): summary_search_execute(): scroll the view
3897 when message view is hidden.
3901 * src/foldersel.c: foldersel_set_tree(): made different type of
3902 folders selectable in moving mode.
3903 * src/folderview.[ch]: folderview_update_msg_num(): compare the
3904 numbers with the CTree's labels, and don't update folder_item here.
3905 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
3906 implemented moving between different type of folders.
3907 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
3908 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
3909 mh_move_msg() and mh_move_msgs_with_dest()).
3910 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
3911 moving between different type of folders.
3912 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
3913 * src/summaryview.c: summary_status_show(): update folder_item
3915 * po/POTFILES.in: removed reference to headerwindow.c.
3916 * src/summaryview.c: summary_step(): fixed the behavior on the
3917 head and tail of the list.
3921 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
3922 all header' toggle state from the property of the TextView.
3923 * src/summaryview.[ch]: made 'All header' toggle switch.
3924 Prohibited unnecessary menu update.
3925 summary_select_node(): added the argument 'do_refresh'.
3930 * src/utils.c: strsplit_with_quote(): remove quotation characters
3931 in the function (fix composer's external editor problem) (thanks
3932 to Stefaan A Eeckels).
3933 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
3934 main_window_menu_callback_block()
3935 main_window_menu_callback_unblock(): new.
3936 main_window_set_menu_sensitive(): set the toggle status of
3938 show_all_header_cb(): read the status of toggle menu item.
3939 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
3940 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
3945 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
3946 the path separator (thanks to Sergey Vlasov).
3947 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
3948 if the length of selection is zero.
3949 Fixed the assertion.
3950 * src/utils.c: str_open_as_stream(): return immediately if
3951 the length of str is zero.
3952 * src/headerwindow.[ch]: removed.
3954 src/inc.c: removed stale thread support codes.
3958 * src/procmsg.c: procmsg_open_message(): modified so that it
3959 returns the stream of decrypted message file if it exists
3960 (this fixes the failure of gpg decryption in messageview.c).
3970 src/prefs_template.c
3972 src/quote_fmt_parse.y
3974 src/utils.[ch]: if the part of the message text is selected, use
3975 it for quoted text instead of the entire message body (thanks to
3977 src/utils.[ch]: str_open_as_stream(): new. It returns an
3978 temporary stream for the given string.
3979 * src/main.c: added "--send" command line option.
3980 * src/compose.c: compose_reply_set_entry(): add From address to
3981 Cc if Reply-To and to_all are both specified.
3982 * Makefile.am: correct the Source: line in the RPM spec file in
3987 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
3989 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
3990 that specifies the folder selection type.
4001 src/prefs_customheader.c
4003 src/summaryview.c: made it compile with C compilers other than gcc
4004 (thanks to Shawn Houston).
4008 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
4010 * src/prefs_common.c: made the key binding setting separate dialog.
4011 * src/addressbook.c: addressbook_format_address(): add "" around
4012 the display name if it contains comma (thanks to Satoshi Watanabe).
4013 * src/addr_compl.c: get_complete_address(): add "" around the
4014 display name if it contains comma.
4015 get_address_from_edit(): handle the quotation character correctly.
4016 * src/addr_compl.c: get_complete_address()
4017 src/addressbook.c: addressbook_format_address(): fixed a bug that
4018 caused wrong text processing if the display name is empty.
4023 * src/compose.c: compose_exec_ext_editor_real(): replaced
4024 g_strsplit() with strsplit_with_quote().
4026 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
4028 folderview_drag_motion_cb()
4029 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
4030 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
4034 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
4035 of the message is different from the current mailbox.
4036 Return the correct value.
4037 imap_cmd_append(): properly implemented the APPEND command.
4042 src/messageview.[ch]
4043 src/summaryview.[ch]
4044 src/textview.[ch]: show all headers in the message view, and don't
4045 use the header window anymore.
4047 src/prefs_common.c: changed the default shortcut of 'compose new
4050 src/summaryview.[ch]: summary_display_msg_selected(): new.
4051 Show the selected message if 'Show all header' is selected.
4053 src/sourcewindow.c: changed some procmsg_get_message_file_path()
4054 to procmsg_get_message_file() to be sure the message is
4056 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
4057 any folder to MH folder.
4058 folderview_drag_received_cb(): copy messages instead of moving
4059 if the source folder is news or IMAP.
4061 src/summaryview.c: allow copy from news folder.
4065 * src/prefs_common.c: prefs_other_create(): modified the design
4066 of the external command settings.
4067 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
4068 preset closer to the original.
4069 Added Mutt keybind preset.
4070 Also change the compose keybinds.
4071 * src/compose.c: modified some menu shortcuts.
4072 * src/codeconv.c: modified the locale_table for Thai encoding.
4076 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
4077 * src/prefs_common.c: prefs_interface_create(): modified the
4078 description for menu shortcut.
4082 * src/gtkutils.[ch]: added gtk_stext_clear().
4085 src/summaryview.[ch]: enabled multiple forwarding.
4086 * src/summaryview.c:
4087 summary_set_marks_selected(): set marks for all selected row.
4088 summary_reply(): moved from summary_reply_cb().
4089 * compose.[ch]: compose_forward(): modified so that it receives
4091 * src/mainwindow.c: cleanup for reply processing.
4092 * src/summaryview.c: summary_reply(): fixed a memory leak.
4093 summary_key_pressed(): removed hardcoded mark / mark as unread
4096 src/prefs_common.c: added mark / mark as unread shortcuts to
4101 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
4102 if prefs_common.linewrap_quote is not set (it is only for
4103 auto-wrapping on reply).
4104 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
4105 when creating a new account.
4106 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
4108 * src/prefs_common.c: prefs_interface_create(): modified the
4109 description of key binds selector.
4113 * src/mimeview.c: fixed multiple dialog / moving by correcting
4114 button / key event processing.
4116 src/textview.c: pass some key press events to MimeView in MIME
4118 * src/prefs_filter.c: fixed a bug that didn't set the order of
4120 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
4121 empty_menurc string.
4126 src/prefs_common.c: reorganized the menu shortcuts.
4127 Added 'View - Toggle summary view'.
4128 * src/summaryview.[ch]: summary_toggle_view(): made it public
4130 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
4132 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
4133 closing the dialog with window manager (in more appropriate way).
4134 * src/imageview.[ch]
4136 src/mimeview.c: fixed wrong scrolling position when switching
4137 between text and image parts. Also free the unrequired image
4138 (thanks to Sergey Vlasov).
4139 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
4144 * src/prefs_common.c: implemented shortcut quick changer.
4145 * src/folderview.c: folderview_key_pressed()
4146 src/summaryview.c: summary_key_pressed(): removed some hardcoded
4152 procmime_get_mime_type()
4153 procmime_get_mime_type_table(): made the MIME type search case
4156 gtk_stext_delete_line(): delete newline on empty line.
4157 gtk_stext_delete_to_line_end(): delete newline if cursor is on
4159 (thanks to Yasuzaki Masayoshi.)
4164 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
4165 and made them customizable.
4166 * src/utils.[ch]: added get_file_size_as_crlf() which returns
4167 the file size when converting LF to CR+LF.
4171 * src/compose.c: enabled 'Ctrl-Enter' or
4172 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
4174 * src/gtkstext.c: disabled some Emacs key bindings.
4175 gtk_stext_key_press(): don't extend selection when Shift-Enter
4176 is pressed to prevent the disapperance of cursor.
4177 * src/summaryview.c: summary_select_next_unread(): added the button
4178 to search unread message again from the beginning to the dialog.
4179 * src/folderview.c: folderview_key_pressed(): go to next unread
4180 folder if space key is pressed on the empty folder.
4181 Move CTree focus before selecting row.
4185 * src/defs.h: modified the XLFD of default fonts.
4186 * src/textview.c: textview_create(): fixed a bug that caused
4187 segfault if font couldn't be loaded.
4189 src/grouplistdialog.c: compare subscribed groups with path.
4190 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
4194 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
4195 when URL is wider than wrapping margin.
4197 src/prefs_filter.[ch]
4198 src/summaryview.[ch]: added "Create filter rule" function based
4199 on the patch from Luca Rosellini.
4200 * src/summaryview.c: summary_filter_open(): added X-List and
4201 X-Mailing-list to the automatically detected headers.
4205 * configure.in: support Mac OS X (Darwin).
4209 * src/prefs_filter.c: use inc_(un)lock() instead of
4210 inc_autocheck_timer_{remove|set}().
4211 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
4212 instead of gtk_ctree_sort_node() so that messages within threads
4214 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
4215 target of sizeof was wrong and caused crash on Alpha architecture
4216 (thanks to Motonobu Ichimura).
4221 foldersel_gnode_func(): made the names of special folders
4223 foldersel_set_tree(): move the special folder to the top.
4224 * src/inputdialog.[ch]: input_dialog_query_password(): new.
4228 src/send.c: use input_dialog_query_password() instead of their
4229 own query functions.
4233 * src/defs.h: modified the default font.
4237 src/news.[ch]: moved the class definition and some methods to
4238 the proper location.
4242 * src/mimeview.c: mimeview_save_as()
4243 src/summaryview.c: summary_save_as(): put the default filename
4244 based on the subject.
4245 * src/utils.[ch]: added subst_chars() and subst_for_filename()
4246 which substitute some special characters with underscore.
4247 * src/filesel.c: filesel_select_file(): select the default filename.
4252 INSTALL.jp: added the description and the URL for libjconv.
4253 * src/mainwindow.c: menu entries cleanup.
4259 src/about.c: modified the copyright year.
4260 * src/gtkstext.h: added the notice for modification by the Sylpheed
4266 INSTALL.jp: added the URL for compface.
4274 * src/headerwindow.c
4277 src/sourcewindow.c: set wmclass when creating windows.
4281 * src/compose.c: compose_wrap_line_all(): fixed the bug that
4282 caused infinite loop when wrapping certain patterns of quoted text.
4286 * src/imap.c: imap_parse_envelope(): put the assertion after
4287 imap_parse_address() to prevent segmentation fault.
4292 src/mainwindow.c: modified some labels of menu items.
4293 * src/ldif.c: put the return value of fgetc() in a gint.
4294 * src/importldif.c: don't brace null strings with _().
4295 * src/compose.c: moved the position of Subject entry to the last.
4296 Reorganized the menu.
4297 compose_draft_cb(): added 'keep editing after saving to draft'
4302 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
4303 menu. Moved 'Help' menu to just the right of 'Configuration'.
4304 Removed 'File - Close' menu item.
4308 * src/mainwindow.c: some menu reorganization.
4309 * AUTHORS: updated. Added more contributors.
4310 * src/account.c: account_row_moved(): new. Moves displayed row to
4311 the appropriate position when up / down button are pressed.
4312 account_clist_set(): move displayed row to the appropriate position.
4314 src/mainwindow.c: set title and wmclass when creating windows.
4318 * src/gtkstext.c: fixed a bug that didn't show block cursor
4319 correctly. Removed unnecessary GdkGC copy. Fixed cursor
4324 src/undo.c: modified to use GtkSText.
4325 * src/menu.h: added #include <gtk/gtkmenu.h>.
4330 configure.in: added XIM checking for GTK+.
4331 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
4335 * src/filter.c: added #include <sys/types.h>.
4339 * src/template.c: template_write_config(): fixed a typo.
4340 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
4342 src/prefs_filter.c: supported regular expression (thanks to
4344 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
4345 undo state when pasted clipboard was empty.
4346 undo_check_size(): use g_list_last().
4348 undo_redo(): fixed NULL checking and made a bit of optimization.
4350 * src/prefs_common.c: changed the default value of linewrap length
4355 * reorganization of pixmap management.
4356 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
4357 * modified every files which directly use pixmaps data to use
4359 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
4360 undo_set_change_state_func(), and changed its argument from
4361 GtkWidget* to gpointer.
4362 undo_merge(): code cleanup.
4363 * src/compose.c: renamed compose_set_undo() to
4364 compose_undo_state_changed().
4368 * src/account.c: account_find_from_address(): made it case
4370 * src/addressbook.c: addressbook_create(): set wmclass.
4371 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
4374 src/ldif.[ch]: merged from the claws branch.
4375 * src/importldif.c: removed some warnings.
4376 imp_ldif_field_list_toggle(): fixed button checking.
4377 imp_ldif_dialog_create(): minor layout fix.
4378 * src/ldif.c: removed some warnings.
4380 INSTALL.jp: updated confirmation list.
4383 vcard_test_read_file(): fixed a memory leak of tagtemp.
4384 Some code cleanups (decreasing the indent level).
4387 src/syldap.[ch]: disabled runtime library checking because JPilot
4388 and LDAP libraries are linked on the build time, and the program
4389 doesn't execute without them anyway.
4391 src/addrindex.c: changed "J-Pilot" to "JPilot".
4392 Removed warning for atoi().
4396 * src/procmsg.c: procmsg_empty_trash()
4397 src/mainwindow.c: main_window_empty_trash(): empty trash only if
4398 it contains some messages.
4399 * src/imap.c: search_array_str(): new.
4400 imap_status(): fixed a bug that didn't parse the command response
4405 * merged undo function (by Jens Oberender).
4406 * src/undo.[ch]: new.
4407 undo_insert_text_cb(): fix for multibyte characters (obtain the
4408 number of letters instead of bytes).
4409 * src/compose.[ch]: added the code for undo.
4410 * src/prefs_common.[ch]: added the interface for setting undo level.
4414 * src/compose.c: compose_template_apply()
4415 src/prefs_template.c: prefs_template_clist_set_row()
4416 src/template.c: template_write_config(): don't replace To: and
4417 Subject: entry in composition window if they are empty.
4425 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
4426 * src/ldif.c: ldif_get_line(): ignore CR.
4427 * src/mimeview.c: mimeview_show_message(): search also text/html
4428 for first text part.
4432 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
4433 that didn't update accountrc if account_list == NULL (thanks to
4438 * src/utils.h: added the macro Xstrcat_a() that concatenates
4439 two strings and return alloca'd string.
4440 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
4441 handle folder name which includes some spaces correctly
4442 (based on the patch from Willem van Engen (thanks!)).
4443 * src/compose.c: compose_wrap_line_all(): fixed the crash when
4444 wrapping long lines if linewrap quotation is disabled and
4445 a word spanning more than one line.
4449 * applied the Tobias' patch with modification (thanks!).
4451 imap_msg_set_perm_flags()
4452 imap_msg_unset_perm_flags(): new. They set permanent flags to
4455 src/summaryview.c: set flags on IMAP server when flags are changed.
4459 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
4460 of gtk_container_remove() for workaround of a bug in
4461 Gtk{Text,Entry} (thanks to Sergey Vlasov).
4467 src/textview.c: replaced gtk_container_remove() with
4468 gtkut_container_remove(), and removed previous partial fix.
4472 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
4473 checked user ID on "local", but didn't on IMAP4.
4474 * src/imap.c: imap_session_get(): fixed a crash bug when
4475 rfolder->session == NULL.
4476 * Makefile.am: changed the arguments of tar from 'chojf' to
4478 * src/summaryview.c: summary_toggle_view(): disclaim the selection
4479 of textview before removing vpaned.
4483 * src/messageview.c: messageview_change_view_type(): disclaim the
4484 selection before removing textview. This solves the mysterious
4485 copy-paste disability (thanks to Melvin Hadasht).
4486 * src/textview.c: textview_set_font(): use
4487 gtk_editable_claim_selection() instead of
4488 gtk_editable_select_region().
4492 * src/prefs_template.c: prefs_template_window_create(): supported
4493 address completion on the To: entry.
4498 folder_count_total_msgs()
4499 folder_count_total_msgs_func(): use g_node_traverse() to traverse
4504 * src/compose.c: fixed a bug that empty body was refused.
4505 * src/prefs_template.c: fixed a bug that didn't set To: entry
4506 correctly. Display error dialog if format is illegal.
4507 * src/prefs_common.c
4509 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
4510 "{ }" to prevent confusion on using parenthesis.
4511 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
4515 * src/prefs_template.c: added colon to the header labels.
4520 src/prefs_template.c
4521 src/template.[ch]: added To field to the template.
4525 * src/textview.c: textview_show_part(): use first found
4526 message/rfc822 header.
4527 * src/folderview.c: added "Search messages..." to the context menu.
4528 * src/prefs_common.c: prefs_quote_description_create(): added
4529 description for characters which need to be escaped.
4533 * src/compose.c: compose_wrap_line_all(): more merging from claws.
4534 GET_CHAR(): renamed GET_TEXT() and made it more generic.
4535 Modified compose_wrap_line() and compose_wrap_line_all() to use
4537 * src/textview.c: textview_show_part(): show the header of nested
4538 RFC822 attachment correctly.
4543 src/main.c: added --status option to get new, unread and total
4544 message count from a running Sylpheed (merged from claws).
4545 prohibit_duplicate_launch(): output '\n' only once.
4550 src/gtkutils.[ch]: merged the new wrapping function.
4551 gtkut_text_str_compare_n()
4552 gtkut_text_str_compare()
4553 gtkut_text_is_uri_string(): backport from the GtkSText in the
4554 claws branch, and made modification.
4555 * src/prefs_template.c
4556 src/template.[ch]: added Subject to the template.
4560 * src/compose.c: compose_write_headers(): added missing parenthesis
4561 that generated invalid custom header (thanks to Masaaki Noro).
4562 Allow Sender: custom header.
4566 * src/procheader.c: procheader_date_parse(): workaround for
4567 RFC-incompliant Date header.
4571 * src/addrbook.c: removed redundant functions, and fixed generation
4572 of spurious address book file names.
4573 * src/addrindex.c: V-Card -> vCard.
4577 * src/textview.c: get_email_part(): replaced isalnum() with
4578 the macro IS_ASCII_ALNUM() which restricts the range of
4579 characters to 7bit ASCII (thanks to Shimamoto).
4580 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
4585 * src/textview.c: textview_show_part(): show headers on nested