3 * src/procmsg.c: procmsg_read_cache_data_str(): changed gint32 to
4 guint32 for some platforms.
5 * src/summaryview.c: restored 'Print' menu.
9 * src/about.c: modified copyright year.
17 * src/smtp.c: comply with RFC 2821 (thanks to Alfons).
21 * src/folderview.[ch]: implemented spring-loaded folder.
25 * src/folderview.c: folderview_button_pressed(): enable menu item
26 'Search messages...' only when opened folder is selected.
31 src/prefs_common.[ch]: removed the option "Queue messages that fail
36 * src/summaryview.c: cleaned up the context menu.
37 * src/mainwindow.c: changed the position of '/Message/Re-edit'
42 * src/procmsg.[ch]: fixed the type of integer value in cache data
47 * src/nntp.c: nntp_get_article(): ignore the protocol error of
48 response for some broken news servers (thanks to Davide Scola).
52 * src/gtkutils.[ch]: added gtkut_editable_disable_im().
53 * src/passphrase.c: disable XIM on entering passphrase.
60 src/prefs_display_header.c
61 src/procmsg.h: fixed for AMD64 (and other 64-bit platforms)
62 (thanks to Hiroyuki Ikezoe).
66 * src/inc.[ch]: don't use gtk_timeout_add(), instead use
67 gettimeofday() (to prevent infrequent lockup).
72 src/inc.[ch]: changed the method of updating the progress dialog
73 to reduce the overhead on a fast network.
77 * src/nntp.c: nntp_session_new(): attempt to authenticate at the
78 beginning of a session (thanks to Shiino Yuki and IWAMOTO, Kouichi).
80 src/nntp.c: destroy session when socket error occurred.
85 src/summaryview.[ch]: added a function to filter selected
91 src/prefs_filter.c: rewrote the filtering system (the UI is not
96 * src/filter.c: fixed the matching algorithm of "not contain" flag
97 (also match if a header not exist, and handle same multiple
99 * src/imageview.c: get_resized_size(): fixed a typo that caused
105 src/mh.c: only update FolderItem::last_num when removing the last
106 number of message in MH folders, and don't scan in other case
107 (fixes wrong message count on moving).
112 src/summaryview.c: always move messages by default when using DnD
113 (except for News folder). Copy messages if Ctrl-key is pressed.
114 * src/mainwindow.c: main_window_empty_trash()
115 src/summaryview.c: summary_execute(): added missing
124 * src/prefs_common.c: made the default of "inc_local" FALSE.
129 src/folderview.c: toggle online mode when checking IMAP4 accounts.
130 Pop status bar after that.
131 * src/inc.c: code cleanup.
132 * src/mainwindow.[ch]: added main_window_get() and
133 main_window_toggle_online_if_offline().
134 * src/prefs_common.c: prefs_common_read_config(): fixed a bug that
135 made it offline mode on first execution.
139 * src/imageview.c: enabled automatic resize on window resize.
140 restrict the minimum size to 16 pixels to prevent crash.
141 imageview_init(): don't cache images when using imlib.
142 imageview_show_image(): fixed memory leak.
143 * src/mimeview.c: mimeview_init(): call imageview_init().
147 * src/codeconv.[ch]: added ISO-2022-JP-3 encoding.
153 src/messageview.c: added KOI8-U encoding.
154 * src/prefs_common.c: prefs_message_create(): modified the string
155 of resizing image option.
159 * src/addressbook.c: addressbook_list_selected(): corrected its
161 * src/imageview.[ch]: keep original image data in ImageView, and
162 enabled the toggle of resizing.
163 * src/messageview.[ch]
164 src/mimeview.[ch]: handle ImageView in MimeView instead of
171 src/summaryview.c: removed statusbar_pop_all() from imap.c and
172 news.c (do it in summaryview.c).
177 src/pop.[ch]: made inc_drop_message() the virtual function of
178 Pop3Session and removed the dependency of pop.c on inc.h.
184 src/textview.c: added statusbar to the message view with new window.
188 * src/inc.[ch]: use hash table for progressive update.
189 changed update interval to 2 sec.
193 src/summaryview.c: added FolderItem::unmarked_num to correct the
194 folder message counting.
198 * src/inc.[ch]: update folderview progressively.
199 * src/foldersel.c: display full id for selected item.
203 * src/folderview.[ch]: code cleanup.
204 folderview_append_item(): new. It appends the folder to the folder
206 * src/foldersel.c: foldersel_new_folder(): use
207 folderview_append_item().
211 * src/foldersel.c: implemented 'create new folder' function.
212 * src/folder.[ch]: folder_find_child_item_by_name(): new.
213 * src/utils.h: AUTORELEASE_STR(): convert malloc'd string into
214 auto-release (alloca'd) one.
218 * src/folderview.c: put together folderview_new_imap_folder_cb() into
219 folderview_new_folder_cb().
223 * src/compose.c: compose_write_to_file(): removed redundant strlen()
225 * src/textview.c: textview_button_pressed(): select correct account
226 when address is clicked.
234 * src/folder.c: folder_item_fetch_all_msg()
235 src/folderview.c: folderview_download_cb(): show progress with
237 * src/mainwindow.[ch]: added new functions for progressbar.
241 * src/summaryview.c: summary_key_pressed(): GDK_Left should only
242 switch to folderview when summaryview hscrollbar is at the leftmost
243 position (thanks to Alfons).
247 * src/codeconv.c: conv_euctojis(): made JIS X 0201 Kana conversion
249 * src/prefs_common.[ch]: added PrefsCommon::allow_jisx0201_kana
254 * src/codeconv.c: conv_euctojis(): force JIS X 0201 Kana to JIS X 0208
259 * src/imap.c: imap_get_msginfo(): fixed wrong counting.
272 src/quote_fmt_parse.y
273 src/quoted-printable.c
278 src/xml.c: fixed wrong type of argument for ctype functions (char
279 had been passed instead of unsigned char).
284 * src/mainwindow.[ch]: added MainWindow::messageview_cid.
285 Clear messageview when it is hidden.
286 * src/textview.c: show URL to the statusbar when its link is clicked.
287 textview_uri_security_check(): compare real URL and apparent one
288 and show warning if it seems to be a fake URL.
290 is_uri_string(): return TRUE if the string seems like a URL.
291 get_uri_path(): return URL except for its scheme part.
295 * src/folder.[ch]: folder_item_fetch_all_msg(): new. It fetches all
296 messages in a folder.
297 * src/folderview.c: implemented 'Download' feature.
301 * src/gtkutils.[ch]: implemented ComboButton which adds an arrow
302 menu button to a button.
303 * src/mainwindow.[ch]: main_window_toolbar_create(): added combo
304 button to reply and forward button.
308 * src/mainwindow.c: fixed automatic expansion of window size because
313 * src/addr_compl.[ch]
314 src/gtkshruler.[ch]: changed the copyright notice.
318 * src/gtkstext.c: find_line_params(): also break between mutlibyte
319 and single-byte characters.
323 * src/gtkstext.c: find_line_params(): break lines between multibyte
324 characters on word wrap mode.
328 * src/codeconv.c: conv_iconv_strdup(): fixed crashes on LP64
329 environments (thanks to James Noyes).
330 * src/compose.c: compose_select_account(): don't turn off the sign/
331 encrypt option automatically.
335 * src/inc.[ch]: made inc_account_mail() public.
336 * src/mainwindow.c: moved receive menus into submenu, and added
337 dynamic menus for receiving from each account.
345 * src/procmsg.c: procmsg_open_data_file(): set buffer if DATA_READ
346 is specified and a buffer is given.
347 procmsg_open_cache_file_with_buffer(): new.
348 procmsg_read_cache(): fixed a bug that called setvbuf() after an
349 file I/O which caused buffer read error.
357 * configure.in: enable IPv6 support by default.
361 * src/inc.c: inc_mail(), inc_all_account_mail(): ask user to switch
362 to online when in offline mode.
363 * src/mainwindow.h: added main_window_toggle_online().
370 src/stock_pixmap.[ch]
371 src/pixmap/dir-noselect.xpm: made no-select folders display with
373 * src/Makefile.am: added offline.xpm, online.xpm, and
374 dir-noselect.xpm to EXTRA_DIST.
378 * src/folder.h: added macro FOLDER_ITEM_CAN_ADD().
379 * src/folderview.c: folderview_drag_motion_cb(): code cleanup.
380 folderview_drag_received_cb(): don't accept at no_select folder or
382 * src/foldersel.c: made folders on which no_select flag is set not
387 * src/imap.c: imap_do_copy_msgs(), imap_remove_msgs(): code cleanup.
388 set MSG_INVALID flag when messages are deleted.
389 * src/mh.c: mh_do_move_msgs(), mh_remove_msg(): set MSG_INVALID flag
390 when messages are deleted.
392 procmsg_move_messages()
393 procmsg_copy_messages(): return error status.
394 Added MSG_INVALID to MsgTmpFlags.
395 * src/summaryview.c: summary_execute(): detect errors and only remove
396 nodes that are invalidated.
397 summary_unthread_for_exec(): fixed a bug that didn't remove nodes
402 * src/mainwindow.[ch]: added online switch button to the statusbar,
403 and "/File/Work offline" in the menu.
404 * src/pixmaps/offline.xpm
405 src/pixmaps/online.xpm: new (borrowed from
406 themes/classic/communicator/icons/ in Mozilla).
407 * src/stock_pixmap.[ch]: added online.xpm and offline.xpm.
408 * src/textview.[ch]: textview_show_error(): new.
409 * src/summaryview.c: summary_display_msg_full(): update marks only
410 if messages are displayed.
411 * src/prefs_common.[ch]: added PrefsCommon::online_mode.
412 * src/news.c: news_session_get()
413 src/imap.c: imap_session_get(): return NULL when in offline mode.
414 * src/messageview.[ch]: messageview_show(): return status whether
415 messages are successfully displayed. Display error messages in
416 the view when failed.
418 procmsg_get_message_file()
419 procmsg_open_message(): don't output warnings when fetch failed.
423 * src/html.c: html_get_tag(): support attributes which don't have
428 * src/codeconv.c: conv_get_code_conv_func(): return conv_latintodisp
429 only if src_charset and current charset is identical or current
430 one is multibyte (fixes display of ISO-8859-5 on KOI8-R locale etc.).
434 * autogen.sh: don't include m4 directory in aclocal.
435 * intl/libgnuintl.h: removed from cvs.
436 * po/.cvsignore: added stamp-po and remove-potcdate.sed.
440 * upgraded to gettext-0.12.1.
442 2003-11-24 gettextize <bug-gnu-gettext@gnu.org>
444 * Makefile.am (SUBDIRS): Add m4.
445 (ACLOCAL_AMFLAGS): New variable.
446 (EXTRA_DIST): Add config.rpath.
447 * configure.in (AC_OUTPUT): Add m4/Makefile.
451 * configure.in: added check for d_type member in struct dirent.
452 * src/mh.c: mh_scan_folder(): use d->d_type if available.
453 mh_get_uncached_msgs(): removed redundant stat().
454 mh_parse_msg(): return NULL if not a regular file.
455 mh_scan_tree_recursive(): use d->d_type if available.
457 dirent_is_regular_file()
458 dirent_is_directory(): new. Use d->d_type to determine the type
459 of entry if available.
460 remove_dir_recursive(): use dirent_is_directory().
464 * src/folder.h: added 'updated' flag to FolderItem.
465 * src/folderview.[ch]: folderview_update_all_updated(): new. It
466 updates all updated folders.
467 * src/imap.c: set FolderView::update flag on changes of contents.
468 * src/main.c: send_queue()
469 src/mainwindow.c: send_queue_cb(): code cleanup.
470 * src/mh.c: code cleanup.
471 mh_scan_folder(): correctly count new messages.
472 * src/procmsg.[ch]: code cleanup.
473 procmsg_open_cache_file(): new.
474 procmsg_open_mark_file(): enable read/write/append.
475 procmsg_send_queue(): correctly choose outbox for accounts.
476 * src/send_message.[ch]: send_get_queue_info(): get a queue
477 information from queued messages.
478 send_queue_info_free(): free QueueInfo.
479 send_message_queue(): take QueueInfo as an argument instead of file.
480 * src/summaryview.c: summary_write_cache(): code cleanup.
484 * src/compose.c: compose_redirect_write_headers(): correctly add
489 * src/imap.c: imap_get_msg_list(): fallback to FETCH command if SEARCH
490 command to get flags failed.
491 imap_search_flags(): returns UID array and flags hash table using
493 imap_fetch_flags(): returns UID array and flags hash table using
498 * src/summary_search.c: summary_search_execute(): fixed 'Select all
499 matched' when backward search is enabled.
500 Made the backward search button insensitive when 'select all
509 * src/imap.c: imap_scan_tree(): check the existence of root directory
510 with LIST instead of STATUS.
514 * src/send_message.c: fixed format string bug (exploitable by
515 malicious SMTP server) when calling alertpanel_error()
516 (thanks to Georgi Guninski).
523 src/news.[ch]: refactoring of the folder system (based on the claws'
532 src/summaryview.c: use FOLDER_TYPE() macro at every place.
541 addressbook_folder_load_person()
542 addressbook_folder_load_group(): sort the ctree after the end of
543 the loop (fixes performance issue when many addresses are in one
544 folder) (thanks to christian mock).
548 * src/folderview.c: folder_init(): code cleanup.
549 * src/summaryview.c: summary_init(): check if boldfont is
551 * src/grouplistdialog.c: use proper callback for delete_event (thanks
553 * src/imap.c: allow zero-length messages.
554 * src/recv.c: recv_bytes_write(): return immediately if size == 0.
558 * src/folderview.c: folderview_init(): if font can't be loaded, fall
559 back to gtk default (fixes crashes on startup). Also removed the
564 * src/compose.c: compose_insert_sig(): insert signature at the
565 current cursor position on manual operation.
569 * src/summaryview.c: summary_key_pressed(): don't ignore delete key
570 even if the main window is locked.
574 * src/action.c: improved synchronous action exit code (fixes long
575 delay after action exit on RH9) (thanks to Melvin).
576 * src/stringtable.[ch]: string_table_insert_string(): modified the
577 code to remove the warning "dereferencing type-punned pointer will
578 break strict-aliasing rules".
579 Use const gchar * instead of gchar * for arguments.
583 * src/utils.[ch]: generate_mime_boundary(): a new function to create
584 MIME boundary (moved from rfc2015.c).
585 Removed more special characters.
586 Use random() instead of lrand48() which is obsolete.
587 Added an argument for prefix to prevent duplication.
588 Always add "=_" as a counter-QP sequence to simplify the code.
590 rfc2015_decrypt_message()
592 rfc2015_sign(): fixed a bug that didn't handle continuous content
595 src/rfc2015.c: use generate_mime_boundary().
600 folderview_delete_folder_cb()
601 folderview_remove_mailbox_cb(): close currently displayed folder
602 before removing FolderItem (fixes crash on deleting folder).
604 src/imap.[ch]: imap_scan_tree()
605 src/mh.[ch]: mh_scan_tree(): return -1 when scanning failed.
606 * src/summaryview.c: summary_clear_all(): also clear the message view.
607 * src/imap.c: imap_close(): fail if the specified folder is not
609 imap_scan_tree(): check if the specified root directory exist, and
610 try creating it if not.
611 imap_parse_list(): output warning if a server returns error.
612 imap_find_namespace_from_list(): support not slash-delimited path.
613 imap_status(): don't return values if they're not specified.
617 * sylpheed.spec.in: fixed a typo.
628 src/prefs_common.[ch]: added the receive dialog's option to
629 display the dialog only on manual receiving, and the
630 RECV_DIALOG_ACTIVE option was removed.
634 * src/compose.c: compose_write_headers(): also replace ':' in the
635 MIME boundary with '_' (as a workaround for broken servers).
639 * src/imap.c: imap_scan_tree_recursive(): fixed compile error.
643 * src/prefs_filter.c: added 'Top' and 'Bottom' button.
647 * src/folder.[ch]: folder_item_remove_children(): new. It removes
648 all children under a FolderItem.
649 * src/folderview.c: folderview_rescan_tree(): modified the message.
650 * src/imap.c: imap_scan_tree(), imap_scan_tree_recursive(): reuse
651 the previous FolderItem objects.
655 * src/folder.[ch]: added a reference to its own GNode in FolderItem.
656 folder_item_remove(): free all FolderItem's.
657 folder_tree_destroy(): use folder_item_remove().
658 * src/folderview.c: folderview_sort_folders(): keep the order even
659 if special folders' parents are different.
660 * src/imap.c: imap_scan_tree_recursive(): fixed a memory leak.
661 * src/mh.c: mh_scan_tree(): preserve the previous FolderItem's.
662 mh_remove_missing_folder_items(): scan the directories and remove
664 mh_scan_tree_recursive(): reuse the previous FolderItem objects.
668 * src/mainwindow.c: always reflect window size changes.
669 * src/folderview.c: folderview_init()
670 src/summaryview.c: summary_init(): realize the widget before
672 * src/prefs_common.[ch]: remember the folder and mesage view's
678 src/prefs_common.[ch]: remember the size and position of
680 main_window_set_widgets(): fixed a bug that the hidden items on
681 the header view were shown when changing the view type.
682 Instead of setting the window size, set the each view's size.
686 * src/compose.c: compose_select_account(): don't append signature
688 compose_insert_sig(): don't insert "\n\n" if signature string
689 doesn't exist. Always insert signature at the end of message.
693 * improved sylpheed.spec.in (thanks to Andre Oliveira da Costa).
697 * minor code cleanups for the folder system.
698 * src/compose.c: compose_queue(), compose_draft_cb(): code cleanup.
699 * src/folder.c: code cleanups.
701 src/mh.c: calculate message numbers inside the functions.
702 * src/procmsg.c: procmsg_set_flags(): calculate message numbers.
703 * src/summaryview.[ch]: don't calculate and preserve message numbers
712 src/summaryview.c: renamed *_msgs_with_dest() to *_msgs().
716 * src/imap.[ch]: use CAPABILITY to use protocol extentions.
717 imap_greeting(): parse initial server greeting. Also support
720 imap_cmd_append(): use APPENDUID responses if UIDPLUS is supported.
724 * src/imap.c: imap_get_flag_str(): fixed a buffer overrun.
732 * src/main.c: main(): don't save config files on startup.
737 imap_get_msg_list(): removed redundant UID SEARCH ALL when not
739 Unset MSG_NEW flag if \Seen is set.
740 imap_get_uncached_messages(): fetch all messages if both first_uid
745 * src/imap.c: revamped the implementation so that it always
746 exactly reflects the state of IMAP4 servers.
747 imap_get_msg_list(): examine the state of messages using
749 imap_delete_cached_message(): removes single message cache.
750 imap_get_uid(): removed.
751 imap_cmd_search(): new. It issues UID SEARCH command and returns
753 imap_cmd_gen_recv(): made the length of strings unrestricted.
754 imap_get_uid_table(): returns a hash table from UID array.
761 src/news.[ch]: added Folder::close() method.
762 * src/summaryview.c: summary_clear_list(): call folder_item_close().
766 * flags are now taken over when copying messages into IMAP folders
773 mh_add_msgs(): flags can be also specified when adding files.
774 * src/folder.[ch]: added assertions for virtual functions.
775 * src/procmsg.[ch]: procmsg_get_message_file_list(): return the list
777 procmsg_message_file_list_free(): new.
781 * src/procmsg.h: changed MsgPermFlags and MsgTmpFlags from enum to
782 guint32 for portability (thanks to Alfons).
783 * src/imap.c: imap_add_msgs(): removed redundant unlink().
788 session_read_msg_cb()
789 session_read_data_cb(): fixed a bug that ran into infinite loop
790 if connection was closed by remote host (thanks to Yoichi Imai).
791 Added SESSION_EOF state to SessionState.
792 session_is_connected(): new.
793 * src/inc.[ch]: inc_put_error()
794 src/send_message.c: send_put_error(): also put log messages.
798 * more optimization of IMAP4.
799 * src/folder.[ch]: added a method add_msgs() that adds multiple files
801 Removed redundant scan() for the operations of FolderItem.
802 * src/imap.[ch]: implemented Folder::add_msgs() and optimized move
803 and copy from other Folder instances.
804 * src/mh.[ch]: implemented Folder::add_msgs() and cleaned up the code.
805 mh_fetch_msg(): scan folder if required.
806 * src/procmsg.[ch]: procmsg_get_message_file_list(): returns file
807 list from message list.
808 * src/summaryview.c: don't remove MSG_MARKED flags on
809 delete/move/copy operation.
810 summary_display_msg_full(): removed redundant message fetching.
814 * optimized move/copy/delete/mark operations of IMAP4 by using
815 sequence set when issuing commands (adopted claws' implementation
816 with cleaning it up).
818 imap_set_message_flags()
821 imap_cmd_store(): take sequence set string instead of UID number.
822 imap_do_copy_msgs_with_dest(): optimized by using sequence set.
823 imap_cmd_fetch(): use BODY.PEEK instead of BODY.
824 imap_remove_all_msg()
825 imap_set_message_flags(): use FLAGS.SILENT instead of FLAGS.
827 src/summaryview.c: use imap_msg_list_{set,unset}_perm_flags()
828 instead of issuing commands for each message.
833 src/prefs_account.[ch]
835 src/session.[ch]: added an option to enable/disable non-blocking
840 * src/compose.c: compose_attach_append(): display message's subject
841 when attaching message/rfc822 file.
848 session_read_msg_cb()
849 session_read_data_cb(): optimized by removing sock_peek() and
850 buffering received data in user space (correctly implemented
855 * src/session.c: reverted the previous change because it couldn't
856 handle data receiving after messages correctly.
862 session_read_msg_cb(): optimized by removing sock_peek() and
863 buffering messages in user space.
867 * src/imap.[ch]: refactored.
868 Changed all functions that have SockInfo arguments to take
870 Made imap_cmd_count an instance variable: IMAPSession::cmd_count.
871 imap_open(): only establish TCP (or SSL) connection.
872 imap_session_new(): process greeting and authentication here.
876 * src/imap.[ch]: implemented CRAM-MD5 authentication, and made code
878 * src/prefs_account.[ch]: added option menu for IMAP4 authentication
879 type in Receive tab, and hide other protocols' frames.
883 * src/mainwindow.c: send_queue_cb(): don't scan folder twice if
885 * src/procmsg.c: procmsg_send_queue(): return number of sent
891 main_window_set_toolbar_sensitive()
892 main_window_set_menu_sensitive(): removed the locking of file
893 operations while receiving mail.
897 * src/folder.[ch]: folder_item_remove_msg(): take MsgInfo as an
898 argument instead of message number.
899 * src/imap.[ch]: imap_remove_msg(): reimplemented using
901 * src/mh.[ch]: mh_do_move(): reimplemented using
902 mh_do_move_msgs_with_dest().
903 mh_copy_msg(): reimplemented using mh_copy_msgs_with_dest().
904 * src/procmsg.c: procmsg_send_queue(): modified to use message list.
908 * src/rfc2015.c: rfc2015_is_encrypted(): check MimeInfo::mime_type
909 to suppress some warnings.
910 * src/logwindow.c: log_window_append(): don't scroll up when trimming
915 * src/compose.c: add 'Content-Disposition: inline' to a text/plain
916 part when using PGP/MIME signing.
924 * src/defs.h: changed UI_REFRESH_INTERVAL from 40msec to 50msec.
925 * src/session.c: session_read_msg_cb(): make it always fail if
926 sock_read() returns by error.
927 * src/socket.[ch]: sock_check(): handle exceptional SSL condition.
928 sock_has_pending_data(): removed.
929 Removed debug output.
930 * src/send_message.c: send_recv_message(): display messages to
935 * src/inc.[ch]: update received message number on CList while
937 * src/session.c: session_read_data_cb(): optimized by removing
938 g_malloc() and memcpy().
942 * src/socket.[ch]: sock_add_watch(): new. It monitors SSL by original
943 watch functions (otherwise uses g_io_add_watch()).
944 * src/session.[ch]: removed previous workarounds, and replaced
945 g_io_add_watch() with sock_add_watch().
949 * src/socket.[ch]: added sock_has_pending_data() which returns TRUE
950 if socket has pending data.
951 * src/session.c: session_recv_msg(), session_recv_data(): check if
952 socket has pending data and call the callbacks immediately in that
953 case (fixes the hang at ESMTP EHLO on SSL).
957 * src/socket.c: check return value in SSL functions.
961 * src/mimeview.c: mimeview_init(): initialize TextView to prevent
962 slowdown caused by GTK+ themes (thanks to Yuri Arapov).
966 * src/session.c: session_read_data_cb(): clear Session::read_data_buf
967 before calling callbacks.
971 * src/socket.c: made socket connection protocol independent.
972 * src/session.c: removed debug g_print().
973 * src/inc.c: made status bar output less verbose, and show counter
974 on main window's progressbar.
978 * src/session.c: added missing #include <errno.h>.
982 * src/session.[ch]: reimplemented the Session system with non-blocking
983 I/O to solve the performance and the code design issue.
984 * src/socket.[ch]: added sock_connect_async() and
985 sock_connect_async_cancel() to enable asynchronous connection.
986 sock_peek(): modified the implementation.
987 * src/pop.c: optimized the receiving of the responses of
992 * src/procmsg.c: procmsg_get_thread_tree(): prevent threading problems
993 when a node is an ancestor (parent / great parent), which mostly
994 happens with circular references (thanks to Phillipe Gramoulle
995 for finding an sample set of messages, and Alfons for the patch).
999 * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
1000 UIDL list is not found (fixes inability of initial retrieval).
1004 * src/main.c: added the option '--status-full' which shows the status
1005 of each folder specified. The option '--status' also takes
1006 following arguments for folders (thanks to Yuri Arapov).
1007 * src/folder.[ch]: folder_get_status(): new. it takes the array of
1008 folders as the argument and returns their status.
1009 folder_count_total_msgs(): removed.
1019 src/inputdialog.c: use gtk_main_iteration() instead of gtk_main()
1020 to prevent abort when a button is double-clicked.
1024 * src/addr_compl.c: invalidate_address_completion(): check if
1025 g_completion_list is NULL (thanks to Kazuhiro NISHIYAMA).
1029 * src/pop.c: pop3_session_recv_data_finished(): fixed a bug that
1030 deleted messages that is to be kept on server (thanks to Tristan
1040 sock_set_io_timeout(): new. It sets the timeout interval.
1041 sock_gdk_input_add(): removed since it's not used anymore.
1042 * src/prefs_common.[ch]: added an option to set the timeout parameter.
1046 * src/action.c: fixed a bug that didn't hide user string in
1047 create_io_dialog() (thanks to Markus Amersdorfer).
1048 Removed ChildInfo::type and added Children::action_type.
1052 * src/inc.c: inc_start(): ask every password before retrieving.
1053 Don't popup the redundant error dialog.
1055 inc_all_account_mail()
1056 inc_progress_dialog_set_list(): separated account list display
1057 into a new function.
1058 inc_progress_dialog_set_label()
1059 inc_recv_data_finished()
1060 inc_recv_message(): properly update the dialog when RETR finished.
1065 imap_modified_utf7_to_locale()
1066 imap_locale_to_modified_utf7(): fixed compilation failure when not
1071 * src/procmime.c: procmime_scan_multipart_message(): fixed parsing
1072 of message/rfc822 parts.
1076 * src/pop.c: pop3_ok(): detect timeout error.
1080 * src/imap.c: imap_locale_to_modified_utf7(): fixed the encoding bug
1081 when locale strings include '+'.
1082 imap_modified_utf7_to_locale()
1083 imap_locale_to_modified_utf7(): at least escape/unescape '&' even
1084 if iconv() is not supported.
1089 compose_insert_sig()
1090 compose_get_signature_str(): include separator in signature string.
1091 Don't insert separator if signature file is not found.
1092 Disabled use of implicit default signature path (~/.signature) when
1102 src/quote_fmt_parse.y
1103 src/smtp.c: suppress warnings that gcc-3.3 issues.
1104 src/stringtable.c: use string_entry_free().
1108 * src/compose.c: compose_insert_sig(): fixed the bug that always
1109 appended signature separator if signature file was not found.
1110 compose_get_signature_str(): fixed the bug that caused crash if
1111 signature file cannot be opened.
1119 * src/session.c: session_recv_msg(): removed debug print.
1126 imap_cmd_fetch(): check for data size that servers return (fixes
1127 vulnerability found in BugTraq).
1131 * src/addr_compl.c: get_complete_address()
1132 src/addressbook.c: addressbook_format_address()
1133 src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
1134 characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
1135 * src/main.c: main(): set colormap and visual to solve color problem
1136 in Solaris (thanks to Markus Schwarzenberg).
1144 * src/prefs_account.c: temporarily removed POP before SMTP option.
1148 * src/prefs_common.[ch]: changed the description of "Open message when
1149 cursor keys are pressed on summary".
1150 * src/summaryview.c: summary_show(): open message when always_show_msg
1155 * src/logwindow.[ch]: restrict the maximum lines of the log messages
1156 to reduce the memory usage.
1160 * src/compose.c: compose_insert_sig(): fixed a crash when signature
1161 string contains illegal sequence.
1162 * src/utils.[ch]: changed get_wcs_len() to get_mbs_len() for accuracy.
1166 * major refactoring of MIME structure.
1167 * src/procmime.c: procmime_scan_message(): decrypt message if
1168 gpgme is enabled. Create multipart tree only if content-type is
1169 multipart/* or message/rfc822.
1170 procmime_scan_multipart_message(): fixed the scanning of
1171 message/rfc822 part.
1172 * src/action.c: parse_append_msgpart()
1173 src/messageview.c: messageview_show()
1174 src/mimeview.c: mimeview_show_message(): use procmime_scan_message()
1175 instead of procmsg_open_message() and procmime_scan_mime_header().
1176 mimeview_set_multipart_tree(): conform to the new MIME structure.
1177 * src/textview.c: textview_show_part(): removed unnecessary check.
1178 * src/procmsg.c: procmsg_open_message_decrypted(): fixed the file
1179 pointer when decryption failed.
1183 * src/ssl.c: ssl_init_socket_with_method(): replaced log_warning()
1184 by g_warning(), and log_print() by debug_print().
1185 * src/pop.[ch]: added an error code PS_NOTSUPPORTED, and retry with
1186 LAST if UIDL is not supported.
1190 * src/codeconv.c: conv_get_code_conv_func(): convert to EUC-JP only
1191 if it is the current locale encoding when dest_charset_str is NULL.
1195 * src/action.c: execute_actions(): fixed crash when no text widget
1196 is selected (thanks to Paul and Melvin).
1198 src/prefs_actions.c: added missing reference to Claws team in the
1205 session_send_data(): fixed a memory leak and data sending bug.
1206 * src/send_message.c:
1207 send_message_smtp(): fixed focus management.
1211 * src/smtp.[ch]: set the response string to SMTPSession::error_msg
1213 * src/send_message.c: show error dialog if error occurred.
1214 * src/main.c: send_queue()
1215 src/mainwindow.c: send_queue_cb(): don't show error dialog here.
1219 * src/session.c: session_close(): kill child process only if
1220 state is not SESSION_DISCONNECTED.
1221 * src/send_message.c: send_cancel_button_cb()
1222 src/inc.c: inc_cancel(): don't set Session::state to
1223 SESSION_DISCONNECTED.
1224 * src/prefs.[ch]: modified the names of prefs_write_*().
1225 * src/address.[ch]: removed.
1229 * src/compose.c: compose_template_apply(): overwrite recipients.
1233 * src/procheader.c: procheader_date_parse(): removed debug print.
1234 * src/session.c: changed every g_print to debug_print.
1235 session_child_input(): removed unrequired session_close() (it'll
1236 be closed anyway after returning FALSE).
1237 * src/send_message.c: send_message_smtp(): changed g_print to
1242 * src/procheader.c: procheader_procheader_date_parse(): don't add
1243 local timezone offset if timezone is unknown.
1244 Made the Y2K workaround code to follow RFC 2822.
1245 procheader_scan_date_string(): workaround for date strings which
1246 don't have timezone specification.
1247 * src/utils.c: remote_tzoffset_sec(): return -1 if timezone is
1252 * src/action.[ch]: refactored. Also fixed a bug on MIME mode, and
1253 some memory leaks on error.
1254 action_update_msgview_menu(): new.
1255 * src/messageview.[ch]: added "Tools/Actions" menu. Keep window list.
1256 messageview_get_selected_mime_part(): returns MimeInfo of selected
1257 part when MessageView is in MIME mode.
1258 * src/mimeview.[ch]: mimeview_get_selected_part(): returns MimeInfo
1260 * src/summaryview.[ch]: summary_get_selected_msg_list(): returns
1261 MsgInfo list of selected messages.
1265 * src/prefs_filter.[ch]: include original message's headers as
1266 the preset keywords. Modified the sizes of the widgets.
1267 * src/utils.[ch]: added str_case_equal() and str_case_hash() for
1268 case-insensitive hash.
1272 * src/procmsg.c: procmsg_get_filter_keyword(): added X-Sequence to
1273 auto-detected headers.
1277 src/mainwindow.c: modified function names.
1278 get_user_string(): Use input_dialog() instead of its own
1283 * src/codeconv.[ch]: conv_encode_header(): don't include '(' and ')'
1284 in encoded strings if addr_field is TRUE.
1285 * src/compose.c: compose_convert_header(): added a flag 'addr_field'.
1289 * src/prefs_actions.[ch]: separated action execution routine into
1294 * src/prefs_actions.c: minor code cleanup.
1298 * src/codeconv.[ch]: conv_iconv_strdup(): fixed the handling of
1304 inc_recv_data_progressive()
1305 inc_recv_data_finished()
1308 send_send_data_progressive()
1309 send_send_data_finished(): added assertion.
1313 * src/codeconv.[ch]: conv_iconv_strdup(): fixed potential memory
1318 * src/codeconv.[ch]: conv_iconv_strdup(): don't include nul character
1319 in source buffer since it messed up some encoding conversion (like
1324 * src/procmsg.c: procmsg_get_filter_keyword(): unfold headers and
1325 extract ID from List-Id header.
1326 * src/utils.[ch]: extract_one_parenthesis_with_skip_quote(): removed.
1327 extract_list_id_str(): extract ID string from List-Id header.
1331 * src/prefs_actions.c: merged from the claws branch. Fixes several
1332 bugs and adds some features.
1336 * src/compose.c: compose_parse_header(): fixed a bug that unnecessary
1337 linebreaks were included on reediting.
1339 src/pop.c: fixed typos: 'occured'.
1343 * src/compose.[ch]: implemented auto signature replacement on
1345 compose_insert_sig(): added a flag to replace current signature.
1346 compose_get_signature_str(): new. It returns signature string.
1347 compose_insert_command_output(): removed.
1348 compose_select_account(): call compose_insert_sig() on account
1350 compose_destroy(): fixed a memory leak of UndoMain object.
1351 Compose::sig_str: new. It stores current signature string.
1352 * src/gtkutils.[ch]: gtkut_stext_find(): new.
1353 Renamed gtk_stext_clear() to gtkut_stext_clear().
1354 * src/utils.[ch]: get_wcs_len(): returns wide-character length of
1356 normalize_newlines(): converts CR+LF and CR into LF.
1357 get_command_output(): returns command output.
1361 * src/procmsg.[ch]: procmsg_get_filter_keyword(): new. It returns
1362 filter keyword for messages.
1363 * src/summaryview.c: summary_filter_open(): use
1364 procmsg_get_filter_keyword().
1365 * src/messageview.c: create_filter_cb(): implemented.
1371 inc_put_error(): display server responses on error.
1372 * src/pop.[ch]: added Pop3Session::error_msg, and set server responses
1377 * src/messageview.[ch]: separated the forced charset of message view
1378 in separate window from the main window.
1380 textview_show_message()
1381 textview_show_part()
1382 textview_add_part(): use MessageView::forced_charset if specified.
1386 * src/mainwindow.c: modified File menu a bit.
1387 * src/menu.[ch]: added functions to handle item factory rc strings.
1388 * src/messageview.[ch]: added a menu, and made it take over main
1389 window's menu shortcuts.
1390 added msginfo which is duplicated on display to MessageView.
1391 * src/prefs_common.c: prefs_keybind_apply_clicked(): use
1392 menu_factory_clear_rc().
1396 * send_message.c: send_message_smtp():
1397 re-enabled forcing of SMTP AUTH method.
1398 Clear temporary password if authentication failed.
1399 * smtp.c: output warning to log and set SMTPSession::error_val
1401 * smtp.h: changed error value to enum. Added SMTPSession::error_val.
1402 * src/mbox.c: proc_mbox(): force updating of folder.
1406 * src/pop.h: changed error value to enum.
1407 * src/pop.c: pop3_retr_recv(): return PS_IOERR when inc_drop_message()
1409 pop3_ok(): return appropriate error value based on current state.
1410 Output warning to log if error occurs.
1415 src/news.[ch]: refactored. Remove NNTPSockInfo and use NNTPSession
1420 * src/inc.c: inc_pop3_session_do(): retrun appropriate error if
1421 Session::state == SESSION_ERROR.
1422 * po/POTFILES.in: removed src/automaton.c and src/send.c.
1423 Added src/send_message.c.
1428 src/session.c: fixed breakage of POP3 retrieval.
1429 session_recv_data_from_sock_unescape(): read until terminator
1430 appears and also return the actual size.
1434 * src/automaton.[ch]: removed.
1435 * src/session.c: removed some of the debug output.
1436 * src/smtp.c: smtp_session_recv_msg(): workaround in case server
1437 returns EHLO-style response to HELO command.
1438 Ignore all multiline responses except for EHLO since they are
1439 allowed for any command.
1444 src/pop.c: fixed retrieval of messages which contain dot-escaped
1446 session_recv_data(): added a flag for unescape.
1447 session_recv_data_from_sock_unescape(): new. It receives message
1448 for each line and unescapes dot-escaped lines.
1449 Removed the previous workaround.
1450 * src/defs.h: decreased UI_REFRESH_INTERVAL to 40 msec.
1454 * src/pop.[ch]: workaround for brekage of retrieval when given size
1455 and actual one is different.
1459 * src/pop.c: pop3_retr_eom_recv(): ignore invalid end of message
1460 since some servers sometimes return incorrect message size.
1461 * src/news.c: news_session_new(): zero clear NNTPSession object.
1462 Don't initialize Session::sock with nntp_sock->sock to prevent
1463 double-free of SockInfo.
1464 * src/imap.c: zero clear IMAPSession object.
1465 imap_cmd_append(): don't close SockInfo.
1469 * src/pop.c: pop3_session_recv_msg(): fixed STLS.
1474 src/pop.[ch]: reimplemented using new I/O system.
1475 * src/session.[ch]: session_recv_data(): new.
1476 session_send_data_to_sock()
1477 session_recv_data_from_sock(): decreased the frequency of progress
1482 * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
1486 * src/session.[ch]: session_start_tls(): new.
1487 session_recv_msg(): made it static.
1491 * implemented asynchronous network I/O.
1492 * src/session.[ch]: the interface to communicate with servers through
1495 src/send_message.[ch]: rewrote using new I/O system.
1496 * src/socket.[ch]: renamed *_write() to *_write_all(), and made
1497 *_write() as just a simple wrapper for write().
1498 * src/utils.c: get_outgoing_rfc2822_str(): new. It modifies the
1499 message to send with SMTP or NNTP.
1500 file_read_stream_to_str(): new.
1504 * src/textview.c: textview_button_pressed(): corrected the range of
1506 * src/compose.c: compose_wrap_line_all_full(): treat UTF-8 characters
1507 represented with more than 2 bytes as 2 character width and 2 bytes
1508 one as a single character width as a workaround for wrapping problem.
1512 * src/utils.c: subject_compare_for_sort(): allow null strings (fixes
1517 * implemented HTML link correctly.
1518 * src/html.[ch]: HTMLAttr, HTMLTag: new structure for attributes /
1520 html_get_tag(): new. It parses tag and returns HTMLTag object.
1521 html_parse_tag(): also parses <a> tags and 'href' attributes.
1522 * src/textview.c: textview_write_link(): new. It creates link string.
1526 * src/compose.c: compose_wrap_line_all_full(): fixed an infinite
1527 loop / crash bug (thanks to Darko Koruga).
1528 compose_write_to_file(): put correct charset element when
1529 conversion failed but want to send anyway.
1533 * src/headerview.c: headerview_show()
1534 src/textview.c: textview_write_line(): remove unreadable characters
1535 from displayed strings to prevent crashes on multi-byte
1537 * src/codeconv.[ch]: conv_unreadable_locale(): new. It was separated
1538 from conv_localetodisp().
1542 * src/procmsg.c: procmsg_cmp_by_subject()
1543 src/summaryview.c: summary_cmp_by_subject(): ignore Re: when
1546 subject_compare_for_sort()
1547 trim_subject_for_sort(): new.
1555 * src/defs.h: added -i option to the default sendmail command.
1559 * src/codeconv.[ch]: added missing character encodings and locales.
1564 procmsg_get_mark_sum()
1565 procmsg_open_mark_file()
1566 procmsg_read_mark_file(): take FolderItem instead of directory
1571 * src/codeconv.c: conv_encode_header(): fixed a bug that spaces
1572 which is on the wrap boundary would be lost when encoding long
1573 non-ascii strings (thanks to Sergey Vlasov).
1574 Don't force wrapping within a long word until it reaches hard line
1575 length limit (998 characters) (workaround for the breakage of
1576 long address list with no spaces).
1580 * src/prefs_account.c: fixed compile failure when using neither
1585 * src/codeconv.c: fixed UTF-8 locale support.
1586 conv_get_code_conv_func(): return conv_noconv if locale encoding
1587 is UTF-8. Return conv_latintodisp on ISO-8859-* to locale encoding
1589 conv_convert(): call conv_iconv_strdup() instead of
1590 conv_codeset_strdup().
1591 conv_codeset_strdup(): moved some codes into conv_iconv_strdup().
1595 * src/prefs_account.[ch]: added an option to use command output for
1597 * src/compose.c: compose_insert_sig(): use command output if
1599 compose_insert_command_output(): new.
1603 * src/main.c: main(): remove lock socket if sylpheed is not running
1604 when --status command is executed.
1605 lock_socket_remove(): new.
1609 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
1610 codeset is US-ASCII (or POSIX).
1614 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
1615 and continue conversion.
1619 * src/summaryview.c: summary_selected(): always update widget
1624 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
1625 date in timezones more than GMT+12 or less than GMT-12.
1629 * src/prefs_common.[ch]
1630 src/sourcewindow.c: remember the size of source window.
1631 * src/md5.c: fixed a compile problem with gcc 3.3.
1635 * src/about.c: about_create(): modified the copyright notice.
1639 * src/colorlabel.c: don't use pixmaps for label color rect but draw
1640 rectangles so we can respect the color map of palette based visuals
1641 (fixes the long time crashes on Solaris - thanks to Alfons
1646 * src/procheader.c: procheader_date_parse(): made month string case
1648 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
1649 selection list is empty.
1653 * src/quote_fmt_parse.y: removed gettext translatable strings.
1654 * src/unmime.c: unmime_header(): remove broken characters when
1655 code conversion failed.
1656 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
1657 headers if long words more than 75 characters are entered.
1661 * src/prefs_account.c: prefs_account_receive_create()
1662 src/utils.c: to_human_readable(): made units translatable.
1666 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
1667 at first byte (fixes abort() problem of glibc).
1668 * src/html.c: html_read_line(): remove characters which can't be
1669 displayed on the current locale.
1674 trim_subject_for_compare(): renamed from trim_subject().
1675 trim_subject(): new. It removes [...] or (...) at the beginning
1677 * src/prefs_folder_item.c
1679 added options for trimming summary / compose subject.
1680 * src/summaryview.c: summary_set_header(): trim subject if the folder
1682 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
1688 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
1689 X-Face header problem).
1690 conv_encode_header(): allow up to 97 characters for one word.
1694 * src/filter.c: filter_match_condition(): fixed the bug that
1695 second condition ignored regex.
1696 * src/news.h: NewsGroupInfo: use guint for message numbers
1697 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
1701 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
1702 on code conversion failure.
1703 conv_get_charset_str()
1704 conv_get_charset_from_str(): optimized using hash table.
1708 * src/quote_fmt_parse.y:
1709 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
1710 treat only "\n-- \n" as a signature separator.
1714 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
1715 * src/summary_search.c: summary_search_execute(): search collapsed
1721 conv_unreadable_latin(): include 0x7f as an unreadable character.
1722 conv_localetodisp(): don't remove 8bit characters by default.
1723 conv_get_current_charset()
1724 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
1725 appended at the last of locale name.
1726 * src/compose.c: compose_write_to_file(): show from and to encoding
1727 when code conversion failed.
1735 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
1736 (thanks to Colin Leroy).
1737 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
1742 * src/textview.c: textview_write_line(): don't convert if conv is
1747 * src/codeconv.[ch]:
1748 renamed conv_guess_encoding() to conv_guess_ja_encoding().
1749 conv_localetodisp(): new. It removes unreadable characters from
1750 (assumed) current locale string.
1751 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
1752 NULL and current locale encoding is US-ASCII.
1753 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
1754 specified for destination charset.
1755 * src/textview.c: textview_write_line(): use conv_localetodisp()
1756 instead of strncpy2() if conversion failed.
1760 * src/codeconv.c: conv_iconv_strdup()
1762 imap_modified_utf7_to_locale()
1763 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
1764 a warning on some systems.
1765 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
1767 Return NULL instead of incomplete string if conversion failed.
1771 * src/summaryview.c: summary_execute(): select appropriate node
1772 if currently selected node is to be deleted.
1773 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
1774 TRUE if the specified node is selected.
1778 * src/summaryview.c: summary_status_show(): fixed a occasional crash
1779 on deleting or moving.
1783 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
1784 of EUC-JP more accurate.
1785 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
1797 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
1798 duplication bug if the source string has CRLF.
1800 canonicalize_str(): new. Returns newly allocated canonicalized
1802 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
1803 uncanonicalize_file_replace(): new.
1804 * src/compose.c: always canonicalize body before processing, and
1805 uncanonicalize before returning.
1809 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
1810 ENC_8BIT for Russian charsets.
1811 * src/compose.c: compose_write_to_file(): use base64 when signing
1816 * src/prefs_common.c: prefs_send_create(): added a description for
1817 the setting of Content-Transfer-Encoding.
1821 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
1823 * src/procmime.c: procmime_get_encoding_for_charset(): return
1824 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
1825 * src/compose.c: compose_attach_append(): set correct Content-
1826 Transfer-Encoding for message/rfc822.
1827 compose_write_to_file(): enabled user-definable Content-Transfer-
1829 * src/prefs_common.[ch]: added an option for user-defined Content-
1834 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
1835 line doesn't end with linebreak.
1839 * implemented quoted-printable encoding.
1840 * src/quoted-printable.[ch]: qp_encode_line(): new.
1842 compose_write_to_file()
1843 compose_write_attach(): implemented quoted-printable encoding.
1844 compose_attach_property_create(): enabled quoted-printable menu
1846 * src/procmime.c: procmime_get_encoding_for_charset(): return
1847 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
1848 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
1855 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
1856 of abbreviation of newsgroup name.
1860 * configure.in: show the result of iconv detection.
1864 * src/codeconv.[ch]: made the transition from libjconv to iconv().
1865 conv_iconv_strdup(): new.
1869 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
1875 src/prefs_folder_item.c: English fix (property -> properties).
1876 * src/prefs_filter.c: alert if entry is not saved.
1877 prefs_filter_dialog_to_filter(): new.
1881 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
1882 strings after linefeed.
1887 * src/codeconv.[ch]: code cleanup and optimization.
1888 conv_code_converter_new()
1889 conv_convert(): use functions obtained by conv_get_code_conv_func()
1890 when using libjconv.
1891 conv_codeset_strdup(): code cleanup.
1892 conv_get_code_conv_func(): added an argument for destination
1893 character set, and generalized.
1897 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
1899 * src/compose.c: compose_convert_header(): remove trailing spaces.
1900 * src/customheader.c: custom_header_read_str(): strip the spaces
1902 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
1903 strip the spaces of name and value.
1911 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
1912 into infinite loop when encountering invalid characters.
1916 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
1918 * src/summaryview.c: summary_show(): removed summary_sort() because
1919 it is done inside folder_item_get_msg_list(). This will improve
1920 the performance of summary display.
1921 Sorted out the summary sort functions using macros.
1925 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
1926 list if FolderItem::sort_key is set.
1927 Added SORT_BY_TO to FolderSortKey enum.
1928 * src/mainwindow.c: added "View/Sort/by recipient".
1936 * src/codeconv.c: conv_encode_header(): fix for redundant space on
1938 * src/compose.c: compose_convert_header(): always pass string to
1939 conv_encode_header() for line-breaking.
1943 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
1944 parsing of email addresses.
1948 * src/defs.h: added DEFAULT_BROWSER_CMD.
1949 * src/mimeview.c: mimeview_view_file()
1950 src/prefs_common.c: prefs_other_create()
1951 src/utils.c: open_uri(): changed the default web browser to
1952 mozilla, and changed 'raise' command (which is undocumented)
1953 to 'new-window' in 'netscape -remote'.
1957 * src/compose.c: compose_send_control_enter(): fixed crash on
1958 Ctrl-Enter when Message/Send has no accelerator key (thanks to
1966 sort_summary_type_cb(): prevent unwanted processing on unchecking
1971 * src/main.c: process command line option before gtk_init() to
1972 enable remote operation without X (thanks to Ruslan N. Balkin).
1973 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
1978 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
1979 (the spec of autotools seems to be changed).
1983 * src/imap.c: get path separator using LIST command if server
1984 doesn't support NAMESPACE (based on the patch by Brian Sammon).
1985 imap_parse_list(): added an argument to return path separator.
1986 imap_get_namespace_by_list(): new.
1990 * src/addr_compl.c: add_address(): removed the debug print.
1991 * src/gtkutils.[ch]: gtkut_window_popup()
1992 src/mainwindow.c: main_window_popup(): applied the patch to fix
1993 the behavior of window popup from Sergey Vlasov (thanks!)
1994 * src/account.c: account_edit_create(): use signal_connect_after
1995 for row_move signal to fix the row position bug.
1996 account_row_moved(): scroll the CList half page.
1997 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
1999 * src/summaryview.c: summary_reply(): use selection text only if
2000 the displayed message is selected (thanks to Sergey Vlasov).
2004 * src/codeconv.c: conv_encode_header(): reimplemented the routine
2005 of MIME header encoding. And use Q-encoding method if the current
2006 locale is single-byte one.
2007 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
2008 of wide-character string. Consider control codes as non-ASCII.
2009 get_next_word_len(): new. It returns the length of next word.
2010 is_next_mbs(), find_wspace(): removed.
2011 * src/quoted-printable.[ch]: new.
2012 qp_decode_line(): decodes one QP line.
2013 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
2014 qp_get_q_encoding_len(): returns the length when a string is
2016 qp_q_encode(): Q-encode a string (RFC 2047).
2017 * src/unmime.c: moved the functions for quoted-printable to
2022 * src/send.c: send_message_local(): escape line that only have one
2023 dot character (postfix's sendmail command will stop there).
2027 * src/send.c: send_message_local(): don't escape first-dot line
2028 (thanks to Sergey Vlasov).
2032 * autogen.sh: added 'libtoolize --force --copy' to override the
2034 * acconfig.h: removed.
2035 * configure.in: increased minimal version of GPGME to 0.3.10.
2036 Fixed checking of XIM.
2038 ac/gnupg-check-typedef.m4: added an argument for comment.
2042 * src/imageview.[ch]: fixed conflicting declarations of
2043 imageview_show_image() (thanks to Thorsten Maerz).
2047 * src/compose.c: compose_entry_append(): don't add ", " on subject
2049 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
2050 charset from the table (currently disabled for non-Japanese locales).
2051 conv_get_current_locale(): also refer to LC_CTYPE.
2055 * README: added a description about hidden settings.
2059 * src/prefs_common.[ch]: reorganized the common prefs dialog.
2060 Made enable_hscrollbar and bold_unread hidden options.
2064 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
2069 account_find_from_message_file()
2070 account_find_from_msginfo(): new. They find an account from the
2071 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
2074 compose_reedit(): restore messages' previous account on composition.
2075 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
2080 * src/compose.c: cleaned up the code using compose_entry_set()
2081 (don't use gtk_entry_set_text() directly).
2085 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
2089 * updated autotools and libtool to the latest version.
2090 * configure.in: added AC_PREREQ(2.50).
2094 * src/textview.c: textview_set_font(): fix for message display in
2095 UTF-8 locales (thanks to Sergey Vlasov).
2099 * src/imageview.[ch]: imageview_show_image(): resize images to fit
2100 the window size if specified.
2101 * src/prefs_common.[ch]: added an option 'Resize attached images'.
2105 * refactoring for SMTP implementation.
2106 * src/session.h: added ui_func to Session.
2107 * src/smtp.[ch]: separated the connection routine from
2108 smtp_session_new() to smtp_connect().
2109 Changed the argument of every function other than smtp_ok() from
2110 SockInfo to SMTPSession.
2111 Call UI callback from each functions.
2112 * src/send.c: send_message_smtp(): separated the code for UI update
2113 into send_progress_dialog_update().
2117 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
2118 * src/send.c: send_message_smtp(): call smtp_auth() and display
2119 the state to the dialog.
2123 * src/filter.c: strmatch_regex(): use extended regex (thanks to
2125 * src/main.c: main(): removed the code for assortrc -> filterrc
2127 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
2128 current locale is C or POSIX.
2129 gtkut_stext_is_uri_string(): include "www." for URI string.
2130 * src/textview.c: textview_make_clickable_parts(): include "www."
2139 * src/textview.c: textview_add_part(): indicate signature status
2140 using different colors.
2144 * src/folder.c: folder_write_list_recursive(): escape
2145 To/Cc/Bcc/Reply-To strings.
2149 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
2150 headers on locales other than Japanese when not using libjconv.
2154 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
2155 corresponding error message.
2156 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
2161 * src/prefs_account.[ch]: removed prefs_account_save_config() since
2163 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
2164 procmime_mimeinfo_free_all() can be used in every case.
2168 * src/account.c: account_get_special_folder(): support F_INBOX, and
2173 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
2174 COMPOSE_ENTRY_*, and added
2175 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
2178 compose_redirect(): added FolderItem to the arguments, and reflect
2179 settings in the item.
2180 compose_entry_set(): new.
2181 compose_entry_append(): code cleanup.
2182 compose_entries_set_from_item(): take ComposeMode in its arguments,
2183 and enabled FolderItem::use_auto_to_on_reply.
2184 * src/summaryview.c: summary_reply(): pass folder_item to
2185 compose_{reply,forward,redirect}().
2189 * src/gtkutils.[ch]:
2190 gtkut_font_load(): new. It automatically choose font or fontset
2192 gtkut_font_load_from_fontset(): new. It tries to load single font
2193 instead of fontset from a fontset string.
2197 src/summaryview.c: workaround for the problem that couldn't display
2198 8-bit characters in C or POSIX locale (use font instead of fontset).
2201 src/textview.c: made code cleanup using gtkut_font_load*().
2205 * src/mh.c: mh_get_msginfo(): set correct message number.
2209 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
2210 It returns a new MsgInfo associated to a message number.
2211 folder_item_get_msginfo(): new.
2212 * src/imap.[ch]: imap_get_msginfo(): new.
2213 * src/mh.[ch]: mh_get_msginfo(): new.
2214 * src/news.[ch]: news_get_msginfo(): new.
2218 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
2219 infinite loop if an invalid code appeared.
2223 * src/codeconv.c: conv_codeset_strdup()
2224 src/html.[ch]: html_read_line(): don't output conversion failure
2226 Added HTML_CONV_FAILED to the enum HTMLState.
2230 * implemented per-folder auto-set address (still in progress).
2231 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
2232 and set entries from it (if mailto is empty).
2233 compose_entry_append(): activate menu if required.
2234 compose_entries_set_from_item(): new.
2235 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
2236 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
2238 folder_build_tree(), folder_read_folder_func(),
2239 folder_write_list_recursive(): added the above members.
2240 * src/prefs_folder_item.[ch]: added auto-set addresses.
2241 * src/pop.[ch]: removed Pop3State::prev_folder.
2245 * src/compose.c: allow dropping files by also "moving" files from a
2246 file manager (thanks to Alfons).
2250 * compose_reply_set_entry(): made Reply-To have priority over
2251 List-Post on ML reply.
2255 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
2256 * src/summaryview.c: summary_step(): fixed a bug that lost the
2257 correct selection anchor.
2258 summary_key_pressed(): use gtk_sctree_select() instead of
2262 src/recv.c: differentiate disk full and socket errors
2263 (thanks to Colin Leroy).
2267 * src/account.c: account_edit_prefs(): removed unused variables.
2268 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
2271 compose_reply_set_entry(): receive reply type with one argument.
2272 * src/summaryview.c: summary_reply(): reduced conditional branches.
2276 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
2277 from line ends (thanks to Sergey Vlasov).
2278 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
2283 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
2284 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
2285 messages all at once.
2289 * src/account.[ch]: account_open(): new. It opens account prefs
2290 dialog and reflects to UI when finished.
2292 folderview_button_pressed()
2293 folderview_property_cb(): open account prefs dialog when the
2294 property of the root folder of remote account is requested.
2298 * src/account.c: account_destroy(): unref account information in
2300 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
2301 specified account information in all folders.
2303 folderview_rm_imap_server_cb()
2304 folderview_rm_news_server_cb(): destroy Folder first because
2305 folder_destroy() refers to account information.
2309 * src/account.c: account_find_from_item(): fixed a bug which didn't
2310 select the correct account.
2311 * inc_pop3_session_do():
2312 fixed the resource leak when SSL initialization failed.
2313 Immediately break from temporary event loop if cancelled.
2317 * src/account.[ch]: account_find_from_item(): new.
2319 compose_reply(), compose_forward(), compose_redirect()
2320 src/mainwindow.c: compose_cb(): select optimal account when
2322 * src/folder.[ch]: added FolderItem::apply_sub.
2323 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
2324 index of option menu which contains the specified data.
2325 * src/prefs_folder_item(): added Compose tab, and the setting of
2330 * configure.in: added $LDAP_LIBS for lber library detection.
2338 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
2339 leak, and added error checking.
2343 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
2344 removed Compose::orig_account.
2345 compose_check_for_valid_recipient(): check only enabled entries.
2346 compose_write_headers()
2347 compose_redirect_write_headers(): add Newsgroups header only
2348 when the entry is enabled.
2349 compose_send(): modified the method of finding a mail account
2350 from a news account so that it tries to match the From address.
2351 * src/send.c: send_message_queue(): enabled the queueing of news
2353 * src/news.[ch]: news_post_stream(): new.
2357 * configure.in: check lber first and use $LDAP_LIBS on the check
2362 * po/*.po: fixed many typos of format strings which will lead to
2363 crash (thanks to Sergey Vlasov).
2367 * src/procheader.c: procheader_parse_stream(): added Cc header
2368 to the target for full parsing.
2369 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
2370 returns the full message information from the given information.
2371 * src/compose.c: compose_reply(), compose_forward(): get full
2372 message information for Cc header.
2376 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
2377 IMAP4 and NNTP folder summary after checking those accounts.
2385 * src/prefs_common.c: prefs_compose_create(): modified the label
2386 of the option for Reply button.
2387 * configure.in: add -lldap and -llber to the 5th argument of
2388 AC_CHECK_LIB() for LDAP library detection.
2393 INSTALL.jp: updated.
2397 * src/mainwindow.c: toggle the behavior of Reply button between
2398 normal reply and reply-to-list.
2399 * src/prefs_common.[ch]: added an option to switch the function
2404 * src/compose.c: compose_new(): removed the workaround for XIM
2405 because it doesn't have any effect and only seems to cause
2410 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
2411 compose_parse_header(): parse also List-Post header.
2412 compose_reply_set_entry(): support reply-to-ML (fall back to
2413 normal reply if ML address is not found).
2416 src/summaryview.c: reorganized Reply menu and added 'Reply to
2418 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
2419 returns newly allocated parameters.
2423 * src/account.c: account_read_config_all(): set account information
2424 to default before initializing with configuration file.
2425 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
2426 newly created account information structure initialized by
2427 the default settings.
2432 replace_address_in_edit(): check if newtext is NULL.
2433 completion_window_button_press(): fixed a memory leak.
2434 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
2435 recv_time is RECV_TIME_KEEP.
2436 pop3_getrange_uidl_recv(): only set get_all flag if
2437 ac_prefs->getall is set.
2438 pop3_retr_recv(): don't delete messages which are not received
2439 by filter, and set recv_time to RECV_TIME_KEEP in the case.
2440 * src/pop.h: added an enum RecvTime.
2441 * src/inc.c: inc_drop_message(): unlink temporary message file if
2442 not received by filter.
2446 * src/mainwindow.c: added 'Edit/Select thread' menu.
2447 * src/summaryview.[ch]: added 'Select thread' to the context menu.
2448 summary_select_thread(): new. It selects all messages of current
2453 * src/rfc2015.c: check_signature(): corrected error handling and
2458 * src/rfc2015.c: check_signature(): correctly remove the last empty
2459 line, and canonicalize the file part before verifying (this should
2460 fix incompatibility with Evolution or some other MUAs).
2461 * src/utils.[ch]: copy_file_part(): new. It copies the specified
2462 range of file stream to another file.
2466 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
2467 8-bit text when signing (thanks to Colin Leroy).
2471 * src/prefs_common.c: prefs_send_create(): fixed the charset string
2472 for Cyrillic (Windows-1251).
2480 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
2481 Windows-1251. Added bg_BG locale.
2485 * src/compose.c: account_activated(): change the state of menu items
2486 and entries according to the selected account.
2487 compose_select_account(): new. It changes the state of title bar,
2488 menu items and entries.
2492 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
2494 Don't refresh summary view on fetching when open_inbox_on_inc is
2499 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
2500 is set (to avoid summary refresh problem).
2501 * src/imap.c: removed warnings by checking the existence of directory
2502 before calling remove*_numbered_files().
2506 * src/prefs_common.c: corrected English.
2510 * src/prefs_common.[ch]: added an option: "Mark messages as read
2511 only when opened in new window".
2516 folder_tree_destroy()
2517 folder_write_list_recursive(): added sanity check.
2518 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
2519 can't get session, create empty folder node (based on the
2520 Alfons' suggestion).
2524 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
2526 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
2531 * src/news.c: news_scan_group(): fixed wrong message number
2536 * major refactoring for POP3.
2537 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
2538 inc_pop3_state_destroy(), inc_get_uidl_table(), and
2539 inc_write_uidl_list() into pop.c.
2540 Moved Pop3State::folder_table and Pop3State::inc_state into
2543 inc_put_error(): added lockbusy state.
2544 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
2545 inc_cancel(): don't terminate the automaton here but just set
2546 the flags to prevent crash.
2548 pop3_getauth_pass_recv()
2549 pop3_getauth_apop_recv(): check lockbusy state.
2550 pop3_retr_recv(): check Pop3State::cancelled flag.
2551 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
2552 automaton_input_cb(): terminate if cancelled flag is true.
2553 * sylpheed.desktop: changed Type=Internet to Type=Application.
2554 Added Categories=Application;Network;.
2560 src/progressdialog.c: show detailed information to the status
2562 Added cur_total_recv_bytes to Pop3State.
2563 * src/prefs_common.[ch]: added an option to specify whether to
2564 close receive dialog when finished.
2568 * src/folder.[ch]: folder_get_path(): new. It returns the root path
2572 imap_folder_destroy()
2574 imap_remove_all_msg()
2575 news_folder_destroy(): remove cache directories / files when
2576 deleting Folder / messages.
2580 is_file_entry_exist(): check if the argument is NULL.
2582 remove_numbered_files()
2583 remove_expired_files(): fixed memory leaks on error.
2592 src/smtp.[ch]: made Folder and Session destructor virtual method.
2596 * src/compose.c: do joining of normal lines only when auto-wrapping.
2597 * src/main.c: modified the warning message for GnuPG.
2598 * src/about.c: about_create(): modified the compiled-in features
2600 * configure.in: improved LDAP library checking (thanks to Alfons).
2610 compose_wrap_line_all(): backed out the change to join lines that
2615 * configure.in: require at least gpgme-0.3.5.
2619 * src/alertpanel.c: alertpanel_create(): minor modification.
2628 * src/alertpanel.c: alertpanel_create(): modified the layout.
2629 * src/rfc2015.c: check_signature(): don't abort on error.
2633 * src/compose.c: compose_wrap_line_all(): freeze widget only if
2634 required to repress flickers.
2638 * src/compose.c: improved line wrapping.
2640 compose_wrap_line_all(): also join lines that are not indented.
2641 dump_text(): handle multi-byte strings correctly.
2645 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
2646 (go to next line when space is entered at line limit).
2650 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
2655 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
2656 checking to prevent confusion.
2660 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
2661 method Folder::get_msg_list().
2662 * src/account.c: account_edit_prefs(), account_delete(): use
2663 folderview_set_all() instead of folderview_rescan_all().
2664 * src/folderview.[ch]:
2665 folderview_check_new_all(): new. Updates all folders.
2666 folderview_rescan_tree(): confirm before executing.
2667 folderview_rescan_all(): commented out since it's not used anymore.
2668 folderview_update_item_foreach(): added a flag for summary update.
2669 * src/inc.c: inc_finished(): update summary only when
2670 prefs_common.scan_all_after_inc is set.
2671 inc_drop_message(): set mtime of target folder to 0 to force
2672 the updating of summary.
2673 inc_start(), get_spool(): update also summary when updating
2675 * src/mainwindow.c: changed 'File - Rescan folder tree' to
2676 'File - Check for new messages in all folders'.
2680 * src/compose.c: compose_write_to_file(): clearsign message body
2682 compose_clearsign_text(): new. Replaces the string with clearsigned
2684 * src/prefs_account.c: added an option for clearsign.
2685 * src/rfc2015.c: rfc2015_clearsign(): new.
2686 pgp_sign(): added a flag for clearsign.
2687 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
2688 name (needs to be freed by caller).
2689 str_write_to_file(), file_read_to_str(): new.
2693 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
2694 to avoid memory leak.
2698 * src/base64.c: include string.h for memcpy().
2699 * src/gtksctree.c: use macro ABS() instead of function abs().
2700 * src/prefs_account.c
2701 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
2702 conflict with the function send() in sys/socket.h.
2703 * src/mainwindow.c: commented out the unnecessary functions.
2704 * src/utils.c: canonicalize_file_replace(): correct warning message.
2708 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
2709 temporary files in ~/.sylpheed/.
2710 * src/main.c: create temporary directory in ~/.sylpheed/.
2712 src/inc.c: create temporary files in ~/.sylpheed/, and modified
2714 compose_exec_ext_editor(): fixed a bug that failed to create the
2715 temporary file if g_get_tmp_dir() returned directory other than
2720 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
2724 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
2725 to replace the file when the given file and temporary file are not
2726 on the same filesystem.
2727 copy_file(): added a flag whether to keep backup.
2728 move_file(): added a flag whether to overwrite the destination file.
2732 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
2733 * src/select-keys.c: modified key selection dialog.
2737 * src/socket.[ch]: my_gethostbyname(): new.
2738 * src/utils.c: get_domain_name(): return FQDN instead of short
2739 hostname (thanks to Bob Woodside).
2740 * src/template.c: made the debug messages less verbose.
2744 * src/prefs_common.[ch]: removed obsolete default sign key setting.
2745 * src/utils.c: canonicalize_file(): correct the error check of
2750 * src/compose.c: compose_write_to_file():
2751 canonicalize line endings before encrypting/signing (this will fix
2752 interoperability with other MUAs).
2753 Removed unnecessary strdup.
2754 Don't encrypt/sign draft message.
2756 canonicalize_file(), canonicalize_file_replace(): new.
2758 src/select-keys.c: changed g_message() to debug_print() and
2760 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
2761 MIME structure scanning.
2762 * src/textview.c: textview_add_part(): show signature status in
2765 src/sigstatus.c: modified translatable strings and some MIME
2770 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
2771 the temporary file when saving from queue.
2777 src/prefs_account.[ch]
2778 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
2779 Modified some messages.
2783 * src/textview.c: textview_scan_header(): fixed a memory leak
2788 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
2789 in right conditional block.
2793 * src/compose.c: compose_wrap_line_all(): fixed character buffer
2799 log_error(): add time stamp to log messages.
2804 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
2808 * src/socket.c: implemented socket I/O timeout.
2810 * src/pop.c: check errors and return error value correctly.
2814 * src/prefs_actions.c: made the action's input/output dialog display
2815 without delay. Made the dialog modal instead of making window
2816 insensitive. Also cleaned up its UI.
2820 * implemented --attach command line option.
2822 Cmd::attach_files: new member to store file paths.
2823 parse_cmd_opt(): added --attach option. --compose option is implied.
2824 prohibit_duplicate_launch()
2825 lock_socket_input_cb(): added "compose_attach" message.
2828 src/textview.c: renamed compose_new_with_recipient() to
2829 compose_new(), and added an argument for attachment files.
2833 * src/logwindow.c: freeze GtkText widget while hidden.
2834 log_window_append(): changed the header for message and warning.
2838 * src/news.c: implement automatic cache expiration.
2839 news_delete_expired_caches(): new.
2840 news_get_article_list(): fixed a bug that nonexistent messages
2841 were not removed from list.
2842 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
2843 procmsg_get_last_num_in_cache().
2844 * src/utils.[ch]: remove_expired_files(): new.
2849 inc_mail(): force summary refresh when using external command for
2851 inc_all_account_mail(): fixed a bug on spool checking failure.
2862 src/editldap_basedn.c
2864 src/prefs_common.c: fixed memory leaks which didn't free strings
2865 gtk_editable_get_chars() returned. And minor code cleanups.
2867 src/vcard.h: removed C++-style comments.
2871 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
2872 strings which include both multi-byte and us-ascii characters.
2876 * src/utils.c: remove_numbered_files(): don't try to unlink()
2879 conv_get_code_conv_func(): return conv_anytodisp() if charset is
2881 conv_unmime_header_overwrite()
2882 conv_unmime_header(): do conv_anytodisp() before decoding header.
2890 * src/compose.c: added 'Tools/Actions' menu.
2894 * src/base64.c: a minor fix for BASE64VAL() macro.
2898 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
2906 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
2907 base64_encode(), base64_decode(): new.
2908 * src/rfc822.[ch]: removed.
2910 src/about.c: removed the copyright notice for fetchmail.
2916 src/unmime.[ch]: rewrote the MIME decode routines.
2918 unmime_quoted_printable_line(): new.
2920 procheader_get_one_field()
2921 procheader_get_unfolded_line(): remove also CR.
2925 * libkcc: removed from the source tree.
2927 src/about.c: removed the copyright notice for libkcc.
2928 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
2930 * src/prefs_actions.c: removed unnecessary spaces/tabs.
2934 * src/prefs_actions.c: comply with the coding style.
2935 Modified the UI design.
2936 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
2937 menu when multiple messages are selected.
2941 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
2942 update_actions_menu(): simplified the menu deletion.
2943 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
2947 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
2948 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
2953 * configure.in: added check for strchr.
2957 * src/prefs_common.[ch]
2958 src/inc.c: added an option to inhibit receive error dialog.
2962 * src/account.c: account_find_from_address(): support multiple
2963 addresses in header.
2967 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
2968 GtkCTreeNode* so that it won't become invalid after the row move.
2969 Removed dependency to gtkutils.c.
2970 * src/prefs_common.[ch]
2971 src/summaryview.c: summary_selected(): added an option to show
2972 message when cursor keys are pressed on summary view.
2978 src/compose.c: changed "host_alias" to "target_alias" so that it
2979 shows the correct system name on cross-compiling (thanks to
2984 * src/prefs_account.[ch]: added the option menu to force an
2985 authentication method for SMTP AUTH.
2987 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
2988 specify the authentication method for SMTP AUTH.
2989 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
2993 * src/prefs_common.[ch]
2994 src/compose.c: enabled "Wrap on input".
2998 * src/summaryview.[ch]
2999 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
3000 Made some code cleanups.
3005 src/prefs_common.[ch]: added the hidden option to specify the
3006 policy of the vertical scrollbar on folder view.
3010 * src/messageview.[ch]:
3011 messageview_copy_clipboard(): fixed a bug that couldn't copy text
3013 messageview_get_current_textview(): new.
3014 messageview_get_text_widget(): removed.
3015 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
3016 * src/compose.[ch]: implemented the "Paste as quotation" feature.
3017 text_inserted(): new callback for "insert_text" signal.
3018 Add quote mark to the pasted text if Compose::paste_as_quotation
3023 * src/compose.c: if the Content-Type of a file is text/*, check
3024 its content and set the optimal Content-Transfer-Encoding (thanks
3029 * src/textview.c: textview_key_pressed(): pass key press event to
3030 main window to activate menu shortcuts (thanks to Alfons).
3034 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
3035 for mtime to prevent flooring.
3038 imap_move_msgs_with_dest()
3039 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
3041 imap_parse_envelope()
3042 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
3043 full information of messages and simplify the parser. Also fixed
3044 the bug that References header was ignored on threading.
3045 imap_parse_one_address()
3046 imap_parse_address(): removed.
3047 imap_get_header(): new. It reads the RFC822 header and returns
3048 a newly allocated string.
3049 * src/procheader.[ch]: changed procheader_parse() to
3050 procheader_parse_stream() and added different interfaces for it.
3054 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
3062 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
3063 could be inserted into the hash table.
3064 inc_write_uidl_list(): a minor code cleanup.
3065 * src/mainwindow.c: main_window_get_current_state():
3066 make the state unexecutable on an empty folder.
3067 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
3068 * src/pop.c: minor code cleanups.
3072 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
3073 corrected the behavior of the radio buttons.
3077 * implemented 'Delete messages after N days' feature for POP3.
3079 inc_get_uidl_table()
3080 inc_write_uidl_list(): moved the location of UIDL list file from
3081 RC_DIR/uidl-* to RC_DIR/uidl/*.
3082 Added received time for each UIDLs.
3083 src/main.c: main(): create RC_DIR/uidl/ directory.
3084 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
3085 Added recv_time to Pop3MsgInfo.
3086 src/prefs_account.[ch]: added an option for the number of days for
3095 * src/folder.c: folder_set_missing_folders(): fixed a bug that
3096 caused multiplication of special folders on startup if their
3098 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
3103 * src/compose.c: compose_reply(), compose_forward(): reverted the
3104 last change since it causes lockup problem.
3108 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
3110 compose_new_with_recipient(): workaround for initial XIM problem.
3114 * src/mainwindow.c: sort ascending / descending order can be
3115 specified with separated menu items.
3116 Added "View/Sort/Don't sort" menu item.
3117 * src/summaryview.[ch]: summary_sort(): added an argument for
3122 * implemented persistent sort order.
3124 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
3125 folder_write_list_recursive(): write sorting state.
3127 src/summaryview.[ch]: summary_show(): sort if required.
3128 select the top node on descending sort.
3129 Removed SummarySortType and sorting state variables from
3137 src/prefs_account.[ch]: enabled NNTP over SSL.
3138 * src/nntp.c: nntp_group(): issue MODE READER command and retry
3139 when GROUP command once failed (this seems to avoid problems on
3140 some broken news servers).
3144 * faq/it/*.html: corrected DOS linebreaks.
3145 * faq/*/*.html: changed ">" to ".
3149 * src/prefs_account.c: prefs_account_protocol_activated(): hide
3150 unnecessary frames in SSL tab.
3156 src/prefs_account.[ch]: enabled STLS command in POP3.
3157 * src/account.c: account_clist_set_row(): display TLS setting.
3161 * src/compose.c: compose_send_later_cb(): support redirect function.
3164 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
3166 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
3170 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
3171 * src/compose.c: compose_create(): removed unrequired lines.
3175 * src/news.c: news_scan_group(): fixed a bug that set the wrong
3176 values in some cases.
3177 * src/prefs_account.c: corrected English in Advanced - Folder
3182 * src/textview.c: textview_show_message(), textview_show_part():
3183 fixed a bug that GtkSText *text pointed the incorrect object.
3184 textview_add_part(): freeze GtkSText while adding RFC822 headers.
3185 textview_show_part(): fixed a bug that couldn't display single
3186 part MIME message as text.
3190 * src/compose.c: compose_redirect_write_to_file(): correct the target
3191 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
3192 incomplete file when an error occured.
3197 compose_create(): disable menus for draft on redirection mode.
3198 compose_redirect_write_to_file(): correct the error handling of
3200 * src/prefs_common.c: turned off the "Display recipient on `From'
3201 column if sender is yourself" option by default.
3205 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
3206 Based on the implementation of the claws branch.
3207 compose_redirect(): create a new window and make it uneditable.
3208 compose_redirect_write_to_file(): copy headers and body of
3209 original message except for some.
3210 compose_redirect_write_headers(): add extra "Resent-*" headers.
3211 compose_create(): set menu sensitivity for redirection mode.
3215 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
3216 space is inserted between encoded string and the following folded
3217 one (thanks to Masahiro Tomita).
3221 * src/mainwindow.[ch]: some refactoring has been made.
3222 main_window_toggle_message_view(): moved summary_toggle_view_real()
3224 * src/messageview.[ch]: messageview_is_visible(): new.
3225 * src/summary_search.c
3226 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
3227 Instead use messageview_is_visible().
3231 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
3232 * src/summaryview.[ch]:
3233 summary_expand_threads(), summary_collapse_threads(): new.
3237 * src/mainwindow.c: Fixed the behavior of
3238 '/View/Show or hide/Folder tree' and
3239 '/View/Show or hide/Message view' toggle menu.
3240 Removed '/View/Toggle summary view' menu and integrated the
3241 function into '/View/Show or hide/Message view'.
3242 main_window_set_widgets(): change the state of toggle menu items.
3243 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
3248 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
3249 MIME contents other than text as children of message/rfc822 part.
3251 procmime_mimeinfo_next(): modified for message/rfc822 part which
3252 content-type is single part MIME.
3253 procmime_scan_multipart_message(): fix for nested message/rfc822
3254 part. Corrected the size of the contents of message/rfc822.
3255 * src/textview.c: textview_show_part(): extract the contents of
3256 multipart/* and message/rfc822. Some code cleanups.
3257 textview_add_parts(): new. It adds the all parts under a part to
3259 textview_clear(): reset body_pos and cur_pos.
3263 * src/addr_compl.c: modified so that it behaves better.
3264 get_address_from_edit(): ignore comma inside of brackets.
3265 completion_window_apply_selection(): new. Only apply the current
3267 completion_window_accept_selection(): removed.
3268 address_completion_complete_address_in_entry(): minor code cleanup.
3269 don't replace address in entry here.
3270 completion_window_select_row(): always apply clist selection to
3272 completion_window_key_press(): don't apply selection here.
3276 * src/imap.c: imap_create_folder(): keep trailing directory separator
3277 to create a folder that contains sub folder.
3281 * src/foldersel.c: sort tree with case insensitive.
3282 * src/mainwindow.c: allsel_cb()
3283 src/messageview.c: messageview_select_all(): fixed 'Select all'
3285 * src/mainwindow.c: removed common and account prefs button from
3290 * src/compose.c: compose_account_option_menu_create(): check if
3299 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
3300 manual/en/*: updated the English manual.
3302 faq/it/*: added German and Italian FAQ.
3305 faq/fr/*: updated FAQs.
3307 src/mainwindow.c: added German and Italian language.
3311 * src/prefs_account.c: turn off "receive at get all" option by default
3312 when creating an IMAP or News account.
3316 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
3317 * src/prefs_folder_item.c: show also identifier path.
3318 Made layout using table. Show uneditable entry using background
3320 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
3325 * src/automaton.[ch]: added UI callback to Automaton.
3327 src/pop.c: use callback instead of calling inc_progress_update()
3329 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
3334 * src/folderview.c: properly sort abbreviated newsgroups.
3339 src/prefs_common.[ch]
3340 src/summaryview.c: added an option to specify the minimum length
3341 for abbreviated newsgroups name.
3345 * src/folderview.c: folderview_check_new(): skip unselectable folders.
3346 * src/summaryview.c: added 'Create filter rule' to the context menu.
3347 * src/imap.c: some code cleanups.
3348 imap_scan_tree_recursive(): get path separator for each calls.
3349 imap_get_path_separator(): new.
3353 * src/imap.[ch]: supported namespace for others/shared folders
3355 imap_parse_namespace(): parse also others/shared namespace.
3356 imap_find_namespace(): search also others/shared namespace.
3358 strchr_parenthesis_close(): return pointer to closing parenthesis.
3359 strsplit_parenthesis(): split parenthetic list into array of
3364 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
3365 parse date string like "Mon,6 May 2002 20:31:12 +0800".
3366 procheader_scan_date_string(): new. Separated string scanning
3367 part from procheader_date_parse().
3371 * src/summary_search.c: summary_search_execute(): unlock while
3372 selecting summary row (thanks to Martin Schaaf).
3373 * src/summaryview.c: summary_set_column_titles(): reversed the
3374 direction of the arrow so that it matches with Win/Mac style.
3378 * src/compose.c: compose_write_headers(): quote self address name
3379 if required. Some code cleanups. Don't override Newsgroups and
3380 Cc with custom headers.
3381 * src/imap.c: imap_add_msg(): return UID for appended message.
3382 * src/compose.c: compose_queue(): check if queue folder exists.
3383 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
3385 imap_open(): removed an unrequired argument.
3389 * src/utils.[ch]: trim_string(): new. It trim characters longer than
3390 the specified length and adds "...".
3391 * src/folderview.c: trim folder name when displaying dialog.
3395 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
3397 * src/folderview.c: folderview_select()
3398 src/summary_search.c: summary_search_execute(): lock summary view
3399 while searching (thanks to Martin Schaaf).
3407 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
3411 * src/summaryview.c: summary_show(): fixed a bug that didn't process
3413 * src/account.c: account_edit_prefs(): fixed a crash bug when account
3415 * src/prefs_account.c: prefs_account_apply(): display error dialog
3416 if account name is empty.
3417 * src/imap.c: changed some log_print() to debug_print() to reduce
3422 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
3426 mh_do_move_msgs_with_dest()
3428 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
3429 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
3430 if stat() succeeded.
3432 imap_fetch_msg(): SELECT mailbox before FETCH if required.
3433 imap_scan_folder(): set last_num using the value of UIDNEXT.
3434 imap_select(): return immediately if there is no need for SELECT.
3435 preserve the path of currently selected mailbox.
3436 imap_status(): added UIDNEXT.
3440 * src/folder.c: folder_item_scan(): removed the warning.
3441 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
3442 setting case sensitivity.
3446 * src/mainwindow.c: main_window_create(): restrict the minimum size.
3450 * src/compose.c: merged the new line-wrapping routine.
3451 join_next_line(): fixed a bug that didn't join multibyte
3453 get_indent_length(): modified enums and variable names.
3454 INDENT_CHARS: don't indent ':'.
3456 folderview_rename_folder_cb()
3457 folderview_delete_folder_cb(): support folder identifier.
3458 folderview_rm_imap_folder_cb(): integrated with
3459 folderview_delete_folder_cb().
3463 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
3464 * src/folderview.c: folderview_check_new(): abort checking if
3465 folder_item_scan() failed.
3469 * src/imap.c: imap_create_missing_folders(): create only INBOX and
3471 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
3472 type of news folders unchangeable.
3473 prefs_folder_item_destroy(): use prefs_dialog_destroy().
3474 * src/prefs.[ch]: prefs_dialog_destroy(): new.
3478 * src/prefs_account.[ch]: added special folder setting to Advanced
3479 tab. Also moved "IMAP server directory" setting to there.
3480 * src/account.[ch]: account_get_special_folder(): new. It returns
3481 the optimal special folder for accounts.
3482 * src/compose.c: use account_get_special_folder().
3483 * src/prefs_folder_item.[ch]: new. Implemented folder property
3484 dialog, and the special folder settings (most of the functions in
3485 claws are not integrated yet, and the structure is slightly
3487 * src/folderview.c: enabled Property menu.
3491 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
3492 scanning when encountering separators ',' and ';'.
3496 * src/mainwindow.c: reorderd the menu a bit.
3497 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
3498 compose_reply_set_entry(): made 'Reply to sender' work for
3503 * src/compose.c: compose_create(): set geometry hints to restrict
3504 the maximum size of window.
3505 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
3506 imap_get_uncached_messages()
3507 imap_cmd_fetch(): ignore responses which don't include FETCH.
3511 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
3512 the clause for OpenSSL).
3516 * src/prefs_account.c
3517 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
3523 src/session.[ch]: first reorganization of SMTP protocol handling.
3524 SMTPSession: new class which is a sub class of Session.
3525 smtp_session_new(): moved send_smtp_open() into this function.
3526 smtp_from(): moved SMTP AUTH calls into smtp_auth().
3527 smtp_auth(): use server response for SMTP AUTH method.
3528 smtp_ehlo(): read server response and set auth type flags.
3529 smtp_helo(): separated EHLO command.
3530 smtp_ok(): return the last server response if the buffer is
3532 * src/esmtp.[ch]: merged into smtp.[ch].
3533 * src/imap.c: imap_session_destroy_all(): use session_destroy().
3537 * src/imap.c: imap_open(): show warning message if IMAP4 session
3538 can't be established.
3542 * src/compose.c: made template able to be inserted into the current
3544 * src/mainwindow.c: moved some menu items under the submenu
3545 '/View/Show or hide'.
3550 src/inc.c: changed folder_find_item_from_path() to
3551 folder_find_item_from_identifier().
3553 src/prefs_filter.c: use folder_item_get_identifier() to specify
3558 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
3559 existed in claws' implementation).
3560 folder_find_from_name(): find Folder from name and type.
3561 folder_get_identifier(): return Folder id.
3562 folder_item_get_identifier(): return FolderItem id.
3563 folder_find_item_from_identifier(): find FolderItem from id.
3564 folder_get_type_string(): return folder type string.
3565 folder_get_type_from_string(): return FolderType from string
3566 (and fixed the wrong g_strcasecmp() usage).
3568 src/import.c: use folder_item_get_identifier() and
3569 folder_find_item_from_identifier().
3573 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
3574 point the correct address after reading the continuous line.
3575 imap_scan_folder(): set new number to 0 if unseen number is 0.
3576 imap_parse_flags(): don't add new and unread flag if \Seen flag
3578 * ac/Makefile.am: removed gpgme.m4 from MACROS.
3582 * fixed the old problem that couldn't add flags to currently opened
3585 compose_send(): update outbox after saving.
3587 compose_draft_cb(): use procmsg_add_flags().
3588 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
3590 * src/main.c: send_queue(): send from all queue folders.
3591 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
3593 procmsg_flush_mark_queue(): new. Write all queued flags into file.
3594 procmsg_add_flags(): new. Add specified flags to the folder.
3595 procmsg_send_queue(): added an argument to specify queue folder.
3596 procmsg_save_to_outbox(): use procmsg_add_flags().
3597 * src/summaryview.c:
3598 summary_show(): up the opened flag of FolderItem.
3599 summary_clear_list(): down the opened flag of FolderItem.
3600 summary_write_cache(): call procmsg_flush_mark_queue().
3604 * src/summaryview.[ch]: trim the tail of folder name and selected
3605 number on the status label if the space is not enough.
3609 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
3610 set SpecialFolderItemType when creating special folders under
3612 * ac/gpgme.m4: removed.
3614 * ac/missing/gdk-pixbuf.m4
3615 ac/missing/gettext.m4
3617 ac/missing/imlib.m4: added for convenience.
3621 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
3622 shown after the decoded challenge string. Fixed a memory leak.
3624 * src/compose.c: compose_draft_cb(): mark draft messages as read.
3625 * src/folderview.c: folderview_update_node(): disable emphasis
3626 for Outbox and Draft folders.
3630 * src/messageview.c: messageview_show(): fixed a memory leak.
3631 * src/summaryview.c: summary_save_as(): show error dialog if copy
3633 * src/about.c: about_show(): make the window active if it is already
3638 * src/compose.c: show confirmation dialog before sending if Subject
3640 compose_check_entries(): new.
3642 compose_send_later_cb(): use compose_check_entries().
3643 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
3647 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
3648 responses with continuous line correctly, and fixed a memory leak.
3652 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
3654 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
3655 after pasting with middle button to prevent the selection growth.
3660 folderview_rename_folder_cb()
3661 folderview_delete_folder_cb(): modify filter rules only if the
3662 target folder is in the default mailbox.
3663 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
3670 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
3671 Moved 'Delete duplicated messages' under 'Tools'.
3675 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
3677 * src/imap.c: imap_create_special_folder(): fixed a crash bug
3678 when folder creation failed, and re-try to create folders under
3680 imap_scan_tree_recursive(): don't automatically add namespace
3681 prefix if it's INBOX. Search also under the INBOX for special
3683 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
3688 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
3689 abbreviated newsgroup name.
3690 * src/folderview.c: folderview_update_node(): display newsgroups
3691 with abbreviated name if name and path is the same.
3692 * src/summaryview.c: summary_status_show(): show the newsgroup with
3698 src/folderview.c: changed the label 'Draft' to 'Drafts'.
3699 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
3700 imap_create_missing_folders(): fixed the wrong assignment of
3701 Queue folder to draft.
3705 * enabled Sent / Draft / Queue folders on IMAP server.
3706 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
3707 queue and draft folder if they exist.
3709 imap_create_trash(): removed.
3710 imap_create_special_folder(): new. Generalized imap_create_trash().
3711 imap_create_missing_folders(): automatically create missing folders.
3712 imap_is_msg_changed(): added the dummy method.
3713 imap_scan_tree_recursive(): search also Sent, Draft and Queue
3714 folders. Minor code cleanups.
3715 imap_parse_envelope(): check for null strings.
3716 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
3717 for messages on IMAP folder.
3721 * src/compose.c: compose_send(): use account's outbox folder
3723 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
3724 that the outbox can be specified.
3728 * src/compose.c: don't save to outbox when messages are queued.
3729 compose_save_to_outbox(): moved to procmsg.c.
3730 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
3732 procmsg_save_to_outbox(): new. Removes the queueing headers if
3733 needed, and adds the given file to the outbox.
3737 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
3738 get_indent_length(): treat ':' and '#' also as quote char, and
3739 cleaned up using strchr().
3743 * src/mainwindow.c: modified some menu items.
3747 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
3748 (current "outbox" will be kept until rescan).
3749 * src/folder.c: folder_set_missing_folders(): create the missing
3752 src/folderview.c: changed 'Outbox' to 'Sent'.
3753 * src/main.c: call folder_set_missing_folders().
3754 * src/mh.c: mh_scan_tree(): create missing folders.
3755 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
3756 didn't set the menu sensitivity correctly.
3761 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
3762 folderview_rename_folder_cb(): reopen the current folder when
3763 the ancestor is renamed.
3764 imap_rename_folder(): new method implementation.
3766 imap_rename_folder_func(): new.
3767 imap_remove_folder(): remove also the cache directory.
3771 * src/imap.c: implemented locale encoding <-> modified utf-7
3772 conversion, and supported i18n of folder name (thanks to Suzuki
3774 imap_path_separator_subst(): handle the escape characters of
3776 imap_modified_utf7_to_locale()
3777 imap_locale_to_modified_utf7(): new.
3778 imap_create_trash(): modified so that it create the Trash folder
3779 to the correct location when imap directory is specified.
3780 imap_get_real_path(): removed debug print.
3784 * src/socket.c: implemented timeout for DNS lookup and connect().
3785 sock_connect_by_hostname(): timeout support and code cleanup.
3786 sock_connect_with_timeout(): new.
3787 sock_peek(): implemented SSL peek.
3791 * src/messageview.c: messageview_show(): display single-part
3792 text/html messages with the normal text view.
3806 src/prefs_customheader.c
3807 src/prefs_display_header.c
3822 src/xml.c: added 'b' to the option of all fopen().
3830 * src/ssl.[ch]: match its coding style.
3831 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
3835 faq/en/sylpheed-faq*.html
3837 faq/es/sylpheed-faq*.html
3839 faq/fr/sylpheed-faq*.html
3845 src/manual.[ch]: added FAQs in English, Spanish and French.
3849 * manual/en/sylpheed*.html: updated to the latest version.
3854 src/mgutils.c: include string.h to remove warning about strlen()
3868 src/summaryview.c: added break to the last label of switch to
3869 prevent the 'deprecated use of label at end of compound statement'
3871 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
3875 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
3877 inc_cancel_all(): new. It cancels the all current incorporation.
3878 * src/mainwindow.c: added 'Cancel receiving' menu.
3879 * src/textview.c: a minor fix for single-part MIME messages, and
3880 a bit of cleanup for textview_write_body().
3884 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
3885 information if any errors occured before issuing UIDL command.
3886 src/inc.h: added uidl_is_valid to Pop3State.
3887 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
3895 * src/mimeview.c: mimeview_create(): set the initial notebook page
3897 * src/folderview.c: folderview_selected(): scroll the view if the
3898 selected row is hidden.
3899 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
3900 and select the added row.
3901 * src/summaryview.c: fix threading for null message ids.
3905 * src/textview.c: textview_show_message(): follow message/rfc822
3907 textview_add_part(): add a caption before the attached text files.
3908 textview_show_header(): don't add the newline.
3909 * src/messageview.c: enabled message search also in MIME mode.
3913 * src/messageview.c: messageview_show(): set header state of
3914 MimeView's TextView, too.
3915 * src/mimeview.c: mimeview_show_message(): call
3916 textview_show_message() to display message.
3917 * src/textview.c: textview_add_part(): new. It adds the content
3918 of message part without clearing the view.
3919 textview_show_message(): display all parts with appropriate
3921 textview_write_body(): separated from textview_show_part().
3926 src/prefs_common.c: added ISO-8859-15 to the codesets for
3927 displaying and sending.
3928 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
3929 conversion failed, and made caller deal with it.
3930 * src/compose.c: compose_write_to_file(): show error dialog when
3931 code conversion failed, and let user select whether to send it
3933 * src/textview.c: textview_write_line(): show the original string
3934 if code conversion failed.
3938 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
3939 if copy_mbox() failed (thanks to Alexander Kabaev).
3940 * src/prefs_account.[ch]: added separate user ID / password setting
3942 * src/send.c: send_message_smtp(): use separate user ID / password
3943 for SMTP AUTH if it is specified.
3948 src/pop.[ch]: refactored the UIDL management.
3949 store the information of messages into the array of Pop3MsgInfo
3950 structure, and do full scanning of not retrieved messages.
3956 src/mainwindow.c: set WMCLASS for window/dialog.
3957 * src/codeconv.c: conv_codeset_strdup(): return source string
3958 when jconv_alloc_conv() failed.
3962 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
3969 src/summaryview.c: implemented the new notebook tab interface for
3971 * src/textview.[ch]: fixed line space related glitches.
3975 * src/prefs_filter.c:
3976 prefs_filter_rename_path()
3977 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
3981 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
3982 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
3984 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
3985 cancelled, and fixed potential crash bug.
3986 * src/grouplistdialog.c: enabled cancelling of data receiving.
3987 * src/news.c: news_get_group_list(): destroy current session if
3992 * src/manage_window.[ch]: fixed a bug that caused crash when
3993 the main window was hidden.
3994 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
3995 Monitor "unmap_event", "destroy" events.
4002 src/grouplistdialog.c
4006 src/message_search.c
4010 src/prefs_customheader.c
4011 src/prefs_display_header.c
4013 src/prefs_template.c
4014 src/summary_search.c
4015 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
4016 connect signals for window management.
4020 * src/prefs_account.[ch]: added receive size limit option.
4021 * src/pop.c: skip messages larger than the limit size.
4022 LOOKUP_NEXT_MSG(): new macro.
4023 * src/compose.c: compose_attach_append(): check whether the file
4028 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
4029 changed g_message()'s to debug_print() and g_warning().
4030 rfc2015_decrypt_message(): fixed a bug that duplicated message
4031 parts when decryption was failed/cancelled. And made some code
4033 * src/passphrase.c: made the dialog transient.
4034 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
4039 src/procmsg.[ch]: fixed a bug that failed to parse multipart
4040 messages if GPGME was enabled.
4041 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
4043 * src/prefs_account.c: prefs_account_privacy_create(): modified
4044 the vertical spacing.
4048 * src/menu.[ch]: menu_set_sensitive_all(): new.
4049 menu_set_insensitive_all(): made it a wrapper for
4050 menu_set_sensitive_all().
4051 * src/prefs_account.c:
4052 prefs_account_open()
4053 prefs_account_protocol_set_optmenu(): made the protocol type
4054 unchangeable after creating an account.
4055 * src/compose.c: compose_attach_parts(): traverse MIME tree to
4056 extract all attathed files from nested multipart MIME message.
4060 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
4061 obtain minimum/maximum number, and to specify first number
4064 src/inc.c: enabled new message checking on news folder.
4065 * src/news.c: news_scan_group(): implemented. Guess new/unread
4066 message number from the response of GROUP command and the mark
4068 news_select_group(): return the total/first/last number.
4069 * src/prefs_account.c: prefs_account_receive_create(): modified
4070 the text of the 'Get all' check button.
4074 * src/account.c: made 'Get all' checkbox available for IMAP4 and
4076 * src/inc.c: corrected the argument of folderview_check_new().
4077 * src/prefs_account.c: modification for the "`Get all' checks for
4078 new mail on this account" checkbox.
4082 * src/folderview.[ch]:
4083 folderview_rescan_tree(), folderview_rescan_all(): renamed from
4084 folderview_update_tree() and folderview_update_all().
4085 folderview_update_all_node(): removed.
4086 folderview_check_new(): new. If the argument is NULL, it checks
4087 all local folders. If the arguments is specified, it checks
4088 the (local and remote) folder.
4091 inc_all_account_mail(): check also IMAP4 account.
4096 folderview_rename_folder_cb()
4097 folderview_delete_folder_cb(): modify the filter rules when folder
4099 * src/prefs_filter.[ch]:
4100 prefs_filter_rename_path(): new. It renames the destination paths
4102 prefs_filter_delete_path(): new. It deletes the filter rules if
4103 the destination paths matched.
4104 * thanks to Neill Miller for above.
4108 * src/compose.c: inherit attached files when forwarding or reediting
4109 (rewrote the code in claws branch).
4110 compose_attach_parts(): new. It extracts and attaches the files
4111 in the given message.
4112 compose_attach_append(): chnaged the types of arguments.
4113 * src/messageview.c: messageview_show(): moved the GPG decryption
4115 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
4123 * src/summary_search(): summary_search_execute(): scroll the view
4124 when message view is hidden.
4128 * src/foldersel.c: foldersel_set_tree(): made different type of
4129 folders selectable in moving mode.
4130 * src/folderview.[ch]: folderview_update_msg_num(): compare the
4131 numbers with the CTree's labels, and don't update folder_item here.
4132 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
4133 implemented moving between different type of folders.
4134 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
4135 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
4136 mh_move_msg() and mh_move_msgs_with_dest()).
4137 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
4138 moving between different type of folders.
4139 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
4140 * src/summaryview.c: summary_status_show(): update folder_item
4142 * po/POTFILES.in: removed reference to headerwindow.c.
4143 * src/summaryview.c: summary_step(): fixed the behavior on the
4144 head and tail of the list.
4148 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
4149 all header' toggle state from the property of the TextView.
4150 * src/summaryview.[ch]: made 'All header' toggle switch.
4151 Prohibited unnecessary menu update.
4152 summary_select_node(): added the argument 'do_refresh'.
4157 * src/utils.c: strsplit_with_quote(): remove quotation characters
4158 in the function (fix composer's external editor problem) (thanks
4159 to Stefaan A Eeckels).
4160 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
4161 main_window_menu_callback_block()
4162 main_window_menu_callback_unblock(): new.
4163 main_window_set_menu_sensitive(): set the toggle status of
4165 show_all_header_cb(): read the status of toggle menu item.
4166 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
4167 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
4172 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
4173 the path separator (thanks to Sergey Vlasov).
4174 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
4175 if the length of selection is zero.
4176 Fixed the assertion.
4177 * src/utils.c: str_open_as_stream(): return immediately if
4178 the length of str is zero.
4179 * src/headerwindow.[ch]: removed.
4181 src/inc.c: removed stale thread support codes.
4185 * src/procmsg.c: procmsg_open_message(): modified so that it
4186 returns the stream of decrypted message file if it exists
4187 (this fixes the failure of gpg decryption in messageview.c).
4197 src/prefs_template.c
4199 src/quote_fmt_parse.y
4201 src/utils.[ch]: if the part of the message text is selected, use
4202 it for quoted text instead of the entire message body (thanks to
4204 src/utils.[ch]: str_open_as_stream(): new. It returns an
4205 temporary stream for the given string.
4206 * src/main.c: added "--send" command line option.
4207 * src/compose.c: compose_reply_set_entry(): add From address to
4208 Cc if Reply-To and to_all are both specified.
4209 * Makefile.am: correct the Source: line in the RPM spec file in
4214 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
4216 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
4217 that specifies the folder selection type.
4228 src/prefs_customheader.c
4230 src/summaryview.c: made it compile with C compilers other than gcc
4231 (thanks to Shawn Houston).
4235 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
4237 * src/prefs_common.c: made the key binding setting separate dialog.
4238 * src/addressbook.c: addressbook_format_address(): add "" around
4239 the display name if it contains comma (thanks to Satoshi Watanabe).
4240 * src/addr_compl.c: get_complete_address(): add "" around the
4241 display name if it contains comma.
4242 get_address_from_edit(): handle the quotation character correctly.
4243 * src/addr_compl.c: get_complete_address()
4244 src/addressbook.c: addressbook_format_address(): fixed a bug that
4245 caused wrong text processing if the display name is empty.
4250 * src/compose.c: compose_exec_ext_editor_real(): replaced
4251 g_strsplit() with strsplit_with_quote().
4253 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
4255 folderview_drag_motion_cb()
4256 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
4257 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
4261 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
4262 of the message is different from the current mailbox.
4263 Return the correct value.
4264 imap_cmd_append(): properly implemented the APPEND command.
4269 src/messageview.[ch]
4270 src/summaryview.[ch]
4271 src/textview.[ch]: show all headers in the message view, and don't
4272 use the header window anymore.
4274 src/prefs_common.c: changed the default shortcut of 'compose new
4277 src/summaryview.[ch]: summary_display_msg_selected(): new.
4278 Show the selected message if 'Show all header' is selected.
4280 src/sourcewindow.c: changed some procmsg_get_message_file_path()
4281 to procmsg_get_message_file() to be sure the message is
4283 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
4284 any folder to MH folder.
4285 folderview_drag_received_cb(): copy messages instead of moving
4286 if the source folder is news or IMAP.
4288 src/summaryview.c: allow copy from news folder.
4292 * src/prefs_common.c: prefs_other_create(): modified the design
4293 of the external command settings.
4294 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
4295 preset closer to the original.
4296 Added Mutt keybind preset.
4297 Also change the compose keybinds.
4298 * src/compose.c: modified some menu shortcuts.
4299 * src/codeconv.c: modified the locale_table for Thai encoding.
4303 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
4304 * src/prefs_common.c: prefs_interface_create(): modified the
4305 description for menu shortcut.
4309 * src/gtkutils.[ch]: added gtk_stext_clear().
4312 src/summaryview.[ch]: enabled multiple forwarding.
4313 * src/summaryview.c:
4314 summary_set_marks_selected(): set marks for all selected row.
4315 summary_reply(): moved from summary_reply_cb().
4316 * compose.[ch]: compose_forward(): modified so that it receives
4318 * src/mainwindow.c: cleanup for reply processing.
4319 * src/summaryview.c: summary_reply(): fixed a memory leak.
4320 summary_key_pressed(): removed hardcoded mark / mark as unread
4323 src/prefs_common.c: added mark / mark as unread shortcuts to
4328 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
4329 if prefs_common.linewrap_quote is not set (it is only for
4330 auto-wrapping on reply).
4331 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
4332 when creating a new account.
4333 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
4335 * src/prefs_common.c: prefs_interface_create(): modified the
4336 description of key binds selector.
4340 * src/mimeview.c: fixed multiple dialog / moving by correcting
4341 button / key event processing.
4343 src/textview.c: pass some key press events to MimeView in MIME
4345 * src/prefs_filter.c: fixed a bug that didn't set the order of
4347 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
4348 empty_menurc string.
4353 src/prefs_common.c: reorganized the menu shortcuts.
4354 Added 'View - Toggle summary view'.
4355 * src/summaryview.[ch]: summary_toggle_view(): made it public
4357 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
4359 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
4360 closing the dialog with window manager (in more appropriate way).
4361 * src/imageview.[ch]
4363 src/mimeview.c: fixed wrong scrolling position when switching
4364 between text and image parts. Also free the unrequired image
4365 (thanks to Sergey Vlasov).
4366 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
4371 * src/prefs_common.c: implemented shortcut quick changer.
4372 * src/folderview.c: folderview_key_pressed()
4373 src/summaryview.c: summary_key_pressed(): removed some hardcoded
4379 procmime_get_mime_type()
4380 procmime_get_mime_type_table(): made the MIME type search case
4383 gtk_stext_delete_line(): delete newline on empty line.
4384 gtk_stext_delete_to_line_end(): delete newline if cursor is on
4386 (thanks to Yasuzaki Masayoshi.)
4391 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
4392 and made them customizable.
4393 * src/utils.[ch]: added get_file_size_as_crlf() which returns
4394 the file size when converting LF to CR+LF.
4398 * src/compose.c: enabled 'Ctrl-Enter' or
4399 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
4401 * src/gtkstext.c: disabled some Emacs key bindings.
4402 gtk_stext_key_press(): don't extend selection when Shift-Enter
4403 is pressed to prevent the disapperance of cursor.
4404 * src/summaryview.c: summary_select_next_unread(): added the button
4405 to search unread message again from the beginning to the dialog.
4406 * src/folderview.c: folderview_key_pressed(): go to next unread
4407 folder if space key is pressed on the empty folder.
4408 Move CTree focus before selecting row.
4412 * src/defs.h: modified the XLFD of default fonts.
4413 * src/textview.c: textview_create(): fixed a bug that caused
4414 segfault if font couldn't be loaded.
4416 src/grouplistdialog.c: compare subscribed groups with path.
4417 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
4421 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
4422 when URL is wider than wrapping margin.
4424 src/prefs_filter.[ch]
4425 src/summaryview.[ch]: added "Create filter rule" function based
4426 on the patch from Luca Rosellini.
4427 * src/summaryview.c: summary_filter_open(): added X-List and
4428 X-Mailing-list to the automatically detected headers.
4432 * configure.in: support Mac OS X (Darwin).
4436 * src/prefs_filter.c: use inc_(un)lock() instead of
4437 inc_autocheck_timer_{remove|set}().
4438 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
4439 instead of gtk_ctree_sort_node() so that messages within threads
4441 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
4442 target of sizeof was wrong and caused crash on Alpha architecture
4443 (thanks to Motonobu Ichimura).
4448 foldersel_gnode_func(): made the names of special folders
4450 foldersel_set_tree(): move the special folder to the top.
4451 * src/inputdialog.[ch]: input_dialog_query_password(): new.
4455 src/send.c: use input_dialog_query_password() instead of their
4456 own query functions.
4460 * src/defs.h: modified the default font.
4464 src/news.[ch]: moved the class definition and some methods to
4465 the proper location.
4469 * src/mimeview.c: mimeview_save_as()
4470 src/summaryview.c: summary_save_as(): put the default filename
4471 based on the subject.
4472 * src/utils.[ch]: added subst_chars() and subst_for_filename()
4473 which substitute some special characters with underscore.
4474 * src/filesel.c: filesel_select_file(): select the default filename.
4479 INSTALL.jp: added the description and the URL for libjconv.
4480 * src/mainwindow.c: menu entries cleanup.
4486 src/about.c: modified the copyright year.
4487 * src/gtkstext.h: added the notice for modification by the Sylpheed
4493 INSTALL.jp: added the URL for compface.
4501 * src/headerwindow.c
4504 src/sourcewindow.c: set wmclass when creating windows.
4508 * src/compose.c: compose_wrap_line_all(): fixed the bug that
4509 caused infinite loop when wrapping certain patterns of quoted text.
4513 * src/imap.c: imap_parse_envelope(): put the assertion after
4514 imap_parse_address() to prevent segmentation fault.
4519 src/mainwindow.c: modified some labels of menu items.
4520 * src/ldif.c: put the return value of fgetc() in a gint.
4521 * src/importldif.c: don't brace null strings with _().
4522 * src/compose.c: moved the position of Subject entry to the last.
4523 Reorganized the menu.
4524 compose_draft_cb(): added 'keep editing after saving to draft'
4529 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
4530 menu. Moved 'Help' menu to just the right of 'Configuration'.
4531 Removed 'File - Close' menu item.
4535 * src/mainwindow.c: some menu reorganization.
4536 * AUTHORS: updated. Added more contributors.
4537 * src/account.c: account_row_moved(): new. Moves displayed row to
4538 the appropriate position when up / down button are pressed.
4539 account_clist_set(): move displayed row to the appropriate position.
4541 src/mainwindow.c: set title and wmclass when creating windows.
4545 * src/gtkstext.c: fixed a bug that didn't show block cursor
4546 correctly. Removed unnecessary GdkGC copy. Fixed cursor
4551 src/undo.c: modified to use GtkSText.
4552 * src/menu.h: added #include <gtk/gtkmenu.h>.
4557 configure.in: added XIM checking for GTK+.
4558 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
4562 * src/filter.c: added #include <sys/types.h>.
4566 * src/template.c: template_write_config(): fixed a typo.
4567 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
4569 src/prefs_filter.c: supported regular expression (thanks to
4571 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
4572 undo state when pasted clipboard was empty.
4573 undo_check_size(): use g_list_last().
4575 undo_redo(): fixed NULL checking and made a bit of optimization.
4577 * src/prefs_common.c: changed the default value of linewrap length
4582 * reorganization of pixmap management.
4583 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
4584 * modified every files which directly use pixmaps data to use
4586 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
4587 undo_set_change_state_func(), and changed its argument from
4588 GtkWidget* to gpointer.
4589 undo_merge(): code cleanup.
4590 * src/compose.c: renamed compose_set_undo() to
4591 compose_undo_state_changed().
4595 * src/account.c: account_find_from_address(): made it case
4597 * src/addressbook.c: addressbook_create(): set wmclass.
4598 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
4601 src/ldif.[ch]: merged from the claws branch.
4602 * src/importldif.c: removed some warnings.
4603 imp_ldif_field_list_toggle(): fixed button checking.
4604 imp_ldif_dialog_create(): minor layout fix.
4605 * src/ldif.c: removed some warnings.
4607 INSTALL.jp: updated confirmation list.
4610 vcard_test_read_file(): fixed a memory leak of tagtemp.
4611 Some code cleanups (decreasing the indent level).
4614 src/syldap.[ch]: disabled runtime library checking because JPilot
4615 and LDAP libraries are linked on the build time, and the program
4616 doesn't execute without them anyway.
4618 src/addrindex.c: changed "J-Pilot" to "JPilot".
4619 Removed warning for atoi().
4623 * src/procmsg.c: procmsg_empty_trash()
4624 src/mainwindow.c: main_window_empty_trash(): empty trash only if
4625 it contains some messages.
4626 * src/imap.c: search_array_str(): new.
4627 imap_status(): fixed a bug that didn't parse the command response
4632 * merged undo function (by Jens Oberender).
4633 * src/undo.[ch]: new.
4634 undo_insert_text_cb(): fix for multibyte characters (obtain the
4635 number of letters instead of bytes).
4636 * src/compose.[ch]: added the code for undo.
4637 * src/prefs_common.[ch]: added the interface for setting undo level.
4641 * src/compose.c: compose_template_apply()
4642 src/prefs_template.c: prefs_template_clist_set_row()
4643 src/template.c: template_write_config(): don't replace To: and
4644 Subject: entry in composition window if they are empty.
4652 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
4653 * src/ldif.c: ldif_get_line(): ignore CR.
4654 * src/mimeview.c: mimeview_show_message(): search also text/html
4655 for first text part.
4659 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
4660 that didn't update accountrc if account_list == NULL (thanks to
4665 * src/utils.h: added the macro Xstrcat_a() that concatenates
4666 two strings and return alloca'd string.
4667 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
4668 handle folder name which includes some spaces correctly
4669 (based on the patch from Willem van Engen (thanks!)).
4670 * src/compose.c: compose_wrap_line_all(): fixed the crash when
4671 wrapping long lines if linewrap quotation is disabled and
4672 a word spanning more than one line.
4676 * applied the Tobias' patch with modification (thanks!).
4678 imap_msg_set_perm_flags()
4679 imap_msg_unset_perm_flags(): new. They set permanent flags to
4682 src/summaryview.c: set flags on IMAP server when flags are changed.
4686 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
4687 of gtk_container_remove() for workaround of a bug in
4688 Gtk{Text,Entry} (thanks to Sergey Vlasov).
4694 src/textview.c: replaced gtk_container_remove() with
4695 gtkut_container_remove(), and removed previous partial fix.
4699 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
4700 checked user ID on "local", but didn't on IMAP4.
4701 * src/imap.c: imap_session_get(): fixed a crash bug when
4702 rfolder->session == NULL.
4703 * Makefile.am: changed the arguments of tar from 'chojf' to
4705 * src/summaryview.c: summary_toggle_view(): disclaim the selection
4706 of textview before removing vpaned.
4710 * src/messageview.c: messageview_change_view_type(): disclaim the
4711 selection before removing textview. This solves the mysterious
4712 copy-paste disability (thanks to Melvin Hadasht).
4713 * src/textview.c: textview_set_font(): use
4714 gtk_editable_claim_selection() instead of
4715 gtk_editable_select_region().
4719 * src/prefs_template.c: prefs_template_window_create(): supported
4720 address completion on the To: entry.
4725 folder_count_total_msgs()
4726 folder_count_total_msgs_func(): use g_node_traverse() to traverse
4731 * src/compose.c: fixed a bug that empty body was refused.
4732 * src/prefs_template.c: fixed a bug that didn't set To: entry
4733 correctly. Display error dialog if format is illegal.
4734 * src/prefs_common.c
4736 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
4737 "{ }" to prevent confusion on using parenthesis.
4738 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
4742 * src/prefs_template.c: added colon to the header labels.
4747 src/prefs_template.c
4748 src/template.[ch]: added To field to the template.
4752 * src/textview.c: textview_show_part(): use first found
4753 message/rfc822 header.
4754 * src/folderview.c: added "Search messages..." to the context menu.
4755 * src/prefs_common.c: prefs_quote_description_create(): added
4756 description for characters which need to be escaped.
4760 * src/compose.c: compose_wrap_line_all(): more merging from claws.
4761 GET_CHAR(): renamed GET_TEXT() and made it more generic.
4762 Modified compose_wrap_line() and compose_wrap_line_all() to use
4764 * src/textview.c: textview_show_part(): show the header of nested
4765 RFC822 attachment correctly.
4770 src/main.c: added --status option to get new, unread and total
4771 message count from a running Sylpheed (merged from claws).
4772 prohibit_duplicate_launch(): output '\n' only once.
4777 src/gtkutils.[ch]: merged the new wrapping function.
4778 gtkut_text_str_compare_n()
4779 gtkut_text_str_compare()
4780 gtkut_text_is_uri_string(): backport from the GtkSText in the
4781 claws branch, and made modification.
4782 * src/prefs_template.c
4783 src/template.[ch]: added Subject to the template.
4787 * src/compose.c: compose_write_headers(): added missing parenthesis
4788 that generated invalid custom header (thanks to Masaaki Noro).
4789 Allow Sender: custom header.
4793 * src/procheader.c: procheader_date_parse(): workaround for
4794 RFC-incompliant Date header.
4798 * src/addrbook.c: removed redundant functions, and fixed generation
4799 of spurious address book file names.
4800 * src/addrindex.c: V-Card -> vCard.
4804 * src/textview.c: get_email_part(): replaced isalnum() with
4805 the macro IS_ASCII_ALNUM() which restricts the range of
4806 characters to 7bit ASCII (thanks to Shimamoto).
4807 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
4812 * src/textview.c: textview_show_part(): show headers on nested
4817 * src/imap.c: imap_session_get()
4818 src/news.c: news_session_get(): fixed segfault when reconnection
4820 * src/grouplistdialog.c: removed redundant code, and expand nodes
4821 that doesn't match the pattern.
4825 * src/compose.c: modified so that it sends message when any of
4826 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
4827 compose_check_for_valid_recipient(): new.
4828 * src/grouplistdialog.c: improved the UI.
4829 Added appropriate description and search button.
4830 Search doesn't get group list again.
4834 * src/news.[ch]: news_session_get(): update the last access time
4836 news_group_list_free(): new.
4837 * src/grouplistdialog.c: free resources correctly.
4842 src/grouplistdialog.[ch]: more merging of new newsgroup
4843 subscription dialog.
4844 * src/news.[ch]: renamed news_remove_group_list() to
4845 news_remove_group_list_cache().
4849 * src/defs.h: added MAX_ENTRY_LENGTH definition.
4850 * src/compose.c: compose_add_entry_field(): create new entry with
4855 * src/grouplistdialog.c: made non-leaf node selectable.
4856 Give the complete newsgroup name for each nodes.
4860 * src/grouplistdialog.c
4861 src/news.[ch]: merging of new newsgroup subscription dialog
4862 (still in progress. Don't use it yet!).
4866 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
4867 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
4869 compose_entries_set(): new. It parses mailto URL and put each
4870 values into the entries.
4874 * src/compose.c: compose_forward(): fixed a bug that forward
4875 quote mark wasn't used (thanks to Hironori IWANE).
4878 src/prefs_common.c: added Thai encodings (thanks to Manrat
4883 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
4887 src/news.c: added last_access_time to Session.
4888 imap_session_get(): check connection only when access interval
4897 * src/socket.c: ssl_gets(): use SSL_peek.
4898 * updated NEWS and AUTHORS.
4899 * Makefile.am: fixed release target.
4903 * src/template.c: changed the format of template file to
4905 * src/compose.c: compose_template_apply(): freeze the text widget
4906 while inserting strings.
4910 * po/POTFILES.in: removed src/template_select.c.
4911 * src/summaryview.c: summary_set_header()
4912 src/address.c: address_parse_str()
4913 src/filter.c: filter_read_str()
4914 src/news.c: news_parse_xover()
4915 src/procheader.c: procheader_get_fromname()
4916 src/utils.c: subject_compare():
4917 replaced Xalloca() + strcpy() with Xstrdup_a().
4918 * src/inputdialog.[ch]: added combo mode.
4919 input_dialog_combo(): new.
4920 * src/prefs_common.[ch]: added MIME open command setting.
4921 prefs_common_{read, save}_config(): read / write command history.
4922 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
4923 * src/utils.[ch]: add_history(): history list management function.
4927 * src/compose.c: select templates from the menu.
4928 compose_set_template_menu(): new.
4929 compose_reflect_prefs_all(): new.
4930 compose_template_apply(): new. Use dummy MsgInfo for parsing.
4931 * src/template.[ch]: store template list to the static heap.
4932 template_get_config(): new.
4933 template_set_config(): new.
4934 * src/prefs_template.c: don't store template list to the global area.
4935 * src/template_select.[ch]: removed.
4936 * src/quote_fmt_parse.y: check folderitem when quoting messages.
4937 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
4938 (thanks to OSHIRO Naoki).
4942 * src/utils.[ch]: get_template_dir(): new.
4943 * src/template.c: use get_template_dir().
4947 * src/prefs_template.c: modified the dialog layout.
4948 Added symbol description button.
4949 * src/summaryview.c: show an arrow mark to the column of the sort
4951 summary_set_column_titles(): new.
4957 TODO.jp: updated the documents.
4961 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
4962 * src/textview.c: textview_key_pressed()
4963 src/mimeview.c: mimeview_key_pressed()
4964 src/summaryview.c: summary_key_pressed(): delete messages with
4969 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
4970 when SSL_read() returned 0.
4971 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
4973 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
4974 Add prototype of yylex() to suppress the warning.
4975 * merged the template function.
4976 * src/prefs_template.[ch]
4978 src/template_select.[ch]: new.
4979 Renamed prefs_templates_* -> prefs_template_*.
4980 * src/compose.c: added template menu. Added replyinfo to Compose.
4981 * src/mainwindow.c: added template setting menu.
4982 * src/quote_fmt_lex.l: output literal tab and return as is.
4983 * src/prefs_common.c: changed the pref. name of quote format to
4984 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
4988 * src/prefs_common.[ch]: added Quote tab, and moved the quote
4989 setting from Compose tab.
4990 * merged the new quote format parser.
4991 * src/quote_fmt_lex.h
4994 src/quote_fmt_parse.y: new files for quote format parser.
4995 * configure.in: added checks for lex and yacc.
4996 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
4998 compose_quote_fmt(): new.
4999 * src/prefs_common.[ch]: added forward format setting to the
5000 Quote tab. Updated the quote description dialog.
5001 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
5002 if they couldn't get text part.
5006 * src/pixmaps/checkbox_off.xpm
5007 src/pixmaps/checkbox_on.xpm: new.
5008 * src/account.c: display `get all' status with the checkbox pixmaps.
5012 * src/send.c: code cleanup. Pass account prefs structure instead
5014 Query password for SMTP AUTH if not specified (thanks to Mio).
5018 * src/procheader.c: procheader_parse(): fixed a bug that didn't
5019 parse multiple message-id in In-Reply-To: header correctly
5020 (thanks to KAJIWARA).
5024 * src/account.c: enabled 'Get all' setting by clicking the 'G'
5025 column of account list, and added some description.
5026 * src/prefs_common.c: prefs_send_create(): added a description
5027 for outgoing codeset.
5031 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
5032 and added select button and short description.
5033 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
5035 procmime_get_mime_type_table()
5036 procmime_get_mime_type_list(): modified so that
5037 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
5038 $(HOME)/.sylpheed/mime.types are read.
5042 * src/prefs_account.c: moved the address auto-setting to the compose
5044 prefs_account_create(): removed gtk_widget_show_all() for proper
5046 * src/prefs_common.c: changed "Program path" to "Command".
5050 * src/textview.c: textview_set_font(): support Russian charset
5052 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
5056 prefs_summary_column.c: minor improvements to the English.
5057 * src/main.c: get_queued_message_num(): don't output the warning
5058 when queueing folder is not found.
5066 * src/prefs_summary_column.[ch]:
5067 made prefs_summary_column_get_config() public.
5068 * src/summaryview.c: summary_ctree_create(): some code cleanup.
5069 * configure.in: moved the position of SSL checking after LDAP
5070 for linking problem.
5075 src/summaryview.c: allowed reedit in the outbox.
5076 * src/prefs_summary_column.[ch]: new. UI for setting summary
5078 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
5079 It calls summary_set_column_order().
5080 * src/summaryview.[ch]:
5081 summary_ctree_create(): new. separated from summary_create().
5082 summary_set_column_order(): new. It destroys the current
5083 CTree and replaces it with the new one.
5087 * src/smtp.[ch]: smtp_from(): abort if auth failed.
5088 * changed C++-style comments into C-style in some files, and
5089 removed unnecessary commented out codes.
5090 * src/addrcache.[ch]
5094 src/syldap.[ch]: updated the addressbook code, and fixed the
5097 src/importldif.[ch]: new.
5101 * src/about.c: added some items to compiled-in features.
5102 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
5103 * src/addressbook.c: changed "V-Card" to "vCard".
5104 addressbook_edit_address_cb(): added
5105 invalidate_address_completion() to the point address is changed.
5106 * src/codeconv.c: changed C++-style comments into C-style.
5110 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
5114 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
5119 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
5121 * src/summaryview.c:
5122 summary_thread_init(): separated from summary_thread_build().
5123 summary_thread_build(): removed the codes for initialization.
5124 summary_set_ctree_from_list(): call summary_thread_init() instead
5125 of summary_thread_build().
5126 summary_filter(): fixed a bug that didn't moved messages despite
5127 of immediate execution setting.
5131 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
5132 reversed thread tree from message list.
5133 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
5134 node to the head instead of appending to the tail. This prevents
5135 the traverse of node list inside of the GtkCTree, and considerably
5136 speeds up the summary display (the order is O(n^2) -> O(n)).
5140 * src/prefs_common.c
5141 src/summaryview.[ch]: initial modification for reorderable columns.
5145 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a
5147 * src/folderview.c: folderview_button_pressed(): code cleanup, and
5148 turn sensitivity off if main window is locked.
5149 * src/syldap.c: syldap_read_data(): removed unnecessary and
5150 unportable sched_yield().
5154 * src/folderview.c: renamed "Update folder tree" context menu to
5155 "Rescan folder tree", and made "Update folder tree" only updates
5157 folderview_update_all_node(): don't show message dialog.
5158 * src/gtkutils.c: gtkut_widget_get_uposition()
5159 src/mainwindow.c: main_window_popup(): clip the coordinate to
5164 * src/utils.c: to_human_readable(): made a bit of optimization.
5165 * src/summaryview.c: summary_delete(): fixed a focus problem.
5166 summary_find_{prev,next}_msg(): new. They find previous/next
5167 message that is not deleted.
5168 * src/prefs_filter.c: scroll CList automatically if moved row
5169 becomes not fully visible.
5173 * updated some autotool scripts.
5174 * src/codeconv.c: conv_encode_header(): fixed a bug that caused
5175 infinite loop when failed to convert encoding.
5176 * src/codeconv.[ch]: a fix for older version of libjconv
5177 (jconv_info_get_current_codeset() returned "EUCJP" instead of
5186 * src/compose.c: compose_write_to_file()
5187 src/codeconv.c: conv_codeset_strdup(): more workaround for
5188 libjconv problem on C locale.
5189 * src/editldap_basedn.c: fixed segfault when opening dialog.
5190 * src/utils.c: is_next_mbs()
5191 src/compose.c: compose_wrap_line(), compose_wrap_line_all():
5192 changed MB_CUR_MAX to MB_LEN_MAX for compliance to ANSI C.
5193 * configure.in: increased the reqired version of GPGME to 0.2.3.
5194 * src/pop.c: pop3_getauth_user_recv(): fixed a bug that closed
5195 the receive dialog when POP3 server refused normal authentication.
5199 * src/prefs_common.c: prefs_receive_create(): correction to English.
5200 * src/compose.c: compose_set_ext_editor_sensitive(): fixed a bug
5201 that didn't set the menu sensitivity correctly (thanks to
5203 * src/summaryview.c: delete messages permanently if the current
5204 folder is trash and 'delete' operation is executed.
5205 Fixed the bug that didn't select the last row correctly (thanks
5206 to Alfons Hoogervorst).
5207 * src/folder.[ch]: folder_item_remove_msgs(): new. It removes
5208 all messages given in the list.
5212 * src/summaryview.c: summary_show(): fixed a bug that didn't show
5213 message even if the 'open unread message on entering folder'
5214 option was turned on.
5218 * src/procmime.c: procmime_get_text_content(): supported HTML.
5222 * src/summaryview.[ch]: implemented new locking mechanism, and
5223 replaced every static locks with summary_lock(), summary_unlock(),
5224 and added locks to some extra functions.
5225 This fixes a bug that caused segfault when 'd' (delete) key
5230 * src/addressbook.c: addressbook_folder_load_person(): fixed a bug
5231 that caused segfault (thanks to Stefaan A Eeckels).
5235 * src/textview.[ch]: added textview_set_position().
5236 * src/messageview.[ch]: added messageview_set_position().
5248 src/editldap_basedn.c
5253 src/vcard.c: converted C++-style comments into C-style one.
5254 * src/imap.c: QUOTE_IF_REQUIRED(): new macro. Copy string into
5255 new buffer and quote with double quotes if required.
5256 imap_status(), imap_cmd_login(), imap_cmd_list(),
5257 imap_cmd_do_select(), imap_cmd_create(), imap_cmd_delete(),
5258 imap_cmd_copy(): use QUOTE_IF_REQUIRED().
5259 * compose.c: compose_write_to_file(): workaround for the problem
5260 when using libjconv and 8bit codes cannot be converted on C
5262 * codeconv.[ch]: added "ANSI_X3.4-1968" to encoding strings.
5263 conv_codeset_strdup(): don't convert if source and destination
5264 codeset are identical.
5268 * src/textview.[ch]: textview_search_string_backward(): new.
5269 Add the new member cur_pos to TextView.
5270 Connect button_press_event with gtk_signal_connect_after() to
5271 obtain the correct editable position.
5275 * src/folder.c: folder_write_list_recursive(): preserve unthreaded
5280 * src/summaryview.c: modified the layout of popup menu.
5287 src/summaryview.c: applied the patch from Alfons that allows
5288 threading setting for each folders (tnanks!).
5292 * src/message_search.[ch]: new. A Dialog for searching in current
5294 * src/gtkutils.[ch]: gtkut_text_match_string(): new. Compare the
5295 text in current position of GtkText and given wide-character
5297 * src/messageview.[ch]: messageview_search_string()
5298 src/textview.[ch]: textview_search_string(): return TRUE if
5300 * src/textview.[ch]: remember the beginning of body.
5304 * src/procmime.c: procmime_get_first_text_content(): modified so
5305 that it search entire MIME structure.
5306 * src/summary_search.c: summary_search_execute(): use
5307 strdup_mbstowcs() instead of macro. Display matched message.
5311 * src/inc.c: fix for background POP3 hangs and crashes (thanks to
5313 * src/summary_search.c: added body searching function.
5314 * src/procmime.[ch]: procmime_find_string(): changed arguments
5315 and return value. Added case sensitivity option.
5319 * src/procmime.[ch]:
5320 procmime_find_string()
5321 procmime_find_string_part(): new. It searchs the string from
5323 Renamed procmime_get_text_part() to
5324 procmime_get_first_text_content().
5325 procmime_get_text_content(): new. It returns the text contents
5326 of the specified MIME part.
5327 procmime_mimeinfo_next(): new. It returns the next node of
5332 * src/procmime.c: procmime_get_text_part(): modified so that it
5333 finds a text part in nested multipart message correctly.
5334 * src/procmime.h: added an example of MimeInfo structure.
5335 * src/mimeview.c: mimeview_show_message(): search the first text
5340 * src/mainwindow.c: ac_menu_popup_closed(): fixed the bug that
5341 caused segfault. Changed 'Preferences per account...' menu item.
5349 * src/addrindex.c: translate the "Common address" and "Personal
5350 address" from old addressbook.
5354 * src/utils.c: get_quote_level(): some optimization and bugfixes.
5355 * src/codeconv.[ch]: conv_get_current_locale(): new.
5356 * src/editaddress.c: edit_person_page_basic(): reverse the order
5357 of first and last name on some locales.
5361 * src/compose.c: applied the patch from Yasumatsu that reformats
5362 the current paragraph (thanks!). Modified so that it doesn't
5363 reformat quoted paragraphs.
5364 compose_create(): don't fill the entry automatically on reedit
5367 src/summaryview.[ch]: added the "Mark all read" option.
5368 summary_mark_all_read(): new.
5376 src/editldap_basedn.c
5378 src/editjpilot.c: removed all warnings.
5380 src/jpilot.[ch]: fixed the problem that failed to detect JPilot
5381 header files on the Debian system.
5383 src/summaryview.[ch]: enabled sorting by mark, unread, attachment,
5384 and color label. Enabled moving to next/prev flagged messages.
5388 * src/pixmaps/dir-close.xpm
5389 src/pixmaps/dir-open.xpm
5391 src/pixmaps/unread.xpm: modified the color balance.
5392 * src/utils.[ch]: execute_sync(): new.
5393 execute_command_line(): added the arg for async mode.
5394 * src/inc.c: inc_mail(): use execute_command_line().
5399 src/prefs_common.[ch]
5400 src/prefs_account.c: modified the layout. Added the option to
5401 launch the external editor automatically.
5402 * src/compose.c: launch the external editor automatically if the
5407 * src/Makefile.am: added extra xpm's.
5411 * src/addressbook.c: fixed a compilation problem when enabling
5413 addressbook_open(): fixed a missing 'else'.
5417 * src/pixmaps/dir-close.xpm
5418 src/pixmaps/dir-open.xpm
5419 src/pixmaps/trash.xpm: replaced with the new blue icons.
5420 * merged Match Grun's new addressbook code.
5421 * src/pixmaps/address.xpm
5422 src/pixmaps/book.xpm
5423 src/pixmaps/category.xpm
5424 src/pixmaps/interface.xpm
5425 src/pixmaps/jpilot.xpm
5426 src/pixmaps/ldap.xpm
5427 src/pixmaps/vcard.xpm: new icons.
5431 src/addressitem.[ch]
5434 src/editaddress.[ch]
5439 src/editldap_basedn.[ch]
5444 src/vcard.[ch]: new. Many fixes to remove the huge amount of
5446 addrbook_build_avail_email_vis(): fixed a memory leak.
5450 * NEWS: brought in the all of the changes previously put on the web.
5455 src/summaryview.c: modified the layout of menus.
5456 * src/mainwindow.c: ac_menu_popup_closed(): fixed a bug that didn't
5457 return a focus to the main window after selecting the account menu.
5465 * src/send.c: send_message_data(): fixed a bug that didn't process
5466 body part correctly.
5470 * src/inc.[ch]: changed inc_autocheck_(un)lock() to inc_(un)lock().
5471 inc_mail(), inc_all_account_mail(): return immediately if locked.
5474 src/prefs_account.c: use inc_lock() and inc_unlock() instead of
5475 inc_autocheck_timer_{remove,set}().
5476 * src/summaryview.c: summary_set_colorlabel_color(): get the average
5477 of label color and selected fg color for visibility.
5481 * src/inc.[ch]: inc_autocheck_lock(), inc_autocheck_unlock(): new.
5482 They increase/decrease the lock count.
5483 inc_autocheck_func(): if locked, delay the autochecking 1 second.
5484 inc_autocheck_timer_set_interval(): set interval by its argument.
5485 * src/summaryview.c: summary_show(): lock the autochecking while
5487 * src/main.c: app_will_exit(): remove autocheck timer.
5489 src/defs.h: removed the definitions of PACKAGE and VERSION to
5490 prevent unnecessary compilation.
5491 * configure.in: changed AC_DEFINE_UNQUOTED of PACKAGE and VERSION
5492 to AC_SUBST, and added src/version.h to AC_OUTPUT.
5493 * src/version.h.in: new.
5494 * src/intl.h: changed dgettext() to gettext().
5498 * po/ja.po: fixed a typo that crashed Sylpheed with older version
5500 * configure.in: fixed a bug that didn't show results correctly.
5501 Fixed a bug that --enable-compface and --enable-jconv disabled
5503 * src/procmsg.c: procmsg_send_queue(): don't abort when sending
5505 * src/compose.c: compose_write_headers(): add Bcc: header to the
5507 * src/send.c: send_message_data(): new. Separated from
5508 send_message_smtp(). Remove Bcc: header before sending.
5516 * src/send.c: implemented sending with local sendmail command.
5517 send_message_local(): new. It executes command with popen()
5518 and send the contents of RFC822 message to the command.
5519 * src/prefs_common.[ch]: enabled the external sending command option.
5520 * src/defs.h: #define DEFAULT_SENDMAIL_CMD /usr/sbin/sendmail -t
5521 * src/account.c: account_edit_create(): widened the protocol column.
5522 * src/summaryview.c: summary_set_colorlabel_color(): cleanup of
5527 * src/folder.c: folder_item_remove_msg(): scan the folder again
5528 if the last message is removed.
5529 * src/compose.c: compose_queue(), compose_draft_cb(): remove the
5530 old reedited message after adding the new message.
5534 * src/compose.c: compose_queue(): added AID: to the queueing header.
5535 * src/send.c: send_message_queue(): look for AID: header, and use
5536 the server specified in the account instead of SSV: header.
5538 src/compose.[ch]: queued messages can be reedited now.
5539 compose_remove_reedit_target(): new. It removes the old reedited
5541 compose_send(), compose_queue(), compose_draft_cb(): if reedit
5542 mode, remove the old message.
5543 * src/procmsg.c: procmsg_msg_exist(): fixed a bug that output
5548 * applied the XML string table patch from Alfons Hoogervorst that
5549 stores strings in a hash table and minimizes memory allocations
5551 * src/stringtable.[ch]: new.
5552 removed all G and g_ prefix from type and function names since
5553 they're not official GLib symbol names.
5554 string_table_insert_string(): fixed a bug that might refer to an
5555 invalid pointer on lookup, and also made a bit of optimization.
5559 * merged the color label feature from the claws branch (thanks to
5560 Satoshi Nagayasu and Alfons Hoogervoost).
5561 * src/colorlabel.[ch]: new. Renamed from labelcolors.[ch].
5562 Renamed labelcolors_*() to colorlabel_*().
5563 * src/summaryview.[ch]: added color label support.
5564 * src/procmsg.h: added color label flags to the permanent flags.
5565 * updated to gettext 0.10.39.
5566 * src/summaryview.[ch]: put the color label menu item to ItemFactory.
5567 * sylpheed.desktop: added for GNOME.
5568 * configure.in: added AC_MSG_CHECKING() for some options.
5569 Output the configuration results when configure is finished.
5573 * src/account.c: account_clist_set_row(): fixed a bug that failed
5574 to compile if SSL was not enabled.
5578 * merged the SSL support from the claws branch (thanks to Christoph
5580 * src/ssl.[ch]: new.
5581 * src/socket.[ch]: added ssl_read(), ssl_write(), ssl_gets(), and
5583 sock_close(): call ssl_done_socket() if SSL is active.
5584 * src/md5.[ch]: removed MD5_CTX typedef and use MD5_CONTEXT to
5585 prevent type confliction.
5586 * src/prefs_account.[ch]: added SSL tab, and modified the expression.
5587 * src/esmtp.[ch]: added esmtp_ehlo(), and esmtp_starttls().
5588 Removed SSL initialization and HELO from esmtp_starttls().
5589 esmtp_auth(): removed use_smtp_auth from its arguments.
5590 * src/send.c: send_smtp_open(): added SSL support.
5591 * src/smtp.c: smtp_helo(): call esmtp_ehlo() if esmtp is true.
5595 * src/mimeview.c: mimeview_open_with(): braced '%s' with single
5600 * src/main.c: open new account dialog if no account is set.
5601 * src/utils.[ch]: log_verbosity_set(): new. It increase/decrease
5602 the verbosity count.
5603 log_print(): put to statusbar only if log_verbosity_count > 0.
5604 log_message(): put to statusbar.
5605 * src/inc.c: inc_pop3_session_do(): set log verbosity.
5606 * src/mainwindow.c: main_window_set_menu_sensitive(): added the
5607 "Compose new message" item.
5608 main_window_show_cur_account(): removed "Current account: " string.
5609 * src/summaryview.c: summary_show(): ignore the current marks if
5610 main window is locked.
5611 * src/compose.c: compose_attach_property(): fixed a bug that caused
5616 * src/mainwindow.c: main_window_get_current_state(): new. It returns
5617 the current state for the sensitivity of UI.
5618 main_window_set_toolbar_sensitive(): use table like
5619 main_window_set_menu_sensitive().
5623 * src/mainwindow.[ch]: added progressbar and status label to the
5625 main_window_close_cb(): don't exit if locked.
5626 * src/inc.c: update the progressbar of main window, too.
5630 * src/mainwindow.[ch]: main_window_set_toolbar_sensitive(): removed
5631 the second argument, and determine the sensitivity with the
5632 state of summary view.
5636 * src/pop.c: pop3_getsize_list_recv(), pop3_retr_recv(),
5637 pop3_delete_recv(): don't try to receive messages which are not
5642 * src/mainwindow.c: main_window_lock(), main_window_unlock():
5643 removed the whole menubar locking.
5644 main_window_set_menu_sensitive(): process the sensitivity change
5645 with a table, and deal with locking.
5649 * src/summaryview.[ch]: summary_get_selection_type(): new.
5650 It returns the current selection state of summary view.
5651 summary_key_pressed(): abort on some commands if main window
5653 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
5654 increase/decrease the lock count.
5658 * src/prefs_filter.c: prefs_filter_create(): added List-Id to the
5659 default header list.
5660 * src/prefs_common.[ch]: added the option for receive dialog mode
5661 to the Interface tab.
5662 * src/inc.[ch]: inc_progress_dialog_create(): don't make the dialog
5663 transient, and show dialog only if the setting is
5664 RECV_DIALOG_ALWAYS, or RECV_DIALOG_ACTIVE and a window is active.
5665 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
5666 new. Lock / unlock the user-interface.
5667 * src/progressdialog.c: progress_dialog_create(): don't make the
5672 * src/folderview.c: folderview_update_node(): suppressed unnecessary
5674 * src/menu.[ch]: menu_button_position(): new. It calculates the
5675 position of popup menu.
5676 * src/mainwindow.c: toolbar_account_button_pressed(),
5677 ac_label_button_pressed(): put the popup menu to the correct
5678 position. Change the style of the button while opening the menu.
5679 ac_menu_popup_closed(): new function called on selection_done
5681 * src/gtkutils.c: gtkut_ctree_node_next(): fixed a crash bug when
5683 * src/summaryview.c: applied the summary fix patch from Sergey Vlasov
5685 Fixed the bug that didn't select previous message in refresh mode
5686 if threads were not expanded.
5687 summary_select_node(): new.
5688 * src/inc.c: applied the summary view update optimization patch from
5689 Sergey Vlasov (thanks!).
5690 If no new messages are received, don't perform summary refreshing.
5691 In addition to the Vlasov's patch, POP3 receive information is
5693 * src/inc.h: added a new member cur_total_num to Pop3State.
5694 * src/pop.c: pop3_retr_recv(): increase state->cur_total_num.
5702 * src/summaryview.c: summary_set_row_marks(): got the color of
5703 unread row set properly.
5704 * src/folderview.c: foldreview_update_node(): don't use
5705 gtk_style_copy(), and reuse previously allocated styles.
5706 * README, README.jp: modified.
5710 * src/pop.c: pop3_getsize_list_recv(): fixed a remotly exploitable
5711 memory corruption bug (thanks to David Looney).
5712 * src/inc.c: inc_all_account_mail(): call inc_finished() even if
5713 there are no enabled accounts, or local spool only.
5714 * src/summaryview.c: applied the summary update improvement patch
5715 from Sergey Vlasov (thanks!). It keeps the position of the
5716 message displayed. Selected and displayed message are also kept.
5717 summary_get_msgnum(): new.
5718 summary_get_current_msgnum(): removed.
5719 summary_select_by_msgnum(): don't display the message.
5720 * src/account.c: added "Get all" column.
5721 account_clist_set_row(): show default and get-all flags with the
5723 * src/utils.c: to_human_readable(): increased the number of decimals
5728 * implemented the long-awaited :) "Add sender to address book" feature.
5729 * src/address.[ch]: added the argument for remarks to
5731 address_get_folder_list(): new. It traverses the address tree and
5732 returns the folder list.
5733 address_delete_object(): modified so that it removes the node
5735 * src/addressbook.[ch]: addressbook_add_submenu(): new. It creates
5736 a address folder menu and attaches it to the menu item.
5737 addressbook_refresh(): reload the address book folder tree.
5738 * src/summaryview.c: summary_set_add_sender_menu(): new. It attaches
5739 the menu to add sender to address book.
5740 summary_button_pressed(): call summary_set_add_sender_menu()
5741 before popup the menu.
5745 * src/summaryview.c: summary_thread_build(): fixed a bug that locked
5746 up the process. Optimized the initial thread build.
5750 * src/summaryview.c: made many code cleanups.
5751 summary_show(): block/unblock the signal handlers instead of
5752 disconnect/connect them.
5753 summary_set_row_marks(): made the font of collapsed node bold if
5754 it has cnildren marked as unread.
5755 summary_thread_build(): block tree_expand signals while processing.
5756 Use loop instead of the recursive function. Mark collapsed nodes
5758 summary_unthread(): block tree_collapse signals while processing.
5759 Use loop instead of the recursive function.
5760 summary_thread_func(), summary_unthread_func(): removed.
5761 summary_tree_expanded(), summary_tree_collapsed(): new callback
5763 * src/inc.[ch]: inc_pop3_session_do(): don't show alert panel when
5764 failed to connect. Show more detailed status on the dialog.
5768 * src/folderview.c: folderview_update_all_node(): new. It updates
5770 * src/inc.c: update all local folders after incorporation if
5771 scan_all_after_inc option is set.
5772 * src/prefs_common.[ch]: added scan_all_after_inc option.
5773 * src/folder.h: FOLDER_IS_LOCAL(): new macro.
5782 src/prefs_common.h: made bold and small font configurable.
5783 src/summaryview.c: display unread messages with bold font.
5784 * src/prefs_common.c
5786 src/summaryview.c: added an option to enable/disable the
5787 emphasis of unread messages.
5791 * src/pixmaps/mark.xpm: modified.
5792 * src/gtkutils.[ch]: gtkut_ctree_expand_parent_all(): new.
5793 * src/summaryview.c: summary_set_ctree_from_list(): don't expand
5794 the root messages of threads for performance improvement.
5796 summary_select_next_unread()
5797 summary_step(): expand threads when opening messages.
5798 summary_thread_build(): expand threads if the option is turned on.
5799 * src/prefs_common.[ch]: added "Expand threads" option.
5803 * src/prefs_common.c: removed "Emulate the behavior of mouse
5804 operation of Emacs-based mailer".
5805 * src/prefs_common.c
5806 src/prefs_account.c: changed the value of VSPACING_NARROW to 3.
5807 * src/pixmaps/new.xpm
5808 src/pixmaps/unread.xpm: reverted.
5813 address_folder_new()
5815 address_item_new(): changed the return value to AddressObject.
5816 address_build_tree(): don't put assertion for file.
5817 * src/pixmaps/new.xpm
5818 src/pixmaps/unread.xpm: modified a bit.
5822 * src/addressbook.c: fixed some bugs.
5826 * separated the logic part of addressbook into another module
5827 (still in progress).
5828 * src/address.[ch]: new. It contains the logic part of addressbook.
5829 * src/addressbook.[ch]: removed the logic part.
5833 * src/textview.c: textview_show_header(): fixed a bug that a garbage
5834 character was shown after header names.
5838 * src/inc.c: inc_start(): don't abort with non-fatal error.
5846 * src/mimeview.c: mimeview_view_file(): added -x option to the
5847 metamail to prevent the suspention of the main process.
5848 mimeview_button_pressed(): deactivate `Open' menu item if
5849 content-type is application/octet-stream.
5853 * src/imap.c: imap_parse_atom(): parse escaped characters properly.
5854 get_quoted(): new. It handles the escape character '\'.
5855 * src/folder.c: folder_read_list(): don't output warning if
5856 folderlist.xml doesn't exist.
5857 * src/main.c: main(): write folder list after setup.
5858 * src/textview.c: textview_create()
5859 src/compose.c: compose_create(): set default tab width to 8.
5863 * src/prefs_common.c: date_format_select_row(): fixed a bug that
5864 caused segfault when selecting the list with key.
5868 * src/mainwindow.c: main_window_popup(): deiconize the window
5869 when popup (thanks to Henrik Carlqvist).
5870 * src/procmime.c: procmime_scan_mime_type(): new.
5871 procmime_scan_content_type(): use procmime_scan_mime_type().
5872 procmime_scan_mime_header(): scan the extension of attached files
5873 and add the correct MIME type if the Content-Type is
5874 "application/octet-stream" (thanks to Don Quijote).
5875 * src/compose.c: compose_toolbar_create(): added a new "Send later"
5876 icon (thanks to Leandro Pereira).
5880 * src/prefs_common.c: date_format_create(): modified the layout of
5885 * src/account.c: account_find_from_address(): fixed a minor bug.
5886 * src/prefs_common.c: incorporated the user-interface for setting
5887 date format from the claws branch, and made some modification to
5892 * src/account.[ch]: account_edit_create(): modified the text of
5894 account_find_from_address(): new.
5896 procmime_scan_content_type(), procmime_scan_content_disposition():
5897 fixed ESC code detection.
5898 * src/compose.c: compose_reply(): automatically select account
5899 according to the message header.
5900 * src/prefs_common.[ch]: added member "reply_account_autosel".
5904 * src/progressdialog.c: made the CList scrollable.
5905 * src/inc.c: inc_start(): don't abort with non-fatal error.
5909 * added English Sylpheed User's Manual by Paul Kater
5910 (paul@nlpagan.net) (thanks!).
5913 src/mainwindow.c: added support for English manual.
5914 * manual/en/sylpheed*.html: added English documentation.
5919 * src/nntp.c: nntp_ok(): fixed the bug that didn't handle a response
5920 that didn't have any trailing messages.
5921 * src/smtp.c: smtp_ok(): ditto.
5922 * src/compose.c: compose_account_option_menu_create(): modified
5923 the style of the account option menu.
5927 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
5928 remove return code from strings automatically.
5929 prefs_custom_header_create(): added "X-Face" to the default
5931 * src/news.c: news_fetch_msg(), news_get_group_list()
5932 src/imap.c: imap_fetch_msg(): create the cache directory before
5935 procmime_scan_content_type()
5936 procmime_scan_content_disposition(): convert JIS into EUC-JP
5938 * src/codeconv.c: conv_unmime_header(): cleaned up a bit.
5939 * src/compose.c: don't append attachment headers if the attach
5940 pane is visible but the list is empty.
5941 * src/recv.c: recv_bytes_write(): use g_malloc() instead of alloca().
5949 * src/compose.c: compose_quote_parse_fmt()
5950 src/prefs_common.c: prefs_quote_description_create(): added the
5951 symbol `%c' that allows to include Cc in reply format (thanks
5954 src/procmime.c: procmime_decode_content(): applied the patch
5955 from Sergey Vlasov that allows to decode base64 data with
5956 unusual line length (not a multiple of 4) (thanks!).
5960 * src/procmsg.[ch]: separated the permanent flags and temporary
5961 flags into two variables, and made MsgFlags a structure that
5963 MSG_SET_PERM_FLAGS()
5965 MSG_UNSET_PERM_FLAGS()
5966 MSG_UNSET_TMP_FLAGS(): new macros.
5974 src/summaryview.c: modified for the new MsgFlags.
5975 * src/utils.[ch]: hash_free_value_mem(): new. It frees the values
5980 * src/inc.c: inc_pop3_recv_func(), inc_progress_update():
5981 display current size with human-readable format.
5982 * src/grouplistdialog.c: grouplist_recv_func(): ditto.
5989 conv_unmime_header(), conv_unmime_header_overwrite(): workaround
5990 for raw-JIS code in header fields.
5992 folder_get_default_folder()
5993 folder_get_default_inbox()
5994 folder_get_default_outbox()
5995 folder_get_default_draft()
5996 folder_get_default_queue()
5997 folder_get_default_trash(): fixed a bug that caused segfault
5998 if folder_list is NULL.
6008 * src/grouplistdialog.c: grouplist_dialog_set_list(): update UI
6009 while retrieving newsgroup list.
6010 grouplist_dialog_create(): added entry widget and status label.
6011 grouplist_recv_func(): new.
6012 refresh_clicked(): added exclusive lock variable.
6013 clist_selected(): set text entry when the CList is selected.
6014 renamed from group_clist_select().
6015 entry_activated(): new.
6016 grouplist_clear(): renamed from grouplist_free(). Also clears
6017 list and entry widget.
6018 * src/news.c: news_get_group_list(): sped up the list appending
6019 (g_slist_append() becomes very slow if list size is large).
6020 * src/defs.h: added UI_REFRESH_INTERVAL definition.
6021 Changed the definition of NEWSGROUP_LIST.
6022 * src/recv.c: recv_write()
6023 src/send.c: send_message_smtp(): changed the UI refresh interval
6024 to UI_REFRESH_INTERVAL (50msec).
6025 * src/account.c: account_add(): fixed a bug that didn't update
6026 folder tree when a news account was added.
6027 * src/grouplistdialog.c: made exclusive lock variable global, and
6028 lock at grouplist_dialog_set_list().
6029 * src/textview.c: fixed a bug that disabled clickable URI if
6030 message color was disabled.
6034 * src/grouplistdialog.c: ok_clicked(), cancel_clicked(): don't
6035 quit main loop if gtk_main_level() is 1.
6036 grouplist_dialog_set_list(): freeze CList while appending the list.
6037 grouplist_dialog(): show dialog before updating the list.
6041 * src/folder.c: folder_write_list_recursive(): add the attribute
6042 `collapsed' if a node have some children.
6043 * src/grouplistdialog.[ch]: new. Newsgroups can be selected from
6046 news_get_group_list(): new. It returns newsgroup list.
6047 news_remove_group_list(): new. It removes newsgroup list cache.
6048 * src/folderview.c: folderview_new_news_group_cb(): call
6049 grouplist_dialog() instead of input_dialog().
6053 * autogen.sh: modified.
6055 src/folderview.c: made expand/collapse state of folders persistent
6064 * src/imap.c: imap_remove_folder(): select INBOX with EXAMINE before
6066 imap_cmd_do_select(): new. It toggles between SELECT and EXAMINE
6067 according to the argument.
6068 imap_cmd_select(): use imap_cmd_do_select().
6069 imap_cmd_examine(): new.
6070 * src/folderview.c: folderview_rm_imap_folder_cb(): select current
6071 folder again when removing failed.
6077 * manual/ja/sylpheed.sgml
6078 manual/ja/*.html: updated the Japanese manual (thanks to Imai).
6079 * src/summaryview.c: summary_set_row_marks(): fixed a bug that
6080 didn't set foreground correctly.
6082 src/summaryview.h: removed the member color_normal from FolderView
6084 * src/mainwindow.c: main_window_create(): removed color_normal.
6088 * src/prefs_account.[ch]: the port numbers of IMAP4 and NNTP
6090 * src/imap.c: imap_session_get()
6091 src/news.c: news_session_new_for_folder(), news_session_get():
6092 use user-defined port number if specified.
6096 * src/imap.c: imap_scan_tree_recursive(): get mailbox status when
6098 imap_scan_folder(): implemented. It updates the numbers of new,
6099 unread and total messages.
6100 imap_status(): new. It parses the response of STATUS command.
6101 imap_status_uidnext(): removed.
6102 imap_cmd_status(): removed.
6103 * src/textview.c: textview_show_part(): fixed potential memory leaks.
6107 * src/alertpanel.c: alertpanel_create(): fixed truncated message.
6108 * src/rfc2015.c: rfc2015_decrypt_message(): fixed the case problem
6109 of content-type (thanks to Ren?Rebe for the patch).
6110 * src/codeconv.c: code_get_code_conv_func(): fixed the ISO-8859-1
6112 * src/prefs_common.c: prefs_send_create(): made some more character
6113 sets specifiable when not using libjconv.
6114 * configure.in: disabled --enable-threads option temporarily.
6116 INSTALL.jp: deleted the description about --enable-threads option.
6120 * updated gettext to 0.10.38.
6126 * src/folderview.[ch]: folderview_set_all(): new.
6127 * src/account.c: account_add(): call folderview_set_all() after
6128 creating IMAP4 tree.
6129 account_edit_create(): account preferences dialog can be opened
6130 with double clicking of the list.
6131 account_selected(): new.
6132 account_clist_set(): made the CList focus set correctly.
6136 * src/imap.c: imap_scan_tree(): call imap_create_trash() if trash
6138 imap_scan_tree_recursive(): search the sub folders of INBOX.
6139 recognize Trash folder.
6140 imap_create_tree(): separated the part of creating trash.
6141 imap_create_trash(): new.
6142 * src/folder.c: folder_build_tree(), folder_write_list_recursive():
6143 preserve no_sub and no_select.
6144 * src/summaryview.c: summary_show(): don't proceed if item->no_select
6149 * src/imap.c: imap_scan_tree(): fixed a bug that didn't set the
6150 root folder correctly.
6154 * src/folderview.[ch]:
6155 folderview_update_tree(): new. It updates one folder tree.
6156 folderview_update_tree_cb(): new.
6157 Added "Update folder tree" to the popup menu, and modified some
6162 * src/imap.c: implemented the autoscan of IMAP4 folder list.
6163 imap_scan_tree(): new. It scans the whole IMAP4 folder.
6164 imap_scan_tree_recursive(): new. It traverses the IMAP4 folder tree.
6165 imap_parse_list(): new. It parses the LIST response.
6166 imap_get_real_path(): new. It converts local path into IMAP4 path.
6167 * src/folder.h: added no_sub and no_select to FolderItem.
6168 * src/folder.c: folder_tree_destroy(): reset some variables.
6169 * src/folderview.c: folderview_scan_tree_func(): supported IMAP4.
6173 * src/imap.c: imap_parse_envelope(): fixed a bug that didn't
6174 parse the FETCH response that continues to the next line.
6175 imap_parse_fetch_element(): removed.
6176 imap_parse_atom(), imap_parse_one_address(), imap_parse_address(),
6177 imap_parse_envelope(), imap_get_uncached_messages(): use GString
6178 and sock_getline() to parse the FETCH response.
6179 imap_remove_all_msg(): fixed a bug that didn't delete messages
6181 imap_parse_address(): fixed a bug that didn't concaternate
6182 addresses correctly, using GString.
6183 * src/socket.[ch]: sock_getline(), fd_getline(): new. They read
6184 the whole line and return the newly allocated string.
6185 * src/prefs_account.[ch]: added `IMAP server directory' entry.
6191 * src/imap.c: imap_create_tree(): pass the path that is separated
6192 by the local filesystem separator to imap_create_folder().
6193 imap_create_folder(): examine the existence of folders using
6194 LIST command instead of STATUS.
6195 imap_cmd_list(): new.
6196 imap_query_password(): new.
6197 imap_session_new(): query password if it is not set.
6201 * src/imap.c: imap_parse_envelope(): FETCH results can be parsed
6202 with arbitrary order.
6203 imap_parse_fetch_element(): new. it parses one pair of name and
6204 value of FETCH results.
6205 imap_parse_flags(): modified for more flexibility.
6206 * src/utils.[ch]: set_log_file(): new. it opens a new file for
6208 close_log_file(): new. it closes the opened log file.
6209 log_print(), log_message(), log_warning(), log_error(): also
6214 * src/imap.c: imap_cmd_status(): check the pointer to "value"
6215 before the assignment (thanks to NISHIJIMA).
6219 * src/folderview.c: folderview_drag_motion_cb(): don't allow DnD
6220 across MH and IMAP4 folder (for now) (thanks to Hiramatu).
6221 * src/foldersel.[ch]: don't show folders which can't be targets
6233 imap_cmd_store(): use UID instead of sequential number.
6234 Renamed imap_set_article_flags() to imap_set_message_flags().
6235 * src/summaryview.c: summary_execute(): don't update summary
6236 even if current folder is IMAP4.
6237 * src/utils.[ch]: remove_numbered_files(): changed the type of
6238 arguments from gint to guint.
6242 * src/imap.c: imap_cmd_login(), imap_cmd_select(), imap_cmd_status(),
6243 imap_cmd_create(), imap_cmd_delete(), imap_cmd_copy(): don't
6244 enclose with double quotation if string doesn't have space
6245 (workaround for old Cyrus IMAP4 server).
6246 imap_create_folder(): fixed a bug of separator substitution.
6247 renamed imap_session_connect_if_not() to imap_session_get().
6248 imap_get_msg_list(): delete all cached messages if use_cache
6250 imap_delete_cached_messages(): remove cached files in between
6251 the specified range by reading directory entry.
6252 imap_parse_one_address(): set fromname same as the from address
6254 * src/utils.[ch]: remove_numbered_files(): new. The range is
6256 * src/summaryview.c: summary_execute(): update summary if current
6258 KEY_PRESS_EVENT_STOP(): new macro.
6259 summary_key_pressed(): stop signal emission when calling
6261 summary_select_by_msgnum(): show message only if
6262 msg_is_toggled_on is TRUE. Move current page to the selected
6264 * src/news.c; news_delete_old_articles(): remove cached files in
6265 between the specified range by reading directory entry.
6267 folderview_selected(), folderview_button_released(): fixed a bug
6268 that didn't select folder correctly.
6274 src/prefs_common.c: improvements to the English (thanks to Paul
6276 * src/mainwindow.c: compose_cb()
6277 src/summaryview.c: summary_key_pressed()
6278 src/compose.c: compose_new_with_recipient(): newsgroups entry
6279 is automatically filled when composing a new article.
6283 * src/procmsg.c: procmsg_msg_list_free(): fixed a bug that didn't
6284 free list correctly.
6290 * src/imap.c: imap_find_namespace(): replace namespace path
6291 separator with slash before comparison.
6292 imap_remove_folder(): use namespace.
6293 imap_create_tree(): use namespece when creating Trash.
6294 imap_get_msg_list(): fixed a bug that returned old list and caused
6295 memory leak if exists == 0.
6296 imap_select(): new. It's a wrapper for imap_cmd_select().
6297 * src/foldersel.c: foldersel_set_tree(): show IMAP4 folder too.
6302 folderview_new_folder_cb()
6303 folderview_new_imap_folder_cb(): show error dialog when creation
6304 or deletion of folder failed.
6305 Made it allow users to create a folder which contains subfolders.
6306 folderview_button_pressed(): disabled delete menu on the special
6308 * AUTHORS: incorporated from claws branch. It now contains all
6310 * src/send.c: enabled cancellation.
6311 EXIT_IF_CANCELLED(): new macro.
6312 Added cancelled flag to SendProgressDialog.
6313 * src/utils.[ch]: strtailchomp(): new. It removes the trailing
6314 specified character.
6315 * src/imap.c: imap_cmd_fetch(): a fix for MS Exchange 2000 server.
6319 * src/imap.c: imap_create_tree(): new. It creates required
6320 folders such as INBOX and Trash.
6321 imap_do_copy(), imap_do_copy_msgs_with_dest(): don't expunge
6323 imap_remove_all_msg(): return immediately if exists == 0.
6324 * src/account.c: account_add(), account_set_missing_folder():
6325 made them use folder->create_tree().
6329 * src/imap.c: more namespace implementation.
6330 imap_find_namespace(), imap_path_separator_subst(): new.
6334 * src/imap.c: imap_parse_namespace(), imap_cmd_namespace(): new.
6338 * src/summaryview.c: summary_show(): fixed a glitch in folder view.
6342 * src/imap.[ch]: added imap_add_msg(), and imap_append_message(),
6343 which appends file into IMAP4 folder.
6345 imap_create_folder(): check the existence of a folder before
6347 renamed the prefix of low-level IMAP4rev1 functions to imap_cmd.
6348 * src/account.c: account_add(), account_set_missing_folder():
6349 create INBOX automatically when creating IMAP4 account.
6353 * src/utils.[ch]: added itos_buf() that takes the buffer for its
6355 * src/imap.[ch]: imap_copy_msg(), imap_copy_msgs_with_dest(): new.
6356 * src/folder.c: added copy_msg and copy_msgs_with_dest methods
6361 * src/utils.[ch]: move_file(): new.
6362 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): modified to
6363 use move_file(), and fixed a bug that didn't close file when
6368 * src/imap.c: renamed imap_delete_messages() and
6369 imap_delete_all_messages() to imap_delete_cached_messages() and
6370 imap_delete_all_cached_messages(). Some code cleanups.
6371 * src/utils.[ch]: added a function remove_all_numbered_files().
6372 * src/mh.c: mh_remove_all_msg()
6373 src/imap.c: imap_delete_all_cached_messages():
6374 use remove_all_numbered_files().
6377 src/compose.[ch]: added `Reply to sender'.
6379 compose_reply_set_entry(): added an argument `ignore_replyto'.
6383 * src/folderview.c: folderview_selected()
6384 src/summaryview.c: summary_show(): fixed a bug that updated wrong
6385 folder when remaining marks were processed.
6389 * src/headerwindow.c: headerwindow_show_cb(): always try to show
6390 msginfo, and use the selected message, not the displayed one.
6391 * src/smtp.c: smtp_ok(): fixed sock_gets() error handling.
6395 * src/folderview.c: folderview_selected()
6396 src/mimeview.c: mimeview_selected(): ungrab the mouse event.
6397 * src/summaryview.c: summary_show(): process the left marks if any.
6401 * src/passphrase.c: enclosed with #if USE_GPGME.
6402 * src/prefs_account.c: added NNTP AUTH check button.
6403 * src/alertpanel.[ch]: alertpanel_create(): added new argument
6404 `can_disable', all existing callers changed to pass FALSE;
6405 created a check button to disable the message.
6406 alertpanel_message_with_disable(): new.
6407 alertpanel_show(): mask value with G_ALERT_VALUE_MASK.
6408 alertpanel_button_toggled(): new.
6409 alertpanel_button_clicked(), alertpanel_close(): set value using
6411 * src/prefs_common.[ch]: added option to toggle GnuPG signature
6412 check popup window, and GnuPG warning.
6413 * src/rfc2015.c: check_signature(): show signature check dialog
6414 only if it is enabled.
6415 * src/main.c: modified GnuPG checking.
6417 src/prefs_common.c: fixed some compilation bugs when enabled
6422 * src/codeconv.c: conv_get_code_conv_func(): fix for ISO-8859-*
6423 encodings with libjconv.
6424 conv_encode_header(): fixed an endless loop bug when encountering
6425 an invalid wide character (thanks to Alte).
6426 * src/headerview.c: SET_FONT_STYLE(): fixed segfault with invalid
6428 * src/imap.c: imap_create_folder(): don't create folder if the
6430 * src/mainwindow.c: main_window_reflect_prefs_all(): hide the
6431 execute button when immediate execution is enabled.
6436 README.jp: added the "How to run" section.
6440 * merged NNTP AUTH from the claws branch.
6441 * src/news.[ch]: supported NNTP AUTH.
6442 * src/nntp.[ch]: wrapped SockInfo with NNTPSockInfo for NNTP AUTH.
6444 INSTALL.jp: modified the confirmation list and the warning about
6449 * src/gtkutils.[ch]: moved folderview_find_collapsed_parent() to
6450 gtkut_ctree_find_collapsed_parent().
6451 * src/folderview.c: folderview_select_node(): automatically expand
6452 the parent folders when selected.
6453 * configure.in: made the version number to 0.4.99 (0.5pre)
6454 * src/main.c: main(): moved parse_cmd_opt() before gtk_init()
6455 so that X is not necessary for --help and --version.
6456 parse_cmd_opt(): changed g_get_prgname() to g_basename(argv[0]).
6457 * src/folderview.c: folderview_update_node(): a fix for collapsed
6462 * src/main.c: lock_socket_input_cb(): changed fd_read() to fd_gets().
6463 It caused garbages in --compose option.
6464 * src/socket.[ch]: made fd_gets() public.
6468 * src/gtkutils.[ch]: gtkut_ctree_node_next(): new.
6469 * src/folderview.c: folderview_find_next_unread(): new.
6470 folderview_select_next_unread(): modified so that it can find
6475 * src/compose.c: compose_write_headers(): excluded also From, To,
6476 Sender because they could be used for SPAM.
6477 * src/folderview.c: add '+' mark to the collapsed folder that have
6478 some unread folders.
6479 folderview_search_new_recursive(),
6480 folderview_have_new_children(),
6481 folderview_search_unread_recursive(),
6482 folderview_have_unread_children(),
6483 folderview_find_collapsed_parent(): new.
6484 folderview_update_node(): display the number of queued messages.
6489 src/mh.[ch]: modified *_add_msg() to use link(). Added the
6490 argument to switch whether to remove the source file or not.
6493 src/mbox.c: modified the argument of folder_item_add_msg() and
6494 removed some unlink()'s.
6498 * src/prefs_customheader.[ch]: renamed prefs_headers_* to
6499 prefs_custom_header_*. Removed `(New)' row and `Substitute'
6500 button. Supported empty value.
6501 prefs_custom_header_row_moved(): new. Connected "row_move" signal
6502 to the function, and made it set header list.
6503 * src/customheader.c: custom_header_get_str()
6504 src/compose.c: compose_write_headers(): supported empty value.
6505 * src/prefs_display_header.c: prefs_display_header_row_moved(): new.
6506 Connected "row_move" signal to the function, and made it set
6508 * src/compose.c: compose_write_headers(): modified the order of
6509 headers, and made it encode the custom headers.
6510 * src/prefs_customheader.c: prefs_custom_header_delete_cb()
6511 src/prefs_filter.c: prefs_filter_delete_cb(): treat closing the
6512 alert panel by ESC as "No".
6516 * merged the custom header stuff from claws branch:
6517 * src/customheader.[ch]
6518 src/prefs_customheader.[ch]: new.
6519 * src/customheader.c: custom_header_read_str(): use strtol() instead
6520 of atoi() and check errors.
6521 custom_header_find(): new function.
6522 * src/compose.c: IS_IN_CUSTOM_HEADER(): new macro.
6523 compose_write_headers(): made it replace headers with user-defined
6524 headers except for some automatically generated headers.
6528 * src/inc.c: connection_check_cb(): fixed a bug that caused
6529 segmentation fault if connection was not established.
6530 * src/compose.c: compose_create(): even if set_autobcc or set
6531 autoreplyto is checked and the entries are empty, show them.
6535 * src/textview.c: textview_show_mime_part(): modified the messages.
6536 TEXT_INSERT(): new macro.
6538 * src/prefs_display_header.c: prefs_display_header_create():
6539 modified the text of checkbutton.
6543 * src/mimeview.c: added "Open with..." to the context menu.
6544 * src/summaryview.c: summary_print()
6545 src/inputdialog.c: input_dialog(): fixed memory leaks.
6546 * src/textview.c: textview_show_mime_part(): updated the description.
6547 * src/send.c: implemented sending progress dialog.
6548 (TODO: automaton should be used.)
6549 send_progress_dialog_create(), send_progress_dialog_destroy(),
6551 send_message_smtp(): made it update the dialog for each stage.
6552 * src/utils.[ch]: get_left_file_size(): new. Get the left bytes
6554 * src/summaryview.c: summary_show(): when open_inbox_on_inc is set,
6555 go to first unread message even if folder is same as previous.
6556 * src/prefs_common.c: made color selection dialog transient, and
6557 made escape key close the dialogs.
6563 * src/select-keys.c: delete_event_cb(): removed `;' from its end.
6564 * src/recv.c: recv_write(): changed the interval to 10msec.
6565 * src/prefs_display_header.c: modified the layout of the dialog,
6566 and made the hidden headers list insensitive when `Show other
6567 headers' is not checked.
6568 * src/textview.c: changed strcasecmp() and strncasecmp() to
6569 the corresponding glib functions.
6570 * src/inc.c: get_spool(): make a temporary file in the home
6575 * src/prefs_common.c
6587 src/sigstatus.c: fixed a bug that accidentally destroyed dialogs
6588 when closed them with delete_event (thanks to DINH).
6589 Added *_deleted() and *delete_event() which handle delete_event
6594 * src/prefs_display_header.c: merged some changes from claws branch:
6595 prefs_display_header_create(): allow reordering of headers by
6597 prefs_display_header_find_header(): new function.
6598 prefs_display_header_clist_set_row(): don't allow duplicates.
6599 * src/prefs_account.c: prefs_account_receive_create(): changed
6600 the label of the check button.
6604 * src/pop.c: pop3_getsize_list_recv(): if sscanf() failed, break
6606 * src/inc.h: removed cur_msg_bytes from Pop3State.
6607 * src/inc.c: pop3_recv_func()
6608 src/recv.[ch]: made the second arguments of RecvUIFunc current
6610 recv_write(): made it call UI func if elapsed time is greater
6612 * src/recv.c: recv_write(): changed the interval to 300 usec.
6613 * src/textview.c: textview_show_header(): if header is Subject,
6615 * src/utils.[ch]: unfold_line(): new.
6616 * src/procheader.[ch]: procheader_get_header_array(): new.
6617 * src/prefs_display_header.c: updated defaults.
6621 * some merge from the sylpheed-claws branch.
6622 It allows user to specify displayed headers in message view.
6623 (symbol names were also changed.)
6624 * src/prefs_display_header.[ch]
6625 src/displayheader.[ch]: new.
6626 * src/prefs_display_header.c:
6627 removed prefs_display_headers_other_headers_toggled().
6628 removed "(New)" row from the list.
6629 * src/defs.h: added DISPLAY_HEADER_RC.
6630 * src/prefs_common.c: prefs_message_create(): added a button for
6631 opening the display header setting dialog.
6632 * src/prefs_common.h: added show_other_header and disphdr_list
6634 * src/procheader.[ch]: procheader_get_header_list_from_file(),
6635 procheader_get_header_array_asis(): new.
6636 procheader_get_header_list(): modified so that it takes FILE
6637 pointer for its argument.
6638 procheader_header_array_destroy(), procheader_header_free(): new.
6639 * src/main.c: main(): made it call prefs_display_header_*_config().
6640 * src/textview.c: textview_scan_header(): modified so that it
6641 sorts headers according to user setting.
6642 src/textview_show_header(): made it call
6643 textview_make_clickable_parts().
6644 textview_make_clickable_parts(): added GdkFont to its arguments,
6645 and removed GtkText from them.
6649 * implemented auto-checking of new mail based on the patch from
6650 Pierric Descamps (thanks!).
6651 * src/inc.c: added inc_autocheck_timer_init(),
6652 inc_autocheck_timer_set(), inc_autocheck_timer_remove(),
6653 inc_autocheck_func() for auto-checking of new mail.
6654 * src/main.c: main(): call inc_autocheck_timer_init().
6655 * src/prefs_common.c: prefs_receive_create(): activated the
6656 auto-checking UI. Added prefs_common_cancel(), and connected
6657 some signals to that.
6658 * src/prefs_common.c
6661 src/account.c: Disabled auto-checking while opening the dialog.
6662 * src/headerview.c: headerview_show_xface(): fixed a bug that
6663 showed a warning when header pane was hidden.
6669 src/recv.c: removed non-blocking socket mode support since it
6672 src/inc.c: modified the messages of incorporation dialog.
6676 * src/utils.h: made u32 the typedef of guint32.
6677 added BIG_ENDIAN_HOST macro that is used by md5.c.
6678 * src/md5.c: renamed md5c.c. Fixed the indentation. Fixed a bug
6679 that didn't calculate MD5 correctly on big endian machines.
6685 * src/folder.c: folder_init(): added the method imap_remove_folder.
6686 * src/folderview.c: folderview_rm_imap_folder_cb(): made it
6687 actually remove folder from IMAP4 server.
6688 * src/imap.[ch]: imap_create_folder(): made it actually create
6689 folder on IMAP4 server.
6690 imap_remove_folder(): added.
6691 imap_create(), imap_delete(): added.
6692 * src/summaryview.c: summary_execute_delete(): don't check trash
6693 if folder type is not F_MH.
6694 * thanks to Ishihara for the above changes.
6696 ac/check-type.m4: better wint_t typedef detection (renamed
6697 sv_CHECK_TYPE to SYLPHEED_CHECK_TYPE).
6701 * src/recv.c: recv_bytes_write(): fixed another bug that caused
6702 infinite loop and buffer overrun.
6706 * src/socket.[ch]: renamed sock_read() and fd_read() to
6707 sock_gets() and fd_gets() for preventing confusion.
6708 Added sock_read() and fd_read() which is the wrapper of read().
6709 * src/recv.c: recv_bytes_write(): fixed a bug that caused infinite
6710 loop. Use sock_read() instead of fd_read().
6717 src/smtp.c: use sock_gets() instead of sock_read().
6718 * src/imap.c: imap_session_new(): fixed the error detection
6723 * src/inc.c: made it displays current read bytes to the dialog.
6724 * src/pop.c: recv_write(): call UI function before editing
6729 * src/progressdialog.c: progress_dialog_create(): modified the
6730 size of dialog and made it stretchable.
6732 src/esmtp.c: smtp_ok(), esmtp_ok(): fixed a bug that didn't
6733 process an error response correctly (thanks to Ohmasa).
6734 * src/pop.[ch]: added pop3_getsize_list_send(),
6735 pop3_getsize_list_recv().
6736 * src/recv.[ch]: added recv_set_ui_func() that makes recv_write()
6737 call the callback function for each sock_read().
6738 * src/inc.h: in Pop3State, renamed bytes to total_bytes, and added
6739 cur_msg_bytes, cur_total_bytes, and sizes.
6740 * src/inc.c: added inc_pop3_recv_func() that updates the progress
6741 bar for each sock_read().
6745 * src/mh.c: mh_is_maildir_one(): modified so that it uses
6748 2001-04-25 Werner Koch <wk@gnupg.org>
6750 * src/mh.c (mh_is_maildir_one, mh_is_maildir): New.
6751 (mh_scan_tree_recursive): Do not include Maildir style directories
6754 Changed the use of integers to describe sockets by an more abstract
6757 * src/automaton.h (struct _Automaton): Add help_sock.
6758 * src/automaton.c (automaton_input_cb): Changed source to be
6759 SockInfo and use wrapper for gdk_input_add.
6761 * src/send.c (SEND_EXIT_IF_ERROR): Adjusted tests and removed test
6762 for invalid socket because this is now done in sock_close. Set
6764 (SEND_EXIT_IF_NOTOK): Set closed sock to NULL.
6765 (send_smtp_open): Use only SockInfo.
6767 * src/news.c (news_session_new): Use SockInfo here.
6768 (news_session_destroy): Ditto and set sock to NULL.
6770 * src/nntp.c: Use SockInfo instead of integers
6771 * src/smtp.c: Ditto.
6773 * src/recv.c: Ditto.
6775 * src/inc.c (inc_pop3_session_do): Removed sock_sockinfo_free. Put
6776 gdk_input_add into a wrapper.
6778 * src/esmtp.c: Changed socket descriptors to use SockInfo.
6779 * src/esmtp.h: Ditto, included socket.h.
6780 * src/session.h (struct _Session): Likewise.
6781 * src/imap.c (imap_open): Return SockInfo ptr and not an integer.
6782 Removed access to internal data of SockInfo. Changed all callers
6783 and functions to take SockInfo.
6784 (imap_session_new): Use sock_close here.
6785 (imap_session_destroy): Ditto.
6787 * src/compose.c (compose_exec_ext_editor): Replaced sock_write by
6790 * src/main.c (app_will_exit): Close lock socket using fd_close.
6791 (prohibit_duplicate_launch): Use fd_xxx functions instead of sock_xxx.
6792 (lock_socket_input_cb): Ditto.
6794 * src/socket.h, src/socket.c: Prepared SockInfo structure to use
6795 glib channels. Changed all sock_xxx to use SockInfo instead of an
6797 (sock_connect_unix, sock_open_unix, sock_accept): Renamed to ..
6798 (fd_connect_unix, fd_open_unix, fd_accept): .. this and changed all
6800 (fd_read, fd_write, fd_close): New.
6801 (sock_sockinfo_free): Removed.
6802 * src/socket.c (sock_connect_nb): Use close instead sock_close here.
6803 (sock_connect): Ditto.
6807 * config.h.in: removed.
6808 * ac/Makefile.am: added gnupg-check-typedef.m4 to MACROS.
6809 * .cvsignore: added.
6811 src/progressdialog.[ch]
6812 src/pixmaps/complete.xpm
6813 src/pixmaps/continue.xpm
6814 src/pixmaps/error.xpm: applied the patch from Leandro Pereira
6815 that displays the state of message incorporation (thanks!).
6816 * src/inc.c: made the progress dialog change the text of status.
6820 * removed po/*.gmo, configure, stamp-h.in, aclocal.m4, Makefile.in
6822 * COPYING: removed RSA copyright notice.
6823 * removed po/sylpheed.pot, po/stamp-cat-id, po/cat-id-tbl.c.
6824 * configure.in: added the check of sys/utsname.h.
6826 2001-04-24 Werner Koch <wk@gnupg.org>
6828 Merged most of the changes from the W32 branch in.
6830 * configure.in: Require gpgme >= 0.2.1
6832 * acconfig.h (HAVE_U32_TYPEDEF): New.
6833 * ac/gnupg-check-typedef.m4: New.
6834 * configure.in: Check for u32 type and the size of some types.
6835 * src/utils.h: Define the u32 type and related constants.
6837 * src/about.c (about_create): Removed the note about MD5. We are
6838 not any longer using the RSA Inc. implementation.
6839 * src/md5ify.c, src/md5ify.h, src/md5global.h: Removed.
6840 * src/md5c.c, src/md5c.h: Replaced by an FSF implementation and
6841 renamed the function to standard lowercase convention. Changed all
6843 (md5_hex_digest): New.
6844 (md5_hmac): Add hmac function by Martin Schaaf with some
6846 (md5_hex_hmac): New.
6847 * src/esmtp.c, src/esmtp.h (md5_hex_hmac): Removed.
6848 (hmac_md5): Removed.
6849 * src/pop.c (pop3_getauth_apop_send): Replaced the md5_digest by
6850 the new md5_hex_digest function.
6852 * src/about.c: Include utsname.h only if available
6854 * src/utils.c, src/utils.h (get_home_dir): New to better cope with
6855 special Windoze requirements. Changed all calls to
6856 g_get_home_dir() to this function.
6858 * simple-gettext.c: New.
6860 * src/main.c (main): Issue a warning if GnuPG is not properly
6863 * src/sigstatus.c, src/sigstatus.h: New.
6864 * src/rfc2015.c (check_signature): Use the sigstatus window and
6865 get the status texts from a utility function.
6867 * src/select-keys.c: Removed the global select_keys var and
6868 pass an allocated one along all functions.
6869 (set_row): Display only keys capable of encryption.
6870 (update_progress): Replaced the progressbar by
6871 a windmill and a text showing for which key we are collecting
6872 info. Removed progressbar everywhere else and updated callers.
6874 * src/prefs_common.c (prefs_privacy_create) [__MINGW32__]: Do not
6875 display the grab button.
6879 * src/prefs_common.[ch]
6880 src/procheader.c: applied the patch from Darko Koruga that
6881 allows user to define their own format for displaying date in
6882 summary view using strftime() (thanks!).
6883 * src/prefs_common.c: prefs_quote_colors_dialog()
6884 src/mainwindow.c: main_window_reflect_prefs_all(): made it
6885 update message colors if the colors setting is changed.
6886 * src/main.[ch]: made it remember the startup directory.
6887 * src/export.c: export_mbox(): made it initially chdir to the
6889 * src/filesel.c: filesel_select_file(): made it open the startup
6894 * added option to warn about queued messages on exit [sergey]:
6896 * src/compose.c: compose_queue(): call folder_item_scan()
6897 and folderview_update_item() after queueing.
6898 * src/folderview.c: folderview_update_node(): draw the queue
6899 folder in bold font if there are queued messages.
6900 * src/mainwindow.c: queued_messages(): new function.
6901 app_exit_cb(): display warning if there are queued messages
6902 if warn_queued_on_exit is set.
6903 * prefs_common.[ch]: add warn_queued_on_exit option.
6905 * src/mainwindow.c: moved queued_messages() to main.c, and renamed
6906 it to get_queued_message_num().
6907 * src/main.c: app_will_exit(): moved warning dialog code from
6908 app_exit_cb(), and added manage_window_focus_in().
6910 * enhanced GnuPG key selection support [sergey]:
6912 * src/select-keys.c: updated to newer version from Win32
6913 branch with support for selecting arbitrary keys.
6914 * src/prefs_account.c: added the Privacy tab to the account
6916 prefs_account_privacy_create(),
6917 prefs_account_sign_key_set_data_from_radiobtn(),
6918 prefs_account_sign_key_set_radiobtn(): new functions.
6919 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
6920 * src/rfc2015.c: set_signers(): new function.
6921 pgp_sign(): add the account parameter, call set_signers().
6922 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
6923 * src/rfc2015.h: rfc2015_sign(): updated prototype.
6924 * src/compose.c: pass the current account to rfc2015_sign().
6928 * src/mbox.c: export_to_mbox(): fixed a memory leak bug.
6932 * src/mbox.[ch]: renamed export_mbox() to export_to_mbox().
6933 Fixed a memory leak bug.
6934 * src/export.[ch]: added for exporting folder to mbox.
6935 * src/import.[ch]: made import_mbox() take default folder.
6936 Added description to the dialog.
6937 * src/summaryview.c: summary_show(): fixed a bug that kept the
6938 toolbar buttons insensitive after receiving messages.
6940 src/import.c: fixed a bug that caused quitting of the program
6941 when OK or Cancel button was clicked several time.
6942 * src/prefs_common.[ch]
6943 src/addressbook.c: added "Add address to destination when
6944 double-clicked" option.
6948 * src/prefs_common.[ch]: reorganized the items of settings,
6949 and added Message tab.
6950 * src/main.c: parse_cmd_opt(): added command line option --version.
6951 * src/mh.c: made it unset MSG_DELETED flag when moved/copied to
6953 * src/prefs_common.[ch]
6954 src/headerview.[ch]: the header pane can be toggled now.
6955 * src/prefs_common.[ch]
6956 src/textview.c: page scroll step is now selectable between
6957 one page and half page.
6958 * src/mbox.[ch]: added export_mbox() that reads all messages
6959 in a folder, and store them into one mbox file.
6963 * src/prefs_filter.[ch]: separated filter setting code from
6964 prefs_common.c, and made it a separate dialog.
6970 * src/automaton.[ch]
6971 src/inc.c: fixed the bug that made Sylpheed crash when clicking
6972 Cancel button while getting new mail (thanks to Sergey Vlasov).
6973 * src/xml.c: xml_build_tree()
6974 src/addressbook.c: fixed a bug that caused infinite loop if an
6975 illegal XML file was given.
6980 src/inc.c: applied the patch from Sergey Vlasov that fixes the
6981 problem when the "Go to inbox after receiving new mail" option
6982 was turned off (thanks!).
6986 * src/xml.[ch]: modified so that it supports some characters which
6987 must be escaped, and multiple-lined tag.
6989 src/addressbook.c: modified so that it escapes some characters
6990 like '<', '>', '&', ''', '"'.
7000 src/summaryview.[ch]: applied the patch from Darko Koruga that
7001 adds copy message operation for the MH folders (thanks!).
7002 * src/imap.c: disabled slash to dot conversion.
7003 * src/imageview.c: fixed a bug that displayed an old image when
7004 loading of a image failed (thanks to Darko Koruga).
7008 * src/procmsg.c: procmsg_read_cache(): added setvbuf() to speed up
7009 cache reading (thanks to Sergey Vlasov).
7011 src/summaryview.[ch]
7012 prefs_common.[ch]: applied the patch that keeps the same folder
7013 after receiving new mail (thanks to Sergey Vlasov).
7015 src/utils.[ch]: moved get_quote_level() to utils.c.
7019 * ac/Makefile.am: added.
7021 configure.in: added ac directory.
7025 * src/summaryview.c: summary_filter(): made it move messages
7026 immediately if immediate_exec option is set.
7027 * src/prefs_common.[ch]
7029 src/gtkutils.[ch]: applied the message coloring patch from
7030 Stephen Anthony with some modification (thanks!).
7032 src/mimeview.c: modified the behavior of MimeView (thanks to
7037 * src/utils.c: copy_file()
7038 src/mh.c: applied (and modified) the patch from Darko Koruga
7039 that enables to move messages across file systems (thanks!).
7041 src/utils.[ch]: applied the patch from Jorge Van Hemelryck
7042 that converts the date of messages to the local time (thanks!).
7043 * src/utils.c: remote_tzoffset_sec(): fixed a bug that the signs
7044 of one-letter timezone were reversed.
7045 * src/folder.c: folder_item_add_msg(): put the assertion for the
7046 add_msg() method (thanks to TAKANO).
7050 * src/procmime.c: procmime_decode_content(): fixed a bug that
7051 corrupted quoted-printable encoded messages when they include
7052 `=00' (thanks to Masahiro Tomita).
7055 src/summaryview.c: modified the DnD behavior of MIME view
7056 (thanks to HIRAMATSU).
7060 * src/about.c: applied the patch from Sergey Vlasov that fixes
7061 the appearance of the about dialog (thanks!).
7062 * src/prefs_common.[ch]
7068 src/textview.[ch]: applied the GnuPG support patch which had
7069 ported from the sylpheed-win32 branch (thanks to Sergey Vlasov).
7070 * INSTALL, INSTALL.jp: updated the description about GnuPG.
7074 * src/utils.[ch]: added references_list_append() that parses
7075 References header and makes it string list.
7076 * src/compose.c: modified so that too long References header is
7077 truncated, garbage characters are removed, and header is tidied
7078 up (thanks to Matthias Intemann).
7082 * src/addr_compl.c: applied the address completion bugfix patch
7083 from Alfons Hoogervorst (thanks!).
7087 * src/gtksctree.c: modified so that the tree_select_row signal
7088 actually pass the column number.
7089 * src/summaryview.c: summary_selected(): made generic mark and
7090 unread mark can be toggled with clicking of the columns.
7091 Added summary_mark_row_as_read() and summary_mark_row_as_unread().
7092 * src/prefs_common.c
7093 src/prefs_account.c: applied the layout fix patches from Sergey
7094 Vlasov, and adjusted some widths of GtkEntry widgets.
7095 * src/prefs.c: prefs_dialog_create(): enable notebook to take focus.
7096 * src/inc.c: inc_start(): modified so that authentication dialogs
7097 show server name too (thanks to Sergey Vlasov).
7101 * src/mimeview.c: mimeview_key_pressed(): fixed a bug that caused
7102 segmentation fault when a malformed multipart message is shown
7103 (thanks to Sergey Vlasov).
7104 * src/summaryview.c: summary_display_msg(): made it focus to the
7105 summary view if the MIME list is empty.
7109 * src/pixmaps/deleted.xpm
7110 src/pixmaps/mark.xpm
7111 src/summaryview.c: added deleted and mark icon.
7112 * src/gtkutils.c: gtkut_widget_init(): changed gtk_widget_destroy()
7113 to gtk_widget_unref().
7114 * src/addr_compl.c: start_address_completion(): fixed the bug that
7115 displayed warning when the address book was empty (thanks to
7120 * src/summaryview.c: summary_show(): fixed a memory leak bug
7121 (thanks to ChiDeok Hwang).
7122 * src/pixmaps/forwarded.xpm
7123 src/pixmaps/replied.xpm
7125 src/pixmaps/unread.xpm
7130 src/summaryview.[ch]: applied the patch from Marc Hoper
7131 that adds replied and forwarded mark to replying or forwarding
7132 messages (thanks!). And new and unread mark were replaced
7133 by the icons David Mehrmann created (thanks!).
7134 * src/summaryview.c: made the width of unread and MIME column
7136 * src/prefs.c: prefs_config_parse_one_line(): made it check the
7137 '=' separator (thanks to Sergey Vlasov).
7141 * src/prefs_common.[ch]: moved smooth scroll option to the
7143 * src/textview.c: made the one-line scroll also perform smooth
7148 * src/prefs_common.[ch]
7149 src/textview.c: applied the smooth scroll patch from Setoh and
7154 * src/summaryview.c: summary_attract_by_subject(): rewritten it
7155 using hash table for speeding up.
7156 * src/prefs_account.c: made filter_on_receive TRUE by default.
7157 * src/mainwindow.c: reordered menu items.
7161 * src/gtkutils.c: gtkut_clist_bindings_add(): fixed a bug that
7162 caused address completion not to accept space and enter key.
7167 src/codeconv.c: fixed a bug that didn't encode non-ASCII headers
7169 * src/compose.c: fixed a bug that didn't decode some headers
7170 correctly when replying or reediting drafts (thanks to Sergey
7175 * src/gtkutils.[ch]: added gtkut_widget_init() that modifies the
7176 behaviors of some classes.
7177 * src/main.c: main(): made it call gtkut_widget_init() first.
7178 * src/summaryview.c: summary_create(): removed the key binding code.
7182 * src/procmsg.[ch]: modified for the sake of readability.
7186 * src/mainwindow.c: changed "Clean trash" to "Empty trash".
7187 Added new menu items for folder manipulation.
7188 allsel_cb(): made it change the target between summary view and
7189 message view according to the input focus.
7190 Removed "Select all" from Summary submenu.
7191 * src/folderview.[ch]: added functions for creating/renaming/deleting
7193 * src/procmsg.[ch]: made "marked" and "deleted" flag permanent, and
7194 removed "important" flag.
7195 * src/summaryview.c: added summary_set_row_marks() that sets style
7196 of a row according to the flags, and made some functions use it.
7197 * src/mainwindow.c: allsel_cb(): modified so that it selects
7198 summary view correctly if message view is toggled off.
7202 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a resource
7203 leak bug of socket, and rewrote the routine.
7204 * src/inc.c: inc_mail(), inc_all_account_mail(): fixed a bug that
7205 displayed the wrong unread number in the folder tree if a
7206 folder was open and new messages arrived at the folder.
7207 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug
7212 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): made it
7213 check the existence of the destination file.
7214 * src/procmsg.c: procmsg_set_flags(): made it count the last
7215 number of the message list (and fixed a bug that didn't open
7216 newly arrived message).
7220 * src/prefs_common.c: prefs_send_create(): removed EUC-JP and
7221 Shift_JIS from the outgoing codeset.
7229 * src/send.c: send_message_queue(): modified so that it finds
7230 the account from the `From' and the server name of the queued
7232 * src/account.[ch]: added account_find_from_smtp_server() that
7233 finds an account from the specified address and SMTP server.
7236 src/summaryview.[ch]
7237 src/sourcewindow.[ch]: integrated the viewing source patch from
7238 DINH V. Hoßþ(thanks!).
7242 * src/addr_compl.[ch]
7244 src/compose.c: applied the enhanced address completion patch
7245 from Alfons Hoogervorst (thanks!).
7246 * src/addr_compl.c: replaced g_assert() with g_return(_val)_if_fail().
7247 * src/folder.c: folder_init()
7248 src/folderview.c: folderview_drag_motion_cb()
7249 src/procmsg.c: procmsg_clean_trash()
7250 src/summaryview.c: summary_start_drag()
7251 src/imap.[ch]: integrated the IMAP4 move/remove function patch
7252 from Suzuki Mio (thanks!).
7256 * src/main.c: parse_cmd_opt(): made the --compose option realize
7258 * src/utils.[ch]: execute_async(): supported quoted arguments
7260 strstr_with_skip_quote(), strsplit_with_quote(): quote-supported
7261 version of g_strsplit().
7262 * src/mimeview.c: mimeview_view_file()
7263 src/prefs_common.c: added single quotation mark around the file
7275 src/utils.[ch]: applied the security fix patch from Dmitry V.
7276 Levin with some modification (thanks!). Added my_tmpfile() to
7278 * src/main.c: added --receive-all command-line option.
7282 * src/socket.c: sock_connect_thread(): fixed a bug that didn't
7283 compile if both multithread and IPv6 are enabled (thanks to
7286 src/compose.c: applied a patch from Jason McCarver that allows
7287 FIFO for signature file (thanks!).
7288 * src/textview.c: made some more refactoring.
7289 * src/socket.c: sock_accept(): changed socklen_t to gint.
7294 src/textview.c: some code cleanups.
7300 src/textview.c: integrated the patch from Alfons Hoogervorst that
7301 fixes some glitches in clickable URI and enables mail addresses
7302 clickable, and enables the --compose command line option to
7303 specify address (thanks!).
7310 src/prefs_account.[ch]
7311 src/Makefile.am: applied the SMTP AUTH patch from Martin Schaaf
7312 and fixed its a few bugs (thanks!).
7313 * src/textview.c: textview_key_pressed(): made it don't move focus
7315 * src/main.c: parse_cmd_opt(): modified the help message.
7316 * src/html.[ch]: added empty_line to HTMLParser and modified
7317 the parser routines a bit.
7321 * src/html.c: added eucjp_symbol_list, and added some characters
7322 to ascii_symbol_list.
7326 * src/codeconv.[ch]: added a member `charset' and `charset_str'
7328 * src/html.[ch]: added the symbol list for ISO-8859-1 codeset.
7329 html_parser_new(): made it change the symbol hash table
7330 according to the character set of the document.
7331 html_parse_special(): made it recognize character code number.
7335 * src/textview.c: added textview_show_html() that parses HTML and
7337 textview_show_part(): made it call textview_show_html() if
7338 the part is text/html.
7339 * src/html.[ch]: implemented HTML parser.
7343 * src/codeconv.[ch]: added CodeConverter, and its methods
7344 (conv_code_converter_new(), conv_code_converter_destroy(), and
7346 * src/textview.c: removed the branches by HAVE_LIBJCONV and
7347 rewrote them using CodeConverter.
7351 * src/mbox.c: proc_mbox(): workaround for duplicated From_ line.
7355 * src/codeconv.c: some code cleanups.
7359 * src/mainwindow.c: main_window_popup(): fixed a bug that didn't
7360 popup the main window correctly.
7361 * src/codeconv.h: fixed a bug that the definition of CS_EUC_CN and
7362 CS_EUC_TW was reversed (thanks to Sakamoto).
7369 src/socket.[ch]: applied the patch from Hiramatu that enables
7370 prohibition of multiple execution and remote control with
7371 command line option (thanks!).
7375 * src/summaryview.c: summary_button_pressed(), summary_selected():
7376 made it toggle the view if middle button is clicked while message
7378 summary_drag_data_get(): fixed a memory leaking.
7380 src/compose.c: compose_write_headers(): modified so that it uses
7381 host_alias for X-Mailer or X-Newsreader field.
7387 * src/folderview.c: fixed a bug that prevented a folder from being
7388 created if there were already folders that have the same name
7389 somewhere at another place.
7393 * src/folderview.c: folderview_update_all(): fixed a bug that
7394 caused segmentation fault when a folder was selected after
7395 updating the folder tree.
7396 * src/compose.c: compose_send(): fixed a locking bug.
7397 compose_write_headers(): fixed a bug that referred to cur_account.
7398 compose_convert_header(): made it check the arguments.
7402 * src/main.c: some cleanups and added --help option.
7406 * src/send.c: re-enabled user-defined domain name setting.
7407 * src/utils.c: is_next_mbs(): changed the size of temporary
7408 multibyte array to MB_CUR_MAX.
7409 strdup_mbstowcs(): added error check to mbstowcs().
7410 strdup_wcstombs(): added error check to wcstombs().
7411 * src/addr_compl.c: get_address_from_edit(): made it check the
7412 return value of strdup_mbstowcs().
7413 * src/codeconv.c: conv_encode_header(): added error checking
7414 to strdup_mbstowcs().
7418 * src/utils.c: log_error(): changed g_error() to g_warning() so
7419 that it doesn't abort.
7421 * src/addr_compl.c: add_address(): fixed a bug that aborted the
7422 program if the name or the address is empty.
7423 get_address_from_edit(): supported multibyte characters.
7424 * configure.in: fixed a typo.
7425 * src/send.c: re-enabled user-defined SMTP port setting.
7431 * configure.in: added --enable-gpgme option, and disabled GPGME
7433 * made GPGME related members in MimeInfo not used if disabled.
7434 * src/rfc2015.c: some cleanups for warning.
7438 INSTALL.jp: updated.
7439 * Makefile.am: modified bzip2 option.
7443 * src/procmime.[ch]: added MIME_APPLICATION_OCTET_STREAM to
7445 * src/mimeview.c: mimeview_view_file(): made it do nothing if
7446 the MIME type is application/octet-stream.
7447 * src/folderview.c: folderview_update_all(): made it show modal
7448 dialog while updating folders.
7449 * src/folderview.c: folderview_update_all(): fixed a bug that
7450 didn't remove the dialog.
7454 * src/mimeinfo.c: merged the patch from John E.P. Hynes that
7455 launches the attached file using metamail (thanks!).
7456 * src/procmime.[ch]: added procmime_get_tmp_file_name().
7458 src/addr_compl.[ch]: merged the patch from Alfons Hoogervorst
7459 that enables address completion in the address entry on the
7460 composition window (thanks!).
7461 * src/addr_compl.c: get_all_addresses(), read_address_book():
7462 modified so that it uses xml_free_tree() for freeing the address
7467 * src/utils.c: remove_dir_recursive(): fixed a bug that failed to
7468 remove the current directory (thanks to Maki).
7469 * src/summary_search.c: added `Select all matched' option to the
7470 search dialog (thanks to Takahashi).
7471 * src/pixmaps/stock_mail_attach.xpm
7472 src/pixmaps/tb_address_book.xpm
7473 src/compose.c: added some toolbar icons contributed from
7474 Leandro Pereira (thanks!).
7478 * src/rfc2015.c: passphrase_cb(): *finally* fixed a bug that caused
7479 segmentation fault when the passphrase dialog was cancelled.
7480 Hided the passphrase in the debug message.
7481 * src/about.c: about_create(): fixed a bug that failed to compile
7482 when none of the features were used.
7483 * src/foldersel.c: foldersel_set_tree(): made it display all
7485 * src/inc.c: inc_start(): fixed a bug that showed password dialog
7486 continuously if it was cancelled.
7487 * src/summaryview.c: summary_write_cache(): put an assertion after
7488 folder_item_get_cache_file() to prevent the crash.
7489 * thanks to Maki for the above four fixes.
7490 * src/utils.h: added #include <alloca.h>.
7494 * src/rfc2015.c: changed some g_message() used for error messages
7499 * src/procmsg.[ch]: modified READ_CACHE_DATA() macro so that
7500 it can handle a string data of which length >= BUFFSIZE.
7501 * src/rfc2015.c: rfc2015_encrypt(): changed return to `goto failure'.
7502 * src/pixmaps/stock_mail_receive_all.xpm
7503 src/pixmaps/stock_mail_reply_to_all.xpm
7505 src/mainwindow.c: main_window_toolbar_create(): added new toolbar
7506 icons contributed from David Mehrmann (thanks!).
7507 * src/inc.[ch]: overhauled the architecture so that it don't create
7508 and destroy progress dialog for each incorporation in `get all'
7513 * src/mh.c: mh_scan_tree_recursive(): fixed a bug that mistook
7514 sub folders named `inbox', etc. as special folders.
7515 * src/rfc2015.c: rfc2015_encrypt(): fixed a bug that didn't quote
7520 * applied the GnuPG patch from Werner Koch (thanks!).
7521 * removed Mixmaster support.
7522 * src/rfc2015.c: changed g_error() to g_warning() and modified some
7524 * src/about.c: about_create(): modified compiled-in features list.
7528 INSTALL.jp: updated.
7529 * src/select-keys.c: create_dialog(): modified the layout.
7530 * src/headerwindow.c
7532 src/logwindow.c: made it raise the window if the window is already
7534 * src/prefs_common.[ch]: added an option for immediate execution.
7535 * src/summaryview.c: made it execute immediately when messages are
7536 moved or deleted if immediate_exec option is turned on.
7537 * src/summaryview.c: summary_delete(), summary_move_selected_to():
7538 moved summary_step() before summary_execute().
7539 * src/folderview.c: folderview_update_all(): made it scan folder
7541 * src/compose.c: compose_write_headers(): made it don't add
7542 In-Reply-To header if to_list is empty.
7544 2001-01-09 Werner Koch <wk@gnupg.org>
7546 * configure.in, acconfig.h: Check for GPGME.
7547 * ac/: New directory for local autoconf macros.
7548 * src/Makefile.am: Add support for GPGME
7550 * src/main.c (idle_function_for_gpgme): New.
7551 (main): Register this function.
7553 * src/about.c: Add a note about GPGME.
7555 * src/rfc2015.c, rfc2015.h: New.
7557 * src/mimeview.c (mimeview_show_message): Check signature.
7558 * src/procmime.c (procmime_scan_message): Ditto.
7560 * src/messageview.c (messageview_show): Add decryption stuff.
7562 * src/compose.c (compose_write_to_file): Encrypt the file if requested.
7563 (compose_toggle_encrypt_cb): New
7564 (compose_toggle_mixmaster_cb): New, just to be prepared for
7566 (compose_write_headers): Suppress some headers in mixmaster mode.
7568 * src/prefs_common.c (prefs_common_create): Add Privacy notebook sheet.
7569 (prefs_privacy_create): New. Also some new structures etc.
7570 * src/compose.c (compose_create): Set encrypt button to prefs default.
7571 * src/compose.h (struct _Compose): Add use_encryption, use_mixmaster.
7573 * src/compose.c (compose_send): Add missing unlock before one return.
7577 * src/gtksctree.[ch]
7579 src/summaryview.[ch]: applied the patch from Hiramatu that enables
7580 DnD from the summary view to the folder view and fixes some other
7582 * src/mainwindow.c: scan_tree_func(): fixed a bug that caused
7584 * src/imap.c: quoted user name in LOGIN and folder name in SELECT.
7585 * src/gtksctree.c: gtk_sctree_button_press(): fixed a bug that
7586 didn't toggle expansion of node.
7590 * src/imap.c: applied the patch from Nishimura that updates the
7591 message list more precisely and reads the message flags (thanks!).
7592 * src/textview.c: textview_show_header(): made X-Newsreader field
7594 * src/summaryview.c: summary_show(): made it flush events when
7599 * src/summaryview.c: applied the patch from Alfons that enabled
7600 the horizontal scrollbar of summary view (thanks!).
7604 * src/compose.c: compose_cb(): fixed a bug that didn't open the
7605 composition window right after launching the program.
7606 * src/setup.c: scan_tree_func(): fixed a bug that caused
7613 * src/textview.c: textview_set_font(): fixed a bug that caused
7614 segmentation fault if the mode of the text widget was changed
7615 between multibyte and singlebyte while the region was selected
7621 src/summaryview.c: made it unable to delete or move messages when
7623 * src/prefs_common.c
7624 src/news.c: added the option for maximum news article number.
7628 * src/compose.c: compose_send(): changed the location of temporary
7629 file. Made it use the default account if all of tried account
7630 aren't mail one, and made it show alert dialog and abort when even
7632 * src/prefs_account.c: prefs_account_get_new_id(): made it preserve
7634 prefs_account_open(): made it fill in personal information
7635 according to the default account when creating a new account.
7636 * sylpheed.spec.in: added to autogenerate sylpheed.spec with the
7637 proper version number (thanks to BONAIM).
7639 Makefile.am: added entries for sylpheed.spec.in.
7643 * src/compose.[ch]: modified so that it can change account
7645 * src/send.[ch]: modified so that it doesn't see cur_account.
7646 * src/prefs_account.c: modified so that news setting doesn't
7647 show SMTP server entry.
7651 * src/folderview.c: fixed a bug that didn't sort special folders
7652 correctly when a new folder is created or renamed.
7656 * src/compose.[ch]: enabled to select account at composing window.
7657 * src/folderview.c: made it display unread number next to folder
7659 * src/prefs_common.[ch]: added the option for unread number display.
7663 * src/compose.[ch]: integrated news posting patch from DINH V. Ho`
7664 and made many modifications (thanks!).
7665 compose_write_headers(): made the spaces in newsgroups removed.
7666 Supported Followup-To.
7667 compose_destroy(): got the objects removed properly.
7668 * src/news.c: merged news_post_to_group() and news_post() since
7669 they doesn't have to do multiple posting.
7670 * src/import.c: import_destsel_cb(): fixed a bug that failed to
7671 import into the selected folder.
7672 * src/prefs_account.c: modified the interfaces.
7677 prefs_common.c: changed "SHIFT-JIS" to "Shift_JIS" since the
7678 string is registerd to IANA.
7679 * src/nntp.[ch]: added nntp_post().
7680 * src/news.[ch]: added news_post() and news_post_to_group().
7684 * src/account.c: account_edit_open()
7685 src/mainwindow.c: new_account_cb(): made it unable to edit
7686 accounts if some composing windows are open.
7690 * src/folder.[ch]: added folder_set_name().
7691 * src/account.c: made a folder name of IMAP4/NNTP become the same
7692 as the name of account.
7696 * src/summaryview.c: summary_filter_func(): fixed a bug that failed
7703 * src/mbox.c: fixed a bug that didn't incorporate spool file
7704 correctly. Modified so that it recognizes From_ line as separator
7705 of messages even if the previous line isn't empty line.
7706 * src/send.c: send_message_queue()
7707 src/procmsg.c: procmsg_send_queue(): Fixed a bug that printed
7708 warning when it tried to delete a sent message.
7715 src/news.[ch]: modified so that it actually gets news articles.
7716 * src/utils.[ch]: added make_dir_hier() that creates directory
7719 folder_item_get_cache_file(), folder_item_get_mark_file():
7720 made it creates cache directory if it doesn't exist.
7721 folder_add(): made it insert the added folder into the correct
7723 * src/imap.[ch]: modified so that it suits the new folder
7724 architecture. Fixed a bug that caused segmentation fault
7725 if authentication failed at imap_auth().
7726 * src/folderview.c: implemented IMAP4 folder handling routines.
7730 * src/prefs_account.[ch]: added account ID and nntp_server
7731 to PrefsAccount. And added the interface for NNTP server.
7732 * src/folderview.c: modified news folder handling routines.
7733 * src/folder.[ch]: removed cache_dir from RemoteFolder, and
7734 modified folder_item_get_path().
7738 * src/folder.[ch]: added create_folder(), rename_folder(),
7739 remove_folder() to Folder class.
7740 * src/mh.[ch]: added mh_create_folder(), mh_rename_folder(), and
7742 Implemented mh_create_tree() that creates MH directory tree.
7743 mh_rename_folder(): modified so that the paths of sub folders
7745 * src/folderview.c: modified folderview_new_folder_cb(),
7746 folderview_rename_folder_cb(), and folderview_delete_folder_cb()
7747 so that they work properly.
7748 Added folderview_remove_mailbox_cb() and the menu entry that
7749 remove mailbox from folder tree.
7750 * src/setup.[ch]: added for initial setup.
7751 * src/alertpanel.c: modified the appearance of the dialog.
7752 * src/compose.c: fixed compose_save_to_outbox() and
7753 compose_queue() so that it sets flags correctly.
7757 * src/mainwindow.c: modified the strings of toolbar labels.
7761 * src/gtkutils.[ch]: added gtkut_ctree_node_move_if_on_the_edge().
7762 * src/summaryview.c: summary_display_msg(): made it scroll the
7763 list if the message of the edge of that is displayed.
7768 src/mh.[ch]: added functions for moving messages.
7769 * src/procmsg.[ch]: moved procmsg_move_messages_with_dest()
7770 to folder.c and mh.c. Added procmsg_to_folder_hash_table().
7774 * src/utils.[ch]: added get_tmp_file().
7777 src/folder.c: fixed a bug that failed to drop messages.
7778 * src/mh.c: mh_scan_folder(): made it check new, unread, and total
7779 number of the folder.
7783 * src/folderview.c: added special folder setting routine.
7784 * src/folder.[ch]: added a method is_msg_changed().
7785 Implemented folder_find_item_from_path().
7786 * src/summaryview.c: fixed some bugs that wrongly freed FolderItem's.
7787 * autogen.sh: fixed so that the configure can take arguments.
7792 src/mainwindow.[ch]: added main_window_new_mailbox() that asks
7793 the path of mailbox and create the one.
7794 * src/folderview.c: made the folder tree and selected folder
7800 src/folder.c: implemented mh_scan_tree() that scans the folder
7801 recursively and create the tree.
7821 src/summaryview.[ch]
7823 src/Makefile.am: merged the development tree into the cvs tree.
7824 Some functions are not unimplemented yet.
7832 * src/xml.[ch]: supported omitted tag (<tag />).
7833 * src/procmsg.c: procmsg_msg_exist(): fixed a memory leak bug.
7834 * src/imap.c: imap_parse_atom(): fixed a bug that caused
7835 segmentation fault if the subject was empty (thanks to Tsutsui).
7836 * src/folder.[ch]: updated.
7840 * src/xml.[ch]: added xml_parse_file() that parses the whole XML
7841 file specified and returns the tree.
7845 * po/pt_BR.po: fixed some typos that caused segmentation fault.
7851 * src/session.h: added.
7852 * src/folder.[ch]: updated.
7853 * src/compose.c: compose_write_to_file()
7854 src/codeconv.c: conv_get_outgoing_charset_str(): fixed a bug
7855 that put a garbage to charset if the outgoing character set was
7856 specified and non-ascii characters were used in subject.
7860 * src/statusbar.c: statusbar_puts(): fixed a bug that locked the
7861 progress if the status bar was hidden.
7865 * src/folder.[ch]: added for the more object-oriented folder
7873 src/prefs_common.[ch]: made the state of status bar get preserved.
7874 * src/compose.c: compose_insert_sig(): modified so that it doesn't
7875 put a separator if a signature file doesn't exist.
7876 * src/prefs_account.[ch]
7877 src/inc.c: added the option that toggles whether to receive
7878 messages when getting from all accounts.
7880 README.jp: updated the description and added some usages.
7886 src/compose.[ch]: applied the patches from Alfons Hoogervorst
7887 that makes the ruler of composition window graphical (thanks!).
7893 src/prefs_common.c: replaced CS_WINDOWS_1251 with CS_CP1251.
7899 * src/compose.c: turned the color of quoted messages black again.
7903 * src/about.c: added a clickable URI to the Sylpheed home page,
7904 and a list of compiled-in features.
7905 * src/compose.c: made the color of quoted messages blue.
7906 * src/summaryview.c: added `Show all header' to the context menu.
7907 * src/prefs_common.c: removed the threading option from the dialog.
7908 * src/compose.c: fixed a bug that didn't parse the quotation format
7913 * src/compose.c: compose_set_ext_editor_sensitive(): modified so
7914 that it toggles linewrap menu item and tool button.
7915 * src/prefs_common.c: modified the default of the signature
7917 * src/compose.[ch]: added ruler to the compose window.
7918 * src/prefs_common.[ch]: added a member for the state of ruler
7923 * src/headerview.[ch]: added the destroy function.
7924 * src/messageview.c: messageview_destroy(): fixed a memory leak
7925 bug that didn't freed the HeaderView object.
7926 * src/prefs.c: prefs_write_open(): fixed a memory leak bug.
7927 * src/xml.c: xml_close_file(): fixed a memory leak bug (thanks
7928 to Alfons Hoogervorst for the above three memory leak bug fixes).
7937 INSTALL.jp: modified some descriptions.
7941 * src/compose.c: implemented line-wrapping functions.
7942 * src/prefs_common.[ch]: added the settings for line-wrapping.
7943 * src/codeconv.[ch]: added Windows-1251 to the codesets.
7944 conv_jistoeuc(): fixed a bug that caused segmentation fault
7945 when some half-width kana characters appeared.
7946 * src/summaryview.c: summary_select_all(): made it show message
7947 on the status bar if the number of messages is large.
7951 * src/compose.c: compose_reply(), compose_quote_parse_fmt():
7952 modified so that it parses the quotation mark too.
7953 Added %I that means the initial of sender to the format.
7954 * src/codeconv.[ch]: added GB2312 and Big5 to the codesets.
7955 Fixed a bug that set the wrong outgoing codeset.
7957 src/prefs_common.c: modified the menu item of Chinese codeset.
7962 src/prefs_common.[ch]: modified so that outgoing charset is
7963 saved as a string, not a number.
7967 * src/textview.c: textview_set_font(): changed the scheme of
7968 selecting between font and fontset. And changed the default
7970 * src/headerview.c: headerview_show_xface(): made it ignore
7972 * src/codeconv.c: conv_codeset_strdup(), conv_get_code_conv_func():
7973 modified so that it consider the source codeset as ISO-2022-JP if
7974 it is NULL and the current locale is Japanese.
7978 * src/textview.c: textview_destroy(): fixed a bug that caused
7979 segmentation fault if textview->msgfont is NULL (thanks to
7982 src/defs.h: applied the patch from Yanase that enables to
7983 save the shortcuts of the menus (thanks!).
7987 * src/mainwindow.[ch]: added main_window_set_menu_sensitive() that
7988 toggles the sensitivity of menu items.
7989 * src/summaryview.c: renamed summary_set_popup_sensitive() to
7990 summary_set_menu_sensitive(), and made it set the sensitivity of
7995 * src/textview.c: textview_init(): fixed a bug that didn't disable
7996 the theme engine of GtkText (thanks to Hiramatu).
7997 * src/compose.c: compose_quote_parse_fmt(): added %n and %N that
7998 means the full name of sender and the first name.
7999 * manual/ja/*.??ml: updated to the latest version.
8005 * src/defs.h: separated the definitions from main.h and applied the
8006 patch from TOGAWA that sets DEFAULT_SPOOL_PATH and MAXPATHLEN
8007 from the system headers (thanks!).
8008 * src/codeconv.c: conv_get_current_charset(): fixes for lt_LT and
8010 * src/textview.c: textview_set_font(): modified so that it sets
8011 the correct font when the locale is multi-byte.
8012 textview_destroy(): added proper codes for destruction.
8013 textview_show_header(): fixed the coloration of X-Mailer.
8017 * src/textview.[ch]: made TextView have single-byte and multi-byte
8018 GtkText, and switch between them according to the given codeset.
8019 * src/compose.c: compose_create(): modified the font setting
8024 * src/textview.[ch]: moved the message font variable into TextView.
8025 textview_set_font(): modified so that it uses gdk_font_load()
8026 if the given codeset is US-ASCII or ISO-8859-*.
8034 src/compose.c: workaround for the 8bit code issue (used
8035 gdk_font_load() instead of gdk_fontset_load() when the locale is
8042 * src/compose.[ch]: added `Draft' tool button.
8043 * src/imap.c: imap_parse_envelope(): fixed a parsing bug.
8044 * README, README.jp: added the explanation of the locale setting.
8048 * src/compose.c: made it overwrite the previous draft message when
8049 reedited the draft and saved it again.
8050 * src/procmsg.[ch]: added procmsg_msg_exist() that examine whether
8051 the message really exists.
8052 * src/folderview.[ch]: added folderview_scan_folder_a() and
8053 folderview_scan_folder_foreach_a() that scan the specified
8054 folders for each folderviews.
8055 * src/mainwindow.[ch]: removed main_window_scan_folder() and
8056 main_window_scan_folder_all().
8057 Added `Reedit' to the menu.
8058 * src/import.[ch]: removed MainWindow from the argument of
8060 * src/summaryview.c: removed the unnecessary items from the popup
8061 menu. Changed summary_reedit_cb() to summary_reedit(), and made
8066 * src/compose.h: added a member msginfo to Compose.
8067 * src/procmsg.[ch]: added procmsg_msginfo_copy() that duplicates
8072 * src/summaryview.c: made the the popup menu change the sensitivity
8073 according to the context. Fixed a bug that showed the `clean trash'
8074 dialog repeatedly if `D' key was pressed when the focus was on the
8076 * src/pixmaps/unread.xpm: changed the color of unread mark to blue.
8080 * src/main.c: fixed g_thread initialization.
8084 * src/codeconv.c: added pt_BR to locale_table.
8085 * src/prefs_common.c: prefs_send_create(): added `US-ASCII',
8086 `ISO-8859-1', and Japanese codeset to the option menu of outgoing
8087 codeset when not using libjconv.
8088 * src/compose.c: fixed the bug on saving draft again.
8092 * src/compose.c: compose_write_headers(): fixed a bug that failed
8093 to write headers if To: was empty when saving draft.
8099 src/headerwindow.[ch]
8101 src/messageview.[ch]
8105 src/procheader.[ch]: modified so that they can handle queue folder
8108 src/summaryview.c: implemented draft-reediting function.
8111 src/mimeview.c: replaced *(GtkWidget **) with the macro
8116 * src/procmsg.[ch]: procmsg_msginfo_free(): fixed a memory leak bug.
8117 Added MSG_QUEUED and MSG_DRAFT to MsgFlags, and made it set them
8118 if the folder is QUEUE_DIR or DRAFT_DIR.
8125 src/messageview.c: modified the border of the headerview.
8126 * src/gtkutils.h: added the macro GTK_WIDGET_PTR() that casts
8127 an Sylpheed object to GtkWidget.
8128 * src/utils.c: remove_return(), remove_space(): fixed a bug that
8129 possibly caused segmentation fault.
8132 src/summaryview.c: implemented `forward as an attachment'.
8133 * src/utils.[ch]: open_uri(): brought on URI opening function from
8134 textview.c and manual.c.
8141 src/prefs_common.[ch]: removed `Reply with quote', and added
8142 `Reply to all', and added the option that decides whether to
8143 quote message on replying.
8147 * src/folderview.c: modified so that it uses gtkut_wait_for_draw()
8148 instead of GTK_EVENTS_FLUSH() for statusbar redraw.
8151 src/prefs_common.c: added Baltic (ISO-8859-4,13) to the code sets.
8152 * src/compose.c: compose_send(): modified so that it shows error
8153 dialog when failed to send a message.
8157 * src/account.c: account_edit_close(): fixed a bug that didn't set
8158 current account when creating an account for the first time.
8159 * configure.in: added es to ALL_LINGUAS.
8163 * src/codeconv.c: conv_codeset_strdup(): made it use libkcc if
8165 conv_get_code_conv_func(): modified so that it doesn't convert
8166 codeset if it is unknown.
8167 * src/folderview.c: folderview_update_msg_num(): modified style
8172 * src/codeconv.c: conv_codeset_strdup(): modified so that it sets
8173 codesets automatically if the arguments are NULL.
8174 * src/textview.c: textview_write_line(): made it output warning
8175 message on the text view if conversion failed.
8179 * README, README.jp: modified the author of the manual.
8183 * src/headerview.[ch]
8184 src/messageview.[ch]: modified so that it uses GtkLabel widget
8186 * src/codeconv.c: conv_unmime_header(): modified so that it deletes
8187 unreadable codes if the current locale is EUC-JP and libjconv is
8195 src/textview.c: modified so that it parses MIME message more
8197 * src/imap.c: imap_parse_address(): fixed a bug.
8201 * src/procmsg.[ch]: added procmsg_get_message_file_path().
8202 * src/recv.c: recv_bytes_write(): added CR+LF -> LF conversion
8204 * src/imap.[ch]: changed the name of the member `group' in
8205 IMAPSession to `mbox'.
8206 imap_gen_send(): modified so that it doesn't output the password
8208 Modified session destroying routine.
8209 * src/folderview.c: folderview_write_cache(): made it preserve
8210 the IMAP folder list.
8211 * src/procmime.c: procmime_scan_multipart_message(): fixed a bug
8212 that showed boundary at the end of an attached RFC822 part.
8213 * src/prefs_common.c: changed the default of toolbar style to
8218 * src/imap.c: imap_get_uncached_messages(): modified so that it
8219 doesn't get the cached envelopes.
8220 imap_session_get_message_info(): made it read only the cache
8221 if the session is not established.
8222 * src/procmsg.c: procmsg_set_flags(): supported IMAP folder.
8223 * src/news.c: news_get_article_info(): made it read only the cache
8224 if the session is not established.
8228 * src/textview.c: textview_write_line(): fixed a memory leak bug.
8229 * src/folderview.[ch]: made it create IMAP4 folders from the
8230 account information.
8231 * src/imap.[ch]: imap_session_get(): modified so that it creates
8232 IMAP4 session from the account information.
8236 * src/imap.[ch]: added for IMAP4 support.
8237 * src/summaryview.[ch]
8239 src/recv.[ch]: modified for IMAP4 support.
8240 * src/folderview.c: more IMAP4 implementation.
8241 * src/procmsg.[ch]: added procmsg_get_message_file() that retrieves
8242 the specified message and return the file name.
8243 * src/gtkutils.c: gtkut_widget_wait_for_draw(): fixed a bug that
8244 locked up the process if the given widget was invisible.
8248 * src/folderview.[ch]: added IMAP4-related code.
8254 * src/main.h: added IMAP_CACHE_DIR.
8255 * src/utils.[ch]: added get_imap_cache_dir().
8256 * src/procmsg.h: added M_IMAP to MsgType, and MSG_IMAP to MsgFlags.
8257 Added macro MSG_IS_IMAP().
8258 * src/codeconv.c: added `#include <locale.h>' for setlocale().
8259 * sylpheed.spec: fixed %files section.
8265 * src/codeconv.c: conv_get_current_charset(): made it compare
8266 string with strncasecmp().
8267 * src/compose.c: comopse_reply_parse_header(): workaround for
8268 the malformed References: header generated by OE5 :(
8272 * src/prefs_common.c
8273 src/prefs_account.c: modified the layout of the widgets.
8279 * src/*.[ch]: added copyright notice to the top of the source files.
8280 * src/compose.c: compose_write_attach(): modified filename encode
8285 * src/mainwindow.c: fixed the menu entry of manual.
8287 src/codeconv.[ch]: moved compose_encode_header() into codeconv.c,
8288 and applied the libjconv patch.
8289 * src/utils.c: strdup_mbstowcs(), strdup_wcstombs(): used g_realloc()
8290 to reduce the alloc'd memory to the optimal size.
8291 * src/prefs_common.[ch]: added outgoing codeset option menu.
8292 * src/compose.c: compose_send(): added exclusive lock to prevent
8294 * configure.in: made '--enable-ipv6=no' the default.
8295 * src/compose.c: compose_write_attach(): made it encode the name
8296 of the attached file.
8297 * src/procmsg.c: procmsg_get_last_message_number(): fixed a bug that
8298 didn't check the type of file.
8299 procmsg_move_messages_with_dest(): fixed a bug that failed to
8300 move message if a directory that had the same name existed.
8301 * src/utils.c: is_ascii_str(): modified so that '\t', ' ', '\r', '\n'
8302 are included as ASCII characters.
8307 src/procmime.[ch]: modified so that it actually works when using
8309 * src/codeconv.[ch]: added conv_codeset_strdup() that converts
8310 the codeset of string according to the codeset specified in
8312 * src/utils.[ch]: added is_ascii_str() that determines whether the
8313 string is 7bit-ASCII or not.
8315 src/codeconv.[ch]: moved the character set related functions
8317 * merged the patch and the manual written by BONAIM (thanks!).
8327 src/unmime.[ch]: applied the patch from Higuchi that utilizes
8328 libjconv and enables to handle many locales, including UTF-8
8329 (Unicode) (thanks!).
8330 * src/account.c: modified so that the account isn't changed when
8331 another account is selected on account edit dialog.
8335 * src/prefs_common.[ch]
8336 src/textview.c: added an option that specifies whether to display
8337 short headers on message view.
8338 * src/codeconv.[ch]: added function conv_unmime_header() that
8339 decodes MIME-encoded header and converts the character set.
8340 And added conv_unreadable_latin(), and modified conv_latintodisp().
8341 * src/messageview.[ch]: made the window get closed when escape key
8346 * src/imageview.c: fixed a bug that caused segmentation fault if
8347 message view was in new window.
8348 * src/prefs_common.c: added `xemacs %s' to the external editor
8355 * src/summaryview.c: enabled to open a new message window with
8357 * src/prefs_common.[ch]
8358 src/messageview.c: made it preserve the window size of message
8360 * src/prefs_account.c: added `None (local)' to the option menu of
8365 * Makefile.am: added autogen.sh to EXTRA_DIST.
8369 * src/prefs_common.c: applied the patch from Paul Rolland that
8370 enables font selection dialog (thanks!).
8372 src/utils.[ch]: moved tzoffset() and compose_get_date() of
8373 compose.[ch] into utils.[ch].
8374 * src/main.[ch]: renamed the name of filter file to `filterrc'.
8379 src/utils.[ch]: modified address parsing routine so that it
8380 parses quotes correctly.
8381 * src/textview.c: textview_show_part(): modified so that it shows
8382 the simplified headers if the part is text/plain.
8386 * src/messageview.[ch]
8387 src/summaryview.[ch]
8388 src/mainwindow.c: enabled to open a message in new window.
8389 * src/messageview.[ch]
8392 src/imageview.[ch]: added destroy function, and modified the
8393 key handling routines.
8397 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug that
8398 caused segmentation fault (thanks to KUROSAWA).
8399 * src/alertpanel.c: modified so that the focused button is
8403 src/folderview.c: modified so that the order of the buttons of
8404 alert panel will be `Yes', `No'.
8408 * src/utils.[ch]: added execute_async() and execute_command_line()
8409 that execute command line using execvp().
8412 src/procmsg.c: replaced system() with execute_command_line()
8414 * src/procmsg.c: turn back to system().
8415 * src/utils.c: modified execute_command_line().
8419 * src/mainwindow.c: main_window_get_size(): modified so that it
8420 doesn't update the height of SummaryView if MessageView is
8422 * src/compose.[ch]: applied the patch from NAKAGAWA that fixes some
8423 probrems of external editor handling (thanks!).
8425 src/procmime.[ch]: applied the patch from Hiramatu that make it
8426 supports Content-Transfer-Encoding: x-uuencode (thanks!).
8431 src/prefs_common.[ch]: implemented the external editor faculty.
8432 * src/compose.c: compose_attach_property(): fixed some bugs on
8433 changing the property of attached file.
8434 * src/compose.c: fixed some bugs of external editor functions.
8441 src/prefs_common.[ch]
8442 src/summaryview.c: applied the patch from Paul Rolland that
8443 restores the size of widgets when restarting (thanks!).
8445 src/prefs_common.[ch]
8446 src/summaryview.c: applied the patch from Paul Rolland that saves
8447 the width of CTree columns (thanks!).
8451 * src/headerview.c: modified the height of HeaderView.
8452 * src/textview.c: textview_show_part(): made it process the message
8453 as normal text if it is single-part RFC822 message.
8455 src/summaryview.c: some changes around the key handling.
8456 * src/prefs_common.[ch]: substituted the word `assort' with `filter'.
8460 * src/codeconv.[ch]: added conv_latintodisp() for ISO-8859-1 support.
8461 * src/procheader.c: procheader_get_one_field(): fixed a bug that
8462 caused segmentation fault if the first line of the file is space
8463 or tab (thanks to Hiramatu).
8464 * src/mimeview.c: mimeview_drag_data_get(): modified so that the
8465 filename doesn't include G_DIR_SEPARATOR (thanks to Hiramatu).
8466 * src/prefs_account.c
8467 src/prefs_common.c: modified the dialog size.
8468 * src/prefs.c: made the dialog window growable.
8474 * configure.in: removed unnecessary AC_CHECK_FUNC(gettext) that
8475 caused the failure of the detection of libintl.
8477 src/prefs_common.c: implemented `not contain', and modified for
8479 * src/imageview.c: changed alertpanel_error() to g_warning() so that
8480 it doesn't grab mouse events.
8481 * src/compose.[ch]: added compose_list that holds the list of
8482 Compose objects, and added the function compose_get_compose_list().
8485 src/summaryview.c: made it confirm if composing message exists.
8489 * src/compose.c: compose_reply_set_entry(): fixed a bug that caused
8490 segmentation fault when trying to reply the message in the queue
8491 folder (thanks to Kotobuki).
8492 compose_attach_property(): modified the property dialog routine
8493 so that it can handle input error.
8494 * src/mimeview.c: applied the patch from Hiramatu that enables
8495 the drag 'n drop from MimeView (thanks!).
8496 * src/headerview.[ch]
8498 src/procmsg.h: applied the patches for X-Face support from
8499 HIROSHIMA (thanks!).
8503 * src/compose.c: compose_attach_property(): modified so that the
8504 property dialog can actually change the property of attached file.
8509 src/Makefile.am: updated for gdk_imlib.
8510 * added AUTHORS and NEWS.
8513 src/Makefile.am: modified so that configure auto-detects gdk-pixbuf
8514 and gdk_imlib library. And fixed a bug on IPv6 detecting.
8515 * src/imageview.c: supported gdk-pixbuf.
8519 INSTALL.jp: added the mention about built-in image view.
8520 * configure.in: modified so that configure can disable gdk-pixbuf
8521 or/and gdk_imlib library.
8525 * src/imageview.[ch]
8527 src/messageview.[ch]
8528 src/mimeview.[ch]: applied the patches from HIROSHIMA that enables
8529 to display image (thanks!).
8535 * src/summaryview.c: summary_assort_func(): modified to avoid
8536 `not receive' setting.
8540 * src/filesel.c: applied the patch from HIROSHIMA that makes it
8541 remember previous directory when opening the dialog (thanks!).
8542 * src/summaryview.[ch]: added a function summary_redisplay_msg().
8543 * src/mainwindow.c: set_charset_cb(): made it redisplay the message
8544 that is currently shown when the character set is changed.
8548 src/filter.h: applied the patch from Tanaka that enables not to
8549 receive specified messages according to the sorting rule (thanks!).
8553 * src/procmsg.[ch]: added MSG_MIME to the type MsgFlags. And modified
8554 so that it handles MSG_MIME flag, and it scans uncached messages
8555 when cache reading failed even if it is specified not to scan
8557 * src/procheader.c: procheader_parse(): added the determination of
8558 multipart MIME message.
8559 * src/main.h: increased CACHE_VERSION.
8560 * src/summaryview.[ch]: added the `MIME' column that shows whether
8561 a message is multipart or not.
8562 * src/prefs_common.[ch]: added the `MIME' column to the setting of
8564 * added src/pixmaps/clip.xpm.
8566 src/procmsg.[ch]: modified so that it prompts the print command
8571 * src/folderview.c: folderview_create()
8572 src/summaryview.c: summary_create():
8573 src/addressbook.c: addressbook_create(): set the expander style of
8574 CTree to GTK_CTREE_EXPANDER_SQUARE.
8575 * src/compose.c: modified the interface of property dialog.
8579 * src/compose.c: added property dialog for attached file.
8583 * src/procmsg.[ch]: added a function procmsg_print_message() that
8584 prints the given message.
8585 * src/summaryview.c: summary_print(): modified so that it prints
8586 all selected messages.
8587 * src/folderview.c: folderview_select_node(): fixed a bug that
8588 didn't focus on folder tree if inbox was empty when incorporating.
8594 * src/prefs_commmon.[ch]: added `Other' tab and an option for
8595 printing. And moved external browser option to there.
8597 src/summayview.[ch]: added print menu and implemented print
8602 * src/prefs_account.c: made the default value of smtp_server to
8604 * src/folderview.c: folderview_update_msg_num(): modified so that
8605 it doesn't emphasize trash folder even if it has new or unread
8610 * src/filesel.c: filesel_select_file(): (perhaps) fixed a bug that
8611 caused segmentation fault when file selection dialog was closed
8612 and other dialog was open immediately.
8616 * src/compose.c: compose_encode_header(): fixed a bug that caused
8617 infinite loop if wctomb() failed.
8623 * src/mimeview.c: enabled to open an attached file with double click
8624 and popup menu. And cleaned up the code.
8625 * src/procmime.[ch]: added a function procmime_get_part() that
8626 saves the part of multipart message.
8632 src/prefs_common.[ch]
8634 src/utils.[ch]: applied a patch that enables to launch attached
8635 image, audio, and HTML file (thanks to Hashimoto).
8636 * src/filter.c: filter_match_condition(): fixed a bug that caused
8637 segmentation fault if the body of specified filter is NULL. And
8638 made the filter considered as being matched on that case.
8642 * src/summaryview.c:
8643 summary_save_as(): fixed a bug that unabled to save news articles.
8644 summary_display_msg(): added exclusive lock to prevent it from
8645 reading another news article while it is already processing one.
8646 * src/gtkutils.[ch]: added gtkut_widget_wait_for_draw() that waits
8647 the draw signal to be emitted.
8649 main_window_cursor_wait()
8650 main_window_cursor_normal(): added gdk_flush() to change cursor
8653 libkcc/Makefile.am: added EXTRA_DIST for `make dist'. And added
8654 a target `release' to Makefile.am.
8658 * src/socket.c: supported IPv6.
8660 acconfig.h: added checking for IPv6.
8661 * prefs_common.c: changed the default of toolbar_style to icon only.
8665 * initial cvs import.
8666 * updated README and README.jp.
8672 * src/procmime.[ch]: modified the structure of MimeInfo so that it
8673 can be handled as a node of tree.
8674 Added procmime_mimeinfo_free_all() that frees all of the MimeInfo
8676 Added procmime_get_text_part() that scans a message and gets a text
8678 * src/mimeview.c: divided mimeview_scan_multipart_message() into
8679 procmime_scan_multipart_message() and mimeview_set_multipart_tree().
8680 * src/compose.c: compose_quote(), compose_forward():
8681 made it quote the text part of multipart message properly.
8682 Made it preserve the size of Compose window.
8683 * src/prefs_common.[ch]: added compose_width and compose_height to
8685 * src/textview.c: textview_show_part(): some code cleanups.
8686 * src/codeconv.[ch]: added a function conv_get_code_conv_func().
8692 * src/codeconv.[ch]: fixed a bug that showed garbage characters if
8693 the return code of the message was CR+LF. And added
8695 * src/summaryview.c: summary_attract_by_subject(): made it move
8696 the current view point to the selected row when executed.
8697 * src/textview.c: textview_show_part(): modified the character set
8698 determination routine.
8699 * src/folderview.c: folderview_update_msg_num(): fixed a bug that
8700 caused segmentation fault if boldfont was NULL.
8701 * src/compose.c: compose_create(): made it sets itself as the target
8702 of addressbook on window creation.
8706 * src/compose.c: compose_send(): fixed a bug that didn't save
8707 queued message to outbox when failed to send the message (thanks
8712 * src/inc.[ch]: modified so that it changes error message dialog
8713 depending on the results.
8717 * src/mainwindow.c: main_window_create(): set usize of account
8718 button on the status bar to 1 so that it doesn't get expanded
8719 more than necessary.
8720 * src/account.[ch]: account_foreach(): made it abort the iteration
8721 if the function returns nonzero.
8723 src/pop.c: modified so that it shows error message dialog if the
8724 message processing is failed.
8730 * src/mainwindow.c: made it popup account selection menu when
8731 account tool button or account status bar is pressed.
8733 src/prefs.c: suppressed the ENOENT perror messages.
8734 * src/pop.c: made it fall back on LAST command if UIDL failed.
8738 * src/procheader.c: procheader_parse(): fixed a bug that didn't
8739 parse References: header correctly (thanks to YAMAGUCHI).
8745 * src/compose.c: compose_reply_set_entry(): fixed a bug that didn't
8746 cc'd correctly when replying.
8748 src/summaryview.c: sorted out the main menu and the popup menu.
8754 * src/prefs_account.[ch]
8755 src/compose.c: made it be able to set Cc:, Bcc:, and Reply-To:
8756 automatically at composing (thanks to NAKAGAWA).
8760 * src/prefs_common.[ch]
8762 src/main.c: made it selectable whether to ask before cleaning
8764 * src/prefs_common.c: cleaned up the code and the interface a bit.
8765 * src/summaryview.c: modified the unthread functions for speeding
8770 * src/prefs_common.[ch]
8771 src/summaryview.c: made it display recipient on the `From' column
8772 if the address of the sender is the same as the current account
8773 (thanks to NAKAGAWA).
8774 * src/utils.[ch]: added a function extract_address() that extracts
8775 the address from `From:' header string.
8776 * src/mainwindow.c: allsel_cb(): fixed a bug that caused segmentation
8777 fault if `Edit/Select all' was selected when the message view was
8778 hidden (thanks to Tomita).
8782 * src/summaryview.c: modified execution routine so that it only
8783 unthreads nodes that are needed to be unthreaded.
8787 * src/news.c: news_session_get(): implemented the reconnection on
8789 * src/nntp.[ch]: added nntp_mode().
8793 * src/mbox.c: fixed a bug that didn't close mbox FILE pointer.
8794 And support assortment on processing mbox.
8795 * src/inc.c: inc_drop_message(): modified so that it uses hash table
8796 to store the last message number of folders.
8798 src/addressbook.c: modified the behavior of CTree at right-click.
8799 * src/pop.c: pop3_getrange_uidl_recv(): fixed a potential buffer
8800 overflow bug (thanks to Nishiyama).
8807 src/inc.[ch]: implemented management of read message on POP server
8809 * src/utils.[ch]: removed (s)list_remove_all() because it can be
8810 replaced with g_(s)list_free().
8811 * src/summaryview.c: modified the arrangement of menu a bit.
8812 * src/summaryview.c: summary_status_show(): made it doesn't display
8813 server name but newsgroup.
8814 * src/prefs_common.c
8815 src/prefs_account.c: adjusted the calculation routine of dialog
8822 * src/compose.c: compose_reply_set_entry(): modified so that it
8823 cc's to the all addresses on To: and Cc: of the replied message.
8824 And swapped the position of Subject: and To: entry.
8828 * src/procheader.c: modified so that it can handle headers that
8829 aren't separated by space.
8830 * src/socket.c: sock_connect(): added a wait after connection to
8831 prevent lockup (thanks to NINOMIYA).
8837 inc_all_account_mail(): fixed a bug that caused segmentation
8838 fault if no account exist.
8839 * src/mainwindow.[ch]: made receive button unclickable when
8841 * src/compose.c: compose_queue(): fixed a bug that didn't mark
8842 queued message properly.
8843 * src/utils.[ch]: separated code conversion functions into
8850 * src/mimeview.c: mimeview_save_as()
8851 src/summaryview.c: summary_save_as(): made it ask whether to
8852 overwrite the existing file.
8863 src/mbox.c: fixed a bug that failed to check write error when
8864 disk was full and caused the loss of the file.
8868 * src/mainwindow.c: main_window_clean_trash(): made it move focus
8869 to folder view when finished.
8870 * src/utils.[ch]: added code conversion functions for display.
8871 And added strncpy2() that doesn't do zero fill and does
8872 null-termination, unlike original strncpy().
8873 * src/textview.c: modified so that it changes the code conversion
8874 function according to charset. And supported charset=SHIFT_JIS.
8877 src/textview.c: made it possible to force character set of
8879 * src/folderview.c: folderview_select_next_unread():
8880 made it search unread folder from begin if it isn't found.
8886 * src/mainwindow.c: fixed a probrem again that main window was
8887 stretched to the width of the toolbar.
8889 src/utils.c: is_header_line(): modified so that it recognizes
8890 a header which doesn't have a space after colon (thanks to Hotta).
8891 * src/filter.c: added `#include <strings.h>'.
8892 * src/smtp.c: replaced snprintf() with g_snprintf().
8893 * src/Makefile.am: added `-I$(top_srcdir)/intl' to INCLUDES for
8895 * included sylpheed.spec.
8899 * src/prefs_common.[ch]: enabled to set the pixels of line space
8900 and decide whether to leave space on head of lines.
8901 * src/summaryview.c: modified so that it clears message view
8902 when displayed message is removed from the summary view.
8903 * src/mimeview.c: fixed a bug that caused infinite loop if
8904 terminal boundary of multipart message was not found (thanks to
8906 * src/folderview.c: folderview_scan_mailbox(): made it ignore
8908 * src/main.c: made it show warning dialog and exit if the file with
8909 the same name already exists when creating directory.
8914 src/prefs_common.[ch]: made it possible to leave space between
8915 and on head of lines.
8920 src/procmime.[ch]: made it scan /etc/mime.types and determine
8921 the MIME type of the attached file.
8922 * src/summaryview.c: made it clear message view if the summary
8923 is unselected on the execution, and made it move focus to
8924 folder view if the folder becomes empty.
8925 * src/mainwindow.c: fixed a probrem that main window was stretched
8926 to the width of the toolbar.
8927 * src/inc.c: fixed a bug that caused multiple gtk_main() event loop
8928 if `Check new mail on startup' was set.
8932 * src/compose.c: fixed a probrem that had been unable to insert
8933 a file to the current cursor position.
8939 * src/compose.[ch]: added `attach' button to the toolbar. And
8940 replaced the icon of `insert' to the new one.
8944 * src/mainwindow.[ch]: added `Execute' to the toolbar. And added
8945 a function main_window_set_toolbar_sensitive() that sets the
8946 sensitivity of the button of the toolbar.
8947 * src/compose.c: fixed a bug that output wrong header if
8948 a return code was included in the string of the text entry.
8952 * src/mainwindow.[ch]: added `Delete' to the toolbar and the menu.
8953 And added the same items in popup menu to the main menu.
8954 * src/utils.[ch]: added functions for DnD support.
8955 * src/compose.c: implemented file attachment and insertion with DnD
8956 (thanks to Hiramatu).
8962 * src/summaryview.c: fixed a bug that passed null pointer to
8967 * src/alertpanel.[ch]: added functions alertpanel_message(),
8968 alertpanel_notice(), and alertpanel_error(), and cleaned up
8974 src/summary_search.c
8976 src/foldersel.c: made them use alertpanel_error(),
8977 alertpanel_warning() or alertpanel_notice() for error message
8979 * src/summaryview.[ch]: enable sorting in reversed order.
8980 * src/inc.c: made it show error message dialog when failed to
8981 connect or authorize.
8982 * src/utils.h: added a macro FILE_OP_ERROR() and replaced many
8989 * src/compose.c: fixed a bug that didn't save a message to outbox
8991 * src/send.c: send_message_queue(): fixed a bug that included
8992 headers for queueing in the parsed data.
8993 * src/mainwindow.c: send_queue_cb(): made it pop statusbar message
8994 and update queue folder when finished.
9002 src/compose.c: suppressed the warning messages.
9003 * src/mainwindow.[ch]: added next unread message button and menu
9005 * src/summaryview.[ch]: added a function summary_select_next_unread()
9006 that selects and opens next unread message.
9010 * src/prefs_common.[ch]: added a setting to decide whether to open
9011 unread message on entering a folder.
9012 * src/summaryview.c: made it open the first unread message only if
9013 the preference is set.
9014 * src/compose.c: fixed a bug that freed the string obtained from
9019 * src/compose.c: added `Send later' to the menu and the toolbar
9020 which queues the message to send it later.
9024 * src/mainwindow.c: added an interface to resend the queued message.
9025 * src/compose.c: made it show alert dialog when a message will be
9030 * src/procmsg.[ch]: added function procmsg_send_queue() that calls
9031 send_message_queue() for each queued messages.
9035 * src/inc.c: inc_drop_message(): modified so that it drops a message
9036 to the default inbox folder if destination folder doesn't exist.
9037 * src/compose.[ch]: added imput compatible queueing header to the
9039 * src/send.[ch]: added function send_message_queue() that send
9045 acconfig.h: made it enabled to decide wheter to use multithread
9046 or not on configure.
9047 * src/summaryview.c: fixed a bug that made thread when executed
9048 despite of the setting (thanks to Hiroshima).
9049 * src/socket.[ch]: changed the return value of public
9050 sock_connect_*() function to the pointer to SockInfo object.
9051 * src/procmime.c: procmime_scan_mime_header():
9052 fixed a bug that returned NULL if the scanned part had no header
9053 (thanks to shigeri).
9054 * src/procmime.[ch]:
9055 added function procmime_scan_content_disposition() that parses
9056 Content-Disposition header field.
9057 * src/mimeview.c: made it uses filename value in Content-Disposition
9060 * src/inc.c: modified so that password is prompted if the password
9061 on preferences is empty and previous POP3 session has failed on
9066 * src/socket.[ch]: added non-blocking IO mode socket and
9067 multithreaded connection support.
9068 * src/inc.c: supported multithread connection.
9072 * src/folderview.c: made the focus of SummaryView grabbed when
9073 a folder is selected only if the messages exist.
9079 * po/ja.po: fixed a bug that head `/' of a menu label was missing
9080 and caused segmentation fault when opened Compose window.
9086 * src/utils.c: get_domain_name(): modified so that it uses
9088 * src/mimeview.c: added key binds for `Save as' and
9093 * src/recv.c: fixed a bug that failed to return error value
9094 when fputs() failed and caused the loss of received mails when
9095 disk space was not left (thanks to Tajiri).
9096 * src/compose.c: supported Reply-To.
9097 * src/mimeview.c: improved key operation interface.
9103 src/textview.[ch]: supported nested multipart message and
9105 Supported encapsulated RFC822 message.
9109 * src/compose.[ch]: made it free the alloc'd memory for attach
9110 information when the compose window is destroyed.
9111 Placed the attachment list and the text widget onto the paned
9113 Enabled cut/copy/paste/select all on all of the editable widgets.
9114 Implemented removal of attached file and popup menu on attachment
9116 * src/prefs_common.[ch]: added signature separator setting.
9117 * src/alertpanel.[ch]: added a function alertpanel_warning().
9121 * src/prefs_common.[ch]
9122 src/textview.c: made open URI command customizable.
9123 * src/compose.[ch]: implemented multipart MIME message composition
9124 (attachment of file).
9126 src/compose.c: fixed a bug that didn't turn off the GTK+ theme
9133 * src/summaryview.c: added key binds for composing message
9134 (w, a, A, f). Also added other key binds (y, D, Q).
9135 * src/compose.c: made Cc entry take over the Cc of the replied
9137 * src/pixmaps/new.xpm
9138 src/pixmaps/unread.xpm: replaced pixmap image.
9139 * src/procheader.c: procheader_date_get_localtime():
9140 changed the single figures of year from four to two.
9144 * src/inc.c: made it ask password if it is not specified on account
9146 * src/prefs_account.h: added member tmp_pass to struct PrefsAccount
9147 that preserves the temporary password.
9148 * src/inputdialog.[ch]: added function input_dialog_with_invisible()
9149 that prompts input with the string hidden.
9153 * src/compose.c: fixed a bug that didn't turn off the GTK+ theme
9154 engine if message font wasn't specified.
9160 * src/summaryview.c: fixed a bug that stderr was forgotten on
9167 * src/pop.c: fixed a problem that if some POP3 commands returned
9168 error, the previous operations were all cancelled.
9170 src/textview.c: made workaround to the slow down of GtkText widget
9171 when using Pixmap theme or its derivatives.
9175 * src/inc.c: fixed a bug that caused X IO error when exec'd
9176 nonexistent program.
9180 * src/folderview.[ch]: added the member `mtime' to the struct
9182 * src/summaryview.c: made the mtime of the folder checked that is
9184 * src/procmsg.c: added filesystem unchecking mode.
9188 * src/textview.[ch]: implemented clickable URI (thanks to BONAIM).
9189 And made `X-Mailer:' header emphasized if it contains `Sylpheed'.
9193 * src/summaryview.c: summary_write_cache(): permission fix of
9200 * src/headerview.c: added headerview_clear() method.
9201 * src/messageview.c: fixed a bug that didn't clear HeaderView
9202 on messageview_clear().
9209 src/textview.c: added *_clear() method.
9210 * src/summaryview.c: made it clear MessageView when new folder
9215 * src/inc.c: fixed a bug that went to the inbox that was specified
9216 by each account when incorporating from all accounts.
9217 * src/compose.c: made it confirm whether to discard the message or
9218 not when the window will be closed.
9225 src/inc.[ch]: re-supported APOP authentication.
9226 * src/prefs_account.c: fixed a bug that had't saved protocol type.
9228 src/statusbar.h: attached G_GNUC_PRINTF() to printf() like
9230 * src/progressdialog.[ch]: changed the name of class from Progress
9235 * src/summaryview.c: fixed a bug that caused segmentation fault
9236 a news folder was selected without using ja message catalog.
9237 * src/utils.h: attached G_GNUC_PRINTF() to printf() like functions.
9238 * src/Makefile.am: added `-DG_LOG_DOMAIN=\"Sylpheed\"' to
9243 * src/automaton.[ch]
9245 src/pop.[ch]: re-implemented POP3 fetching routines using
9246 finite-state automaton model (thanks to Hiramatu).
9247 * src/inc.c: fixed a bug that caused unwilled quitting of program
9248 when connection to mail server failed. And fixed a memory leak bug.
9249 * src/summaryview.c: made the focus move to FolderView when left
9250 cursor key is pressed.
9254 * src/textview.c: textview_write_line(): modified quotation
9255 discerning routine a bit.
9261 * src/procmime.[ch]: moved MIME decorder from src/textview.c to
9263 * src/mimeview.[ch]: implemented saving of multipart message. And
9264 supported MIME encoded file name.
9265 * src/summaryview.c: implemented `Save as'.
9269 * src/prefs_common.[ch]: implemented an interface for setting the
9270 display item of SummaryView.
9272 src/account.c: made the column titles of those don't take key
9277 * src/textview.c: implemented BASE64 decoding and display.
9281 * src/prefs_common.[ch]: added members which decide whether
9282 each item of SummaryView is displayed or not.
9283 * src/headerwindow.c
9284 src/logwindow.c: made those windows closed when escape key is
9286 * src/headerview.c: disused ScrolledWindow.
9287 * src/base64.c: from64tobits(): modified so that it recognize '\n'
9288 as the last of line as well as '\r'.
9292 * src/headerview.c: disabled word wrap and line wrap of the text
9299 * src/prefs_common.c: prefs_assort_create(): added some headers
9300 to the default headers for assortment.
9304 * src/procmsg.c: fixed a bug that caused segmentation fault if
9305 the permission of a message was denied on parsing the header
9306 (thanks to wakai@UEC univ.).
9307 * src/mimeview.c: made it pass key press event to SummaryView.
9312 src/alertpanel.c: modified font specifications so that they match
9314 * src/utils.[ch]: added wide-character functions for FreeBSD support.
9315 Added the existence check of <wchar.h>.
9317 configure.in: added wint_t and libxpg4 check for FreeBSD support.
9318 * src/unmime.c: modified so that it checks the existence of
9320 Above three are a contribution from Sasaki. Thanks!
9324 * src/main.h: decreased default height of window.
9328 * src/procmime.c: fixed a bug that eliminated the parenthesis in
9329 attribute value that was double-quoted.
9335 * src/mimeview: implemented multipart message parser and display.
9336 * src/procmime.c: procmime_scan_content_type():
9337 supported multiple elements.
9338 * src/textview.c: supported multipart message and clean up the code.
9342 * src/summaryview.c: added size column and sorting by size.
9343 * src/mainwindow.c: added `Sort by size' to sort menu.
9344 * src/procmime.c: fixed a bug that caused buffer overrun and
9346 * src/procmime.c: generalized Content-Type parsing.
9352 * src/textview.c: supported MIME headers and
9353 Content-Transfer-Encoding: quoted-printable.
9357 * src/messageview.[ch]
9358 src/textview.[ch]: separated MessageView into two classes.
9359 * src/procmime.[ch]: added for MIME message handling.
9363 * src/mimeview.[ch]: added for MIME message handling.
9364 * configure.in: added wctype.h and wchar.h existence check.
9369 src/procheader.[ch]: some code cleanups.
9370 * src/messageview.[ch]: integrated HeaderView.
9378 * src/addressbook.c: Made the tree sorted when folder/group is
9380 * src/xml.c: xml_compare_tag(): fixed a bug that caused segmentation
9381 fault if the current tag was empty.
9382 * src/mainwindow.c: made the state of MainWindow saved.
9388 * src/addressbook.c: fully implemented address group editing.
9389 Fixed a bug that wrongly confirmed deletion of address when
9390 escape key was pressed on alert dialog.
9394 * src/addressbook.c: added menu bar. And enabled hierarchical
9396 * src/prefs_account.c: modified so that it allows not to specify
9398 * src/inc.c: inc_account_mail(): modified so that if receiving
9399 server isn't specified, it does nothing.
9405 * src/addressbook.c: almost fully implemented addressbook functions.
9409 * src/compose.c: fixed a bug that caused segmentation fault when
9410 `File->Insert file' was selected more than twice.
9416 * src/addressbook.[ch]: implemented creation of new folder and group,
9417 and deletion of folder and group. And fully implemented
9418 addressbook_delete_object() which deletes the specified object
9423 * src/addressbook.c: implemented registration of address and multiple
9424 appending to Compose address entry.
9425 * src/menu.[ch]: added a function menu_set_insensitive_all() that
9426 turn all menu items insensitive.
9427 * src/folderview.c: some code cleanup.
9432 src/prefs_common.c: fixed a bug on getting the number of CList
9439 * src/folderview.c: fixed a bug that caused warnings when tree was
9440 expanded/collapsed on the first operation.
9444 * src/addressbook.c: addressbook_list_selected(): made it be able
9445 to handle multiple address.
9446 * src/compose.c: modified so that when Bcc: is toggled, corresponding
9447 AddressBook also toggle it.
9449 main_window_create(): moved gtk_widget_set_uposition() before
9450 gtk_widget_show() so as not to cause window flickering.
9451 main_window_get_position(): replaced gdk_window_get_position()
9452 with gdk_window_get_root_origin() to acquire correct window
9453 position (Thanks to shigeri for these modifications).
9457 * src/filesel.c: made it selects home directory on the first time
9462 * src/utils.c: conv_mb_alnum(): modified so that it uses character
9464 * src/foldersel.c: made the folder tree take focus when the dialog
9471 * src/addressbook.c: implemented addressbook_export_to_file() and
9477 src/addressbook.c: fixed the variable name for attribute.
9478 * src/prefs_common.[ch]: added a member `conv_mb_alnum'.
9479 * src/utils.[ch]: added conv_mb_alnum() that converts multi-byte
9480 alphabet and numeric into single-byte one.
9481 * src/messageview.c: messageview_show(): made it pass conv_mb_alnum()
9482 when conv_mb_alnum flag is on.
9488 * src/compose.c: modified so that when Addressbook is open by a
9489 Compose and it is closed, target of Addressbook is reset.
9490 * src/addressbook.c: made it work with Compose.
9494 * configure.in: AM_PATH_{GLIB, GTK}: raised the required version of
9495 GTK+ and GLIB to 1.2.6.
9496 * src/xml.[ch]: more implementation of XML parser.
9497 * src/addressbook.c: implemented addressbook parsing and displaying
9502 * src/folderview.c: folderview_scan_folder(): modified so that if
9503 a folder's message number is zero, set new, unread and total number
9508 * src/xml.[ch]: added for XML handling used by addressbook.
9509 * src/folderview.c: modified so that Trash folder is skipped
9510 when an unread folder is selected automatically by space key.
9514 * src/summaryview.c: fixed a bug that cursor was turned into watch
9515 forever when a newsgroup was selected.
9523 * src/mainwindow.[ch]: implemented counting on setting cursor
9524 type. And modified the menu of `thread view' and `unthread view'.
9525 * src/summaryview.c: enabled thread-toggling on opening folder.
9526 * src/prefs_common.[ch]: added a member `enable_thread' to determine
9527 whether summary view builds thread or not when a folder is open.
9531 * src/summaryview.c: modified popup sensitivity function a bit.
9537 * src/addressbook.[ch]: more implementation of the interface of
9539 * src/compose.c: connected to addressbook object.
9540 * src/folderview.[ch]: folderview_compare_path():
9541 modified so that absolute path is correctly compared.
9542 And added folderview_select_node().
9543 And modified folderview_scan_folder() so that it update the summary
9545 * src/import.c: made it update folder tree when imported mbox.
9546 * src/summaryview.c: modified according to the changes of
9547 folderview.c. And modified so that it display alert dialog if
9548 source folder is identical to destination.
9549 added summary_set_popup_sensitive() that set the sensitivity of
9550 popup menu according to the context. And made all of the items of
9551 popup menu insensitive when summary is cleared.
9552 * src/procmsg.c: procmsg_move_messages_with_dest():
9553 modified so that if source folder is identical to destination,
9555 * src/summary_search.c
9556 src/manage_window.c: modified so as not to print warning to console
9557 when alert dialog appeared twice.
9558 * src/filesel.c: made file selection dialog transient.
9562 * src/manage_window.[ch]: added callback function
9563 manage_window_focus_out().
9569 src/summary_search.c: added focus_out_event signal handler.
9570 * src/addressbook.[ch]: added preliminary addressbook code.
9574 * src/utils.h: added a macro Xalloca() that does alloca() and
9575 handles the exception.
9576 * src/import.c: made the import dialog transient window and enabled
9577 cancelling by escape key.
9583 * src/compose.c: fixed a bug that caused memory leak when compose
9588 * src/nntp.h: increased NNTP message buffer size for XOVER strings
9593 * src/summaryview.c: binded step-forward and step-backward to each
9594 Control-n and Control-p.
9595 * src/filter.c: filter_read_str(): fixed a memory leak bug and
9596 replaced g_malloc() for allocating the buffer with alloca().
9597 * src/procheader.c: procheader_get_fromname(),
9598 procheader_date_get_localtime()
9599 src/utils.c: conv_euctojis()
9600 src/compose.c: compose_quote_parse_fmt()
9601 src/prefs.c: prefs_set_data_from_text()
9602 prefs_set_text(): replaced g_malloc() with alloca().
9608 * src/logwindow.c: improved log_window_append() so that it shows
9609 warning, error and normal message with different colors.
9610 * src/utils.[ch]: added functions log_message(), log_warning(), and
9611 log_error() that show normal message, warning, and error for each.
9612 And modified many warning messages to use these.
9613 * src/messageview.c: messageview_init(): made it set colors of
9614 quotation and URI to black when failed to allocate colors.
9615 * src/news.c: news_parse_xover(): replaced g_malloc() for allocating
9616 the buffer with alloca().
9620 * src/folderview.c: fixed a bug that didn't put previously selected
9621 folder name in text entry. In addition to that, made some
9628 * src/logwindow.[ch]: added log window that displays protocol log.
9629 * src/about.c: adjusted the size of dialog.
9630 * src/folderview.c: made it select a folder when double-clicked.
9634 * src/prefs_common.[ch]: added an item `translate_header' that
9635 decides whether header name like `From:' or `Subject:' is
9637 * src/compose.c: made it show alert dialog when receiptor isn't
9639 * src/inc.c: some code cleanups.
9645 * src/compose.c: made header entries move those focus to next
9646 entry or text widget when activated. And sorted out the menu items.
9647 * src/mainwindow.[ch]
9648 src/prefs_common.[ch]
9649 src/main.c: made it save the sizes of widgets and the position of
9650 window when quitting.
9651 * src/prefs_common.c: set a14, k14 fontset as default message font.
9652 * src/about.c: changed the appearance of about dialog using text
9654 * src/recv.c: modified recv_write() so that it converts an escaped
9661 * src/compose.[ch]: supported Bcc.
9667 * src/utils.[ch]: added function to_number() that examines string
9668 and if that is a number string, return its value.
9669 * src/procmsg.c: fixed a bug that caused malfunction when non-digit
9670 character was included in file name.
9676 * src/folderview.c: fixed a bug that caused segmentation fault
9677 when opened folder node was deleted (thanks to Hiramatu).
9678 And implemented folderview_rm_server_cb() which removes news server.
9679 * src/mbox.c: modified a warning message.
9683 * version 0.2.0alpha-pre8
9685 * src/mainwindow.c: inc_all_account_mail_cb(): made it select inbox
9686 folder to prevent the probrem when current folder is updated.
9687 * src/summaryview.c: summary_execute(): made it write to summary
9688 cache when executed.
9692 * version 0.2.0alpha-pre7
9694 * src/utils.[ch]: added path_cmp() that compares two paths ignoring
9695 trailing directory separator.
9696 * src/folderview.[ch]
9697 src/summaryview.[ch]: modified so that folder tree is updated
9698 when messages are moved or deleted.
9699 * src/inc.c: some code cleanup.
9703 * version 0.2.0alpha-pre6
9705 * src/utils.[ch]: added get_domain_name() that return domain
9706 name as a static string.
9707 * src/compose.c: compose_generate_msgid(): modified so that even
9708 if current address doesn't contain '@', it generates a decent
9710 * src/send.c: some code cleanup.
9714 * src/folderview.c: modified the behavior of folder tree when
9715 the folder is right-clicked.
9716 * src/compose.c: compose_encode_header(): added irresponsible
9717 buffer overrun check.
9721 * version 0.2.0alpha-pre5
9723 * updated gettext and libtool.
9724 * configure.in: modified localedir definition so that message
9725 catalogs are installed into correct directories.
9727 src/mainwindow.c: modified them so that a folder can be reopen
9728 even if it is currently open.
9729 * src/prefs_common.[ch]
9730 src/messageview.c: added an option that toggle the coloration of
9735 * version 0.2.0alpha-pre4
9738 src/messageview.c: fixed a bug that broke memory on allocating
9743 * src/folderview.c: some bug fixes on selecting folder.
9747 * version 0.2.0alpha-pre3
9750 * src/summaryview.[ch]: some code cleanups.
9751 * src/messageview.c: fixed a color allocating bug (maybe).
9755 * version 0.2.0alpha-pre2
9757 * src/folderview.[ch]: made folder view not open selected folder
9758 unless return or space key is pressed, or clicked by mouse
9760 * src/inc.c: some code cleanups.
9761 * TODO.jp: added some items.
9765 * version 0.2.0alpha-pre1
9767 * src/summaryview.[ch]: fixed a bug that broke summary thread
9768 when deleted duplicated messages (thanks to BONAIM).
9769 And some code cleanup.
9770 * src/procmsg.[ch]: renamed procmsg_move_messages() to
9771 procmsg_move_messages_with_dest(), and replaced former with
9772 new function which doesn't specify destination.
9773 * src/prefs_common.c
9774 src/gtkutils.c: some memory leak fixes of linked lists.
9775 * src/utils.[ch]: added list_remove_all() to remove all elements
9776 of doubly-linked list.
9777 * src/inc.[ch]: added inc_all_account_mail() that incorporates
9778 new messages of all accounts.
9779 * src/account.[ch]: added account_foreach() to process each accounts.
9784 * version 0.1.23alpha
9786 * src/inc.c: made the folder tree update the message number
9787 when incorporated new messages.
9788 * src/folderview.[ch]: added a function folderview_scan_folder()
9789 to scan one folder on the view, which is specified by folder name.
9793 * version 0.1.22alpha
9795 * src/prefs_account.[ch]: added the setting of assorting on
9797 * src/inc.c: supported assorting on receiving.
9798 * src/procmsg.c: cleaned up the code.
9799 * src/news.c: fixed a bug that locked up when failed to get xover.
9800 * src/compose.c: made a message unmark that is put into specific
9805 * version 0.1.21alpha
9808 src/summaryview.c: implemented the function 'go to next folder
9809 when no unread message found.'
9810 * src/summaryview.c: made connection state displayed on the
9811 status bar when connecting to a news server.
9812 * src/compose.c: changed X-Mailer: header field string a bit.
9813 * src/prefs_common.c: implemented residual functions of assortment.
9817 * version 0.1.20alpha
9819 * src/prefs_common.c: implemented reading/writing/register/deletion
9820 of assortment setting.
9821 * src/mainwindow.c: slightly modified the appearance of statusbar.
9822 * src/account.c: account_delete(): fixed a bug that didn't assigned
9823 the pointer to GList when an account was deleted.
9827 * src/procmsg.c: procmsg_get_mark_sum(): fixed a bug that failed
9828 to read mark file (thanks to BONAIM).
9829 * src/prefs_common.c: added the interface of assortment setting.
9833 * src/summaryview.c: fixed a bug that didn't redraw marking properly
9834 when displaying an unread message with left-click (thanks to
9839 * src/summaryview.[ch]: added functions for assortment.
9840 * src/about.c: added a button to close window.
9844 * src/procmsg.c: fixed a bug that didn't add news flag correctly.
9845 * src/compose.c: fixed a bug that can't reply to a news article.
9846 * src/filter.[ch]: added for message filtering.
9847 * src/procheader.[ch]: added procheader_get_unfolded_line()
9848 to process filtering. And added procheader_get_header_list()
9849 that reads headers of a message and store them on the memory,
9850 and procheader_header_list_destroy() that removes all headers
9851 read by procheader_get_header_list().
9855 * version 0.1.19alpha
9857 * src/news.c: modified so that it retrieves only overview information
9858 that is not yet cached.
9859 * src/procmsg.[ch]: modified for news handling.
9863 * src/news.c: supported xover.
9864 * src/mbox.c: fixed a bug that didn't handle empty line correctly
9865 (Thanks to shigeri).
9869 * version 0.1.18alpha
9871 * src/procmsg.[ch]: modified some functions so that they can
9873 * src/news.c: added header cache routine.
9874 * src/procheader.c: fixed a bug that caused memory leak when some
9875 header was duplicated.
9876 And added Newsgroups: in parsing headers.
9877 * src/summaryview.c: added news article cache routine.
9878 * src/compose.c: made it be able to reply/forward news article.
9882 * src/compose.c: fixed a bug that failed to parse To: header
9883 if a comma is included in double quotation (Thanks to shigeri).
9884 * src/mbox.c: modified the code for processing mbox so that it
9885 can handle unescaped From_ line correctly.
9889 * version 0.1.17alpha
9891 * src/foldersel.c: fixed a bug that didn't display folder tree.
9892 And added the register routine for news server and group setting.
9896 * version 0.1.16alpha
9898 * src/statusbar.[ch]: added statusbar_puts_all().
9899 statusbar_puts(): made it truncate a string that is too long.
9900 * src/folderview.[ch]: changed CTree's row data from string
9901 to FolderInfo structure.
9902 And implemented popup menu that registers news server and group.
9903 * src/messageview.c: modified short header display routine.
9907 * added src/news.[ch] for NetNews session management.
9908 * src/summaryview.[ch]: added NetNews reading codes.
9913 src/prefs_common.[ch]: made them preserve toolbar style.
9914 * src/main.c: made it save configuration before exiting.
9915 * src/summaryview.c: modified summary status display routine.
9916 * added src/nntp.[ch] for handling low level NNTP session.
9920 * added src/progress.[ch] for displaying progress.
9921 * src/inc.c: modified progress dialog routines to use
9923 * src/folderview.[ch]: added preliminary NetNews supporting code.
9927 * version 0.1.15alpha
9930 src/folderview.c: some permission fixes.
9931 * src/folderview.c: implemented folder creation/renaming/removing.
9932 * src/utils.[ch]: added remove_dir_recursive() that removes
9933 a directory recursively.
9937 * src/mainwindow.[ch]: added toolbar style selection.
9938 * added src/inputdialog.[ch] to prompt user to enter a string.
9939 * src/summaryview.[ch]: modified the behavior of view on
9941 * src/mbox.c: fixed a bug that couldn't lock file when
9942 lockf() was used (Thanks to shigeri).
9946 * version 0.1.14alpha
9948 * src/mainwindow.[ch]: changed the appearance of toolbar.
9949 And fixed window handling.
9950 * src/summaryview.c: modified the messages displayed on status bar.
9951 * src/compose.[ch]: added toolbar.
9952 * src/*.xpm: borrowed some icons from gnome-libs (temporary).
9956 * version 0.1.13alpha
9958 * src/summaryview.c: fixed a bug of threading. And some code
9959 cleanups. And rewrote the routine of deleting duplicated messages
9961 * src/mainwindow.[ch]: added toolbar.
9965 * version 0.1.12alpha
9967 * src/summary_search.c: if the OS don't have wcsstr(), use wcswcs()
9969 * src/summaryview.c: changed CTree creating routine as it creates
9970 thread on the fly for speeding up.
9971 * src/procmsg.c: rewrote message processing routines using hash
9972 table for speeding up. It should be considerably faster than
9977 * version 0.1.11alpha
9979 * po/ja.po: modified msgstr for Solaris standard gettext.
9980 * src/main.c: added config.h inclusion.
9981 * src/compose.c: changed to add replied message's In-Reply-To
9982 message id to References header if it don't have References header.
9983 * src/summaryview.c: changed threading routine to use hash table
9988 * version 0.1.10alpha
9990 * po/ja.po: modified msgstr so as not to core dump on Solaris.
9991 * src/main.c: added inclusion of locale.h.
9992 (Thanks to Sato for above.)
9994 * src/socket.c: applied Solaris patch by shigeri with some
9995 modification. (Thanks!)
9999 * version 0.1.9alpha
10001 * src/compose.c: compose_encode_header(): fixed some bugs.
10002 And modified header generating routines to support proper
10003 References header, and supported Organization header.
10005 src/procheader.c: removed Cc: and Reply-To: from cache data.
10006 * src/procheader.[ch]: renamed header list structure to HeaderEntry.
10007 * src/summaryview.[ch]: summary_thread_func(): some optimization.
10008 And added summary_pass_key_press_event() to pass key press event
10009 from other widgets.
10010 * src/messageview.c: messageview_key_pressed(): modified so that
10011 key event is passed to summary view even if message view is
10012 separated. (Thanks to wakai@UEC univ. for pointing this out.)
10016 * version 0.1.8alpha
10018 * src/compose.c: implemented RFC1522, RFC2407 (loosely) compliant
10019 header MIME encoding.
10020 * src/procheader.c: some bug fixes of folded header line processing.
10021 * src/headerview.c: headerview_show(): some bug fixes.
10025 * version 0.1.7alpha
10027 * src/utils.c: conv_euctojis(): fixed a bug that didn't add
10028 kanji-out sequence [ \033 ( B ] when input string was ended
10029 with kanji. (Thanks to Nozomu Kobayashi for pointing this out.)
10030 * src/compose.c: compose_encode_header(): changed as it outputs
10031 encoded string to another buffer.
10032 And implemented a faculty to save sent message to outbox and
10033 to queue message that failed to send (preliminary).
10034 And, finally implemented proper To: and Cc: processing :)
10035 * src/folderview.c: added preliminary right-clicking popup menu
10036 for operating folders.
10037 * some permission fixes at creating or copying file.
10041 * version 0.1.6alpha
10043 * src/procheader.c: fixed a bug that didn't null-terminate
10044 header list and caused segmentation fault.
10048 * version 0.1.5alpha
10050 * src/procheader.[ch]: added function procheader_get_one_field()
10051 that gets one header field that matches the header list.
10052 And removed procheader_get_unfolded_line(), which is less generic.
10053 And rewrote procheader_get_header_fields() using
10054 procheader_get_one_field().
10055 * src/summaryview.c: some bug fixes of key input scan routine.
10056 * README, README.jp: modified documents a bit.
10060 * src/menu.c: menu_set_sensitive(): fixed a bug that if a menu item
10061 had a submenu, set sensitivity of the submenu, not the item.
10065 * version 0.1.4alpha
10067 * src/summaryview.c: fixed a bug that caused segmentation fault
10068 when empty summary view was center-clicked.
10069 And fixed a bug that freed moving folder strings when marked
10071 If current folder is trash, don't delete message.
10072 * src/summaryview.[ch]
10074 * src/procmsg.[ch]: added update-cache mode (discards previous cache).
10078 * src/procheader.[ch]: more optimization of header processing
10079 routine. And added a new function procheader_get_header_fields()
10080 that receives an array of header name as a parameter and
10082 * src/utils.[ch]: added remove_return() for removing return code.
10083 * src/unmime.c: added remove_return() on the last of UnMimeHeader().
10087 * src/compose.c: if message body is ascii only, set US-ASCII as
10088 charset in Content-Type.
10091 * src/prefs_common.c
10092 * src/prefs_account.c
10093 * src/account.c: changed the location of rc files.
10094 * src/account.c: enabled closing window when escape key is pressed.
10098 * version 0.1.3alpha
10100 * src/compose.c: fixed a bug that caused segmentation fault
10101 when sending failed.
10102 And relocated header-generation routines from src/send.c.
10103 * src/send.c: moved header-generation routines to src/compose.c.
10104 * src/prefs.c: added '~' to home directory expansion.
10105 * src/prefs_account.[ch]: added signature file path configuration.
10106 * src/prefs_common.[ch]: added spool path configuration.
10107 * src/inc.c: changed the method of user name acquisition to use
10112 * version 0.1.2alpha
10114 * added ChangeLog (this file), ChangeLog.jp.
10115 * some code cleanups.
10116 * added manage_window.[ch] for transient window management.
10117 * src/procheader.c: optimized header processing routine a bit.
10118 * src/send.c: fixed exception handling on connection.
10119 * src/inc.c: added exception handling on getting user name.
10123 * version 0.1.1alpha
10125 * src/send.c: fixed a bug that didn't add Content-Type: header.
10129 * version 0.1.0alpha