3 * src/folderview.[ch]: implemented spring-loaded folder.
7 * src/folderview.c: folderview_button_pressed(): enable menu item
8 'Search messages...' only when opened folder is selected.
13 src/prefs_common.[ch]: removed the option "Queue messages that fail
18 * src/summaryview.c: cleaned up the context menu.
19 * src/mainwindow.c: changed the position of '/Message/Re-edit'
24 * src/procmsg.[ch]: fixed the type of integer value in cache data
29 * src/nntp.c: nntp_get_article(): ignore the protocol error of
30 response for some broken news servers (thanks to Davide Scola).
34 * src/gtkutils.[ch]: added gtkut_editable_disable_im().
35 * src/passphrase.c: disable XIM on entering passphrase.
42 src/prefs_display_header.c
43 src/procmsg.h: fixed for AMD64 (and other 64-bit platforms)
44 (thanks to Hiroyuki Ikezoe).
48 * src/inc.[ch]: don't use gtk_timeout_add(), instead use
49 gettimeofday() (to prevent infrequent lockup).
54 src/inc.[ch]: changed the method of updating the progress dialog
55 to reduce the overhead on a fast network.
59 * src/nntp.c: nntp_session_new(): attempt to authenticate at the
60 beginning of a session (thanks to Shiino Yuki and IWAMOTO, Kouichi).
62 src/nntp.c: destroy session when socket error occurred.
67 src/summaryview.[ch]: added a function to filter selected
73 src/prefs_filter.c: rewrote the filtering system (the UI is not
78 * src/filter.c: fixed the matching algorithm of "not contain" flag
79 (also match if a header not exist, and handle same multiple
81 * src/imageview.c: get_resized_size(): fixed a typo that caused
87 src/mh.c: only update FolderItem::last_num when removing the last
88 number of message in MH folders, and don't scan in other case
89 (fixes wrong message count on moving).
94 src/summaryview.c: always move messages by default when using DnD
95 (except for News folder). Copy messages if Ctrl-key is pressed.
96 * src/mainwindow.c: main_window_empty_trash()
97 src/summaryview.c: summary_execute(): added missing
106 * src/prefs_common.c: made the default of "inc_local" FALSE.
111 src/folderview.c: toggle online mode when checking IMAP4 accounts.
112 Pop status bar after that.
113 * src/inc.c: code cleanup.
114 * src/mainwindow.[ch]: added main_window_get() and
115 main_window_toggle_online_if_offline().
116 * src/prefs_common.c: prefs_common_read_config(): fixed a bug that
117 made it offline mode on first execution.
121 * src/imageview.c: enabled automatic resize on window resize.
122 restrict the minimum size to 16 pixels to prevent crash.
123 imageview_init(): don't cache images when using imlib.
124 imageview_show_image(): fixed memory leak.
125 * src/mimeview.c: mimeview_init(): call imageview_init().
129 * src/codeconv.[ch]: added ISO-2022-JP-3 encoding.
135 src/messageview.c: added KOI8-U encoding.
136 * src/prefs_common.c: prefs_message_create(): modified the string
137 of resizing image option.
141 * src/addressbook.c: addressbook_list_selected(): corrected its
143 * src/imageview.[ch]: keep original image data in ImageView, and
144 enabled the toggle of resizing.
145 * src/messageview.[ch]
146 src/mimeview.[ch]: handle ImageView in MimeView instead of
153 src/summaryview.c: removed statusbar_pop_all() from imap.c and
154 news.c (do it in summaryview.c).
159 src/pop.[ch]: made inc_drop_message() the virtual function of
160 Pop3Session and removed the dependency of pop.c on inc.h.
166 src/textview.c: added statusbar to the message view with new window.
170 * src/inc.[ch]: use hash table for progressive update.
171 changed update interval to 2 sec.
175 src/summaryview.c: added FolderItem::unmarked_num to correct the
176 folder message counting.
180 * src/inc.[ch]: update folderview progressively.
181 * src/foldersel.c: display full id for selected item.
185 * src/folderview.[ch]: code cleanup.
186 folderview_append_item(): new. It appends the folder to the folder
188 * src/foldersel.c: foldersel_new_folder(): use
189 folderview_append_item().
193 * src/foldersel.c: implemented 'create new folder' function.
194 * src/folder.[ch]: folder_find_child_item_by_name(): new.
195 * src/utils.h: AUTORELEASE_STR(): convert malloc'd string into
196 auto-release (alloca'd) one.
200 * src/folderview.c: put together folderview_new_imap_folder_cb() into
201 folderview_new_folder_cb().
205 * src/compose.c: compose_write_to_file(): removed redundant strlen()
207 * src/textview.c: textview_button_pressed(): select correct account
208 when address is clicked.
216 * src/folder.c: folder_item_fetch_all_msg()
217 src/folderview.c: folderview_download_cb(): show progress with
219 * src/mainwindow.[ch]: added new functions for progressbar.
223 * src/summaryview.c: summary_key_pressed(): GDK_Left should only
224 switch to folderview when summaryview hscrollbar is at the leftmost
225 position (thanks to Alfons).
229 * src/codeconv.c: conv_euctojis(): made JIS X 0201 Kana conversion
231 * src/prefs_common.[ch]: added PrefsCommon::allow_jisx0201_kana
236 * src/codeconv.c: conv_euctojis(): force JIS X 0201 Kana to JIS X 0208
241 * src/imap.c: imap_get_msginfo(): fixed wrong counting.
254 src/quote_fmt_parse.y
255 src/quoted-printable.c
260 src/xml.c: fixed wrong type of argument for ctype functions (char
261 had been passed instead of unsigned char).
266 * src/mainwindow.[ch]: added MainWindow::messageview_cid.
267 Clear messageview when it is hidden.
268 * src/textview.c: show URL to the statusbar when its link is clicked.
269 textview_uri_security_check(): compare real URL and apparent one
270 and show warning if it seems to be a fake URL.
272 is_uri_string(): return TRUE if the string seems like a URL.
273 get_uri_path(): return URL except for its scheme part.
277 * src/folder.[ch]: folder_item_fetch_all_msg(): new. It fetches all
278 messages in a folder.
279 * src/folderview.c: implemented 'Download' feature.
283 * src/gtkutils.[ch]: implemented ComboButton which adds an arrow
284 menu button to a button.
285 * src/mainwindow.[ch]: main_window_toolbar_create(): added combo
286 button to reply and forward button.
290 * src/mainwindow.c: fixed automatic expansion of window size because
295 * src/addr_compl.[ch]
296 src/gtkshruler.[ch]: changed the copyright notice.
300 * src/gtkstext.c: find_line_params(): also break between mutlibyte
301 and single-byte characters.
305 * src/gtkstext.c: find_line_params(): break lines between multibyte
306 characters on word wrap mode.
310 * src/codeconv.c: conv_iconv_strdup(): fixed crashes on LP64
311 environments (thanks to James Noyes).
312 * src/compose.c: compose_select_account(): don't turn off the sign/
313 encrypt option automatically.
317 * src/inc.[ch]: made inc_account_mail() public.
318 * src/mainwindow.c: moved receive menus into submenu, and added
319 dynamic menus for receiving from each account.
327 * src/procmsg.c: procmsg_open_data_file(): set buffer if DATA_READ
328 is specified and a buffer is given.
329 procmsg_open_cache_file_with_buffer(): new.
330 procmsg_read_cache(): fixed a bug that called setvbuf() after an
331 file I/O which caused buffer read error.
339 * configure.in: enable IPv6 support by default.
343 * src/inc.c: inc_mail(), inc_all_account_mail(): ask user to switch
344 to online when in offline mode.
345 * src/mainwindow.h: added main_window_toggle_online().
352 src/stock_pixmap.[ch]
353 src/pixmap/dir-noselect.xpm: made no-select folders display with
355 * src/Makefile.am: added offline.xpm, online.xpm, and
356 dir-noselect.xpm to EXTRA_DIST.
360 * src/folder.h: added macro FOLDER_ITEM_CAN_ADD().
361 * src/folderview.c: folderview_drag_motion_cb(): code cleanup.
362 folderview_drag_received_cb(): don't accept at no_select folder or
364 * src/foldersel.c: made folders on which no_select flag is set not
369 * src/imap.c: imap_do_copy_msgs(), imap_remove_msgs(): code cleanup.
370 set MSG_INVALID flag when messages are deleted.
371 * src/mh.c: mh_do_move_msgs(), mh_remove_msg(): set MSG_INVALID flag
372 when messages are deleted.
374 procmsg_move_messages()
375 procmsg_copy_messages(): return error status.
376 Added MSG_INVALID to MsgTmpFlags.
377 * src/summaryview.c: summary_execute(): detect errors and only remove
378 nodes that are invalidated.
379 summary_unthread_for_exec(): fixed a bug that didn't remove nodes
384 * src/mainwindow.[ch]: added online switch button to the statusbar,
385 and "/File/Work offline" in the menu.
386 * src/pixmaps/offline.xpm
387 src/pixmaps/online.xpm: new (borrowed from
388 themes/classic/communicator/icons/ in Mozilla).
389 * src/stock_pixmap.[ch]: added online.xpm and offline.xpm.
390 * src/textview.[ch]: textview_show_error(): new.
391 * src/summaryview.c: summary_display_msg_full(): update marks only
392 if messages are displayed.
393 * src/prefs_common.[ch]: added PrefsCommon::online_mode.
394 * src/news.c: news_session_get()
395 src/imap.c: imap_session_get(): return NULL when in offline mode.
396 * src/messageview.[ch]: messageview_show(): return status whether
397 messages are successfully displayed. Display error messages in
398 the view when failed.
400 procmsg_get_message_file()
401 procmsg_open_message(): don't output warnings when fetch failed.
405 * src/html.c: html_get_tag(): support attributes which don't have
410 * src/codeconv.c: conv_get_code_conv_func(): return conv_latintodisp
411 only if src_charset and current charset is identical or current
412 one is multibyte (fixes display of ISO-8859-5 on KOI8-R locale etc.).
416 * autogen.sh: don't include m4 directory in aclocal.
417 * intl/libgnuintl.h: removed from cvs.
418 * po/.cvsignore: added stamp-po and remove-potcdate.sed.
422 * upgraded to gettext-0.12.1.
424 2003-11-24 gettextize <bug-gnu-gettext@gnu.org>
426 * Makefile.am (SUBDIRS): Add m4.
427 (ACLOCAL_AMFLAGS): New variable.
428 (EXTRA_DIST): Add config.rpath.
429 * configure.in (AC_OUTPUT): Add m4/Makefile.
433 * configure.in: added check for d_type member in struct dirent.
434 * src/mh.c: mh_scan_folder(): use d->d_type if available.
435 mh_get_uncached_msgs(): removed redundant stat().
436 mh_parse_msg(): return NULL if not a regular file.
437 mh_scan_tree_recursive(): use d->d_type if available.
439 dirent_is_regular_file()
440 dirent_is_directory(): new. Use d->d_type to determine the type
441 of entry if available.
442 remove_dir_recursive(): use dirent_is_directory().
446 * src/folder.h: added 'updated' flag to FolderItem.
447 * src/folderview.[ch]: folderview_update_all_updated(): new. It
448 updates all updated folders.
449 * src/imap.c: set FolderView::update flag on changes of contents.
450 * src/main.c: send_queue()
451 src/mainwindow.c: send_queue_cb(): code cleanup.
452 * src/mh.c: code cleanup.
453 mh_scan_folder(): correctly count new messages.
454 * src/procmsg.[ch]: code cleanup.
455 procmsg_open_cache_file(): new.
456 procmsg_open_mark_file(): enable read/write/append.
457 procmsg_send_queue(): correctly choose outbox for accounts.
458 * src/send_message.[ch]: send_get_queue_info(): get a queue
459 information from queued messages.
460 send_queue_info_free(): free QueueInfo.
461 send_message_queue(): take QueueInfo as an argument instead of file.
462 * src/summaryview.c: summary_write_cache(): code cleanup.
466 * src/compose.c: compose_redirect_write_headers(): correctly add
471 * src/imap.c: imap_get_msg_list(): fallback to FETCH command if SEARCH
472 command to get flags failed.
473 imap_search_flags(): returns UID array and flags hash table using
475 imap_fetch_flags(): returns UID array and flags hash table using
480 * src/summary_search.c: summary_search_execute(): fixed 'Select all
481 matched' when backward search is enabled.
482 Made the backward search button insensitive when 'select all
491 * src/imap.c: imap_scan_tree(): check the existence of root directory
492 with LIST instead of STATUS.
496 * src/send_message.c: fixed format string bug (exploitable by
497 malicious SMTP server) when calling alertpanel_error()
498 (thanks to Georgi Guninski).
505 src/news.[ch]: refactoring of the folder system (based on the claws'
514 src/summaryview.c: use FOLDER_TYPE() macro at every place.
523 addressbook_folder_load_person()
524 addressbook_folder_load_group(): sort the ctree after the end of
525 the loop (fixes performance issue when many addresses are in one
526 folder) (thanks to christian mock).
530 * src/folderview.c: folder_init(): code cleanup.
531 * src/summaryview.c: summary_init(): check if boldfont is
533 * src/grouplistdialog.c: use proper callback for delete_event (thanks
535 * src/imap.c: allow zero-length messages.
536 * src/recv.c: recv_bytes_write(): return immediately if size == 0.
540 * src/folderview.c: folderview_init(): if font can't be loaded, fall
541 back to gtk default (fixes crashes on startup). Also removed the
546 * src/compose.c: compose_insert_sig(): insert signature at the
547 current cursor position on manual operation.
551 * src/summaryview.c: summary_key_pressed(): don't ignore delete key
552 even if the main window is locked.
556 * src/action.c: improved synchronous action exit code (fixes long
557 delay after action exit on RH9) (thanks to Melvin).
558 * src/stringtable.[ch]: string_table_insert_string(): modified the
559 code to remove the warning "dereferencing type-punned pointer will
560 break strict-aliasing rules".
561 Use const gchar * instead of gchar * for arguments.
565 * src/utils.[ch]: generate_mime_boundary(): a new function to create
566 MIME boundary (moved from rfc2015.c).
567 Removed more special characters.
568 Use random() instead of lrand48() which is obsolete.
569 Added an argument for prefix to prevent duplication.
570 Always add "=_" as a counter-QP sequence to simplify the code.
572 rfc2015_decrypt_message()
574 rfc2015_sign(): fixed a bug that didn't handle continuous content
577 src/rfc2015.c: use generate_mime_boundary().
582 folderview_delete_folder_cb()
583 folderview_remove_mailbox_cb(): close currently displayed folder
584 before removing FolderItem (fixes crash on deleting folder).
586 src/imap.[ch]: imap_scan_tree()
587 src/mh.[ch]: mh_scan_tree(): return -1 when scanning failed.
588 * src/summaryview.c: summary_clear_all(): also clear the message view.
589 * src/imap.c: imap_close(): fail if the specified folder is not
591 imap_scan_tree(): check if the specified root directory exist, and
592 try creating it if not.
593 imap_parse_list(): output warning if a server returns error.
594 imap_find_namespace_from_list(): support not slash-delimited path.
595 imap_status(): don't return values if they're not specified.
599 * sylpheed.spec.in: fixed a typo.
610 src/prefs_common.[ch]: added the receive dialog's option to
611 display the dialog only on manual receiving, and the
612 RECV_DIALOG_ACTIVE option was removed.
616 * src/compose.c: compose_write_headers(): also replace ':' in the
617 MIME boundary with '_' (as a workaround for broken servers).
621 * src/imap.c: imap_scan_tree_recursive(): fixed compile error.
625 * src/prefs_filter.c: added 'Top' and 'Bottom' button.
629 * src/folder.[ch]: folder_item_remove_children(): new. It removes
630 all children under a FolderItem.
631 * src/folderview.c: folderview_rescan_tree(): modified the message.
632 * src/imap.c: imap_scan_tree(), imap_scan_tree_recursive(): reuse
633 the previous FolderItem objects.
637 * src/folder.[ch]: added a reference to its own GNode in FolderItem.
638 folder_item_remove(): free all FolderItem's.
639 folder_tree_destroy(): use folder_item_remove().
640 * src/folderview.c: folderview_sort_folders(): keep the order even
641 if special folders' parents are different.
642 * src/imap.c: imap_scan_tree_recursive(): fixed a memory leak.
643 * src/mh.c: mh_scan_tree(): preserve the previous FolderItem's.
644 mh_remove_missing_folder_items(): scan the directories and remove
646 mh_scan_tree_recursive(): reuse the previous FolderItem objects.
650 * src/mainwindow.c: always reflect window size changes.
651 * src/folderview.c: folderview_init()
652 src/summaryview.c: summary_init(): realize the widget before
654 * src/prefs_common.[ch]: remember the folder and mesage view's
660 src/prefs_common.[ch]: remember the size and position of
662 main_window_set_widgets(): fixed a bug that the hidden items on
663 the header view were shown when changing the view type.
664 Instead of setting the window size, set the each view's size.
668 * src/compose.c: compose_select_account(): don't append signature
670 compose_insert_sig(): don't insert "\n\n" if signature string
671 doesn't exist. Always insert signature at the end of message.
675 * improved sylpheed.spec.in (thanks to Andre Oliveira da Costa).
679 * minor code cleanups for the folder system.
680 * src/compose.c: compose_queue(), compose_draft_cb(): code cleanup.
681 * src/folder.c: code cleanups.
683 src/mh.c: calculate message numbers inside the functions.
684 * src/procmsg.c: procmsg_set_flags(): calculate message numbers.
685 * src/summaryview.[ch]: don't calculate and preserve message numbers
694 src/summaryview.c: renamed *_msgs_with_dest() to *_msgs().
698 * src/imap.[ch]: use CAPABILITY to use protocol extentions.
699 imap_greeting(): parse initial server greeting. Also support
702 imap_cmd_append(): use APPENDUID responses if UIDPLUS is supported.
706 * src/imap.c: imap_get_flag_str(): fixed a buffer overrun.
714 * src/main.c: main(): don't save config files on startup.
719 imap_get_msg_list(): removed redundant UID SEARCH ALL when not
721 Unset MSG_NEW flag if \Seen is set.
722 imap_get_uncached_messages(): fetch all messages if both first_uid
727 * src/imap.c: revamped the implementation so that it always
728 exactly reflects the state of IMAP4 servers.
729 imap_get_msg_list(): examine the state of messages using
731 imap_delete_cached_message(): removes single message cache.
732 imap_get_uid(): removed.
733 imap_cmd_search(): new. It issues UID SEARCH command and returns
735 imap_cmd_gen_recv(): made the length of strings unrestricted.
736 imap_get_uid_table(): returns a hash table from UID array.
743 src/news.[ch]: added Folder::close() method.
744 * src/summaryview.c: summary_clear_list(): call folder_item_close().
748 * flags are now taken over when copying messages into IMAP folders
755 mh_add_msgs(): flags can be also specified when adding files.
756 * src/folder.[ch]: added assertions for virtual functions.
757 * src/procmsg.[ch]: procmsg_get_message_file_list(): return the list
759 procmsg_message_file_list_free(): new.
763 * src/procmsg.h: changed MsgPermFlags and MsgTmpFlags from enum to
764 guint32 for portability (thanks to Alfons).
765 * src/imap.c: imap_add_msgs(): removed redundant unlink().
770 session_read_msg_cb()
771 session_read_data_cb(): fixed a bug that ran into infinite loop
772 if connection was closed by remote host (thanks to Yoichi Imai).
773 Added SESSION_EOF state to SessionState.
774 session_is_connected(): new.
775 * src/inc.[ch]: inc_put_error()
776 src/send_message.c: send_put_error(): also put log messages.
780 * more optimization of IMAP4.
781 * src/folder.[ch]: added a method add_msgs() that adds multiple files
783 Removed redundant scan() for the operations of FolderItem.
784 * src/imap.[ch]: implemented Folder::add_msgs() and optimized move
785 and copy from other Folder instances.
786 * src/mh.[ch]: implemented Folder::add_msgs() and cleaned up the code.
787 mh_fetch_msg(): scan folder if required.
788 * src/procmsg.[ch]: procmsg_get_message_file_list(): returns file
789 list from message list.
790 * src/summaryview.c: don't remove MSG_MARKED flags on
791 delete/move/copy operation.
792 summary_display_msg_full(): removed redundant message fetching.
796 * optimized move/copy/delete/mark operations of IMAP4 by using
797 sequence set when issuing commands (adopted claws' implementation
798 with cleaning it up).
800 imap_set_message_flags()
803 imap_cmd_store(): take sequence set string instead of UID number.
804 imap_do_copy_msgs_with_dest(): optimized by using sequence set.
805 imap_cmd_fetch(): use BODY.PEEK instead of BODY.
806 imap_remove_all_msg()
807 imap_set_message_flags(): use FLAGS.SILENT instead of FLAGS.
809 src/summaryview.c: use imap_msg_list_{set,unset}_perm_flags()
810 instead of issuing commands for each message.
815 src/prefs_account.[ch]
817 src/session.[ch]: added an option to enable/disable non-blocking
822 * src/compose.c: compose_attach_append(): display message's subject
823 when attaching message/rfc822 file.
830 session_read_msg_cb()
831 session_read_data_cb(): optimized by removing sock_peek() and
832 buffering received data in user space (correctly implemented
837 * src/session.c: reverted the previous change because it couldn't
838 handle data receiving after messages correctly.
844 session_read_msg_cb(): optimized by removing sock_peek() and
845 buffering messages in user space.
849 * src/imap.[ch]: refactored.
850 Changed all functions that have SockInfo arguments to take
852 Made imap_cmd_count an instance variable: IMAPSession::cmd_count.
853 imap_open(): only establish TCP (or SSL) connection.
854 imap_session_new(): process greeting and authentication here.
858 * src/imap.[ch]: implemented CRAM-MD5 authentication, and made code
860 * src/prefs_account.[ch]: added option menu for IMAP4 authentication
861 type in Receive tab, and hide other protocols' frames.
865 * src/mainwindow.c: send_queue_cb(): don't scan folder twice if
867 * src/procmsg.c: procmsg_send_queue(): return number of sent
873 main_window_set_toolbar_sensitive()
874 main_window_set_menu_sensitive(): removed the locking of file
875 operations while receiving mail.
879 * src/folder.[ch]: folder_item_remove_msg(): take MsgInfo as an
880 argument instead of message number.
881 * src/imap.[ch]: imap_remove_msg(): reimplemented using
883 * src/mh.[ch]: mh_do_move(): reimplemented using
884 mh_do_move_msgs_with_dest().
885 mh_copy_msg(): reimplemented using mh_copy_msgs_with_dest().
886 * src/procmsg.c: procmsg_send_queue(): modified to use message list.
890 * src/rfc2015.c: rfc2015_is_encrypted(): check MimeInfo::mime_type
891 to suppress some warnings.
892 * src/logwindow.c: log_window_append(): don't scroll up when trimming
897 * src/compose.c: add 'Content-Disposition: inline' to a text/plain
898 part when using PGP/MIME signing.
906 * src/defs.h: changed UI_REFRESH_INTERVAL from 40msec to 50msec.
907 * src/session.c: session_read_msg_cb(): make it always fail if
908 sock_read() returns by error.
909 * src/socket.[ch]: sock_check(): handle exceptional SSL condition.
910 sock_has_pending_data(): removed.
911 Removed debug output.
912 * src/send_message.c: send_recv_message(): display messages to
917 * src/inc.[ch]: update received message number on CList while
919 * src/session.c: session_read_data_cb(): optimized by removing
920 g_malloc() and memcpy().
924 * src/socket.[ch]: sock_add_watch(): new. It monitors SSL by original
925 watch functions (otherwise uses g_io_add_watch()).
926 * src/session.[ch]: removed previous workarounds, and replaced
927 g_io_add_watch() with sock_add_watch().
931 * src/socket.[ch]: added sock_has_pending_data() which returns TRUE
932 if socket has pending data.
933 * src/session.c: session_recv_msg(), session_recv_data(): check if
934 socket has pending data and call the callbacks immediately in that
935 case (fixes the hang at ESMTP EHLO on SSL).
939 * src/socket.c: check return value in SSL functions.
943 * src/mimeview.c: mimeview_init(): initialize TextView to prevent
944 slowdown caused by GTK+ themes (thanks to Yuri Arapov).
948 * src/session.c: session_read_data_cb(): clear Session::read_data_buf
949 before calling callbacks.
953 * src/socket.c: made socket connection protocol independent.
954 * src/session.c: removed debug g_print().
955 * src/inc.c: made status bar output less verbose, and show counter
956 on main window's progressbar.
960 * src/session.c: added missing #include <errno.h>.
964 * src/session.[ch]: reimplemented the Session system with non-blocking
965 I/O to solve the performance and the code design issue.
966 * src/socket.[ch]: added sock_connect_async() and
967 sock_connect_async_cancel() to enable asynchronous connection.
968 sock_peek(): modified the implementation.
969 * src/pop.c: optimized the receiving of the responses of
974 * src/procmsg.c: procmsg_get_thread_tree(): prevent threading problems
975 when a node is an ancestor (parent / great parent), which mostly
976 happens with circular references (thanks to Phillipe Gramoulle
977 for finding an sample set of messages, and Alfons for the patch).
981 * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
982 UIDL list is not found (fixes inability of initial retrieval).
986 * src/main.c: added the option '--status-full' which shows the status
987 of each folder specified. The option '--status' also takes
988 following arguments for folders (thanks to Yuri Arapov).
989 * src/folder.[ch]: folder_get_status(): new. it takes the array of
990 folders as the argument and returns their status.
991 folder_count_total_msgs(): removed.
1001 src/inputdialog.c: use gtk_main_iteration() instead of gtk_main()
1002 to prevent abort when a button is double-clicked.
1006 * src/addr_compl.c: invalidate_address_completion(): check if
1007 g_completion_list is NULL (thanks to Kazuhiro NISHIYAMA).
1011 * src/pop.c: pop3_session_recv_data_finished(): fixed a bug that
1012 deleted messages that is to be kept on server (thanks to Tristan
1022 sock_set_io_timeout(): new. It sets the timeout interval.
1023 sock_gdk_input_add(): removed since it's not used anymore.
1024 * src/prefs_common.[ch]: added an option to set the timeout parameter.
1028 * src/action.c: fixed a bug that didn't hide user string in
1029 create_io_dialog() (thanks to Markus Amersdorfer).
1030 Removed ChildInfo::type and added Children::action_type.
1034 * src/inc.c: inc_start(): ask every password before retrieving.
1035 Don't popup the redundant error dialog.
1037 inc_all_account_mail()
1038 inc_progress_dialog_set_list(): separated account list display
1039 into a new function.
1040 inc_progress_dialog_set_label()
1041 inc_recv_data_finished()
1042 inc_recv_message(): properly update the dialog when RETR finished.
1047 imap_modified_utf7_to_locale()
1048 imap_locale_to_modified_utf7(): fixed compilation failure when not
1053 * src/procmime.c: procmime_scan_multipart_message(): fixed parsing
1054 of message/rfc822 parts.
1058 * src/pop.c: pop3_ok(): detect timeout error.
1062 * src/imap.c: imap_locale_to_modified_utf7(): fixed the encoding bug
1063 when locale strings include '+'.
1064 imap_modified_utf7_to_locale()
1065 imap_locale_to_modified_utf7(): at least escape/unescape '&' even
1066 if iconv() is not supported.
1071 compose_insert_sig()
1072 compose_get_signature_str(): include separator in signature string.
1073 Don't insert separator if signature file is not found.
1074 Disabled use of implicit default signature path (~/.signature) when
1084 src/quote_fmt_parse.y
1085 src/smtp.c: suppress warnings that gcc-3.3 issues.
1086 src/stringtable.c: use string_entry_free().
1090 * src/compose.c: compose_insert_sig(): fixed the bug that always
1091 appended signature separator if signature file was not found.
1092 compose_get_signature_str(): fixed the bug that caused crash if
1093 signature file cannot be opened.
1101 * src/session.c: session_recv_msg(): removed debug print.
1108 imap_cmd_fetch(): check for data size that servers return (fixes
1109 vulnerability found in BugTraq).
1113 * src/addr_compl.c: get_complete_address()
1114 src/addressbook.c: addressbook_format_address()
1115 src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
1116 characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
1117 * src/main.c: main(): set colormap and visual to solve color problem
1118 in Solaris (thanks to Markus Schwarzenberg).
1126 * src/prefs_account.c: temporarily removed POP before SMTP option.
1130 * src/prefs_common.[ch]: changed the description of "Open message when
1131 cursor keys are pressed on summary".
1132 * src/summaryview.c: summary_show(): open message when always_show_msg
1137 * src/logwindow.[ch]: restrict the maximum lines of the log messages
1138 to reduce the memory usage.
1142 * src/compose.c: compose_insert_sig(): fixed a crash when signature
1143 string contains illegal sequence.
1144 * src/utils.[ch]: changed get_wcs_len() to get_mbs_len() for accuracy.
1148 * major refactoring of MIME structure.
1149 * src/procmime.c: procmime_scan_message(): decrypt message if
1150 gpgme is enabled. Create multipart tree only if content-type is
1151 multipart/* or message/rfc822.
1152 procmime_scan_multipart_message(): fixed the scanning of
1153 message/rfc822 part.
1154 * src/action.c: parse_append_msgpart()
1155 src/messageview.c: messageview_show()
1156 src/mimeview.c: mimeview_show_message(): use procmime_scan_message()
1157 instead of procmsg_open_message() and procmime_scan_mime_header().
1158 mimeview_set_multipart_tree(): conform to the new MIME structure.
1159 * src/textview.c: textview_show_part(): removed unnecessary check.
1160 * src/procmsg.c: procmsg_open_message_decrypted(): fixed the file
1161 pointer when decryption failed.
1165 * src/ssl.c: ssl_init_socket_with_method(): replaced log_warning()
1166 by g_warning(), and log_print() by debug_print().
1167 * src/pop.[ch]: added an error code PS_NOTSUPPORTED, and retry with
1168 LAST if UIDL is not supported.
1172 * src/codeconv.c: conv_get_code_conv_func(): convert to EUC-JP only
1173 if it is the current locale encoding when dest_charset_str is NULL.
1177 * src/action.c: execute_actions(): fixed crash when no text widget
1178 is selected (thanks to Paul and Melvin).
1180 src/prefs_actions.c: added missing reference to Claws team in the
1187 session_send_data(): fixed a memory leak and data sending bug.
1188 * src/send_message.c:
1189 send_message_smtp(): fixed focus management.
1193 * src/smtp.[ch]: set the response string to SMTPSession::error_msg
1195 * src/send_message.c: show error dialog if error occurred.
1196 * src/main.c: send_queue()
1197 src/mainwindow.c: send_queue_cb(): don't show error dialog here.
1201 * src/session.c: session_close(): kill child process only if
1202 state is not SESSION_DISCONNECTED.
1203 * src/send_message.c: send_cancel_button_cb()
1204 src/inc.c: inc_cancel(): don't set Session::state to
1205 SESSION_DISCONNECTED.
1206 * src/prefs.[ch]: modified the names of prefs_write_*().
1207 * src/address.[ch]: removed.
1211 * src/compose.c: compose_template_apply(): overwrite recipients.
1215 * src/procheader.c: procheader_date_parse(): removed debug print.
1216 * src/session.c: changed every g_print to debug_print.
1217 session_child_input(): removed unrequired session_close() (it'll
1218 be closed anyway after returning FALSE).
1219 * src/send_message.c: send_message_smtp(): changed g_print to
1224 * src/procheader.c: procheader_procheader_date_parse(): don't add
1225 local timezone offset if timezone is unknown.
1226 Made the Y2K workaround code to follow RFC 2822.
1227 procheader_scan_date_string(): workaround for date strings which
1228 don't have timezone specification.
1229 * src/utils.c: remote_tzoffset_sec(): return -1 if timezone is
1234 * src/action.[ch]: refactored. Also fixed a bug on MIME mode, and
1235 some memory leaks on error.
1236 action_update_msgview_menu(): new.
1237 * src/messageview.[ch]: added "Tools/Actions" menu. Keep window list.
1238 messageview_get_selected_mime_part(): returns MimeInfo of selected
1239 part when MessageView is in MIME mode.
1240 * src/mimeview.[ch]: mimeview_get_selected_part(): returns MimeInfo
1242 * src/summaryview.[ch]: summary_get_selected_msg_list(): returns
1243 MsgInfo list of selected messages.
1247 * src/prefs_filter.[ch]: include original message's headers as
1248 the preset keywords. Modified the sizes of the widgets.
1249 * src/utils.[ch]: added str_case_equal() and str_case_hash() for
1250 case-insensitive hash.
1254 * src/procmsg.c: procmsg_get_filter_keyword(): added X-Sequence to
1255 auto-detected headers.
1259 src/mainwindow.c: modified function names.
1260 get_user_string(): Use input_dialog() instead of its own
1265 * src/codeconv.[ch]: conv_encode_header(): don't include '(' and ')'
1266 in encoded strings if addr_field is TRUE.
1267 * src/compose.c: compose_convert_header(): added a flag 'addr_field'.
1271 * src/prefs_actions.[ch]: separated action execution routine into
1276 * src/prefs_actions.c: minor code cleanup.
1280 * src/codeconv.[ch]: conv_iconv_strdup(): fixed the handling of
1286 inc_recv_data_progressive()
1287 inc_recv_data_finished()
1290 send_send_data_progressive()
1291 send_send_data_finished(): added assertion.
1295 * src/codeconv.[ch]: conv_iconv_strdup(): fixed potential memory
1300 * src/codeconv.[ch]: conv_iconv_strdup(): don't include nul character
1301 in source buffer since it messed up some encoding conversion (like
1306 * src/procmsg.c: procmsg_get_filter_keyword(): unfold headers and
1307 extract ID from List-Id header.
1308 * src/utils.[ch]: extract_one_parenthesis_with_skip_quote(): removed.
1309 extract_list_id_str(): extract ID string from List-Id header.
1313 * src/prefs_actions.c: merged from the claws branch. Fixes several
1314 bugs and adds some features.
1318 * src/compose.c: compose_parse_header(): fixed a bug that unnecessary
1319 linebreaks were included on reediting.
1321 src/pop.c: fixed typos: 'occured'.
1325 * src/compose.[ch]: implemented auto signature replacement on
1327 compose_insert_sig(): added a flag to replace current signature.
1328 compose_get_signature_str(): new. It returns signature string.
1329 compose_insert_command_output(): removed.
1330 compose_select_account(): call compose_insert_sig() on account
1332 compose_destroy(): fixed a memory leak of UndoMain object.
1333 Compose::sig_str: new. It stores current signature string.
1334 * src/gtkutils.[ch]: gtkut_stext_find(): new.
1335 Renamed gtk_stext_clear() to gtkut_stext_clear().
1336 * src/utils.[ch]: get_wcs_len(): returns wide-character length of
1338 normalize_newlines(): converts CR+LF and CR into LF.
1339 get_command_output(): returns command output.
1343 * src/procmsg.[ch]: procmsg_get_filter_keyword(): new. It returns
1344 filter keyword for messages.
1345 * src/summaryview.c: summary_filter_open(): use
1346 procmsg_get_filter_keyword().
1347 * src/messageview.c: create_filter_cb(): implemented.
1353 inc_put_error(): display server responses on error.
1354 * src/pop.[ch]: added Pop3Session::error_msg, and set server responses
1359 * src/messageview.[ch]: separated the forced charset of message view
1360 in separate window from the main window.
1362 textview_show_message()
1363 textview_show_part()
1364 textview_add_part(): use MessageView::forced_charset if specified.
1368 * src/mainwindow.c: modified File menu a bit.
1369 * src/menu.[ch]: added functions to handle item factory rc strings.
1370 * src/messageview.[ch]: added a menu, and made it take over main
1371 window's menu shortcuts.
1372 added msginfo which is duplicated on display to MessageView.
1373 * src/prefs_common.c: prefs_keybind_apply_clicked(): use
1374 menu_factory_clear_rc().
1378 * send_message.c: send_message_smtp():
1379 re-enabled forcing of SMTP AUTH method.
1380 Clear temporary password if authentication failed.
1381 * smtp.c: output warning to log and set SMTPSession::error_val
1383 * smtp.h: changed error value to enum. Added SMTPSession::error_val.
1384 * src/mbox.c: proc_mbox(): force updating of folder.
1388 * src/pop.h: changed error value to enum.
1389 * src/pop.c: pop3_retr_recv(): return PS_IOERR when inc_drop_message()
1391 pop3_ok(): return appropriate error value based on current state.
1392 Output warning to log if error occurs.
1397 src/news.[ch]: refactored. Remove NNTPSockInfo and use NNTPSession
1402 * src/inc.c: inc_pop3_session_do(): retrun appropriate error if
1403 Session::state == SESSION_ERROR.
1404 * po/POTFILES.in: removed src/automaton.c and src/send.c.
1405 Added src/send_message.c.
1410 src/session.c: fixed breakage of POP3 retrieval.
1411 session_recv_data_from_sock_unescape(): read until terminator
1412 appears and also return the actual size.
1416 * src/automaton.[ch]: removed.
1417 * src/session.c: removed some of the debug output.
1418 * src/smtp.c: smtp_session_recv_msg(): workaround in case server
1419 returns EHLO-style response to HELO command.
1420 Ignore all multiline responses except for EHLO since they are
1421 allowed for any command.
1426 src/pop.c: fixed retrieval of messages which contain dot-escaped
1428 session_recv_data(): added a flag for unescape.
1429 session_recv_data_from_sock_unescape(): new. It receives message
1430 for each line and unescapes dot-escaped lines.
1431 Removed the previous workaround.
1432 * src/defs.h: decreased UI_REFRESH_INTERVAL to 40 msec.
1436 * src/pop.[ch]: workaround for brekage of retrieval when given size
1437 and actual one is different.
1441 * src/pop.c: pop3_retr_eom_recv(): ignore invalid end of message
1442 since some servers sometimes return incorrect message size.
1443 * src/news.c: news_session_new(): zero clear NNTPSession object.
1444 Don't initialize Session::sock with nntp_sock->sock to prevent
1445 double-free of SockInfo.
1446 * src/imap.c: zero clear IMAPSession object.
1447 imap_cmd_append(): don't close SockInfo.
1451 * src/pop.c: pop3_session_recv_msg(): fixed STLS.
1456 src/pop.[ch]: reimplemented using new I/O system.
1457 * src/session.[ch]: session_recv_data(): new.
1458 session_send_data_to_sock()
1459 session_recv_data_from_sock(): decreased the frequency of progress
1464 * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
1468 * src/session.[ch]: session_start_tls(): new.
1469 session_recv_msg(): made it static.
1473 * implemented asynchronous network I/O.
1474 * src/session.[ch]: the interface to communicate with servers through
1477 src/send_message.[ch]: rewrote using new I/O system.
1478 * src/socket.[ch]: renamed *_write() to *_write_all(), and made
1479 *_write() as just a simple wrapper for write().
1480 * src/utils.c: get_outgoing_rfc2822_str(): new. It modifies the
1481 message to send with SMTP or NNTP.
1482 file_read_stream_to_str(): new.
1486 * src/textview.c: textview_button_pressed(): corrected the range of
1488 * src/compose.c: compose_wrap_line_all_full(): treat UTF-8 characters
1489 represented with more than 2 bytes as 2 character width and 2 bytes
1490 one as a single character width as a workaround for wrapping problem.
1494 * src/utils.c: subject_compare_for_sort(): allow null strings (fixes
1499 * implemented HTML link correctly.
1500 * src/html.[ch]: HTMLAttr, HTMLTag: new structure for attributes /
1502 html_get_tag(): new. It parses tag and returns HTMLTag object.
1503 html_parse_tag(): also parses <a> tags and 'href' attributes.
1504 * src/textview.c: textview_write_link(): new. It creates link string.
1508 * src/compose.c: compose_wrap_line_all_full(): fixed an infinite
1509 loop / crash bug (thanks to Darko Koruga).
1510 compose_write_to_file(): put correct charset element when
1511 conversion failed but want to send anyway.
1515 * src/headerview.c: headerview_show()
1516 src/textview.c: textview_write_line(): remove unreadable characters
1517 from displayed strings to prevent crashes on multi-byte
1519 * src/codeconv.[ch]: conv_unreadable_locale(): new. It was separated
1520 from conv_localetodisp().
1524 * src/procmsg.c: procmsg_cmp_by_subject()
1525 src/summaryview.c: summary_cmp_by_subject(): ignore Re: when
1528 subject_compare_for_sort()
1529 trim_subject_for_sort(): new.
1537 * src/defs.h: added -i option to the default sendmail command.
1541 * src/codeconv.[ch]: added missing character encodings and locales.
1546 procmsg_get_mark_sum()
1547 procmsg_open_mark_file()
1548 procmsg_read_mark_file(): take FolderItem instead of directory
1553 * src/codeconv.c: conv_encode_header(): fixed a bug that spaces
1554 which is on the wrap boundary would be lost when encoding long
1555 non-ascii strings (thanks to Sergey Vlasov).
1556 Don't force wrapping within a long word until it reaches hard line
1557 length limit (998 characters) (workaround for the breakage of
1558 long address list with no spaces).
1562 * src/prefs_account.c: fixed compile failure when using neither
1567 * src/codeconv.c: fixed UTF-8 locale support.
1568 conv_get_code_conv_func(): return conv_noconv if locale encoding
1569 is UTF-8. Return conv_latintodisp on ISO-8859-* to locale encoding
1571 conv_convert(): call conv_iconv_strdup() instead of
1572 conv_codeset_strdup().
1573 conv_codeset_strdup(): moved some codes into conv_iconv_strdup().
1577 * src/prefs_account.[ch]: added an option to use command output for
1579 * src/compose.c: compose_insert_sig(): use command output if
1581 compose_insert_command_output(): new.
1585 * src/main.c: main(): remove lock socket if sylpheed is not running
1586 when --status command is executed.
1587 lock_socket_remove(): new.
1591 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
1592 codeset is US-ASCII (or POSIX).
1596 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
1597 and continue conversion.
1601 * src/summaryview.c: summary_selected(): always update widget
1606 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
1607 date in timezones more than GMT+12 or less than GMT-12.
1611 * src/prefs_common.[ch]
1612 src/sourcewindow.c: remember the size of source window.
1613 * src/md5.c: fixed a compile problem with gcc 3.3.
1617 * src/about.c: about_create(): modified the copyright notice.
1621 * src/colorlabel.c: don't use pixmaps for label color rect but draw
1622 rectangles so we can respect the color map of palette based visuals
1623 (fixes the long time crashes on Solaris - thanks to Alfons
1628 * src/procheader.c: procheader_date_parse(): made month string case
1630 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
1631 selection list is empty.
1635 * src/quote_fmt_parse.y: removed gettext translatable strings.
1636 * src/unmime.c: unmime_header(): remove broken characters when
1637 code conversion failed.
1638 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
1639 headers if long words more than 75 characters are entered.
1643 * src/prefs_account.c: prefs_account_receive_create()
1644 src/utils.c: to_human_readable(): made units translatable.
1648 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
1649 at first byte (fixes abort() problem of glibc).
1650 * src/html.c: html_read_line(): remove characters which can't be
1651 displayed on the current locale.
1656 trim_subject_for_compare(): renamed from trim_subject().
1657 trim_subject(): new. It removes [...] or (...) at the beginning
1659 * src/prefs_folder_item.c
1661 added options for trimming summary / compose subject.
1662 * src/summaryview.c: summary_set_header(): trim subject if the folder
1664 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
1670 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
1671 X-Face header problem).
1672 conv_encode_header(): allow up to 97 characters for one word.
1676 * src/filter.c: filter_match_condition(): fixed the bug that
1677 second condition ignored regex.
1678 * src/news.h: NewsGroupInfo: use guint for message numbers
1679 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
1683 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
1684 on code conversion failure.
1685 conv_get_charset_str()
1686 conv_get_charset_from_str(): optimized using hash table.
1690 * src/quote_fmt_parse.y:
1691 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
1692 treat only "\n-- \n" as a signature separator.
1696 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
1697 * src/summary_search.c: summary_search_execute(): search collapsed
1703 conv_unreadable_latin(): include 0x7f as an unreadable character.
1704 conv_localetodisp(): don't remove 8bit characters by default.
1705 conv_get_current_charset()
1706 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
1707 appended at the last of locale name.
1708 * src/compose.c: compose_write_to_file(): show from and to encoding
1709 when code conversion failed.
1717 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
1718 (thanks to Colin Leroy).
1719 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
1724 * src/textview.c: textview_write_line(): don't convert if conv is
1729 * src/codeconv.[ch]:
1730 renamed conv_guess_encoding() to conv_guess_ja_encoding().
1731 conv_localetodisp(): new. It removes unreadable characters from
1732 (assumed) current locale string.
1733 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
1734 NULL and current locale encoding is US-ASCII.
1735 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
1736 specified for destination charset.
1737 * src/textview.c: textview_write_line(): use conv_localetodisp()
1738 instead of strncpy2() if conversion failed.
1742 * src/codeconv.c: conv_iconv_strdup()
1744 imap_modified_utf7_to_locale()
1745 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
1746 a warning on some systems.
1747 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
1749 Return NULL instead of incomplete string if conversion failed.
1753 * src/summaryview.c: summary_execute(): select appropriate node
1754 if currently selected node is to be deleted.
1755 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
1756 TRUE if the specified node is selected.
1760 * src/summaryview.c: summary_status_show(): fixed a occasional crash
1761 on deleting or moving.
1765 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
1766 of EUC-JP more accurate.
1767 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
1779 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
1780 duplication bug if the source string has CRLF.
1782 canonicalize_str(): new. Returns newly allocated canonicalized
1784 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
1785 uncanonicalize_file_replace(): new.
1786 * src/compose.c: always canonicalize body before processing, and
1787 uncanonicalize before returning.
1791 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
1792 ENC_8BIT for Russian charsets.
1793 * src/compose.c: compose_write_to_file(): use base64 when signing
1798 * src/prefs_common.c: prefs_send_create(): added a description for
1799 the setting of Content-Transfer-Encoding.
1803 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
1805 * src/procmime.c: procmime_get_encoding_for_charset(): return
1806 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
1807 * src/compose.c: compose_attach_append(): set correct Content-
1808 Transfer-Encoding for message/rfc822.
1809 compose_write_to_file(): enabled user-definable Content-Transfer-
1811 * src/prefs_common.[ch]: added an option for user-defined Content-
1816 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
1817 line doesn't end with linebreak.
1821 * implemented quoted-printable encoding.
1822 * src/quoted-printable.[ch]: qp_encode_line(): new.
1824 compose_write_to_file()
1825 compose_write_attach(): implemented quoted-printable encoding.
1826 compose_attach_property_create(): enabled quoted-printable menu
1828 * src/procmime.c: procmime_get_encoding_for_charset(): return
1829 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
1830 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
1837 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
1838 of abbreviation of newsgroup name.
1842 * configure.in: show the result of iconv detection.
1846 * src/codeconv.[ch]: made the transition from libjconv to iconv().
1847 conv_iconv_strdup(): new.
1851 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
1857 src/prefs_folder_item.c: English fix (property -> properties).
1858 * src/prefs_filter.c: alert if entry is not saved.
1859 prefs_filter_dialog_to_filter(): new.
1863 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
1864 strings after linefeed.
1869 * src/codeconv.[ch]: code cleanup and optimization.
1870 conv_code_converter_new()
1871 conv_convert(): use functions obtained by conv_get_code_conv_func()
1872 when using libjconv.
1873 conv_codeset_strdup(): code cleanup.
1874 conv_get_code_conv_func(): added an argument for destination
1875 character set, and generalized.
1879 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
1881 * src/compose.c: compose_convert_header(): remove trailing spaces.
1882 * src/customheader.c: custom_header_read_str(): strip the spaces
1884 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
1885 strip the spaces of name and value.
1893 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
1894 into infinite loop when encountering invalid characters.
1898 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
1900 * src/summaryview.c: summary_show(): removed summary_sort() because
1901 it is done inside folder_item_get_msg_list(). This will improve
1902 the performance of summary display.
1903 Sorted out the summary sort functions using macros.
1907 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
1908 list if FolderItem::sort_key is set.
1909 Added SORT_BY_TO to FolderSortKey enum.
1910 * src/mainwindow.c: added "View/Sort/by recipient".
1918 * src/codeconv.c: conv_encode_header(): fix for redundant space on
1920 * src/compose.c: compose_convert_header(): always pass string to
1921 conv_encode_header() for line-breaking.
1925 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
1926 parsing of email addresses.
1930 * src/defs.h: added DEFAULT_BROWSER_CMD.
1931 * src/mimeview.c: mimeview_view_file()
1932 src/prefs_common.c: prefs_other_create()
1933 src/utils.c: open_uri(): changed the default web browser to
1934 mozilla, and changed 'raise' command (which is undocumented)
1935 to 'new-window' in 'netscape -remote'.
1939 * src/compose.c: compose_send_control_enter(): fixed crash on
1940 Ctrl-Enter when Message/Send has no accelerator key (thanks to
1948 sort_summary_type_cb(): prevent unwanted processing on unchecking
1953 * src/main.c: process command line option before gtk_init() to
1954 enable remote operation without X (thanks to Ruslan N. Balkin).
1955 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
1960 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
1961 (the spec of autotools seems to be changed).
1965 * src/imap.c: get path separator using LIST command if server
1966 doesn't support NAMESPACE (based on the patch by Brian Sammon).
1967 imap_parse_list(): added an argument to return path separator.
1968 imap_get_namespace_by_list(): new.
1972 * src/addr_compl.c: add_address(): removed the debug print.
1973 * src/gtkutils.[ch]: gtkut_window_popup()
1974 src/mainwindow.c: main_window_popup(): applied the patch to fix
1975 the behavior of window popup from Sergey Vlasov (thanks!)
1976 * src/account.c: account_edit_create(): use signal_connect_after
1977 for row_move signal to fix the row position bug.
1978 account_row_moved(): scroll the CList half page.
1979 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
1981 * src/summaryview.c: summary_reply(): use selection text only if
1982 the displayed message is selected (thanks to Sergey Vlasov).
1986 * src/codeconv.c: conv_encode_header(): reimplemented the routine
1987 of MIME header encoding. And use Q-encoding method if the current
1988 locale is single-byte one.
1989 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
1990 of wide-character string. Consider control codes as non-ASCII.
1991 get_next_word_len(): new. It returns the length of next word.
1992 is_next_mbs(), find_wspace(): removed.
1993 * src/quoted-printable.[ch]: new.
1994 qp_decode_line(): decodes one QP line.
1995 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
1996 qp_get_q_encoding_len(): returns the length when a string is
1998 qp_q_encode(): Q-encode a string (RFC 2047).
1999 * src/unmime.c: moved the functions for quoted-printable to
2004 * src/send.c: send_message_local(): escape line that only have one
2005 dot character (postfix's sendmail command will stop there).
2009 * src/send.c: send_message_local(): don't escape first-dot line
2010 (thanks to Sergey Vlasov).
2014 * autogen.sh: added 'libtoolize --force --copy' to override the
2016 * acconfig.h: removed.
2017 * configure.in: increased minimal version of GPGME to 0.3.10.
2018 Fixed checking of XIM.
2020 ac/gnupg-check-typedef.m4: added an argument for comment.
2024 * src/imageview.[ch]: fixed conflicting declarations of
2025 imageview_show_image() (thanks to Thorsten Maerz).
2029 * src/compose.c: compose_entry_append(): don't add ", " on subject
2031 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
2032 charset from the table (currently disabled for non-Japanese locales).
2033 conv_get_current_locale(): also refer to LC_CTYPE.
2037 * README: added a description about hidden settings.
2041 * src/prefs_common.[ch]: reorganized the common prefs dialog.
2042 Made enable_hscrollbar and bold_unread hidden options.
2046 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
2051 account_find_from_message_file()
2052 account_find_from_msginfo(): new. They find an account from the
2053 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
2056 compose_reedit(): restore messages' previous account on composition.
2057 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
2062 * src/compose.c: cleaned up the code using compose_entry_set()
2063 (don't use gtk_entry_set_text() directly).
2067 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
2071 * updated autotools and libtool to the latest version.
2072 * configure.in: added AC_PREREQ(2.50).
2076 * src/textview.c: textview_set_font(): fix for message display in
2077 UTF-8 locales (thanks to Sergey Vlasov).
2081 * src/imageview.[ch]: imageview_show_image(): resize images to fit
2082 the window size if specified.
2083 * src/prefs_common.[ch]: added an option 'Resize attached images'.
2087 * refactoring for SMTP implementation.
2088 * src/session.h: added ui_func to Session.
2089 * src/smtp.[ch]: separated the connection routine from
2090 smtp_session_new() to smtp_connect().
2091 Changed the argument of every function other than smtp_ok() from
2092 SockInfo to SMTPSession.
2093 Call UI callback from each functions.
2094 * src/send.c: send_message_smtp(): separated the code for UI update
2095 into send_progress_dialog_update().
2099 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
2100 * src/send.c: send_message_smtp(): call smtp_auth() and display
2101 the state to the dialog.
2105 * src/filter.c: strmatch_regex(): use extended regex (thanks to
2107 * src/main.c: main(): removed the code for assortrc -> filterrc
2109 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
2110 current locale is C or POSIX.
2111 gtkut_stext_is_uri_string(): include "www." for URI string.
2112 * src/textview.c: textview_make_clickable_parts(): include "www."
2121 * src/textview.c: textview_add_part(): indicate signature status
2122 using different colors.
2126 * src/folder.c: folder_write_list_recursive(): escape
2127 To/Cc/Bcc/Reply-To strings.
2131 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
2132 headers on locales other than Japanese when not using libjconv.
2136 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
2137 corresponding error message.
2138 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
2143 * src/prefs_account.[ch]: removed prefs_account_save_config() since
2145 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
2146 procmime_mimeinfo_free_all() can be used in every case.
2150 * src/account.c: account_get_special_folder(): support F_INBOX, and
2155 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
2156 COMPOSE_ENTRY_*, and added
2157 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
2160 compose_redirect(): added FolderItem to the arguments, and reflect
2161 settings in the item.
2162 compose_entry_set(): new.
2163 compose_entry_append(): code cleanup.
2164 compose_entries_set_from_item(): take ComposeMode in its arguments,
2165 and enabled FolderItem::use_auto_to_on_reply.
2166 * src/summaryview.c: summary_reply(): pass folder_item to
2167 compose_{reply,forward,redirect}().
2171 * src/gtkutils.[ch]:
2172 gtkut_font_load(): new. It automatically choose font or fontset
2174 gtkut_font_load_from_fontset(): new. It tries to load single font
2175 instead of fontset from a fontset string.
2179 src/summaryview.c: workaround for the problem that couldn't display
2180 8-bit characters in C or POSIX locale (use font instead of fontset).
2183 src/textview.c: made code cleanup using gtkut_font_load*().
2187 * src/mh.c: mh_get_msginfo(): set correct message number.
2191 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
2192 It returns a new MsgInfo associated to a message number.
2193 folder_item_get_msginfo(): new.
2194 * src/imap.[ch]: imap_get_msginfo(): new.
2195 * src/mh.[ch]: mh_get_msginfo(): new.
2196 * src/news.[ch]: news_get_msginfo(): new.
2200 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
2201 infinite loop if an invalid code appeared.
2205 * src/codeconv.c: conv_codeset_strdup()
2206 src/html.[ch]: html_read_line(): don't output conversion failure
2208 Added HTML_CONV_FAILED to the enum HTMLState.
2212 * implemented per-folder auto-set address (still in progress).
2213 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
2214 and set entries from it (if mailto is empty).
2215 compose_entry_append(): activate menu if required.
2216 compose_entries_set_from_item(): new.
2217 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
2218 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
2220 folder_build_tree(), folder_read_folder_func(),
2221 folder_write_list_recursive(): added the above members.
2222 * src/prefs_folder_item.[ch]: added auto-set addresses.
2223 * src/pop.[ch]: removed Pop3State::prev_folder.
2227 * src/compose.c: allow dropping files by also "moving" files from a
2228 file manager (thanks to Alfons).
2232 * compose_reply_set_entry(): made Reply-To have priority over
2233 List-Post on ML reply.
2237 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
2238 * src/summaryview.c: summary_step(): fixed a bug that lost the
2239 correct selection anchor.
2240 summary_key_pressed(): use gtk_sctree_select() instead of
2244 src/recv.c: differentiate disk full and socket errors
2245 (thanks to Colin Leroy).
2249 * src/account.c: account_edit_prefs(): removed unused variables.
2250 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
2253 compose_reply_set_entry(): receive reply type with one argument.
2254 * src/summaryview.c: summary_reply(): reduced conditional branches.
2258 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
2259 from line ends (thanks to Sergey Vlasov).
2260 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
2265 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
2266 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
2267 messages all at once.
2271 * src/account.[ch]: account_open(): new. It opens account prefs
2272 dialog and reflects to UI when finished.
2274 folderview_button_pressed()
2275 folderview_property_cb(): open account prefs dialog when the
2276 property of the root folder of remote account is requested.
2280 * src/account.c: account_destroy(): unref account information in
2282 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
2283 specified account information in all folders.
2285 folderview_rm_imap_server_cb()
2286 folderview_rm_news_server_cb(): destroy Folder first because
2287 folder_destroy() refers to account information.
2291 * src/account.c: account_find_from_item(): fixed a bug which didn't
2292 select the correct account.
2293 * inc_pop3_session_do():
2294 fixed the resource leak when SSL initialization failed.
2295 Immediately break from temporary event loop if cancelled.
2299 * src/account.[ch]: account_find_from_item(): new.
2301 compose_reply(), compose_forward(), compose_redirect()
2302 src/mainwindow.c: compose_cb(): select optimal account when
2304 * src/folder.[ch]: added FolderItem::apply_sub.
2305 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
2306 index of option menu which contains the specified data.
2307 * src/prefs_folder_item(): added Compose tab, and the setting of
2312 * configure.in: added $LDAP_LIBS for lber library detection.
2320 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
2321 leak, and added error checking.
2325 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
2326 removed Compose::orig_account.
2327 compose_check_for_valid_recipient(): check only enabled entries.
2328 compose_write_headers()
2329 compose_redirect_write_headers(): add Newsgroups header only
2330 when the entry is enabled.
2331 compose_send(): modified the method of finding a mail account
2332 from a news account so that it tries to match the From address.
2333 * src/send.c: send_message_queue(): enabled the queueing of news
2335 * src/news.[ch]: news_post_stream(): new.
2339 * configure.in: check lber first and use $LDAP_LIBS on the check
2344 * po/*.po: fixed many typos of format strings which will lead to
2345 crash (thanks to Sergey Vlasov).
2349 * src/procheader.c: procheader_parse_stream(): added Cc header
2350 to the target for full parsing.
2351 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
2352 returns the full message information from the given information.
2353 * src/compose.c: compose_reply(), compose_forward(): get full
2354 message information for Cc header.
2358 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
2359 IMAP4 and NNTP folder summary after checking those accounts.
2367 * src/prefs_common.c: prefs_compose_create(): modified the label
2368 of the option for Reply button.
2369 * configure.in: add -lldap and -llber to the 5th argument of
2370 AC_CHECK_LIB() for LDAP library detection.
2375 INSTALL.jp: updated.
2379 * src/mainwindow.c: toggle the behavior of Reply button between
2380 normal reply and reply-to-list.
2381 * src/prefs_common.[ch]: added an option to switch the function
2386 * src/compose.c: compose_new(): removed the workaround for XIM
2387 because it doesn't have any effect and only seems to cause
2392 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
2393 compose_parse_header(): parse also List-Post header.
2394 compose_reply_set_entry(): support reply-to-ML (fall back to
2395 normal reply if ML address is not found).
2398 src/summaryview.c: reorganized Reply menu and added 'Reply to
2400 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
2401 returns newly allocated parameters.
2405 * src/account.c: account_read_config_all(): set account information
2406 to default before initializing with configuration file.
2407 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
2408 newly created account information structure initialized by
2409 the default settings.
2414 replace_address_in_edit(): check if newtext is NULL.
2415 completion_window_button_press(): fixed a memory leak.
2416 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
2417 recv_time is RECV_TIME_KEEP.
2418 pop3_getrange_uidl_recv(): only set get_all flag if
2419 ac_prefs->getall is set.
2420 pop3_retr_recv(): don't delete messages which are not received
2421 by filter, and set recv_time to RECV_TIME_KEEP in the case.
2422 * src/pop.h: added an enum RecvTime.
2423 * src/inc.c: inc_drop_message(): unlink temporary message file if
2424 not received by filter.
2428 * src/mainwindow.c: added 'Edit/Select thread' menu.
2429 * src/summaryview.[ch]: added 'Select thread' to the context menu.
2430 summary_select_thread(): new. It selects all messages of current
2435 * src/rfc2015.c: check_signature(): corrected error handling and
2440 * src/rfc2015.c: check_signature(): correctly remove the last empty
2441 line, and canonicalize the file part before verifying (this should
2442 fix incompatibility with Evolution or some other MUAs).
2443 * src/utils.[ch]: copy_file_part(): new. It copies the specified
2444 range of file stream to another file.
2448 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
2449 8-bit text when signing (thanks to Colin Leroy).
2453 * src/prefs_common.c: prefs_send_create(): fixed the charset string
2454 for Cyrillic (Windows-1251).
2462 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
2463 Windows-1251. Added bg_BG locale.
2467 * src/compose.c: account_activated(): change the state of menu items
2468 and entries according to the selected account.
2469 compose_select_account(): new. It changes the state of title bar,
2470 menu items and entries.
2474 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
2476 Don't refresh summary view on fetching when open_inbox_on_inc is
2481 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
2482 is set (to avoid summary refresh problem).
2483 * src/imap.c: removed warnings by checking the existence of directory
2484 before calling remove*_numbered_files().
2488 * src/prefs_common.c: corrected English.
2492 * src/prefs_common.[ch]: added an option: "Mark messages as read
2493 only when opened in new window".
2498 folder_tree_destroy()
2499 folder_write_list_recursive(): added sanity check.
2500 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
2501 can't get session, create empty folder node (based on the
2502 Alfons' suggestion).
2506 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
2508 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
2513 * src/news.c: news_scan_group(): fixed wrong message number
2518 * major refactoring for POP3.
2519 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
2520 inc_pop3_state_destroy(), inc_get_uidl_table(), and
2521 inc_write_uidl_list() into pop.c.
2522 Moved Pop3State::folder_table and Pop3State::inc_state into
2525 inc_put_error(): added lockbusy state.
2526 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
2527 inc_cancel(): don't terminate the automaton here but just set
2528 the flags to prevent crash.
2530 pop3_getauth_pass_recv()
2531 pop3_getauth_apop_recv(): check lockbusy state.
2532 pop3_retr_recv(): check Pop3State::cancelled flag.
2533 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
2534 automaton_input_cb(): terminate if cancelled flag is true.
2535 * sylpheed.desktop: changed Type=Internet to Type=Application.
2536 Added Categories=Application;Network;.
2542 src/progressdialog.c: show detailed information to the status
2544 Added cur_total_recv_bytes to Pop3State.
2545 * src/prefs_common.[ch]: added an option to specify whether to
2546 close receive dialog when finished.
2550 * src/folder.[ch]: folder_get_path(): new. It returns the root path
2554 imap_folder_destroy()
2556 imap_remove_all_msg()
2557 news_folder_destroy(): remove cache directories / files when
2558 deleting Folder / messages.
2562 is_file_entry_exist(): check if the argument is NULL.
2564 remove_numbered_files()
2565 remove_expired_files(): fixed memory leaks on error.
2574 src/smtp.[ch]: made Folder and Session destructor virtual method.
2578 * src/compose.c: do joining of normal lines only when auto-wrapping.
2579 * src/main.c: modified the warning message for GnuPG.
2580 * src/about.c: about_create(): modified the compiled-in features
2582 * configure.in: improved LDAP library checking (thanks to Alfons).
2592 compose_wrap_line_all(): backed out the change to join lines that
2597 * configure.in: require at least gpgme-0.3.5.
2601 * src/alertpanel.c: alertpanel_create(): minor modification.
2610 * src/alertpanel.c: alertpanel_create(): modified the layout.
2611 * src/rfc2015.c: check_signature(): don't abort on error.
2615 * src/compose.c: compose_wrap_line_all(): freeze widget only if
2616 required to repress flickers.
2620 * src/compose.c: improved line wrapping.
2622 compose_wrap_line_all(): also join lines that are not indented.
2623 dump_text(): handle multi-byte strings correctly.
2627 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
2628 (go to next line when space is entered at line limit).
2632 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
2637 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
2638 checking to prevent confusion.
2642 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
2643 method Folder::get_msg_list().
2644 * src/account.c: account_edit_prefs(), account_delete(): use
2645 folderview_set_all() instead of folderview_rescan_all().
2646 * src/folderview.[ch]:
2647 folderview_check_new_all(): new. Updates all folders.
2648 folderview_rescan_tree(): confirm before executing.
2649 folderview_rescan_all(): commented out since it's not used anymore.
2650 folderview_update_item_foreach(): added a flag for summary update.
2651 * src/inc.c: inc_finished(): update summary only when
2652 prefs_common.scan_all_after_inc is set.
2653 inc_drop_message(): set mtime of target folder to 0 to force
2654 the updating of summary.
2655 inc_start(), get_spool(): update also summary when updating
2657 * src/mainwindow.c: changed 'File - Rescan folder tree' to
2658 'File - Check for new messages in all folders'.
2662 * src/compose.c: compose_write_to_file(): clearsign message body
2664 compose_clearsign_text(): new. Replaces the string with clearsigned
2666 * src/prefs_account.c: added an option for clearsign.
2667 * src/rfc2015.c: rfc2015_clearsign(): new.
2668 pgp_sign(): added a flag for clearsign.
2669 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
2670 name (needs to be freed by caller).
2671 str_write_to_file(), file_read_to_str(): new.
2675 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
2676 to avoid memory leak.
2680 * src/base64.c: include string.h for memcpy().
2681 * src/gtksctree.c: use macro ABS() instead of function abs().
2682 * src/prefs_account.c
2683 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
2684 conflict with the function send() in sys/socket.h.
2685 * src/mainwindow.c: commented out the unnecessary functions.
2686 * src/utils.c: canonicalize_file_replace(): correct warning message.
2690 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
2691 temporary files in ~/.sylpheed/.
2692 * src/main.c: create temporary directory in ~/.sylpheed/.
2694 src/inc.c: create temporary files in ~/.sylpheed/, and modified
2696 compose_exec_ext_editor(): fixed a bug that failed to create the
2697 temporary file if g_get_tmp_dir() returned directory other than
2702 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
2706 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
2707 to replace the file when the given file and temporary file are not
2708 on the same filesystem.
2709 copy_file(): added a flag whether to keep backup.
2710 move_file(): added a flag whether to overwrite the destination file.
2714 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
2715 * src/select-keys.c: modified key selection dialog.
2719 * src/socket.[ch]: my_gethostbyname(): new.
2720 * src/utils.c: get_domain_name(): return FQDN instead of short
2721 hostname (thanks to Bob Woodside).
2722 * src/template.c: made the debug messages less verbose.
2726 * src/prefs_common.[ch]: removed obsolete default sign key setting.
2727 * src/utils.c: canonicalize_file(): correct the error check of
2732 * src/compose.c: compose_write_to_file():
2733 canonicalize line endings before encrypting/signing (this will fix
2734 interoperability with other MUAs).
2735 Removed unnecessary strdup.
2736 Don't encrypt/sign draft message.
2738 canonicalize_file(), canonicalize_file_replace(): new.
2740 src/select-keys.c: changed g_message() to debug_print() and
2742 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
2743 MIME structure scanning.
2744 * src/textview.c: textview_add_part(): show signature status in
2747 src/sigstatus.c: modified translatable strings and some MIME
2752 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
2753 the temporary file when saving from queue.
2759 src/prefs_account.[ch]
2760 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
2761 Modified some messages.
2765 * src/textview.c: textview_scan_header(): fixed a memory leak
2770 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
2771 in right conditional block.
2775 * src/compose.c: compose_wrap_line_all(): fixed character buffer
2781 log_error(): add time stamp to log messages.
2786 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
2790 * src/socket.c: implemented socket I/O timeout.
2792 * src/pop.c: check errors and return error value correctly.
2796 * src/prefs_actions.c: made the action's input/output dialog display
2797 without delay. Made the dialog modal instead of making window
2798 insensitive. Also cleaned up its UI.
2802 * implemented --attach command line option.
2804 Cmd::attach_files: new member to store file paths.
2805 parse_cmd_opt(): added --attach option. --compose option is implied.
2806 prohibit_duplicate_launch()
2807 lock_socket_input_cb(): added "compose_attach" message.
2810 src/textview.c: renamed compose_new_with_recipient() to
2811 compose_new(), and added an argument for attachment files.
2815 * src/logwindow.c: freeze GtkText widget while hidden.
2816 log_window_append(): changed the header for message and warning.
2820 * src/news.c: implement automatic cache expiration.
2821 news_delete_expired_caches(): new.
2822 news_get_article_list(): fixed a bug that nonexistent messages
2823 were not removed from list.
2824 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
2825 procmsg_get_last_num_in_cache().
2826 * src/utils.[ch]: remove_expired_files(): new.
2831 inc_mail(): force summary refresh when using external command for
2833 inc_all_account_mail(): fixed a bug on spool checking failure.
2844 src/editldap_basedn.c
2846 src/prefs_common.c: fixed memory leaks which didn't free strings
2847 gtk_editable_get_chars() returned. And minor code cleanups.
2849 src/vcard.h: removed C++-style comments.
2853 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
2854 strings which include both multi-byte and us-ascii characters.
2858 * src/utils.c: remove_numbered_files(): don't try to unlink()
2861 conv_get_code_conv_func(): return conv_anytodisp() if charset is
2863 conv_unmime_header_overwrite()
2864 conv_unmime_header(): do conv_anytodisp() before decoding header.
2872 * src/compose.c: added 'Tools/Actions' menu.
2876 * src/base64.c: a minor fix for BASE64VAL() macro.
2880 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
2888 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
2889 base64_encode(), base64_decode(): new.
2890 * src/rfc822.[ch]: removed.
2892 src/about.c: removed the copyright notice for fetchmail.
2898 src/unmime.[ch]: rewrote the MIME decode routines.
2900 unmime_quoted_printable_line(): new.
2902 procheader_get_one_field()
2903 procheader_get_unfolded_line(): remove also CR.
2907 * libkcc: removed from the source tree.
2909 src/about.c: removed the copyright notice for libkcc.
2910 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
2912 * src/prefs_actions.c: removed unnecessary spaces/tabs.
2916 * src/prefs_actions.c: comply with the coding style.
2917 Modified the UI design.
2918 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
2919 menu when multiple messages are selected.
2923 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
2924 update_actions_menu(): simplified the menu deletion.
2925 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
2929 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
2930 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
2935 * configure.in: added check for strchr.
2939 * src/prefs_common.[ch]
2940 src/inc.c: added an option to inhibit receive error dialog.
2944 * src/account.c: account_find_from_address(): support multiple
2945 addresses in header.
2949 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
2950 GtkCTreeNode* so that it won't become invalid after the row move.
2951 Removed dependency to gtkutils.c.
2952 * src/prefs_common.[ch]
2953 src/summaryview.c: summary_selected(): added an option to show
2954 message when cursor keys are pressed on summary view.
2960 src/compose.c: changed "host_alias" to "target_alias" so that it
2961 shows the correct system name on cross-compiling (thanks to
2966 * src/prefs_account.[ch]: added the option menu to force an
2967 authentication method for SMTP AUTH.
2969 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
2970 specify the authentication method for SMTP AUTH.
2971 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
2975 * src/prefs_common.[ch]
2976 src/compose.c: enabled "Wrap on input".
2980 * src/summaryview.[ch]
2981 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
2982 Made some code cleanups.
2987 src/prefs_common.[ch]: added the hidden option to specify the
2988 policy of the vertical scrollbar on folder view.
2992 * src/messageview.[ch]:
2993 messageview_copy_clipboard(): fixed a bug that couldn't copy text
2995 messageview_get_current_textview(): new.
2996 messageview_get_text_widget(): removed.
2997 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
2998 * src/compose.[ch]: implemented the "Paste as quotation" feature.
2999 text_inserted(): new callback for "insert_text" signal.
3000 Add quote mark to the pasted text if Compose::paste_as_quotation
3005 * src/compose.c: if the Content-Type of a file is text/*, check
3006 its content and set the optimal Content-Transfer-Encoding (thanks
3011 * src/textview.c: textview_key_pressed(): pass key press event to
3012 main window to activate menu shortcuts (thanks to Alfons).
3016 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
3017 for mtime to prevent flooring.
3020 imap_move_msgs_with_dest()
3021 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
3023 imap_parse_envelope()
3024 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
3025 full information of messages and simplify the parser. Also fixed
3026 the bug that References header was ignored on threading.
3027 imap_parse_one_address()
3028 imap_parse_address(): removed.
3029 imap_get_header(): new. It reads the RFC822 header and returns
3030 a newly allocated string.
3031 * src/procheader.[ch]: changed procheader_parse() to
3032 procheader_parse_stream() and added different interfaces for it.
3036 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
3044 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
3045 could be inserted into the hash table.
3046 inc_write_uidl_list(): a minor code cleanup.
3047 * src/mainwindow.c: main_window_get_current_state():
3048 make the state unexecutable on an empty folder.
3049 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
3050 * src/pop.c: minor code cleanups.
3054 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
3055 corrected the behavior of the radio buttons.
3059 * implemented 'Delete messages after N days' feature for POP3.
3061 inc_get_uidl_table()
3062 inc_write_uidl_list(): moved the location of UIDL list file from
3063 RC_DIR/uidl-* to RC_DIR/uidl/*.
3064 Added received time for each UIDLs.
3065 src/main.c: main(): create RC_DIR/uidl/ directory.
3066 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
3067 Added recv_time to Pop3MsgInfo.
3068 src/prefs_account.[ch]: added an option for the number of days for
3077 * src/folder.c: folder_set_missing_folders(): fixed a bug that
3078 caused multiplication of special folders on startup if their
3080 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
3085 * src/compose.c: compose_reply(), compose_forward(): reverted the
3086 last change since it causes lockup problem.
3090 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
3092 compose_new_with_recipient(): workaround for initial XIM problem.
3096 * src/mainwindow.c: sort ascending / descending order can be
3097 specified with separated menu items.
3098 Added "View/Sort/Don't sort" menu item.
3099 * src/summaryview.[ch]: summary_sort(): added an argument for
3104 * implemented persistent sort order.
3106 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
3107 folder_write_list_recursive(): write sorting state.
3109 src/summaryview.[ch]: summary_show(): sort if required.
3110 select the top node on descending sort.
3111 Removed SummarySortType and sorting state variables from
3119 src/prefs_account.[ch]: enabled NNTP over SSL.
3120 * src/nntp.c: nntp_group(): issue MODE READER command and retry
3121 when GROUP command once failed (this seems to avoid problems on
3122 some broken news servers).
3126 * faq/it/*.html: corrected DOS linebreaks.
3127 * faq/*/*.html: changed ">" to ".
3131 * src/prefs_account.c: prefs_account_protocol_activated(): hide
3132 unnecessary frames in SSL tab.
3138 src/prefs_account.[ch]: enabled STLS command in POP3.
3139 * src/account.c: account_clist_set_row(): display TLS setting.
3143 * src/compose.c: compose_send_later_cb(): support redirect function.
3146 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
3148 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
3152 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
3153 * src/compose.c: compose_create(): removed unrequired lines.
3157 * src/news.c: news_scan_group(): fixed a bug that set the wrong
3158 values in some cases.
3159 * src/prefs_account.c: corrected English in Advanced - Folder
3164 * src/textview.c: textview_show_message(), textview_show_part():
3165 fixed a bug that GtkSText *text pointed the incorrect object.
3166 textview_add_part(): freeze GtkSText while adding RFC822 headers.
3167 textview_show_part(): fixed a bug that couldn't display single
3168 part MIME message as text.
3172 * src/compose.c: compose_redirect_write_to_file(): correct the target
3173 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
3174 incomplete file when an error occured.
3179 compose_create(): disable menus for draft on redirection mode.
3180 compose_redirect_write_to_file(): correct the error handling of
3182 * src/prefs_common.c: turned off the "Display recipient on `From'
3183 column if sender is yourself" option by default.
3187 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
3188 Based on the implementation of the claws branch.
3189 compose_redirect(): create a new window and make it uneditable.
3190 compose_redirect_write_to_file(): copy headers and body of
3191 original message except for some.
3192 compose_redirect_write_headers(): add extra "Resent-*" headers.
3193 compose_create(): set menu sensitivity for redirection mode.
3197 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
3198 space is inserted between encoded string and the following folded
3199 one (thanks to Masahiro Tomita).
3203 * src/mainwindow.[ch]: some refactoring has been made.
3204 main_window_toggle_message_view(): moved summary_toggle_view_real()
3206 * src/messageview.[ch]: messageview_is_visible(): new.
3207 * src/summary_search.c
3208 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
3209 Instead use messageview_is_visible().
3213 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
3214 * src/summaryview.[ch]:
3215 summary_expand_threads(), summary_collapse_threads(): new.
3219 * src/mainwindow.c: Fixed the behavior of
3220 '/View/Show or hide/Folder tree' and
3221 '/View/Show or hide/Message view' toggle menu.
3222 Removed '/View/Toggle summary view' menu and integrated the
3223 function into '/View/Show or hide/Message view'.
3224 main_window_set_widgets(): change the state of toggle menu items.
3225 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
3230 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
3231 MIME contents other than text as children of message/rfc822 part.
3233 procmime_mimeinfo_next(): modified for message/rfc822 part which
3234 content-type is single part MIME.
3235 procmime_scan_multipart_message(): fix for nested message/rfc822
3236 part. Corrected the size of the contents of message/rfc822.
3237 * src/textview.c: textview_show_part(): extract the contents of
3238 multipart/* and message/rfc822. Some code cleanups.
3239 textview_add_parts(): new. It adds the all parts under a part to
3241 textview_clear(): reset body_pos and cur_pos.
3245 * src/addr_compl.c: modified so that it behaves better.
3246 get_address_from_edit(): ignore comma inside of brackets.
3247 completion_window_apply_selection(): new. Only apply the current
3249 completion_window_accept_selection(): removed.
3250 address_completion_complete_address_in_entry(): minor code cleanup.
3251 don't replace address in entry here.
3252 completion_window_select_row(): always apply clist selection to
3254 completion_window_key_press(): don't apply selection here.
3258 * src/imap.c: imap_create_folder(): keep trailing directory separator
3259 to create a folder that contains sub folder.
3263 * src/foldersel.c: sort tree with case insensitive.
3264 * src/mainwindow.c: allsel_cb()
3265 src/messageview.c: messageview_select_all(): fixed 'Select all'
3267 * src/mainwindow.c: removed common and account prefs button from
3272 * src/compose.c: compose_account_option_menu_create(): check if
3281 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
3282 manual/en/*: updated the English manual.
3284 faq/it/*: added German and Italian FAQ.
3287 faq/fr/*: updated FAQs.
3289 src/mainwindow.c: added German and Italian language.
3293 * src/prefs_account.c: turn off "receive at get all" option by default
3294 when creating an IMAP or News account.
3298 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
3299 * src/prefs_folder_item.c: show also identifier path.
3300 Made layout using table. Show uneditable entry using background
3302 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
3307 * src/automaton.[ch]: added UI callback to Automaton.
3309 src/pop.c: use callback instead of calling inc_progress_update()
3311 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
3316 * src/folderview.c: properly sort abbreviated newsgroups.
3321 src/prefs_common.[ch]
3322 src/summaryview.c: added an option to specify the minimum length
3323 for abbreviated newsgroups name.
3327 * src/folderview.c: folderview_check_new(): skip unselectable folders.
3328 * src/summaryview.c: added 'Create filter rule' to the context menu.
3329 * src/imap.c: some code cleanups.
3330 imap_scan_tree_recursive(): get path separator for each calls.
3331 imap_get_path_separator(): new.
3335 * src/imap.[ch]: supported namespace for others/shared folders
3337 imap_parse_namespace(): parse also others/shared namespace.
3338 imap_find_namespace(): search also others/shared namespace.
3340 strchr_parenthesis_close(): return pointer to closing parenthesis.
3341 strsplit_parenthesis(): split parenthetic list into array of
3346 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
3347 parse date string like "Mon,6 May 2002 20:31:12 +0800".
3348 procheader_scan_date_string(): new. Separated string scanning
3349 part from procheader_date_parse().
3353 * src/summary_search.c: summary_search_execute(): unlock while
3354 selecting summary row (thanks to Martin Schaaf).
3355 * src/summaryview.c: summary_set_column_titles(): reversed the
3356 direction of the arrow so that it matches with Win/Mac style.
3360 * src/compose.c: compose_write_headers(): quote self address name
3361 if required. Some code cleanups. Don't override Newsgroups and
3362 Cc with custom headers.
3363 * src/imap.c: imap_add_msg(): return UID for appended message.
3364 * src/compose.c: compose_queue(): check if queue folder exists.
3365 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
3367 imap_open(): removed an unrequired argument.
3371 * src/utils.[ch]: trim_string(): new. It trim characters longer than
3372 the specified length and adds "...".
3373 * src/folderview.c: trim folder name when displaying dialog.
3377 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
3379 * src/folderview.c: folderview_select()
3380 src/summary_search.c: summary_search_execute(): lock summary view
3381 while searching (thanks to Martin Schaaf).
3389 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
3393 * src/summaryview.c: summary_show(): fixed a bug that didn't process
3395 * src/account.c: account_edit_prefs(): fixed a crash bug when account
3397 * src/prefs_account.c: prefs_account_apply(): display error dialog
3398 if account name is empty.
3399 * src/imap.c: changed some log_print() to debug_print() to reduce
3404 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
3408 mh_do_move_msgs_with_dest()
3410 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
3411 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
3412 if stat() succeeded.
3414 imap_fetch_msg(): SELECT mailbox before FETCH if required.
3415 imap_scan_folder(): set last_num using the value of UIDNEXT.
3416 imap_select(): return immediately if there is no need for SELECT.
3417 preserve the path of currently selected mailbox.
3418 imap_status(): added UIDNEXT.
3422 * src/folder.c: folder_item_scan(): removed the warning.
3423 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
3424 setting case sensitivity.
3428 * src/mainwindow.c: main_window_create(): restrict the minimum size.
3432 * src/compose.c: merged the new line-wrapping routine.
3433 join_next_line(): fixed a bug that didn't join multibyte
3435 get_indent_length(): modified enums and variable names.
3436 INDENT_CHARS: don't indent ':'.
3438 folderview_rename_folder_cb()
3439 folderview_delete_folder_cb(): support folder identifier.
3440 folderview_rm_imap_folder_cb(): integrated with
3441 folderview_delete_folder_cb().
3445 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
3446 * src/folderview.c: folderview_check_new(): abort checking if
3447 folder_item_scan() failed.
3451 * src/imap.c: imap_create_missing_folders(): create only INBOX and
3453 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
3454 type of news folders unchangeable.
3455 prefs_folder_item_destroy(): use prefs_dialog_destroy().
3456 * src/prefs.[ch]: prefs_dialog_destroy(): new.
3460 * src/prefs_account.[ch]: added special folder setting to Advanced
3461 tab. Also moved "IMAP server directory" setting to there.
3462 * src/account.[ch]: account_get_special_folder(): new. It returns
3463 the optimal special folder for accounts.
3464 * src/compose.c: use account_get_special_folder().
3465 * src/prefs_folder_item.[ch]: new. Implemented folder property
3466 dialog, and the special folder settings (most of the functions in
3467 claws are not integrated yet, and the structure is slightly
3469 * src/folderview.c: enabled Property menu.
3473 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
3474 scanning when encountering separators ',' and ';'.
3478 * src/mainwindow.c: reorderd the menu a bit.
3479 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
3480 compose_reply_set_entry(): made 'Reply to sender' work for
3485 * src/compose.c: compose_create(): set geometry hints to restrict
3486 the maximum size of window.
3487 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
3488 imap_get_uncached_messages()
3489 imap_cmd_fetch(): ignore responses which don't include FETCH.
3493 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
3494 the clause for OpenSSL).
3498 * src/prefs_account.c
3499 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
3505 src/session.[ch]: first reorganization of SMTP protocol handling.
3506 SMTPSession: new class which is a sub class of Session.
3507 smtp_session_new(): moved send_smtp_open() into this function.
3508 smtp_from(): moved SMTP AUTH calls into smtp_auth().
3509 smtp_auth(): use server response for SMTP AUTH method.
3510 smtp_ehlo(): read server response and set auth type flags.
3511 smtp_helo(): separated EHLO command.
3512 smtp_ok(): return the last server response if the buffer is
3514 * src/esmtp.[ch]: merged into smtp.[ch].
3515 * src/imap.c: imap_session_destroy_all(): use session_destroy().
3519 * src/imap.c: imap_open(): show warning message if IMAP4 session
3520 can't be established.
3524 * src/compose.c: made template able to be inserted into the current
3526 * src/mainwindow.c: moved some menu items under the submenu
3527 '/View/Show or hide'.
3532 src/inc.c: changed folder_find_item_from_path() to
3533 folder_find_item_from_identifier().
3535 src/prefs_filter.c: use folder_item_get_identifier() to specify
3540 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
3541 existed in claws' implementation).
3542 folder_find_from_name(): find Folder from name and type.
3543 folder_get_identifier(): return Folder id.
3544 folder_item_get_identifier(): return FolderItem id.
3545 folder_find_item_from_identifier(): find FolderItem from id.
3546 folder_get_type_string(): return folder type string.
3547 folder_get_type_from_string(): return FolderType from string
3548 (and fixed the wrong g_strcasecmp() usage).
3550 src/import.c: use folder_item_get_identifier() and
3551 folder_find_item_from_identifier().
3555 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
3556 point the correct address after reading the continuous line.
3557 imap_scan_folder(): set new number to 0 if unseen number is 0.
3558 imap_parse_flags(): don't add new and unread flag if \Seen flag
3560 * ac/Makefile.am: removed gpgme.m4 from MACROS.
3564 * fixed the old problem that couldn't add flags to currently opened
3567 compose_send(): update outbox after saving.
3569 compose_draft_cb(): use procmsg_add_flags().
3570 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
3572 * src/main.c: send_queue(): send from all queue folders.
3573 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
3575 procmsg_flush_mark_queue(): new. Write all queued flags into file.
3576 procmsg_add_flags(): new. Add specified flags to the folder.
3577 procmsg_send_queue(): added an argument to specify queue folder.
3578 procmsg_save_to_outbox(): use procmsg_add_flags().
3579 * src/summaryview.c:
3580 summary_show(): up the opened flag of FolderItem.
3581 summary_clear_list(): down the opened flag of FolderItem.
3582 summary_write_cache(): call procmsg_flush_mark_queue().
3586 * src/summaryview.[ch]: trim the tail of folder name and selected
3587 number on the status label if the space is not enough.
3591 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
3592 set SpecialFolderItemType when creating special folders under
3594 * ac/gpgme.m4: removed.
3596 * ac/missing/gdk-pixbuf.m4
3597 ac/missing/gettext.m4
3599 ac/missing/imlib.m4: added for convenience.
3603 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
3604 shown after the decoded challenge string. Fixed a memory leak.
3606 * src/compose.c: compose_draft_cb(): mark draft messages as read.
3607 * src/folderview.c: folderview_update_node(): disable emphasis
3608 for Outbox and Draft folders.
3612 * src/messageview.c: messageview_show(): fixed a memory leak.
3613 * src/summaryview.c: summary_save_as(): show error dialog if copy
3615 * src/about.c: about_show(): make the window active if it is already
3620 * src/compose.c: show confirmation dialog before sending if Subject
3622 compose_check_entries(): new.
3624 compose_send_later_cb(): use compose_check_entries().
3625 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
3629 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
3630 responses with continuous line correctly, and fixed a memory leak.
3634 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
3636 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
3637 after pasting with middle button to prevent the selection growth.
3642 folderview_rename_folder_cb()
3643 folderview_delete_folder_cb(): modify filter rules only if the
3644 target folder is in the default mailbox.
3645 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
3652 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
3653 Moved 'Delete duplicated messages' under 'Tools'.
3657 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
3659 * src/imap.c: imap_create_special_folder(): fixed a crash bug
3660 when folder creation failed, and re-try to create folders under
3662 imap_scan_tree_recursive(): don't automatically add namespace
3663 prefix if it's INBOX. Search also under the INBOX for special
3665 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
3670 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
3671 abbreviated newsgroup name.
3672 * src/folderview.c: folderview_update_node(): display newsgroups
3673 with abbreviated name if name and path is the same.
3674 * src/summaryview.c: summary_status_show(): show the newsgroup with
3680 src/folderview.c: changed the label 'Draft' to 'Drafts'.
3681 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
3682 imap_create_missing_folders(): fixed the wrong assignment of
3683 Queue folder to draft.
3687 * enabled Sent / Draft / Queue folders on IMAP server.
3688 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
3689 queue and draft folder if they exist.
3691 imap_create_trash(): removed.
3692 imap_create_special_folder(): new. Generalized imap_create_trash().
3693 imap_create_missing_folders(): automatically create missing folders.
3694 imap_is_msg_changed(): added the dummy method.
3695 imap_scan_tree_recursive(): search also Sent, Draft and Queue
3696 folders. Minor code cleanups.
3697 imap_parse_envelope(): check for null strings.
3698 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
3699 for messages on IMAP folder.
3703 * src/compose.c: compose_send(): use account's outbox folder
3705 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
3706 that the outbox can be specified.
3710 * src/compose.c: don't save to outbox when messages are queued.
3711 compose_save_to_outbox(): moved to procmsg.c.
3712 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
3714 procmsg_save_to_outbox(): new. Removes the queueing headers if
3715 needed, and adds the given file to the outbox.
3719 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
3720 get_indent_length(): treat ':' and '#' also as quote char, and
3721 cleaned up using strchr().
3725 * src/mainwindow.c: modified some menu items.
3729 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
3730 (current "outbox" will be kept until rescan).
3731 * src/folder.c: folder_set_missing_folders(): create the missing
3734 src/folderview.c: changed 'Outbox' to 'Sent'.
3735 * src/main.c: call folder_set_missing_folders().
3736 * src/mh.c: mh_scan_tree(): create missing folders.
3737 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
3738 didn't set the menu sensitivity correctly.
3743 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
3744 folderview_rename_folder_cb(): reopen the current folder when
3745 the ancestor is renamed.
3746 imap_rename_folder(): new method implementation.
3748 imap_rename_folder_func(): new.
3749 imap_remove_folder(): remove also the cache directory.
3753 * src/imap.c: implemented locale encoding <-> modified utf-7
3754 conversion, and supported i18n of folder name (thanks to Suzuki
3756 imap_path_separator_subst(): handle the escape characters of
3758 imap_modified_utf7_to_locale()
3759 imap_locale_to_modified_utf7(): new.
3760 imap_create_trash(): modified so that it create the Trash folder
3761 to the correct location when imap directory is specified.
3762 imap_get_real_path(): removed debug print.
3766 * src/socket.c: implemented timeout for DNS lookup and connect().
3767 sock_connect_by_hostname(): timeout support and code cleanup.
3768 sock_connect_with_timeout(): new.
3769 sock_peek(): implemented SSL peek.
3773 * src/messageview.c: messageview_show(): display single-part
3774 text/html messages with the normal text view.
3788 src/prefs_customheader.c
3789 src/prefs_display_header.c
3804 src/xml.c: added 'b' to the option of all fopen().
3812 * src/ssl.[ch]: match its coding style.
3813 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
3817 faq/en/sylpheed-faq*.html
3819 faq/es/sylpheed-faq*.html
3821 faq/fr/sylpheed-faq*.html
3827 src/manual.[ch]: added FAQs in English, Spanish and French.
3831 * manual/en/sylpheed*.html: updated to the latest version.
3836 src/mgutils.c: include string.h to remove warning about strlen()
3850 src/summaryview.c: added break to the last label of switch to
3851 prevent the 'deprecated use of label at end of compound statement'
3853 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
3857 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
3859 inc_cancel_all(): new. It cancels the all current incorporation.
3860 * src/mainwindow.c: added 'Cancel receiving' menu.
3861 * src/textview.c: a minor fix for single-part MIME messages, and
3862 a bit of cleanup for textview_write_body().
3866 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
3867 information if any errors occured before issuing UIDL command.
3868 src/inc.h: added uidl_is_valid to Pop3State.
3869 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
3877 * src/mimeview.c: mimeview_create(): set the initial notebook page
3879 * src/folderview.c: folderview_selected(): scroll the view if the
3880 selected row is hidden.
3881 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
3882 and select the added row.
3883 * src/summaryview.c: fix threading for null message ids.
3887 * src/textview.c: textview_show_message(): follow message/rfc822
3889 textview_add_part(): add a caption before the attached text files.
3890 textview_show_header(): don't add the newline.
3891 * src/messageview.c: enabled message search also in MIME mode.
3895 * src/messageview.c: messageview_show(): set header state of
3896 MimeView's TextView, too.
3897 * src/mimeview.c: mimeview_show_message(): call
3898 textview_show_message() to display message.
3899 * src/textview.c: textview_add_part(): new. It adds the content
3900 of message part without clearing the view.
3901 textview_show_message(): display all parts with appropriate
3903 textview_write_body(): separated from textview_show_part().
3908 src/prefs_common.c: added ISO-8859-15 to the codesets for
3909 displaying and sending.
3910 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
3911 conversion failed, and made caller deal with it.
3912 * src/compose.c: compose_write_to_file(): show error dialog when
3913 code conversion failed, and let user select whether to send it
3915 * src/textview.c: textview_write_line(): show the original string
3916 if code conversion failed.
3920 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
3921 if copy_mbox() failed (thanks to Alexander Kabaev).
3922 * src/prefs_account.[ch]: added separate user ID / password setting
3924 * src/send.c: send_message_smtp(): use separate user ID / password
3925 for SMTP AUTH if it is specified.
3930 src/pop.[ch]: refactored the UIDL management.
3931 store the information of messages into the array of Pop3MsgInfo
3932 structure, and do full scanning of not retrieved messages.
3938 src/mainwindow.c: set WMCLASS for window/dialog.
3939 * src/codeconv.c: conv_codeset_strdup(): return source string
3940 when jconv_alloc_conv() failed.
3944 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
3951 src/summaryview.c: implemented the new notebook tab interface for
3953 * src/textview.[ch]: fixed line space related glitches.
3957 * src/prefs_filter.c:
3958 prefs_filter_rename_path()
3959 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
3963 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
3964 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
3966 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
3967 cancelled, and fixed potential crash bug.
3968 * src/grouplistdialog.c: enabled cancelling of data receiving.
3969 * src/news.c: news_get_group_list(): destroy current session if
3974 * src/manage_window.[ch]: fixed a bug that caused crash when
3975 the main window was hidden.
3976 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
3977 Monitor "unmap_event", "destroy" events.
3984 src/grouplistdialog.c
3988 src/message_search.c
3992 src/prefs_customheader.c
3993 src/prefs_display_header.c
3995 src/prefs_template.c
3996 src/summary_search.c
3997 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
3998 connect signals for window management.
4002 * src/prefs_account.[ch]: added receive size limit option.
4003 * src/pop.c: skip messages larger than the limit size.
4004 LOOKUP_NEXT_MSG(): new macro.
4005 * src/compose.c: compose_attach_append(): check whether the file
4010 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
4011 changed g_message()'s to debug_print() and g_warning().
4012 rfc2015_decrypt_message(): fixed a bug that duplicated message
4013 parts when decryption was failed/cancelled. And made some code
4015 * src/passphrase.c: made the dialog transient.
4016 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
4021 src/procmsg.[ch]: fixed a bug that failed to parse multipart
4022 messages if GPGME was enabled.
4023 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
4025 * src/prefs_account.c: prefs_account_privacy_create(): modified
4026 the vertical spacing.
4030 * src/menu.[ch]: menu_set_sensitive_all(): new.
4031 menu_set_insensitive_all(): made it a wrapper for
4032 menu_set_sensitive_all().
4033 * src/prefs_account.c:
4034 prefs_account_open()
4035 prefs_account_protocol_set_optmenu(): made the protocol type
4036 unchangeable after creating an account.
4037 * src/compose.c: compose_attach_parts(): traverse MIME tree to
4038 extract all attathed files from nested multipart MIME message.
4042 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
4043 obtain minimum/maximum number, and to specify first number
4046 src/inc.c: enabled new message checking on news folder.
4047 * src/news.c: news_scan_group(): implemented. Guess new/unread
4048 message number from the response of GROUP command and the mark
4050 news_select_group(): return the total/first/last number.
4051 * src/prefs_account.c: prefs_account_receive_create(): modified
4052 the text of the 'Get all' check button.
4056 * src/account.c: made 'Get all' checkbox available for IMAP4 and
4058 * src/inc.c: corrected the argument of folderview_check_new().
4059 * src/prefs_account.c: modification for the "`Get all' checks for
4060 new mail on this account" checkbox.
4064 * src/folderview.[ch]:
4065 folderview_rescan_tree(), folderview_rescan_all(): renamed from
4066 folderview_update_tree() and folderview_update_all().
4067 folderview_update_all_node(): removed.
4068 folderview_check_new(): new. If the argument is NULL, it checks
4069 all local folders. If the arguments is specified, it checks
4070 the (local and remote) folder.
4073 inc_all_account_mail(): check also IMAP4 account.
4078 folderview_rename_folder_cb()
4079 folderview_delete_folder_cb(): modify the filter rules when folder
4081 * src/prefs_filter.[ch]:
4082 prefs_filter_rename_path(): new. It renames the destination paths
4084 prefs_filter_delete_path(): new. It deletes the filter rules if
4085 the destination paths matched.
4086 * thanks to Neill Miller for above.
4090 * src/compose.c: inherit attached files when forwarding or reediting
4091 (rewrote the code in claws branch).
4092 compose_attach_parts(): new. It extracts and attaches the files
4093 in the given message.
4094 compose_attach_append(): chnaged the types of arguments.
4095 * src/messageview.c: messageview_show(): moved the GPG decryption
4097 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
4105 * src/summary_search(): summary_search_execute(): scroll the view
4106 when message view is hidden.
4110 * src/foldersel.c: foldersel_set_tree(): made different type of
4111 folders selectable in moving mode.
4112 * src/folderview.[ch]: folderview_update_msg_num(): compare the
4113 numbers with the CTree's labels, and don't update folder_item here.
4114 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
4115 implemented moving between different type of folders.
4116 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
4117 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
4118 mh_move_msg() and mh_move_msgs_with_dest()).
4119 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
4120 moving between different type of folders.
4121 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
4122 * src/summaryview.c: summary_status_show(): update folder_item
4124 * po/POTFILES.in: removed reference to headerwindow.c.
4125 * src/summaryview.c: summary_step(): fixed the behavior on the
4126 head and tail of the list.
4130 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
4131 all header' toggle state from the property of the TextView.
4132 * src/summaryview.[ch]: made 'All header' toggle switch.
4133 Prohibited unnecessary menu update.
4134 summary_select_node(): added the argument 'do_refresh'.
4139 * src/utils.c: strsplit_with_quote(): remove quotation characters
4140 in the function (fix composer's external editor problem) (thanks
4141 to Stefaan A Eeckels).
4142 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
4143 main_window_menu_callback_block()
4144 main_window_menu_callback_unblock(): new.
4145 main_window_set_menu_sensitive(): set the toggle status of
4147 show_all_header_cb(): read the status of toggle menu item.
4148 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
4149 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
4154 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
4155 the path separator (thanks to Sergey Vlasov).
4156 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
4157 if the length of selection is zero.
4158 Fixed the assertion.
4159 * src/utils.c: str_open_as_stream(): return immediately if
4160 the length of str is zero.
4161 * src/headerwindow.[ch]: removed.
4163 src/inc.c: removed stale thread support codes.
4167 * src/procmsg.c: procmsg_open_message(): modified so that it
4168 returns the stream of decrypted message file if it exists
4169 (this fixes the failure of gpg decryption in messageview.c).
4179 src/prefs_template.c
4181 src/quote_fmt_parse.y
4183 src/utils.[ch]: if the part of the message text is selected, use
4184 it for quoted text instead of the entire message body (thanks to
4186 src/utils.[ch]: str_open_as_stream(): new. It returns an
4187 temporary stream for the given string.
4188 * src/main.c: added "--send" command line option.
4189 * src/compose.c: compose_reply_set_entry(): add From address to
4190 Cc if Reply-To and to_all are both specified.
4191 * Makefile.am: correct the Source: line in the RPM spec file in
4196 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
4198 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
4199 that specifies the folder selection type.
4210 src/prefs_customheader.c
4212 src/summaryview.c: made it compile with C compilers other than gcc
4213 (thanks to Shawn Houston).
4217 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
4219 * src/prefs_common.c: made the key binding setting separate dialog.
4220 * src/addressbook.c: addressbook_format_address(): add "" around
4221 the display name if it contains comma (thanks to Satoshi Watanabe).
4222 * src/addr_compl.c: get_complete_address(): add "" around the
4223 display name if it contains comma.
4224 get_address_from_edit(): handle the quotation character correctly.
4225 * src/addr_compl.c: get_complete_address()
4226 src/addressbook.c: addressbook_format_address(): fixed a bug that
4227 caused wrong text processing if the display name is empty.
4232 * src/compose.c: compose_exec_ext_editor_real(): replaced
4233 g_strsplit() with strsplit_with_quote().
4235 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
4237 folderview_drag_motion_cb()
4238 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
4239 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
4243 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
4244 of the message is different from the current mailbox.
4245 Return the correct value.
4246 imap_cmd_append(): properly implemented the APPEND command.
4251 src/messageview.[ch]
4252 src/summaryview.[ch]
4253 src/textview.[ch]: show all headers in the message view, and don't
4254 use the header window anymore.
4256 src/prefs_common.c: changed the default shortcut of 'compose new
4259 src/summaryview.[ch]: summary_display_msg_selected(): new.
4260 Show the selected message if 'Show all header' is selected.
4262 src/sourcewindow.c: changed some procmsg_get_message_file_path()
4263 to procmsg_get_message_file() to be sure the message is
4265 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
4266 any folder to MH folder.
4267 folderview_drag_received_cb(): copy messages instead of moving
4268 if the source folder is news or IMAP.
4270 src/summaryview.c: allow copy from news folder.
4274 * src/prefs_common.c: prefs_other_create(): modified the design
4275 of the external command settings.
4276 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
4277 preset closer to the original.
4278 Added Mutt keybind preset.
4279 Also change the compose keybinds.
4280 * src/compose.c: modified some menu shortcuts.
4281 * src/codeconv.c: modified the locale_table for Thai encoding.
4285 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
4286 * src/prefs_common.c: prefs_interface_create(): modified the
4287 description for menu shortcut.
4291 * src/gtkutils.[ch]: added gtk_stext_clear().
4294 src/summaryview.[ch]: enabled multiple forwarding.
4295 * src/summaryview.c:
4296 summary_set_marks_selected(): set marks for all selected row.
4297 summary_reply(): moved from summary_reply_cb().
4298 * compose.[ch]: compose_forward(): modified so that it receives
4300 * src/mainwindow.c: cleanup for reply processing.
4301 * src/summaryview.c: summary_reply(): fixed a memory leak.
4302 summary_key_pressed(): removed hardcoded mark / mark as unread
4305 src/prefs_common.c: added mark / mark as unread shortcuts to
4310 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
4311 if prefs_common.linewrap_quote is not set (it is only for
4312 auto-wrapping on reply).
4313 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
4314 when creating a new account.
4315 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
4317 * src/prefs_common.c: prefs_interface_create(): modified the
4318 description of key binds selector.
4322 * src/mimeview.c: fixed multiple dialog / moving by correcting
4323 button / key event processing.
4325 src/textview.c: pass some key press events to MimeView in MIME
4327 * src/prefs_filter.c: fixed a bug that didn't set the order of
4329 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
4330 empty_menurc string.
4335 src/prefs_common.c: reorganized the menu shortcuts.
4336 Added 'View - Toggle summary view'.
4337 * src/summaryview.[ch]: summary_toggle_view(): made it public
4339 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
4341 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
4342 closing the dialog with window manager (in more appropriate way).
4343 * src/imageview.[ch]
4345 src/mimeview.c: fixed wrong scrolling position when switching
4346 between text and image parts. Also free the unrequired image
4347 (thanks to Sergey Vlasov).
4348 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
4353 * src/prefs_common.c: implemented shortcut quick changer.
4354 * src/folderview.c: folderview_key_pressed()
4355 src/summaryview.c: summary_key_pressed(): removed some hardcoded
4361 procmime_get_mime_type()
4362 procmime_get_mime_type_table(): made the MIME type search case
4365 gtk_stext_delete_line(): delete newline on empty line.
4366 gtk_stext_delete_to_line_end(): delete newline if cursor is on
4368 (thanks to Yasuzaki Masayoshi.)
4373 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
4374 and made them customizable.
4375 * src/utils.[ch]: added get_file_size_as_crlf() which returns
4376 the file size when converting LF to CR+LF.
4380 * src/compose.c: enabled 'Ctrl-Enter' or
4381 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
4383 * src/gtkstext.c: disabled some Emacs key bindings.
4384 gtk_stext_key_press(): don't extend selection when Shift-Enter
4385 is pressed to prevent the disapperance of cursor.
4386 * src/summaryview.c: summary_select_next_unread(): added the button
4387 to search unread message again from the beginning to the dialog.
4388 * src/folderview.c: folderview_key_pressed(): go to next unread
4389 folder if space key is pressed on the empty folder.
4390 Move CTree focus before selecting row.
4394 * src/defs.h: modified the XLFD of default fonts.
4395 * src/textview.c: textview_create(): fixed a bug that caused
4396 segfault if font couldn't be loaded.
4398 src/grouplistdialog.c: compare subscribed groups with path.
4399 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
4403 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
4404 when URL is wider than wrapping margin.
4406 src/prefs_filter.[ch]
4407 src/summaryview.[ch]: added "Create filter rule" function based
4408 on the patch from Luca Rosellini.
4409 * src/summaryview.c: summary_filter_open(): added X-List and
4410 X-Mailing-list to the automatically detected headers.
4414 * configure.in: support Mac OS X (Darwin).
4418 * src/prefs_filter.c: use inc_(un)lock() instead of
4419 inc_autocheck_timer_{remove|set}().
4420 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
4421 instead of gtk_ctree_sort_node() so that messages within threads
4423 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
4424 target of sizeof was wrong and caused crash on Alpha architecture
4425 (thanks to Motonobu Ichimura).
4430 foldersel_gnode_func(): made the names of special folders
4432 foldersel_set_tree(): move the special folder to the top.
4433 * src/inputdialog.[ch]: input_dialog_query_password(): new.
4437 src/send.c: use input_dialog_query_password() instead of their
4438 own query functions.
4442 * src/defs.h: modified the default font.
4446 src/news.[ch]: moved the class definition and some methods to
4447 the proper location.
4451 * src/mimeview.c: mimeview_save_as()
4452 src/summaryview.c: summary_save_as(): put the default filename
4453 based on the subject.
4454 * src/utils.[ch]: added subst_chars() and subst_for_filename()
4455 which substitute some special characters with underscore.
4456 * src/filesel.c: filesel_select_file(): select the default filename.
4461 INSTALL.jp: added the description and the URL for libjconv.
4462 * src/mainwindow.c: menu entries cleanup.
4468 src/about.c: modified the copyright year.
4469 * src/gtkstext.h: added the notice for modification by the Sylpheed
4475 INSTALL.jp: added the URL for compface.
4483 * src/headerwindow.c
4486 src/sourcewindow.c: set wmclass when creating windows.
4490 * src/compose.c: compose_wrap_line_all(): fixed the bug that
4491 caused infinite loop when wrapping certain patterns of quoted text.
4495 * src/imap.c: imap_parse_envelope(): put the assertion after
4496 imap_parse_address() to prevent segmentation fault.
4501 src/mainwindow.c: modified some labels of menu items.
4502 * src/ldif.c: put the return value of fgetc() in a gint.
4503 * src/importldif.c: don't brace null strings with _().
4504 * src/compose.c: moved the position of Subject entry to the last.
4505 Reorganized the menu.
4506 compose_draft_cb(): added 'keep editing after saving to draft'
4511 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
4512 menu. Moved 'Help' menu to just the right of 'Configuration'.
4513 Removed 'File - Close' menu item.
4517 * src/mainwindow.c: some menu reorganization.
4518 * AUTHORS: updated. Added more contributors.
4519 * src/account.c: account_row_moved(): new. Moves displayed row to
4520 the appropriate position when up / down button are pressed.
4521 account_clist_set(): move displayed row to the appropriate position.
4523 src/mainwindow.c: set title and wmclass when creating windows.
4527 * src/gtkstext.c: fixed a bug that didn't show block cursor
4528 correctly. Removed unnecessary GdkGC copy. Fixed cursor
4533 src/undo.c: modified to use GtkSText.
4534 * src/menu.h: added #include <gtk/gtkmenu.h>.
4539 configure.in: added XIM checking for GTK+.
4540 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
4544 * src/filter.c: added #include <sys/types.h>.
4548 * src/template.c: template_write_config(): fixed a typo.
4549 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
4551 src/prefs_filter.c: supported regular expression (thanks to
4553 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
4554 undo state when pasted clipboard was empty.
4555 undo_check_size(): use g_list_last().
4557 undo_redo(): fixed NULL checking and made a bit of optimization.
4559 * src/prefs_common.c: changed the default value of linewrap length
4564 * reorganization of pixmap management.
4565 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
4566 * modified every files which directly use pixmaps data to use
4568 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
4569 undo_set_change_state_func(), and changed its argument from
4570 GtkWidget* to gpointer.
4571 undo_merge(): code cleanup.
4572 * src/compose.c: renamed compose_set_undo() to
4573 compose_undo_state_changed().
4577 * src/account.c: account_find_from_address(): made it case
4579 * src/addressbook.c: addressbook_create(): set wmclass.
4580 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
4583 src/ldif.[ch]: merged from the claws branch.
4584 * src/importldif.c: removed some warnings.
4585 imp_ldif_field_list_toggle(): fixed button checking.
4586 imp_ldif_dialog_create(): minor layout fix.
4587 * src/ldif.c: removed some warnings.
4589 INSTALL.jp: updated confirmation list.
4592 vcard_test_read_file(): fixed a memory leak of tagtemp.
4593 Some code cleanups (decreasing the indent level).
4596 src/syldap.[ch]: disabled runtime library checking because JPilot
4597 and LDAP libraries are linked on the build time, and the program
4598 doesn't execute without them anyway.
4600 src/addrindex.c: changed "J-Pilot" to "JPilot".
4601 Removed warning for atoi().
4605 * src/procmsg.c: procmsg_empty_trash()
4606 src/mainwindow.c: main_window_empty_trash(): empty trash only if
4607 it contains some messages.
4608 * src/imap.c: search_array_str(): new.
4609 imap_status(): fixed a bug that didn't parse the command response
4614 * merged undo function (by Jens Oberender).
4615 * src/undo.[ch]: new.
4616 undo_insert_text_cb(): fix for multibyte characters (obtain the
4617 number of letters instead of bytes).
4618 * src/compose.[ch]: added the code for undo.
4619 * src/prefs_common.[ch]: added the interface for setting undo level.
4623 * src/compose.c: compose_template_apply()
4624 src/prefs_template.c: prefs_template_clist_set_row()
4625 src/template.c: template_write_config(): don't replace To: and
4626 Subject: entry in composition window if they are empty.
4634 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
4635 * src/ldif.c: ldif_get_line(): ignore CR.
4636 * src/mimeview.c: mimeview_show_message(): search also text/html
4637 for first text part.
4641 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
4642 that didn't update accountrc if account_list == NULL (thanks to
4647 * src/utils.h: added the macro Xstrcat_a() that concatenates
4648 two strings and return alloca'd string.
4649 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
4650 handle folder name which includes some spaces correctly
4651 (based on the patch from Willem van Engen (thanks!)).
4652 * src/compose.c: compose_wrap_line_all(): fixed the crash when
4653 wrapping long lines if linewrap quotation is disabled and
4654 a word spanning more than one line.
4658 * applied the Tobias' patch with modification (thanks!).
4660 imap_msg_set_perm_flags()
4661 imap_msg_unset_perm_flags(): new. They set permanent flags to
4664 src/summaryview.c: set flags on IMAP server when flags are changed.
4668 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
4669 of gtk_container_remove() for workaround of a bug in
4670 Gtk{Text,Entry} (thanks to Sergey Vlasov).
4676 src/textview.c: replaced gtk_container_remove() with
4677 gtkut_container_remove(), and removed previous partial fix.
4681 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
4682 checked user ID on "local", but didn't on IMAP4.
4683 * src/imap.c: imap_session_get(): fixed a crash bug when
4684 rfolder->session == NULL.
4685 * Makefile.am: changed the arguments of tar from 'chojf' to
4687 * src/summaryview.c: summary_toggle_view(): disclaim the selection
4688 of textview before removing vpaned.
4692 * src/messageview.c: messageview_change_view_type(): disclaim the
4693 selection before removing textview. This solves the mysterious
4694 copy-paste disability (thanks to Melvin Hadasht).
4695 * src/textview.c: textview_set_font(): use
4696 gtk_editable_claim_selection() instead of
4697 gtk_editable_select_region().
4701 * src/prefs_template.c: prefs_template_window_create(): supported
4702 address completion on the To: entry.
4707 folder_count_total_msgs()
4708 folder_count_total_msgs_func(): use g_node_traverse() to traverse
4713 * src/compose.c: fixed a bug that empty body was refused.
4714 * src/prefs_template.c: fixed a bug that didn't set To: entry
4715 correctly. Display error dialog if format is illegal.
4716 * src/prefs_common.c
4718 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
4719 "{ }" to prevent confusion on using parenthesis.
4720 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
4724 * src/prefs_template.c: added colon to the header labels.
4729 src/prefs_template.c
4730 src/template.[ch]: added To field to the template.
4734 * src/textview.c: textview_show_part(): use first found
4735 message/rfc822 header.
4736 * src/folderview.c: added "Search messages..." to the context menu.
4737 * src/prefs_common.c: prefs_quote_description_create(): added
4738 description for characters which need to be escaped.
4742 * src/compose.c: compose_wrap_line_all(): more merging from claws.
4743 GET_CHAR(): renamed GET_TEXT() and made it more generic.
4744 Modified compose_wrap_line() and compose_wrap_line_all() to use
4746 * src/textview.c: textview_show_part(): show the header of nested
4747 RFC822 attachment correctly.
4752 src/main.c: added --status option to get new, unread and total
4753 message count from a running Sylpheed (merged from claws).
4754 prohibit_duplicate_launch(): output '\n' only once.
4759 src/gtkutils.[ch]: merged the new wrapping function.
4760 gtkut_text_str_compare_n()
4761 gtkut_text_str_compare()
4762 gtkut_text_is_uri_string(): backport from the GtkSText in the
4763 claws branch, and made modification.
4764 * src/prefs_template.c
4765 src/template.[ch]: added Subject to the template.
4769 * src/compose.c: compose_write_headers(): added missing parenthesis
4770 that generated invalid custom header (thanks to Masaaki Noro).
4771 Allow Sender: custom header.
4775 * src/procheader.c: procheader_date_parse(): workaround for
4776 RFC-incompliant Date header.
4780 * src/addrbook.c: removed redundant functions, and fixed generation
4781 of spurious address book file names.
4782 * src/addrindex.c: V-Card -> vCard.
4786 * src/textview.c: get_email_part(): replaced isalnum() with
4787 the macro IS_ASCII_ALNUM() which restricts the range of
4788 characters to 7bit ASCII (thanks to Shimamoto).
4789 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
4794 * src/textview.c: textview_show_part(): show headers on nested
4799 * src/imap.c: imap_session_get()
4800 src/news.c: news_session_get(): fixed segfault when reconnection
4802 * src/grouplistdialog.c: removed redundant code, and expand nodes
4803 that doesn't match the pattern.
4807 * src/compose.c: modified so that it sends message when any of
4808 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
4809 compose_check_for_valid_recipient(): new.
4810 * src/grouplistdialog.c: improved the UI.
4811 Added appropriate description and search button.
4812 Search doesn't get group list again.
4816 * src/news.[ch]: news_session_get(): update the last access time
4818 news_group_list_free(): new.
4819 * src/grouplistdialog.c: free resources correctly.
4824 src/grouplistdialog.[ch]: more merging of new newsgroup
4825 subscription dialog.
4826 * src/news.[ch]: renamed news_remove_group_list() to
4827 news_remove_group_list_cache().
4831 * src/defs.h: added MAX_ENTRY_LENGTH definition.
4832 * src/compose.c: compose_add_entry_field(): create new entry with
4837 * src/grouplistdialog.c: made non-leaf node selectable.
4838 Give the complete newsgroup name for each nodes.
4842 * src/grouplistdialog.c
4843 src/news.[ch]: merging of new newsgroup subscription dialog
4844 (still in progress. Don't use it yet!).
4848 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
4849 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
4851 compose_entries_set(): new. It parses mailto URL and put each
4852 values into the entries.
4856 * src/compose.c: compose_forward(): fixed a bug that forward
4857 quote mark wasn't used (thanks to Hironori IWANE).
4860 src/prefs_common.c: added Thai encodings (thanks to Manrat
4865 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
4869 src/news.c: added last_access_time to Session.
4870 imap_session_get(): check connection only when access interval
4879 * src/socket.c: ssl_gets(): use SSL_peek.
4880 * updated NEWS and AUTHORS.
4881 * Makefile.am: fixed release target.
4885 * src/template.c: changed the format of template file to
4887 * src/compose.c: compose_template_apply(): freeze the text widget
4888 while inserting strings.
4892 * po/POTFILES.in: removed src/template_select.c.
4893 * src/summaryview.c: summary_set_header()
4894 src/address.c: address_parse_str()
4895 src/filter.c: filter_read_str()
4896 src/news.c: news_parse_xover()
4897 src/procheader.c: procheader_get_fromname()
4898 src/utils.c: subject_compare():
4899 replaced Xalloca() + strcpy() with Xstrdup_a().
4900 * src/inputdialog.[ch]: added combo mode.
4901 input_dialog_combo(): new.
4902 * src/prefs_common.[ch]: added MIME open command setting.
4903 prefs_common_{read, save}_config(): read / write command history.
4904 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
4905 * src/utils.[ch]: add_history(): history list management function.
4909 * src/compose.c: select templates from the menu.
4910 compose_set_template_menu(): new.
4911 compose_reflect_prefs_all(): new.
4912 compose_template_apply(): new. Use dummy MsgInfo for parsing.
4913 * src/template.[ch]: store template list to the static heap.
4914 template_get_config(): new.
4915 template_set_config(): new.
4916 * src/prefs_template.c: don't store template list to the global area.
4917 * src/template_select.[ch]: removed.
4918 * src/quote_fmt_parse.y: check folderitem when quoting messages.
4919 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
4920 (thanks to OSHIRO Naoki).
4924 * src/utils.[ch]: get_template_dir(): new.
4925 * src/template.c: use get_template_dir().
4929 * src/prefs_template.c: modified the dialog layout.
4930 Added symbol description button.
4931 * src/summaryview.c: show an arrow mark to the column of the sort
4933 summary_set_column_titles(): new.
4939 TODO.jp: updated the documents.
4943 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
4944 * src/textview.c: textview_key_pressed()
4945 src/mimeview.c: mimeview_key_pressed()
4946 src/summaryview.c: summary_key_pressed(): delete messages with
4951 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
4952 when SSL_read() returned 0.
4953 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
4955 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
4956 Add prototype of yylex() to suppress the warning.
4957 * merged the template function.
4958 * src/prefs_template.[ch]
4960 src/template_select.[ch]: new.
4961 Renamed prefs_templates_* -> prefs_template_*.
4962 * src/compose.c: added template menu. Added replyinfo to Compose.
4963 * src/mainwindow.c: added template setting menu.
4964 * src/quote_fmt_lex.l: output literal tab and return as is.
4965 * src/prefs_common.c: changed the pref. name of quote format to
4966 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
4970 * src/prefs_common.[ch]: added Quote tab, and moved the quote
4971 setting from Compose tab.
4972 * merged the new quote format parser.
4973 * src/quote_fmt_lex.h
4976 src/quote_fmt_parse.y: new files for quote format parser.
4977 * configure.in: added checks for lex and yacc.
4978 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
4980 compose_quote_fmt(): new.
4981 * src/prefs_common.[ch]: added forward format setting to the
4982 Quote tab. Updated the quote description dialog.
4983 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
4984 if they couldn't get text part.
4988 * src/pixmaps/checkbox_off.xpm
4989 src/pixmaps/checkbox_on.xpm: new.
4990 * src/account.c: display `get all' status with the checkbox pixmaps.
4994 * src/send.c: code cleanup. Pass account prefs structure instead
4996 Query password for SMTP AUTH if not specified (thanks to Mio).
5000 * src/procheader.c: procheader_parse(): fixed a bug that didn't
5001 parse multiple message-id in In-Reply-To: header correctly
5002 (thanks to KAJIWARA).
5006 * src/account.c: enabled 'Get all' setting by clicking the 'G'
5007 column of account list, and added some description.
5008 * src/prefs_common.c: prefs_send_create(): added a description
5009 for outgoing codeset.
5013 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
5014 and added select button and short description.
5015 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
5017 procmime_get_mime_type_table()
5018 procmime_get_mime_type_list(): modified so that
5019 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
5020 $(HOME)/.sylpheed/mime.types are read.
5024 * src/prefs_account.c: moved the address auto-setting to the compose
5026 prefs_account_create(): removed gtk_widget_show_all() for proper
5028 * src/prefs_common.c: changed "Program path" to "Command".
5032 * src/textview.c: textview_set_font(): support Russian charset
5034 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
5038 prefs_summary_column.c: minor improvements to the English.
5039 * src/main.c: get_queued_message_num(): don't output the warning
5040 when queueing folder is not found.
5048 * src/prefs_summary_column.[ch]:
5049 made prefs_summary_column_get_config() public.
5050 * src/summaryview.c: summary_ctree_create(): some code cleanup.
5051 * configure.in: moved the position of SSL checking after LDAP
5052 for linking problem.
5057 src/summaryview.c: allowed reedit in the outbox.
5058 * src/prefs_summary_column.[ch]: new. UI for setting summary
5060 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
5061 It calls summary_set_column_order().
5062 * src/summaryview.[ch]:
5063 summary_ctree_create(): new. separated from summary_create().
5064 summary_set_column_order(): new. It destroys the current
5065 CTree and replaces it with the new one.
5069 * src/smtp.[ch]: smtp_from(): abort if auth failed.
5070 * changed C++-style comments into C-style in some files, and
5071 removed unnecessary commented out codes.
5072 * src/addrcache.[ch]
5076 src/syldap.[ch]: updated the addressbook code, and fixed the
5079 src/importldif.[ch]: new.
5083 * src/about.c: added some items to compiled-in features.
5084 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
5085 * src/addressbook.c: changed "V-Card" to "vCard".
5086 addressbook_edit_address_cb(): added
5087 invalidate_address_completion() to the point address is changed.
5088 * src/codeconv.c: changed C++-style comments into C-style.
5092 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
5096 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
5101 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
5103 * src/summaryview.c:
5104 summary_thread_init(): separated from summary_thread_build().
5105 summary_thread_build(): removed the codes for initialization.
5106 summary_set_ctree_from_list(): call summary_thread_init() instead
5107 of summary_thread_build().
5108 summary_filter(): fixed a bug that didn't moved messages despite
5109 of immediate execution setting.
5113 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
5114 reversed thread tree from message list.
5115 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
5116 node to the head instead of appending to the tail. This prevents
5117 the traverse of node list inside of the GtkCTree, and considerably
5118 speeds up the summary display (the order is O(n^2) -> O(n)).
5122 * src/prefs_common.c
5123 src/summaryview.[ch]: initial modification for reorderable columns.
5127 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a
5129 * src/folderview.c: folderview_button_pressed(): code cleanup, and
5130 turn sensitivity off if main window is locked.
5131 * src/syldap.c: syldap_read_data(): removed unnecessary and
5132 unportable sched_yield().
5136 * src/folderview.c: renamed "Update folder tree" context menu to
5137 "Rescan folder tree", and made "Update folder tree" only updates
5139 folderview_update_all_node(): don't show message dialog.
5140 * src/gtkutils.c: gtkut_widget_get_uposition()
5141 src/mainwindow.c: main_window_popup(): clip the coordinate to
5146 * src/utils.c: to_human_readable(): made a bit of optimization.
5147 * src/summaryview.c: summary_delete(): fixed a focus problem.
5148 summary_find_{prev,next}_msg(): new. They find previous/next
5149 message that is not deleted.
5150 * src/prefs_filter.c: scroll CList automatically if moved row
5151 becomes not fully visible.
5155 * updated some autotool scripts.
5156 * src/codeconv.c: conv_encode_header(): fixed a bug that caused
5157 infinite loop when failed to convert encoding.
5158 * src/codeconv.[ch]: a fix for older version of libjconv
5159 (jconv_info_get_current_codeset() returned "EUCJP" instead of
5168 * src/compose.c: compose_write_to_file()
5169 src/codeconv.c: conv_codeset_strdup(): more workaround for
5170 libjconv problem on C locale.
5171 * src/editldap_basedn.c: fixed segfault when opening dialog.
5172 * src/utils.c: is_next_mbs()
5173 src/compose.c: compose_wrap_line(), compose_wrap_line_all():
5174 changed MB_CUR_MAX to MB_LEN_MAX for compliance to ANSI C.
5175 * configure.in: increased the reqired version of GPGME to 0.2.3.
5176 * src/pop.c: pop3_getauth_user_recv(): fixed a bug that closed
5177 the receive dialog when POP3 server refused normal authentication.
5181 * src/prefs_common.c: prefs_receive_create(): correction to English.
5182 * src/compose.c: compose_set_ext_editor_sensitive(): fixed a bug
5183 that didn't set the menu sensitivity correctly (thanks to
5185 * src/summaryview.c: delete messages permanently if the current
5186 folder is trash and 'delete' operation is executed.
5187 Fixed the bug that didn't select the last row correctly (thanks
5188 to Alfons Hoogervorst).
5189 * src/folder.[ch]: folder_item_remove_msgs(): new. It removes
5190 all messages given in the list.
5194 * src/summaryview.c: summary_show(): fixed a bug that didn't show
5195 message even if the 'open unread message on entering folder'
5196 option was turned on.
5200 * src/procmime.c: procmime_get_text_content(): supported HTML.
5204 * src/summaryview.[ch]: implemented new locking mechanism, and
5205 replaced every static locks with summary_lock(), summary_unlock(),
5206 and added locks to some extra functions.
5207 This fixes a bug that caused segfault when 'd' (delete) key
5212 * src/addressbook.c: addressbook_folder_load_person(): fixed a bug
5213 that caused segfault (thanks to Stefaan A Eeckels).
5217 * src/textview.[ch]: added textview_set_position().
5218 * src/messageview.[ch]: added messageview_set_position().
5230 src/editldap_basedn.c
5235 src/vcard.c: converted C++-style comments into C-style one.
5236 * src/imap.c: QUOTE_IF_REQUIRED(): new macro. Copy string into
5237 new buffer and quote with double quotes if required.
5238 imap_status(), imap_cmd_login(), imap_cmd_list(),
5239 imap_cmd_do_select(), imap_cmd_create(), imap_cmd_delete(),
5240 imap_cmd_copy(): use QUOTE_IF_REQUIRED().
5241 * compose.c: compose_write_to_file(): workaround for the problem
5242 when using libjconv and 8bit codes cannot be converted on C
5244 * codeconv.[ch]: added "ANSI_X3.4-1968" to encoding strings.
5245 conv_codeset_strdup(): don't convert if source and destination
5246 codeset are identical.
5250 * src/textview.[ch]: textview_search_string_backward(): new.
5251 Add the new member cur_pos to TextView.
5252 Connect button_press_event with gtk_signal_connect_after() to
5253 obtain the correct editable position.
5257 * src/folder.c: folder_write_list_recursive(): preserve unthreaded
5262 * src/summaryview.c: modified the layout of popup menu.
5269 src/summaryview.c: applied the patch from Alfons that allows
5270 threading setting for each folders (tnanks!).
5274 * src/message_search.[ch]: new. A Dialog for searching in current
5276 * src/gtkutils.[ch]: gtkut_text_match_string(): new. Compare the
5277 text in current position of GtkText and given wide-character
5279 * src/messageview.[ch]: messageview_search_string()
5280 src/textview.[ch]: textview_search_string(): return TRUE if
5282 * src/textview.[ch]: remember the beginning of body.
5286 * src/procmime.c: procmime_get_first_text_content(): modified so
5287 that it search entire MIME structure.
5288 * src/summary_search.c: summary_search_execute(): use
5289 strdup_mbstowcs() instead of macro. Display matched message.
5293 * src/inc.c: fix for background POP3 hangs and crashes (thanks to
5295 * src/summary_search.c: added body searching function.
5296 * src/procmime.[ch]: procmime_find_string(): changed arguments
5297 and return value. Added case sensitivity option.
5301 * src/procmime.[ch]:
5302 procmime_find_string()
5303 procmime_find_string_part(): new. It searchs the string from
5305 Renamed procmime_get_text_part() to
5306 procmime_get_first_text_content().
5307 procmime_get_text_content(): new. It returns the text contents
5308 of the specified MIME part.
5309 procmime_mimeinfo_next(): new. It returns the next node of
5314 * src/procmime.c: procmime_get_text_part(): modified so that it
5315 finds a text part in nested multipart message correctly.
5316 * src/procmime.h: added an example of MimeInfo structure.
5317 * src/mimeview.c: mimeview_show_message(): search the first text
5322 * src/mainwindow.c: ac_menu_popup_closed(): fixed the bug that
5323 caused segfault. Changed 'Preferences per account...' menu item.
5331 * src/addrindex.c: translate the "Common address" and "Personal
5332 address" from old addressbook.
5336 * src/utils.c: get_quote_level(): some optimization and bugfixes.
5337 * src/codeconv.[ch]: conv_get_current_locale(): new.
5338 * src/editaddress.c: edit_person_page_basic(): reverse the order
5339 of first and last name on some locales.
5343 * src/compose.c: applied the patch from Yasumatsu that reformats
5344 the current paragraph (thanks!). Modified so that it doesn't
5345 reformat quoted paragraphs.
5346 compose_create(): don't fill the entry automatically on reedit
5349 src/summaryview.[ch]: added the "Mark all read" option.
5350 summary_mark_all_read(): new.
5358 src/editldap_basedn.c
5360 src/editjpilot.c: removed all warnings.
5362 src/jpilot.[ch]: fixed the problem that failed to detect JPilot
5363 header files on the Debian system.
5365 src/summaryview.[ch]: enabled sorting by mark, unread, attachment,
5366 and color label. Enabled moving to next/prev flagged messages.
5370 * src/pixmaps/dir-close.xpm
5371 src/pixmaps/dir-open.xpm
5373 src/pixmaps/unread.xpm: modified the color balance.
5374 * src/utils.[ch]: execute_sync(): new.
5375 execute_command_line(): added the arg for async mode.
5376 * src/inc.c: inc_mail(): use execute_command_line().
5381 src/prefs_common.[ch]
5382 src/prefs_account.c: modified the layout. Added the option to
5383 launch the external editor automatically.
5384 * src/compose.c: launch the external editor automatically if the
5389 * src/Makefile.am: added extra xpm's.
5393 * src/addressbook.c: fixed a compilation problem when enabling
5395 addressbook_open(): fixed a missing 'else'.
5399 * src/pixmaps/dir-close.xpm
5400 src/pixmaps/dir-open.xpm
5401 src/pixmaps/trash.xpm: replaced with the new blue icons.
5402 * merged Match Grun's new addressbook code.
5403 * src/pixmaps/address.xpm
5404 src/pixmaps/book.xpm
5405 src/pixmaps/category.xpm
5406 src/pixmaps/interface.xpm
5407 src/pixmaps/jpilot.xpm
5408 src/pixmaps/ldap.xpm
5409 src/pixmaps/vcard.xpm: new icons.
5413 src/addressitem.[ch]
5416 src/editaddress.[ch]
5421 src/editldap_basedn.[ch]
5426 src/vcard.[ch]: new. Many fixes to remove the huge amount of
5428 addrbook_build_avail_email_vis(): fixed a memory leak.
5432 * NEWS: brought in the all of the changes previously put on the web.
5437 src/summaryview.c: modified the layout of menus.
5438 * src/mainwindow.c: ac_menu_popup_closed(): fixed a bug that didn't
5439 return a focus to the main window after selecting the account menu.
5447 * src/send.c: send_message_data(): fixed a bug that didn't process
5448 body part correctly.
5452 * src/inc.[ch]: changed inc_autocheck_(un)lock() to inc_(un)lock().
5453 inc_mail(), inc_all_account_mail(): return immediately if locked.
5456 src/prefs_account.c: use inc_lock() and inc_unlock() instead of
5457 inc_autocheck_timer_{remove,set}().
5458 * src/summaryview.c: summary_set_colorlabel_color(): get the average
5459 of label color and selected fg color for visibility.
5463 * src/inc.[ch]: inc_autocheck_lock(), inc_autocheck_unlock(): new.
5464 They increase/decrease the lock count.
5465 inc_autocheck_func(): if locked, delay the autochecking 1 second.
5466 inc_autocheck_timer_set_interval(): set interval by its argument.
5467 * src/summaryview.c: summary_show(): lock the autochecking while
5469 * src/main.c: app_will_exit(): remove autocheck timer.
5471 src/defs.h: removed the definitions of PACKAGE and VERSION to
5472 prevent unnecessary compilation.
5473 * configure.in: changed AC_DEFINE_UNQUOTED of PACKAGE and VERSION
5474 to AC_SUBST, and added src/version.h to AC_OUTPUT.
5475 * src/version.h.in: new.
5476 * src/intl.h: changed dgettext() to gettext().
5480 * po/ja.po: fixed a typo that crashed Sylpheed with older version
5482 * configure.in: fixed a bug that didn't show results correctly.
5483 Fixed a bug that --enable-compface and --enable-jconv disabled
5485 * src/procmsg.c: procmsg_send_queue(): don't abort when sending
5487 * src/compose.c: compose_write_headers(): add Bcc: header to the
5489 * src/send.c: send_message_data(): new. Separated from
5490 send_message_smtp(). Remove Bcc: header before sending.
5498 * src/send.c: implemented sending with local sendmail command.
5499 send_message_local(): new. It executes command with popen()
5500 and send the contents of RFC822 message to the command.
5501 * src/prefs_common.[ch]: enabled the external sending command option.
5502 * src/defs.h: #define DEFAULT_SENDMAIL_CMD /usr/sbin/sendmail -t
5503 * src/account.c: account_edit_create(): widened the protocol column.
5504 * src/summaryview.c: summary_set_colorlabel_color(): cleanup of
5509 * src/folder.c: folder_item_remove_msg(): scan the folder again
5510 if the last message is removed.
5511 * src/compose.c: compose_queue(), compose_draft_cb(): remove the
5512 old reedited message after adding the new message.
5516 * src/compose.c: compose_queue(): added AID: to the queueing header.
5517 * src/send.c: send_message_queue(): look for AID: header, and use
5518 the server specified in the account instead of SSV: header.
5520 src/compose.[ch]: queued messages can be reedited now.
5521 compose_remove_reedit_target(): new. It removes the old reedited
5523 compose_send(), compose_queue(), compose_draft_cb(): if reedit
5524 mode, remove the old message.
5525 * src/procmsg.c: procmsg_msg_exist(): fixed a bug that output
5530 * applied the XML string table patch from Alfons Hoogervorst that
5531 stores strings in a hash table and minimizes memory allocations
5533 * src/stringtable.[ch]: new.
5534 removed all G and g_ prefix from type and function names since
5535 they're not official GLib symbol names.
5536 string_table_insert_string(): fixed a bug that might refer to an
5537 invalid pointer on lookup, and also made a bit of optimization.
5541 * merged the color label feature from the claws branch (thanks to
5542 Satoshi Nagayasu and Alfons Hoogervoost).
5543 * src/colorlabel.[ch]: new. Renamed from labelcolors.[ch].
5544 Renamed labelcolors_*() to colorlabel_*().
5545 * src/summaryview.[ch]: added color label support.
5546 * src/procmsg.h: added color label flags to the permanent flags.
5547 * updated to gettext 0.10.39.
5548 * src/summaryview.[ch]: put the color label menu item to ItemFactory.
5549 * sylpheed.desktop: added for GNOME.
5550 * configure.in: added AC_MSG_CHECKING() for some options.
5551 Output the configuration results when configure is finished.
5555 * src/account.c: account_clist_set_row(): fixed a bug that failed
5556 to compile if SSL was not enabled.
5560 * merged the SSL support from the claws branch (thanks to Christoph
5562 * src/ssl.[ch]: new.
5563 * src/socket.[ch]: added ssl_read(), ssl_write(), ssl_gets(), and
5565 sock_close(): call ssl_done_socket() if SSL is active.
5566 * src/md5.[ch]: removed MD5_CTX typedef and use MD5_CONTEXT to
5567 prevent type confliction.
5568 * src/prefs_account.[ch]: added SSL tab, and modified the expression.
5569 * src/esmtp.[ch]: added esmtp_ehlo(), and esmtp_starttls().
5570 Removed SSL initialization and HELO from esmtp_starttls().
5571 esmtp_auth(): removed use_smtp_auth from its arguments.
5572 * src/send.c: send_smtp_open(): added SSL support.
5573 * src/smtp.c: smtp_helo(): call esmtp_ehlo() if esmtp is true.
5577 * src/mimeview.c: mimeview_open_with(): braced '%s' with single
5582 * src/main.c: open new account dialog if no account is set.
5583 * src/utils.[ch]: log_verbosity_set(): new. It increase/decrease
5584 the verbosity count.
5585 log_print(): put to statusbar only if log_verbosity_count > 0.
5586 log_message(): put to statusbar.
5587 * src/inc.c: inc_pop3_session_do(): set log verbosity.
5588 * src/mainwindow.c: main_window_set_menu_sensitive(): added the
5589 "Compose new message" item.
5590 main_window_show_cur_account(): removed "Current account: " string.
5591 * src/summaryview.c: summary_show(): ignore the current marks if
5592 main window is locked.
5593 * src/compose.c: compose_attach_property(): fixed a bug that caused
5598 * src/mainwindow.c: main_window_get_current_state(): new. It returns
5599 the current state for the sensitivity of UI.
5600 main_window_set_toolbar_sensitive(): use table like
5601 main_window_set_menu_sensitive().
5605 * src/mainwindow.[ch]: added progressbar and status label to the
5607 main_window_close_cb(): don't exit if locked.
5608 * src/inc.c: update the progressbar of main window, too.
5612 * src/mainwindow.[ch]: main_window_set_toolbar_sensitive(): removed
5613 the second argument, and determine the sensitivity with the
5614 state of summary view.
5618 * src/pop.c: pop3_getsize_list_recv(), pop3_retr_recv(),
5619 pop3_delete_recv(): don't try to receive messages which are not
5624 * src/mainwindow.c: main_window_lock(), main_window_unlock():
5625 removed the whole menubar locking.
5626 main_window_set_menu_sensitive(): process the sensitivity change
5627 with a table, and deal with locking.
5631 * src/summaryview.[ch]: summary_get_selection_type(): new.
5632 It returns the current selection state of summary view.
5633 summary_key_pressed(): abort on some commands if main window
5635 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
5636 increase/decrease the lock count.
5640 * src/prefs_filter.c: prefs_filter_create(): added List-Id to the
5641 default header list.
5642 * src/prefs_common.[ch]: added the option for receive dialog mode
5643 to the Interface tab.
5644 * src/inc.[ch]: inc_progress_dialog_create(): don't make the dialog
5645 transient, and show dialog only if the setting is
5646 RECV_DIALOG_ALWAYS, or RECV_DIALOG_ACTIVE and a window is active.
5647 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
5648 new. Lock / unlock the user-interface.
5649 * src/progressdialog.c: progress_dialog_create(): don't make the
5654 * src/folderview.c: folderview_update_node(): suppressed unnecessary
5656 * src/menu.[ch]: menu_button_position(): new. It calculates the
5657 position of popup menu.
5658 * src/mainwindow.c: toolbar_account_button_pressed(),
5659 ac_label_button_pressed(): put the popup menu to the correct
5660 position. Change the style of the button while opening the menu.
5661 ac_menu_popup_closed(): new function called on selection_done
5663 * src/gtkutils.c: gtkut_ctree_node_next(): fixed a crash bug when
5665 * src/summaryview.c: applied the summary fix patch from Sergey Vlasov
5667 Fixed the bug that didn't select previous message in refresh mode
5668 if threads were not expanded.
5669 summary_select_node(): new.
5670 * src/inc.c: applied the summary view update optimization patch from
5671 Sergey Vlasov (thanks!).
5672 If no new messages are received, don't perform summary refreshing.
5673 In addition to the Vlasov's patch, POP3 receive information is
5675 * src/inc.h: added a new member cur_total_num to Pop3State.
5676 * src/pop.c: pop3_retr_recv(): increase state->cur_total_num.
5684 * src/summaryview.c: summary_set_row_marks(): got the color of
5685 unread row set properly.
5686 * src/folderview.c: foldreview_update_node(): don't use
5687 gtk_style_copy(), and reuse previously allocated styles.
5688 * README, README.jp: modified.
5692 * src/pop.c: pop3_getsize_list_recv(): fixed a remotly exploitable
5693 memory corruption bug (thanks to David Looney).
5694 * src/inc.c: inc_all_account_mail(): call inc_finished() even if
5695 there are no enabled accounts, or local spool only.
5696 * src/summaryview.c: applied the summary update improvement patch
5697 from Sergey Vlasov (thanks!). It keeps the position of the
5698 message displayed. Selected and displayed message are also kept.
5699 summary_get_msgnum(): new.
5700 summary_get_current_msgnum(): removed.
5701 summary_select_by_msgnum(): don't display the message.
5702 * src/account.c: added "Get all" column.
5703 account_clist_set_row(): show default and get-all flags with the
5705 * src/utils.c: to_human_readable(): increased the number of decimals
5710 * implemented the long-awaited :) "Add sender to address book" feature.
5711 * src/address.[ch]: added the argument for remarks to
5713 address_get_folder_list(): new. It traverses the address tree and
5714 returns the folder list.
5715 address_delete_object(): modified so that it removes the node
5717 * src/addressbook.[ch]: addressbook_add_submenu(): new. It creates
5718 a address folder menu and attaches it to the menu item.
5719 addressbook_refresh(): reload the address book folder tree.
5720 * src/summaryview.c: summary_set_add_sender_menu(): new. It attaches
5721 the menu to add sender to address book.
5722 summary_button_pressed(): call summary_set_add_sender_menu()
5723 before popup the menu.
5727 * src/summaryview.c: summary_thread_build(): fixed a bug that locked
5728 up the process. Optimized the initial thread build.
5732 * src/summaryview.c: made many code cleanups.
5733 summary_show(): block/unblock the signal handlers instead of
5734 disconnect/connect them.
5735 summary_set_row_marks(): made the font of collapsed node bold if
5736 it has cnildren marked as unread.
5737 summary_thread_build(): block tree_expand signals while processing.
5738 Use loop instead of the recursive function. Mark collapsed nodes
5740 summary_unthread(): block tree_collapse signals while processing.
5741 Use loop instead of the recursive function.
5742 summary_thread_func(), summary_unthread_func(): removed.
5743 summary_tree_expanded(), summary_tree_collapsed(): new callback
5745 * src/inc.[ch]: inc_pop3_session_do(): don't show alert panel when
5746 failed to connect. Show more detailed status on the dialog.
5750 * src/folderview.c: folderview_update_all_node(): new. It updates
5752 * src/inc.c: update all local folders after incorporation if
5753 scan_all_after_inc option is set.
5754 * src/prefs_common.[ch]: added scan_all_after_inc option.
5755 * src/folder.h: FOLDER_IS_LOCAL(): new macro.
5764 src/prefs_common.h: made bold and small font configurable.
5765 src/summaryview.c: display unread messages with bold font.
5766 * src/prefs_common.c
5768 src/summaryview.c: added an option to enable/disable the
5769 emphasis of unread messages.
5773 * src/pixmaps/mark.xpm: modified.
5774 * src/gtkutils.[ch]: gtkut_ctree_expand_parent_all(): new.
5775 * src/summaryview.c: summary_set_ctree_from_list(): don't expand
5776 the root messages of threads for performance improvement.
5778 summary_select_next_unread()
5779 summary_step(): expand threads when opening messages.
5780 summary_thread_build(): expand threads if the option is turned on.
5781 * src/prefs_common.[ch]: added "Expand threads" option.
5785 * src/prefs_common.c: removed "Emulate the behavior of mouse
5786 operation of Emacs-based mailer".
5787 * src/prefs_common.c
5788 src/prefs_account.c: changed the value of VSPACING_NARROW to 3.
5789 * src/pixmaps/new.xpm
5790 src/pixmaps/unread.xpm: reverted.
5795 address_folder_new()
5797 address_item_new(): changed the return value to AddressObject.
5798 address_build_tree(): don't put assertion for file.
5799 * src/pixmaps/new.xpm
5800 src/pixmaps/unread.xpm: modified a bit.
5804 * src/addressbook.c: fixed some bugs.
5808 * separated the logic part of addressbook into another module
5809 (still in progress).
5810 * src/address.[ch]: new. It contains the logic part of addressbook.
5811 * src/addressbook.[ch]: removed the logic part.
5815 * src/textview.c: textview_show_header(): fixed a bug that a garbage
5816 character was shown after header names.
5820 * src/inc.c: inc_start(): don't abort with non-fatal error.
5828 * src/mimeview.c: mimeview_view_file(): added -x option to the
5829 metamail to prevent the suspention of the main process.
5830 mimeview_button_pressed(): deactivate `Open' menu item if
5831 content-type is application/octet-stream.
5835 * src/imap.c: imap_parse_atom(): parse escaped characters properly.
5836 get_quoted(): new. It handles the escape character '\'.
5837 * src/folder.c: folder_read_list(): don't output warning if
5838 folderlist.xml doesn't exist.
5839 * src/main.c: main(): write folder list after setup.
5840 * src/textview.c: textview_create()
5841 src/compose.c: compose_create(): set default tab width to 8.
5845 * src/prefs_common.c: date_format_select_row(): fixed a bug that
5846 caused segfault when selecting the list with key.
5850 * src/mainwindow.c: main_window_popup(): deiconize the window
5851 when popup (thanks to Henrik Carlqvist).
5852 * src/procmime.c: procmime_scan_mime_type(): new.
5853 procmime_scan_content_type(): use procmime_scan_mime_type().
5854 procmime_scan_mime_header(): scan the extension of attached files
5855 and add the correct MIME type if the Content-Type is
5856 "application/octet-stream" (thanks to Don Quijote).
5857 * src/compose.c: compose_toolbar_create(): added a new "Send later"
5858 icon (thanks to Leandro Pereira).
5862 * src/prefs_common.c: date_format_create(): modified the layout of
5867 * src/account.c: account_find_from_address(): fixed a minor bug.
5868 * src/prefs_common.c: incorporated the user-interface for setting
5869 date format from the claws branch, and made some modification to
5874 * src/account.[ch]: account_edit_create(): modified the text of
5876 account_find_from_address(): new.
5878 procmime_scan_content_type(), procmime_scan_content_disposition():
5879 fixed ESC code detection.
5880 * src/compose.c: compose_reply(): automatically select account
5881 according to the message header.
5882 * src/prefs_common.[ch]: added member "reply_account_autosel".
5886 * src/progressdialog.c: made the CList scrollable.
5887 * src/inc.c: inc_start(): don't abort with non-fatal error.
5891 * added English Sylpheed User's Manual by Paul Kater
5892 (paul@nlpagan.net) (thanks!).
5895 src/mainwindow.c: added support for English manual.
5896 * manual/en/sylpheed*.html: added English documentation.
5901 * src/nntp.c: nntp_ok(): fixed the bug that didn't handle a response
5902 that didn't have any trailing messages.
5903 * src/smtp.c: smtp_ok(): ditto.
5904 * src/compose.c: compose_account_option_menu_create(): modified
5905 the style of the account option menu.
5909 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
5910 remove return code from strings automatically.
5911 prefs_custom_header_create(): added "X-Face" to the default
5913 * src/news.c: news_fetch_msg(), news_get_group_list()
5914 src/imap.c: imap_fetch_msg(): create the cache directory before
5917 procmime_scan_content_type()
5918 procmime_scan_content_disposition(): convert JIS into EUC-JP
5920 * src/codeconv.c: conv_unmime_header(): cleaned up a bit.
5921 * src/compose.c: don't append attachment headers if the attach
5922 pane is visible but the list is empty.
5923 * src/recv.c: recv_bytes_write(): use g_malloc() instead of alloca().
5931 * src/compose.c: compose_quote_parse_fmt()
5932 src/prefs_common.c: prefs_quote_description_create(): added the
5933 symbol `%c' that allows to include Cc in reply format (thanks
5936 src/procmime.c: procmime_decode_content(): applied the patch
5937 from Sergey Vlasov that allows to decode base64 data with
5938 unusual line length (not a multiple of 4) (thanks!).
5942 * src/procmsg.[ch]: separated the permanent flags and temporary
5943 flags into two variables, and made MsgFlags a structure that
5945 MSG_SET_PERM_FLAGS()
5947 MSG_UNSET_PERM_FLAGS()
5948 MSG_UNSET_TMP_FLAGS(): new macros.
5956 src/summaryview.c: modified for the new MsgFlags.
5957 * src/utils.[ch]: hash_free_value_mem(): new. It frees the values
5962 * src/inc.c: inc_pop3_recv_func(), inc_progress_update():
5963 display current size with human-readable format.
5964 * src/grouplistdialog.c: grouplist_recv_func(): ditto.
5971 conv_unmime_header(), conv_unmime_header_overwrite(): workaround
5972 for raw-JIS code in header fields.
5974 folder_get_default_folder()
5975 folder_get_default_inbox()
5976 folder_get_default_outbox()
5977 folder_get_default_draft()
5978 folder_get_default_queue()
5979 folder_get_default_trash(): fixed a bug that caused segfault
5980 if folder_list is NULL.
5990 * src/grouplistdialog.c: grouplist_dialog_set_list(): update UI
5991 while retrieving newsgroup list.
5992 grouplist_dialog_create(): added entry widget and status label.
5993 grouplist_recv_func(): new.
5994 refresh_clicked(): added exclusive lock variable.
5995 clist_selected(): set text entry when the CList is selected.
5996 renamed from group_clist_select().
5997 entry_activated(): new.
5998 grouplist_clear(): renamed from grouplist_free(). Also clears
5999 list and entry widget.
6000 * src/news.c: news_get_group_list(): sped up the list appending
6001 (g_slist_append() becomes very slow if list size is large).
6002 * src/defs.h: added UI_REFRESH_INTERVAL definition.
6003 Changed the definition of NEWSGROUP_LIST.
6004 * src/recv.c: recv_write()
6005 src/send.c: send_message_smtp(): changed the UI refresh interval
6006 to UI_REFRESH_INTERVAL (50msec).
6007 * src/account.c: account_add(): fixed a bug that didn't update
6008 folder tree when a news account was added.
6009 * src/grouplistdialog.c: made exclusive lock variable global, and
6010 lock at grouplist_dialog_set_list().
6011 * src/textview.c: fixed a bug that disabled clickable URI if
6012 message color was disabled.
6016 * src/grouplistdialog.c: ok_clicked(), cancel_clicked(): don't
6017 quit main loop if gtk_main_level() is 1.
6018 grouplist_dialog_set_list(): freeze CList while appending the list.
6019 grouplist_dialog(): show dialog before updating the list.
6023 * src/folder.c: folder_write_list_recursive(): add the attribute
6024 `collapsed' if a node have some children.
6025 * src/grouplistdialog.[ch]: new. Newsgroups can be selected from
6028 news_get_group_list(): new. It returns newsgroup list.
6029 news_remove_group_list(): new. It removes newsgroup list cache.
6030 * src/folderview.c: folderview_new_news_group_cb(): call
6031 grouplist_dialog() instead of input_dialog().
6035 * autogen.sh: modified.
6037 src/folderview.c: made expand/collapse state of folders persistent
6046 * src/imap.c: imap_remove_folder(): select INBOX with EXAMINE before
6048 imap_cmd_do_select(): new. It toggles between SELECT and EXAMINE
6049 according to the argument.
6050 imap_cmd_select(): use imap_cmd_do_select().
6051 imap_cmd_examine(): new.
6052 * src/folderview.c: folderview_rm_imap_folder_cb(): select current
6053 folder again when removing failed.
6059 * manual/ja/sylpheed.sgml
6060 manual/ja/*.html: updated the Japanese manual (thanks to Imai).
6061 * src/summaryview.c: summary_set_row_marks(): fixed a bug that
6062 didn't set foreground correctly.
6064 src/summaryview.h: removed the member color_normal from FolderView
6066 * src/mainwindow.c: main_window_create(): removed color_normal.
6070 * src/prefs_account.[ch]: the port numbers of IMAP4 and NNTP
6072 * src/imap.c: imap_session_get()
6073 src/news.c: news_session_new_for_folder(), news_session_get():
6074 use user-defined port number if specified.
6078 * src/imap.c: imap_scan_tree_recursive(): get mailbox status when
6080 imap_scan_folder(): implemented. It updates the numbers of new,
6081 unread and total messages.
6082 imap_status(): new. It parses the response of STATUS command.
6083 imap_status_uidnext(): removed.
6084 imap_cmd_status(): removed.
6085 * src/textview.c: textview_show_part(): fixed potential memory leaks.
6089 * src/alertpanel.c: alertpanel_create(): fixed truncated message.
6090 * src/rfc2015.c: rfc2015_decrypt_message(): fixed the case problem
6091 of content-type (thanks to Ren?Rebe for the patch).
6092 * src/codeconv.c: code_get_code_conv_func(): fixed the ISO-8859-1
6094 * src/prefs_common.c: prefs_send_create(): made some more character
6095 sets specifiable when not using libjconv.
6096 * configure.in: disabled --enable-threads option temporarily.
6098 INSTALL.jp: deleted the description about --enable-threads option.
6102 * updated gettext to 0.10.38.
6108 * src/folderview.[ch]: folderview_set_all(): new.
6109 * src/account.c: account_add(): call folderview_set_all() after
6110 creating IMAP4 tree.
6111 account_edit_create(): account preferences dialog can be opened
6112 with double clicking of the list.
6113 account_selected(): new.
6114 account_clist_set(): made the CList focus set correctly.
6118 * src/imap.c: imap_scan_tree(): call imap_create_trash() if trash
6120 imap_scan_tree_recursive(): search the sub folders of INBOX.
6121 recognize Trash folder.
6122 imap_create_tree(): separated the part of creating trash.
6123 imap_create_trash(): new.
6124 * src/folder.c: folder_build_tree(), folder_write_list_recursive():
6125 preserve no_sub and no_select.
6126 * src/summaryview.c: summary_show(): don't proceed if item->no_select
6131 * src/imap.c: imap_scan_tree(): fixed a bug that didn't set the
6132 root folder correctly.
6136 * src/folderview.[ch]:
6137 folderview_update_tree(): new. It updates one folder tree.
6138 folderview_update_tree_cb(): new.
6139 Added "Update folder tree" to the popup menu, and modified some
6144 * src/imap.c: implemented the autoscan of IMAP4 folder list.
6145 imap_scan_tree(): new. It scans the whole IMAP4 folder.
6146 imap_scan_tree_recursive(): new. It traverses the IMAP4 folder tree.
6147 imap_parse_list(): new. It parses the LIST response.
6148 imap_get_real_path(): new. It converts local path into IMAP4 path.
6149 * src/folder.h: added no_sub and no_select to FolderItem.
6150 * src/folder.c: folder_tree_destroy(): reset some variables.
6151 * src/folderview.c: folderview_scan_tree_func(): supported IMAP4.
6155 * src/imap.c: imap_parse_envelope(): fixed a bug that didn't
6156 parse the FETCH response that continues to the next line.
6157 imap_parse_fetch_element(): removed.
6158 imap_parse_atom(), imap_parse_one_address(), imap_parse_address(),
6159 imap_parse_envelope(), imap_get_uncached_messages(): use GString
6160 and sock_getline() to parse the FETCH response.
6161 imap_remove_all_msg(): fixed a bug that didn't delete messages
6163 imap_parse_address(): fixed a bug that didn't concaternate
6164 addresses correctly, using GString.
6165 * src/socket.[ch]: sock_getline(), fd_getline(): new. They read
6166 the whole line and return the newly allocated string.
6167 * src/prefs_account.[ch]: added `IMAP server directory' entry.
6173 * src/imap.c: imap_create_tree(): pass the path that is separated
6174 by the local filesystem separator to imap_create_folder().
6175 imap_create_folder(): examine the existence of folders using
6176 LIST command instead of STATUS.
6177 imap_cmd_list(): new.
6178 imap_query_password(): new.
6179 imap_session_new(): query password if it is not set.
6183 * src/imap.c: imap_parse_envelope(): FETCH results can be parsed
6184 with arbitrary order.
6185 imap_parse_fetch_element(): new. it parses one pair of name and
6186 value of FETCH results.
6187 imap_parse_flags(): modified for more flexibility.
6188 * src/utils.[ch]: set_log_file(): new. it opens a new file for
6190 close_log_file(): new. it closes the opened log file.
6191 log_print(), log_message(), log_warning(), log_error(): also
6196 * src/imap.c: imap_cmd_status(): check the pointer to "value"
6197 before the assignment (thanks to NISHIJIMA).
6201 * src/folderview.c: folderview_drag_motion_cb(): don't allow DnD
6202 across MH and IMAP4 folder (for now) (thanks to Hiramatu).
6203 * src/foldersel.[ch]: don't show folders which can't be targets
6215 imap_cmd_store(): use UID instead of sequential number.
6216 Renamed imap_set_article_flags() to imap_set_message_flags().
6217 * src/summaryview.c: summary_execute(): don't update summary
6218 even if current folder is IMAP4.
6219 * src/utils.[ch]: remove_numbered_files(): changed the type of
6220 arguments from gint to guint.
6224 * src/imap.c: imap_cmd_login(), imap_cmd_select(), imap_cmd_status(),
6225 imap_cmd_create(), imap_cmd_delete(), imap_cmd_copy(): don't
6226 enclose with double quotation if string doesn't have space
6227 (workaround for old Cyrus IMAP4 server).
6228 imap_create_folder(): fixed a bug of separator substitution.
6229 renamed imap_session_connect_if_not() to imap_session_get().
6230 imap_get_msg_list(): delete all cached messages if use_cache
6232 imap_delete_cached_messages(): remove cached files in between
6233 the specified range by reading directory entry.
6234 imap_parse_one_address(): set fromname same as the from address
6236 * src/utils.[ch]: remove_numbered_files(): new. The range is
6238 * src/summaryview.c: summary_execute(): update summary if current
6240 KEY_PRESS_EVENT_STOP(): new macro.
6241 summary_key_pressed(): stop signal emission when calling
6243 summary_select_by_msgnum(): show message only if
6244 msg_is_toggled_on is TRUE. Move current page to the selected
6246 * src/news.c; news_delete_old_articles(): remove cached files in
6247 between the specified range by reading directory entry.
6249 folderview_selected(), folderview_button_released(): fixed a bug
6250 that didn't select folder correctly.
6256 src/prefs_common.c: improvements to the English (thanks to Paul
6258 * src/mainwindow.c: compose_cb()
6259 src/summaryview.c: summary_key_pressed()
6260 src/compose.c: compose_new_with_recipient(): newsgroups entry
6261 is automatically filled when composing a new article.
6265 * src/procmsg.c: procmsg_msg_list_free(): fixed a bug that didn't
6266 free list correctly.
6272 * src/imap.c: imap_find_namespace(): replace namespace path
6273 separator with slash before comparison.
6274 imap_remove_folder(): use namespace.
6275 imap_create_tree(): use namespece when creating Trash.
6276 imap_get_msg_list(): fixed a bug that returned old list and caused
6277 memory leak if exists == 0.
6278 imap_select(): new. It's a wrapper for imap_cmd_select().
6279 * src/foldersel.c: foldersel_set_tree(): show IMAP4 folder too.
6284 folderview_new_folder_cb()
6285 folderview_new_imap_folder_cb(): show error dialog when creation
6286 or deletion of folder failed.
6287 Made it allow users to create a folder which contains subfolders.
6288 folderview_button_pressed(): disabled delete menu on the special
6290 * AUTHORS: incorporated from claws branch. It now contains all
6292 * src/send.c: enabled cancellation.
6293 EXIT_IF_CANCELLED(): new macro.
6294 Added cancelled flag to SendProgressDialog.
6295 * src/utils.[ch]: strtailchomp(): new. It removes the trailing
6296 specified character.
6297 * src/imap.c: imap_cmd_fetch(): a fix for MS Exchange 2000 server.
6301 * src/imap.c: imap_create_tree(): new. It creates required
6302 folders such as INBOX and Trash.
6303 imap_do_copy(), imap_do_copy_msgs_with_dest(): don't expunge
6305 imap_remove_all_msg(): return immediately if exists == 0.
6306 * src/account.c: account_add(), account_set_missing_folder():
6307 made them use folder->create_tree().
6311 * src/imap.c: more namespace implementation.
6312 imap_find_namespace(), imap_path_separator_subst(): new.
6316 * src/imap.c: imap_parse_namespace(), imap_cmd_namespace(): new.
6320 * src/summaryview.c: summary_show(): fixed a glitch in folder view.
6324 * src/imap.[ch]: added imap_add_msg(), and imap_append_message(),
6325 which appends file into IMAP4 folder.
6327 imap_create_folder(): check the existence of a folder before
6329 renamed the prefix of low-level IMAP4rev1 functions to imap_cmd.
6330 * src/account.c: account_add(), account_set_missing_folder():
6331 create INBOX automatically when creating IMAP4 account.
6335 * src/utils.[ch]: added itos_buf() that takes the buffer for its
6337 * src/imap.[ch]: imap_copy_msg(), imap_copy_msgs_with_dest(): new.
6338 * src/folder.c: added copy_msg and copy_msgs_with_dest methods
6343 * src/utils.[ch]: move_file(): new.
6344 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): modified to
6345 use move_file(), and fixed a bug that didn't close file when
6350 * src/imap.c: renamed imap_delete_messages() and
6351 imap_delete_all_messages() to imap_delete_cached_messages() and
6352 imap_delete_all_cached_messages(). Some code cleanups.
6353 * src/utils.[ch]: added a function remove_all_numbered_files().
6354 * src/mh.c: mh_remove_all_msg()
6355 src/imap.c: imap_delete_all_cached_messages():
6356 use remove_all_numbered_files().
6359 src/compose.[ch]: added `Reply to sender'.
6361 compose_reply_set_entry(): added an argument `ignore_replyto'.
6365 * src/folderview.c: folderview_selected()
6366 src/summaryview.c: summary_show(): fixed a bug that updated wrong
6367 folder when remaining marks were processed.
6371 * src/headerwindow.c: headerwindow_show_cb(): always try to show
6372 msginfo, and use the selected message, not the displayed one.
6373 * src/smtp.c: smtp_ok(): fixed sock_gets() error handling.
6377 * src/folderview.c: folderview_selected()
6378 src/mimeview.c: mimeview_selected(): ungrab the mouse event.
6379 * src/summaryview.c: summary_show(): process the left marks if any.
6383 * src/passphrase.c: enclosed with #if USE_GPGME.
6384 * src/prefs_account.c: added NNTP AUTH check button.
6385 * src/alertpanel.[ch]: alertpanel_create(): added new argument
6386 `can_disable', all existing callers changed to pass FALSE;
6387 created a check button to disable the message.
6388 alertpanel_message_with_disable(): new.
6389 alertpanel_show(): mask value with G_ALERT_VALUE_MASK.
6390 alertpanel_button_toggled(): new.
6391 alertpanel_button_clicked(), alertpanel_close(): set value using
6393 * src/prefs_common.[ch]: added option to toggle GnuPG signature
6394 check popup window, and GnuPG warning.
6395 * src/rfc2015.c: check_signature(): show signature check dialog
6396 only if it is enabled.
6397 * src/main.c: modified GnuPG checking.
6399 src/prefs_common.c: fixed some compilation bugs when enabled
6404 * src/codeconv.c: conv_get_code_conv_func(): fix for ISO-8859-*
6405 encodings with libjconv.
6406 conv_encode_header(): fixed an endless loop bug when encountering
6407 an invalid wide character (thanks to Alte).
6408 * src/headerview.c: SET_FONT_STYLE(): fixed segfault with invalid
6410 * src/imap.c: imap_create_folder(): don't create folder if the
6412 * src/mainwindow.c: main_window_reflect_prefs_all(): hide the
6413 execute button when immediate execution is enabled.
6418 README.jp: added the "How to run" section.
6422 * merged NNTP AUTH from the claws branch.
6423 * src/news.[ch]: supported NNTP AUTH.
6424 * src/nntp.[ch]: wrapped SockInfo with NNTPSockInfo for NNTP AUTH.
6426 INSTALL.jp: modified the confirmation list and the warning about
6431 * src/gtkutils.[ch]: moved folderview_find_collapsed_parent() to
6432 gtkut_ctree_find_collapsed_parent().
6433 * src/folderview.c: folderview_select_node(): automatically expand
6434 the parent folders when selected.
6435 * configure.in: made the version number to 0.4.99 (0.5pre)
6436 * src/main.c: main(): moved parse_cmd_opt() before gtk_init()
6437 so that X is not necessary for --help and --version.
6438 parse_cmd_opt(): changed g_get_prgname() to g_basename(argv[0]).
6439 * src/folderview.c: folderview_update_node(): a fix for collapsed
6444 * src/main.c: lock_socket_input_cb(): changed fd_read() to fd_gets().
6445 It caused garbages in --compose option.
6446 * src/socket.[ch]: made fd_gets() public.
6450 * src/gtkutils.[ch]: gtkut_ctree_node_next(): new.
6451 * src/folderview.c: folderview_find_next_unread(): new.
6452 folderview_select_next_unread(): modified so that it can find
6457 * src/compose.c: compose_write_headers(): excluded also From, To,
6458 Sender because they could be used for SPAM.
6459 * src/folderview.c: add '+' mark to the collapsed folder that have
6460 some unread folders.
6461 folderview_search_new_recursive(),
6462 folderview_have_new_children(),
6463 folderview_search_unread_recursive(),
6464 folderview_have_unread_children(),
6465 folderview_find_collapsed_parent(): new.
6466 folderview_update_node(): display the number of queued messages.
6471 src/mh.[ch]: modified *_add_msg() to use link(). Added the
6472 argument to switch whether to remove the source file or not.
6475 src/mbox.c: modified the argument of folder_item_add_msg() and
6476 removed some unlink()'s.
6480 * src/prefs_customheader.[ch]: renamed prefs_headers_* to
6481 prefs_custom_header_*. Removed `(New)' row and `Substitute'
6482 button. Supported empty value.
6483 prefs_custom_header_row_moved(): new. Connected "row_move" signal
6484 to the function, and made it set header list.
6485 * src/customheader.c: custom_header_get_str()
6486 src/compose.c: compose_write_headers(): supported empty value.
6487 * src/prefs_display_header.c: prefs_display_header_row_moved(): new.
6488 Connected "row_move" signal to the function, and made it set
6490 * src/compose.c: compose_write_headers(): modified the order of
6491 headers, and made it encode the custom headers.
6492 * src/prefs_customheader.c: prefs_custom_header_delete_cb()
6493 src/prefs_filter.c: prefs_filter_delete_cb(): treat closing the
6494 alert panel by ESC as "No".
6498 * merged the custom header stuff from claws branch:
6499 * src/customheader.[ch]
6500 src/prefs_customheader.[ch]: new.
6501 * src/customheader.c: custom_header_read_str(): use strtol() instead
6502 of atoi() and check errors.
6503 custom_header_find(): new function.
6504 * src/compose.c: IS_IN_CUSTOM_HEADER(): new macro.
6505 compose_write_headers(): made it replace headers with user-defined
6506 headers except for some automatically generated headers.
6510 * src/inc.c: connection_check_cb(): fixed a bug that caused
6511 segmentation fault if connection was not established.
6512 * src/compose.c: compose_create(): even if set_autobcc or set
6513 autoreplyto is checked and the entries are empty, show them.
6517 * src/textview.c: textview_show_mime_part(): modified the messages.
6518 TEXT_INSERT(): new macro.
6520 * src/prefs_display_header.c: prefs_display_header_create():
6521 modified the text of checkbutton.
6525 * src/mimeview.c: added "Open with..." to the context menu.
6526 * src/summaryview.c: summary_print()
6527 src/inputdialog.c: input_dialog(): fixed memory leaks.
6528 * src/textview.c: textview_show_mime_part(): updated the description.
6529 * src/send.c: implemented sending progress dialog.
6530 (TODO: automaton should be used.)
6531 send_progress_dialog_create(), send_progress_dialog_destroy(),
6533 send_message_smtp(): made it update the dialog for each stage.
6534 * src/utils.[ch]: get_left_file_size(): new. Get the left bytes
6536 * src/summaryview.c: summary_show(): when open_inbox_on_inc is set,
6537 go to first unread message even if folder is same as previous.
6538 * src/prefs_common.c: made color selection dialog transient, and
6539 made escape key close the dialogs.
6545 * src/select-keys.c: delete_event_cb(): removed `;' from its end.
6546 * src/recv.c: recv_write(): changed the interval to 10msec.
6547 * src/prefs_display_header.c: modified the layout of the dialog,
6548 and made the hidden headers list insensitive when `Show other
6549 headers' is not checked.
6550 * src/textview.c: changed strcasecmp() and strncasecmp() to
6551 the corresponding glib functions.
6552 * src/inc.c: get_spool(): make a temporary file in the home
6557 * src/prefs_common.c
6569 src/sigstatus.c: fixed a bug that accidentally destroyed dialogs
6570 when closed them with delete_event (thanks to DINH).
6571 Added *_deleted() and *delete_event() which handle delete_event
6576 * src/prefs_display_header.c: merged some changes from claws branch:
6577 prefs_display_header_create(): allow reordering of headers by
6579 prefs_display_header_find_header(): new function.
6580 prefs_display_header_clist_set_row(): don't allow duplicates.
6581 * src/prefs_account.c: prefs_account_receive_create(): changed
6582 the label of the check button.
6586 * src/pop.c: pop3_getsize_list_recv(): if sscanf() failed, break
6588 * src/inc.h: removed cur_msg_bytes from Pop3State.
6589 * src/inc.c: pop3_recv_func()
6590 src/recv.[ch]: made the second arguments of RecvUIFunc current
6592 recv_write(): made it call UI func if elapsed time is greater
6594 * src/recv.c: recv_write(): changed the interval to 300 usec.
6595 * src/textview.c: textview_show_header(): if header is Subject,
6597 * src/utils.[ch]: unfold_line(): new.
6598 * src/procheader.[ch]: procheader_get_header_array(): new.
6599 * src/prefs_display_header.c: updated defaults.
6603 * some merge from the sylpheed-claws branch.
6604 It allows user to specify displayed headers in message view.
6605 (symbol names were also changed.)
6606 * src/prefs_display_header.[ch]
6607 src/displayheader.[ch]: new.
6608 * src/prefs_display_header.c:
6609 removed prefs_display_headers_other_headers_toggled().
6610 removed "(New)" row from the list.
6611 * src/defs.h: added DISPLAY_HEADER_RC.
6612 * src/prefs_common.c: prefs_message_create(): added a button for
6613 opening the display header setting dialog.
6614 * src/prefs_common.h: added show_other_header and disphdr_list
6616 * src/procheader.[ch]: procheader_get_header_list_from_file(),
6617 procheader_get_header_array_asis(): new.
6618 procheader_get_header_list(): modified so that it takes FILE
6619 pointer for its argument.
6620 procheader_header_array_destroy(), procheader_header_free(): new.
6621 * src/main.c: main(): made it call prefs_display_header_*_config().
6622 * src/textview.c: textview_scan_header(): modified so that it
6623 sorts headers according to user setting.
6624 src/textview_show_header(): made it call
6625 textview_make_clickable_parts().
6626 textview_make_clickable_parts(): added GdkFont to its arguments,
6627 and removed GtkText from them.
6631 * implemented auto-checking of new mail based on the patch from
6632 Pierric Descamps (thanks!).
6633 * src/inc.c: added inc_autocheck_timer_init(),
6634 inc_autocheck_timer_set(), inc_autocheck_timer_remove(),
6635 inc_autocheck_func() for auto-checking of new mail.
6636 * src/main.c: main(): call inc_autocheck_timer_init().
6637 * src/prefs_common.c: prefs_receive_create(): activated the
6638 auto-checking UI. Added prefs_common_cancel(), and connected
6639 some signals to that.
6640 * src/prefs_common.c
6643 src/account.c: Disabled auto-checking while opening the dialog.
6644 * src/headerview.c: headerview_show_xface(): fixed a bug that
6645 showed a warning when header pane was hidden.
6651 src/recv.c: removed non-blocking socket mode support since it
6654 src/inc.c: modified the messages of incorporation dialog.
6658 * src/utils.h: made u32 the typedef of guint32.
6659 added BIG_ENDIAN_HOST macro that is used by md5.c.
6660 * src/md5.c: renamed md5c.c. Fixed the indentation. Fixed a bug
6661 that didn't calculate MD5 correctly on big endian machines.
6667 * src/folder.c: folder_init(): added the method imap_remove_folder.
6668 * src/folderview.c: folderview_rm_imap_folder_cb(): made it
6669 actually remove folder from IMAP4 server.
6670 * src/imap.[ch]: imap_create_folder(): made it actually create
6671 folder on IMAP4 server.
6672 imap_remove_folder(): added.
6673 imap_create(), imap_delete(): added.
6674 * src/summaryview.c: summary_execute_delete(): don't check trash
6675 if folder type is not F_MH.
6676 * thanks to Ishihara for the above changes.
6678 ac/check-type.m4: better wint_t typedef detection (renamed
6679 sv_CHECK_TYPE to SYLPHEED_CHECK_TYPE).
6683 * src/recv.c: recv_bytes_write(): fixed another bug that caused
6684 infinite loop and buffer overrun.
6688 * src/socket.[ch]: renamed sock_read() and fd_read() to
6689 sock_gets() and fd_gets() for preventing confusion.
6690 Added sock_read() and fd_read() which is the wrapper of read().
6691 * src/recv.c: recv_bytes_write(): fixed a bug that caused infinite
6692 loop. Use sock_read() instead of fd_read().
6699 src/smtp.c: use sock_gets() instead of sock_read().
6700 * src/imap.c: imap_session_new(): fixed the error detection
6705 * src/inc.c: made it displays current read bytes to the dialog.
6706 * src/pop.c: recv_write(): call UI function before editing
6711 * src/progressdialog.c: progress_dialog_create(): modified the
6712 size of dialog and made it stretchable.
6714 src/esmtp.c: smtp_ok(), esmtp_ok(): fixed a bug that didn't
6715 process an error response correctly (thanks to Ohmasa).
6716 * src/pop.[ch]: added pop3_getsize_list_send(),
6717 pop3_getsize_list_recv().
6718 * src/recv.[ch]: added recv_set_ui_func() that makes recv_write()
6719 call the callback function for each sock_read().
6720 * src/inc.h: in Pop3State, renamed bytes to total_bytes, and added
6721 cur_msg_bytes, cur_total_bytes, and sizes.
6722 * src/inc.c: added inc_pop3_recv_func() that updates the progress
6723 bar for each sock_read().
6727 * src/mh.c: mh_is_maildir_one(): modified so that it uses
6730 2001-04-25 Werner Koch <wk@gnupg.org>
6732 * src/mh.c (mh_is_maildir_one, mh_is_maildir): New.
6733 (mh_scan_tree_recursive): Do not include Maildir style directories
6736 Changed the use of integers to describe sockets by an more abstract
6739 * src/automaton.h (struct _Automaton): Add help_sock.
6740 * src/automaton.c (automaton_input_cb): Changed source to be
6741 SockInfo and use wrapper for gdk_input_add.
6743 * src/send.c (SEND_EXIT_IF_ERROR): Adjusted tests and removed test
6744 for invalid socket because this is now done in sock_close. Set
6746 (SEND_EXIT_IF_NOTOK): Set closed sock to NULL.
6747 (send_smtp_open): Use only SockInfo.
6749 * src/news.c (news_session_new): Use SockInfo here.
6750 (news_session_destroy): Ditto and set sock to NULL.
6752 * src/nntp.c: Use SockInfo instead of integers
6753 * src/smtp.c: Ditto.
6755 * src/recv.c: Ditto.
6757 * src/inc.c (inc_pop3_session_do): Removed sock_sockinfo_free. Put
6758 gdk_input_add into a wrapper.
6760 * src/esmtp.c: Changed socket descriptors to use SockInfo.
6761 * src/esmtp.h: Ditto, included socket.h.
6762 * src/session.h (struct _Session): Likewise.
6763 * src/imap.c (imap_open): Return SockInfo ptr and not an integer.
6764 Removed access to internal data of SockInfo. Changed all callers
6765 and functions to take SockInfo.
6766 (imap_session_new): Use sock_close here.
6767 (imap_session_destroy): Ditto.
6769 * src/compose.c (compose_exec_ext_editor): Replaced sock_write by
6772 * src/main.c (app_will_exit): Close lock socket using fd_close.
6773 (prohibit_duplicate_launch): Use fd_xxx functions instead of sock_xxx.
6774 (lock_socket_input_cb): Ditto.
6776 * src/socket.h, src/socket.c: Prepared SockInfo structure to use
6777 glib channels. Changed all sock_xxx to use SockInfo instead of an
6779 (sock_connect_unix, sock_open_unix, sock_accept): Renamed to ..
6780 (fd_connect_unix, fd_open_unix, fd_accept): .. this and changed all
6782 (fd_read, fd_write, fd_close): New.
6783 (sock_sockinfo_free): Removed.
6784 * src/socket.c (sock_connect_nb): Use close instead sock_close here.
6785 (sock_connect): Ditto.
6789 * config.h.in: removed.
6790 * ac/Makefile.am: added gnupg-check-typedef.m4 to MACROS.
6791 * .cvsignore: added.
6793 src/progressdialog.[ch]
6794 src/pixmaps/complete.xpm
6795 src/pixmaps/continue.xpm
6796 src/pixmaps/error.xpm: applied the patch from Leandro Pereira
6797 that displays the state of message incorporation (thanks!).
6798 * src/inc.c: made the progress dialog change the text of status.
6802 * removed po/*.gmo, configure, stamp-h.in, aclocal.m4, Makefile.in
6804 * COPYING: removed RSA copyright notice.
6805 * removed po/sylpheed.pot, po/stamp-cat-id, po/cat-id-tbl.c.
6806 * configure.in: added the check of sys/utsname.h.
6808 2001-04-24 Werner Koch <wk@gnupg.org>
6810 Merged most of the changes from the W32 branch in.
6812 * configure.in: Require gpgme >= 0.2.1
6814 * acconfig.h (HAVE_U32_TYPEDEF): New.
6815 * ac/gnupg-check-typedef.m4: New.
6816 * configure.in: Check for u32 type and the size of some types.
6817 * src/utils.h: Define the u32 type and related constants.
6819 * src/about.c (about_create): Removed the note about MD5. We are
6820 not any longer using the RSA Inc. implementation.
6821 * src/md5ify.c, src/md5ify.h, src/md5global.h: Removed.
6822 * src/md5c.c, src/md5c.h: Replaced by an FSF implementation and
6823 renamed the function to standard lowercase convention. Changed all
6825 (md5_hex_digest): New.
6826 (md5_hmac): Add hmac function by Martin Schaaf with some
6828 (md5_hex_hmac): New.
6829 * src/esmtp.c, src/esmtp.h (md5_hex_hmac): Removed.
6830 (hmac_md5): Removed.
6831 * src/pop.c (pop3_getauth_apop_send): Replaced the md5_digest by
6832 the new md5_hex_digest function.
6834 * src/about.c: Include utsname.h only if available
6836 * src/utils.c, src/utils.h (get_home_dir): New to better cope with
6837 special Windoze requirements. Changed all calls to
6838 g_get_home_dir() to this function.
6840 * simple-gettext.c: New.
6842 * src/main.c (main): Issue a warning if GnuPG is not properly
6845 * src/sigstatus.c, src/sigstatus.h: New.
6846 * src/rfc2015.c (check_signature): Use the sigstatus window and
6847 get the status texts from a utility function.
6849 * src/select-keys.c: Removed the global select_keys var and
6850 pass an allocated one along all functions.
6851 (set_row): Display only keys capable of encryption.
6852 (update_progress): Replaced the progressbar by
6853 a windmill and a text showing for which key we are collecting
6854 info. Removed progressbar everywhere else and updated callers.
6856 * src/prefs_common.c (prefs_privacy_create) [__MINGW32__]: Do not
6857 display the grab button.
6861 * src/prefs_common.[ch]
6862 src/procheader.c: applied the patch from Darko Koruga that
6863 allows user to define their own format for displaying date in
6864 summary view using strftime() (thanks!).
6865 * src/prefs_common.c: prefs_quote_colors_dialog()
6866 src/mainwindow.c: main_window_reflect_prefs_all(): made it
6867 update message colors if the colors setting is changed.
6868 * src/main.[ch]: made it remember the startup directory.
6869 * src/export.c: export_mbox(): made it initially chdir to the
6871 * src/filesel.c: filesel_select_file(): made it open the startup
6876 * added option to warn about queued messages on exit [sergey]:
6878 * src/compose.c: compose_queue(): call folder_item_scan()
6879 and folderview_update_item() after queueing.
6880 * src/folderview.c: folderview_update_node(): draw the queue
6881 folder in bold font if there are queued messages.
6882 * src/mainwindow.c: queued_messages(): new function.
6883 app_exit_cb(): display warning if there are queued messages
6884 if warn_queued_on_exit is set.
6885 * prefs_common.[ch]: add warn_queued_on_exit option.
6887 * src/mainwindow.c: moved queued_messages() to main.c, and renamed
6888 it to get_queued_message_num().
6889 * src/main.c: app_will_exit(): moved warning dialog code from
6890 app_exit_cb(), and added manage_window_focus_in().
6892 * enhanced GnuPG key selection support [sergey]:
6894 * src/select-keys.c: updated to newer version from Win32
6895 branch with support for selecting arbitrary keys.
6896 * src/prefs_account.c: added the Privacy tab to the account
6898 prefs_account_privacy_create(),
6899 prefs_account_sign_key_set_data_from_radiobtn(),
6900 prefs_account_sign_key_set_radiobtn(): new functions.
6901 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
6902 * src/rfc2015.c: set_signers(): new function.
6903 pgp_sign(): add the account parameter, call set_signers().
6904 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
6905 * src/rfc2015.h: rfc2015_sign(): updated prototype.
6906 * src/compose.c: pass the current account to rfc2015_sign().
6910 * src/mbox.c: export_to_mbox(): fixed a memory leak bug.
6914 * src/mbox.[ch]: renamed export_mbox() to export_to_mbox().
6915 Fixed a memory leak bug.
6916 * src/export.[ch]: added for exporting folder to mbox.
6917 * src/import.[ch]: made import_mbox() take default folder.
6918 Added description to the dialog.
6919 * src/summaryview.c: summary_show(): fixed a bug that kept the
6920 toolbar buttons insensitive after receiving messages.
6922 src/import.c: fixed a bug that caused quitting of the program
6923 when OK or Cancel button was clicked several time.
6924 * src/prefs_common.[ch]
6925 src/addressbook.c: added "Add address to destination when
6926 double-clicked" option.
6930 * src/prefs_common.[ch]: reorganized the items of settings,
6931 and added Message tab.
6932 * src/main.c: parse_cmd_opt(): added command line option --version.
6933 * src/mh.c: made it unset MSG_DELETED flag when moved/copied to
6935 * src/prefs_common.[ch]
6936 src/headerview.[ch]: the header pane can be toggled now.
6937 * src/prefs_common.[ch]
6938 src/textview.c: page scroll step is now selectable between
6939 one page and half page.
6940 * src/mbox.[ch]: added export_mbox() that reads all messages
6941 in a folder, and store them into one mbox file.
6945 * src/prefs_filter.[ch]: separated filter setting code from
6946 prefs_common.c, and made it a separate dialog.
6952 * src/automaton.[ch]
6953 src/inc.c: fixed the bug that made Sylpheed crash when clicking
6954 Cancel button while getting new mail (thanks to Sergey Vlasov).
6955 * src/xml.c: xml_build_tree()
6956 src/addressbook.c: fixed a bug that caused infinite loop if an
6957 illegal XML file was given.
6962 src/inc.c: applied the patch from Sergey Vlasov that fixes the
6963 problem when the "Go to inbox after receiving new mail" option
6964 was turned off (thanks!).
6968 * src/xml.[ch]: modified so that it supports some characters which
6969 must be escaped, and multiple-lined tag.
6971 src/addressbook.c: modified so that it escapes some characters
6972 like '<', '>', '&', ''', '"'.
6982 src/summaryview.[ch]: applied the patch from Darko Koruga that
6983 adds copy message operation for the MH folders (thanks!).
6984 * src/imap.c: disabled slash to dot conversion.
6985 * src/imageview.c: fixed a bug that displayed an old image when
6986 loading of a image failed (thanks to Darko Koruga).
6990 * src/procmsg.c: procmsg_read_cache(): added setvbuf() to speed up
6991 cache reading (thanks to Sergey Vlasov).
6993 src/summaryview.[ch]
6994 prefs_common.[ch]: applied the patch that keeps the same folder
6995 after receiving new mail (thanks to Sergey Vlasov).
6997 src/utils.[ch]: moved get_quote_level() to utils.c.
7001 * ac/Makefile.am: added.
7003 configure.in: added ac directory.
7007 * src/summaryview.c: summary_filter(): made it move messages
7008 immediately if immediate_exec option is set.
7009 * src/prefs_common.[ch]
7011 src/gtkutils.[ch]: applied the message coloring patch from
7012 Stephen Anthony with some modification (thanks!).
7014 src/mimeview.c: modified the behavior of MimeView (thanks to
7019 * src/utils.c: copy_file()
7020 src/mh.c: applied (and modified) the patch from Darko Koruga
7021 that enables to move messages across file systems (thanks!).
7023 src/utils.[ch]: applied the patch from Jorge Van Hemelryck
7024 that converts the date of messages to the local time (thanks!).
7025 * src/utils.c: remote_tzoffset_sec(): fixed a bug that the signs
7026 of one-letter timezone were reversed.
7027 * src/folder.c: folder_item_add_msg(): put the assertion for the
7028 add_msg() method (thanks to TAKANO).
7032 * src/procmime.c: procmime_decode_content(): fixed a bug that
7033 corrupted quoted-printable encoded messages when they include
7034 `=00' (thanks to Masahiro Tomita).
7037 src/summaryview.c: modified the DnD behavior of MIME view
7038 (thanks to HIRAMATSU).
7042 * src/about.c: applied the patch from Sergey Vlasov that fixes
7043 the appearance of the about dialog (thanks!).
7044 * src/prefs_common.[ch]
7050 src/textview.[ch]: applied the GnuPG support patch which had
7051 ported from the sylpheed-win32 branch (thanks to Sergey Vlasov).
7052 * INSTALL, INSTALL.jp: updated the description about GnuPG.
7056 * src/utils.[ch]: added references_list_append() that parses
7057 References header and makes it string list.
7058 * src/compose.c: modified so that too long References header is
7059 truncated, garbage characters are removed, and header is tidied
7060 up (thanks to Matthias Intemann).
7064 * src/addr_compl.c: applied the address completion bugfix patch
7065 from Alfons Hoogervorst (thanks!).
7069 * src/gtksctree.c: modified so that the tree_select_row signal
7070 actually pass the column number.
7071 * src/summaryview.c: summary_selected(): made generic mark and
7072 unread mark can be toggled with clicking of the columns.
7073 Added summary_mark_row_as_read() and summary_mark_row_as_unread().
7074 * src/prefs_common.c
7075 src/prefs_account.c: applied the layout fix patches from Sergey
7076 Vlasov, and adjusted some widths of GtkEntry widgets.
7077 * src/prefs.c: prefs_dialog_create(): enable notebook to take focus.
7078 * src/inc.c: inc_start(): modified so that authentication dialogs
7079 show server name too (thanks to Sergey Vlasov).
7083 * src/mimeview.c: mimeview_key_pressed(): fixed a bug that caused
7084 segmentation fault when a malformed multipart message is shown
7085 (thanks to Sergey Vlasov).
7086 * src/summaryview.c: summary_display_msg(): made it focus to the
7087 summary view if the MIME list is empty.
7091 * src/pixmaps/deleted.xpm
7092 src/pixmaps/mark.xpm
7093 src/summaryview.c: added deleted and mark icon.
7094 * src/gtkutils.c: gtkut_widget_init(): changed gtk_widget_destroy()
7095 to gtk_widget_unref().
7096 * src/addr_compl.c: start_address_completion(): fixed the bug that
7097 displayed warning when the address book was empty (thanks to
7102 * src/summaryview.c: summary_show(): fixed a memory leak bug
7103 (thanks to ChiDeok Hwang).
7104 * src/pixmaps/forwarded.xpm
7105 src/pixmaps/replied.xpm
7107 src/pixmaps/unread.xpm
7112 src/summaryview.[ch]: applied the patch from Marc Hoper
7113 that adds replied and forwarded mark to replying or forwarding
7114 messages (thanks!). And new and unread mark were replaced
7115 by the icons David Mehrmann created (thanks!).
7116 * src/summaryview.c: made the width of unread and MIME column
7118 * src/prefs.c: prefs_config_parse_one_line(): made it check the
7119 '=' separator (thanks to Sergey Vlasov).
7123 * src/prefs_common.[ch]: moved smooth scroll option to the
7125 * src/textview.c: made the one-line scroll also perform smooth
7130 * src/prefs_common.[ch]
7131 src/textview.c: applied the smooth scroll patch from Setoh and
7136 * src/summaryview.c: summary_attract_by_subject(): rewritten it
7137 using hash table for speeding up.
7138 * src/prefs_account.c: made filter_on_receive TRUE by default.
7139 * src/mainwindow.c: reordered menu items.
7143 * src/gtkutils.c: gtkut_clist_bindings_add(): fixed a bug that
7144 caused address completion not to accept space and enter key.
7149 src/codeconv.c: fixed a bug that didn't encode non-ASCII headers
7151 * src/compose.c: fixed a bug that didn't decode some headers
7152 correctly when replying or reediting drafts (thanks to Sergey
7157 * src/gtkutils.[ch]: added gtkut_widget_init() that modifies the
7158 behaviors of some classes.
7159 * src/main.c: main(): made it call gtkut_widget_init() first.
7160 * src/summaryview.c: summary_create(): removed the key binding code.
7164 * src/procmsg.[ch]: modified for the sake of readability.
7168 * src/mainwindow.c: changed "Clean trash" to "Empty trash".
7169 Added new menu items for folder manipulation.
7170 allsel_cb(): made it change the target between summary view and
7171 message view according to the input focus.
7172 Removed "Select all" from Summary submenu.
7173 * src/folderview.[ch]: added functions for creating/renaming/deleting
7175 * src/procmsg.[ch]: made "marked" and "deleted" flag permanent, and
7176 removed "important" flag.
7177 * src/summaryview.c: added summary_set_row_marks() that sets style
7178 of a row according to the flags, and made some functions use it.
7179 * src/mainwindow.c: allsel_cb(): modified so that it selects
7180 summary view correctly if message view is toggled off.
7184 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a resource
7185 leak bug of socket, and rewrote the routine.
7186 * src/inc.c: inc_mail(), inc_all_account_mail(): fixed a bug that
7187 displayed the wrong unread number in the folder tree if a
7188 folder was open and new messages arrived at the folder.
7189 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug
7194 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): made it
7195 check the existence of the destination file.
7196 * src/procmsg.c: procmsg_set_flags(): made it count the last
7197 number of the message list (and fixed a bug that didn't open
7198 newly arrived message).
7202 * src/prefs_common.c: prefs_send_create(): removed EUC-JP and
7203 Shift_JIS from the outgoing codeset.
7211 * src/send.c: send_message_queue(): modified so that it finds
7212 the account from the `From' and the server name of the queued
7214 * src/account.[ch]: added account_find_from_smtp_server() that
7215 finds an account from the specified address and SMTP server.
7218 src/summaryview.[ch]
7219 src/sourcewindow.[ch]: integrated the viewing source patch from
7220 DINH V. Hoßþ(thanks!).
7224 * src/addr_compl.[ch]
7226 src/compose.c: applied the enhanced address completion patch
7227 from Alfons Hoogervorst (thanks!).
7228 * src/addr_compl.c: replaced g_assert() with g_return(_val)_if_fail().
7229 * src/folder.c: folder_init()
7230 src/folderview.c: folderview_drag_motion_cb()
7231 src/procmsg.c: procmsg_clean_trash()
7232 src/summaryview.c: summary_start_drag()
7233 src/imap.[ch]: integrated the IMAP4 move/remove function patch
7234 from Suzuki Mio (thanks!).
7238 * src/main.c: parse_cmd_opt(): made the --compose option realize
7240 * src/utils.[ch]: execute_async(): supported quoted arguments
7242 strstr_with_skip_quote(), strsplit_with_quote(): quote-supported
7243 version of g_strsplit().
7244 * src/mimeview.c: mimeview_view_file()
7245 src/prefs_common.c: added single quotation mark around the file
7257 src/utils.[ch]: applied the security fix patch from Dmitry V.
7258 Levin with some modification (thanks!). Added my_tmpfile() to
7260 * src/main.c: added --receive-all command-line option.
7264 * src/socket.c: sock_connect_thread(): fixed a bug that didn't
7265 compile if both multithread and IPv6 are enabled (thanks to
7268 src/compose.c: applied a patch from Jason McCarver that allows
7269 FIFO for signature file (thanks!).
7270 * src/textview.c: made some more refactoring.
7271 * src/socket.c: sock_accept(): changed socklen_t to gint.
7276 src/textview.c: some code cleanups.
7282 src/textview.c: integrated the patch from Alfons Hoogervorst that
7283 fixes some glitches in clickable URI and enables mail addresses
7284 clickable, and enables the --compose command line option to
7285 specify address (thanks!).
7292 src/prefs_account.[ch]
7293 src/Makefile.am: applied the SMTP AUTH patch from Martin Schaaf
7294 and fixed its a few bugs (thanks!).
7295 * src/textview.c: textview_key_pressed(): made it don't move focus
7297 * src/main.c: parse_cmd_opt(): modified the help message.
7298 * src/html.[ch]: added empty_line to HTMLParser and modified
7299 the parser routines a bit.
7303 * src/html.c: added eucjp_symbol_list, and added some characters
7304 to ascii_symbol_list.
7308 * src/codeconv.[ch]: added a member `charset' and `charset_str'
7310 * src/html.[ch]: added the symbol list for ISO-8859-1 codeset.
7311 html_parser_new(): made it change the symbol hash table
7312 according to the character set of the document.
7313 html_parse_special(): made it recognize character code number.
7317 * src/textview.c: added textview_show_html() that parses HTML and
7319 textview_show_part(): made it call textview_show_html() if
7320 the part is text/html.
7321 * src/html.[ch]: implemented HTML parser.
7325 * src/codeconv.[ch]: added CodeConverter, and its methods
7326 (conv_code_converter_new(), conv_code_converter_destroy(), and
7328 * src/textview.c: removed the branches by HAVE_LIBJCONV and
7329 rewrote them using CodeConverter.
7333 * src/mbox.c: proc_mbox(): workaround for duplicated From_ line.
7337 * src/codeconv.c: some code cleanups.
7341 * src/mainwindow.c: main_window_popup(): fixed a bug that didn't
7342 popup the main window correctly.
7343 * src/codeconv.h: fixed a bug that the definition of CS_EUC_CN and
7344 CS_EUC_TW was reversed (thanks to Sakamoto).
7351 src/socket.[ch]: applied the patch from Hiramatu that enables
7352 prohibition of multiple execution and remote control with
7353 command line option (thanks!).
7357 * src/summaryview.c: summary_button_pressed(), summary_selected():
7358 made it toggle the view if middle button is clicked while message
7360 summary_drag_data_get(): fixed a memory leaking.
7362 src/compose.c: compose_write_headers(): modified so that it uses
7363 host_alias for X-Mailer or X-Newsreader field.
7369 * src/folderview.c: fixed a bug that prevented a folder from being
7370 created if there were already folders that have the same name
7371 somewhere at another place.
7375 * src/folderview.c: folderview_update_all(): fixed a bug that
7376 caused segmentation fault when a folder was selected after
7377 updating the folder tree.
7378 * src/compose.c: compose_send(): fixed a locking bug.
7379 compose_write_headers(): fixed a bug that referred to cur_account.
7380 compose_convert_header(): made it check the arguments.
7384 * src/main.c: some cleanups and added --help option.
7388 * src/send.c: re-enabled user-defined domain name setting.
7389 * src/utils.c: is_next_mbs(): changed the size of temporary
7390 multibyte array to MB_CUR_MAX.
7391 strdup_mbstowcs(): added error check to mbstowcs().
7392 strdup_wcstombs(): added error check to wcstombs().
7393 * src/addr_compl.c: get_address_from_edit(): made it check the
7394 return value of strdup_mbstowcs().
7395 * src/codeconv.c: conv_encode_header(): added error checking
7396 to strdup_mbstowcs().
7400 * src/utils.c: log_error(): changed g_error() to g_warning() so
7401 that it doesn't abort.
7403 * src/addr_compl.c: add_address(): fixed a bug that aborted the
7404 program if the name or the address is empty.
7405 get_address_from_edit(): supported multibyte characters.
7406 * configure.in: fixed a typo.
7407 * src/send.c: re-enabled user-defined SMTP port setting.
7413 * configure.in: added --enable-gpgme option, and disabled GPGME
7415 * made GPGME related members in MimeInfo not used if disabled.
7416 * src/rfc2015.c: some cleanups for warning.
7420 INSTALL.jp: updated.
7421 * Makefile.am: modified bzip2 option.
7425 * src/procmime.[ch]: added MIME_APPLICATION_OCTET_STREAM to
7427 * src/mimeview.c: mimeview_view_file(): made it do nothing if
7428 the MIME type is application/octet-stream.
7429 * src/folderview.c: folderview_update_all(): made it show modal
7430 dialog while updating folders.
7431 * src/folderview.c: folderview_update_all(): fixed a bug that
7432 didn't remove the dialog.
7436 * src/mimeinfo.c: merged the patch from John E.P. Hynes that
7437 launches the attached file using metamail (thanks!).
7438 * src/procmime.[ch]: added procmime_get_tmp_file_name().
7440 src/addr_compl.[ch]: merged the patch from Alfons Hoogervorst
7441 that enables address completion in the address entry on the
7442 composition window (thanks!).
7443 * src/addr_compl.c: get_all_addresses(), read_address_book():
7444 modified so that it uses xml_free_tree() for freeing the address
7449 * src/utils.c: remove_dir_recursive(): fixed a bug that failed to
7450 remove the current directory (thanks to Maki).
7451 * src/summary_search.c: added `Select all matched' option to the
7452 search dialog (thanks to Takahashi).
7453 * src/pixmaps/stock_mail_attach.xpm
7454 src/pixmaps/tb_address_book.xpm
7455 src/compose.c: added some toolbar icons contributed from
7456 Leandro Pereira (thanks!).
7460 * src/rfc2015.c: passphrase_cb(): *finally* fixed a bug that caused
7461 segmentation fault when the passphrase dialog was cancelled.
7462 Hided the passphrase in the debug message.
7463 * src/about.c: about_create(): fixed a bug that failed to compile
7464 when none of the features were used.
7465 * src/foldersel.c: foldersel_set_tree(): made it display all
7467 * src/inc.c: inc_start(): fixed a bug that showed password dialog
7468 continuously if it was cancelled.
7469 * src/summaryview.c: summary_write_cache(): put an assertion after
7470 folder_item_get_cache_file() to prevent the crash.
7471 * thanks to Maki for the above four fixes.
7472 * src/utils.h: added #include <alloca.h>.
7476 * src/rfc2015.c: changed some g_message() used for error messages
7481 * src/procmsg.[ch]: modified READ_CACHE_DATA() macro so that
7482 it can handle a string data of which length >= BUFFSIZE.
7483 * src/rfc2015.c: rfc2015_encrypt(): changed return to `goto failure'.
7484 * src/pixmaps/stock_mail_receive_all.xpm
7485 src/pixmaps/stock_mail_reply_to_all.xpm
7487 src/mainwindow.c: main_window_toolbar_create(): added new toolbar
7488 icons contributed from David Mehrmann (thanks!).
7489 * src/inc.[ch]: overhauled the architecture so that it don't create
7490 and destroy progress dialog for each incorporation in `get all'
7495 * src/mh.c: mh_scan_tree_recursive(): fixed a bug that mistook
7496 sub folders named `inbox', etc. as special folders.
7497 * src/rfc2015.c: rfc2015_encrypt(): fixed a bug that didn't quote
7502 * applied the GnuPG patch from Werner Koch (thanks!).
7503 * removed Mixmaster support.
7504 * src/rfc2015.c: changed g_error() to g_warning() and modified some
7506 * src/about.c: about_create(): modified compiled-in features list.
7510 INSTALL.jp: updated.
7511 * src/select-keys.c: create_dialog(): modified the layout.
7512 * src/headerwindow.c
7514 src/logwindow.c: made it raise the window if the window is already
7516 * src/prefs_common.[ch]: added an option for immediate execution.
7517 * src/summaryview.c: made it execute immediately when messages are
7518 moved or deleted if immediate_exec option is turned on.
7519 * src/summaryview.c: summary_delete(), summary_move_selected_to():
7520 moved summary_step() before summary_execute().
7521 * src/folderview.c: folderview_update_all(): made it scan folder
7523 * src/compose.c: compose_write_headers(): made it don't add
7524 In-Reply-To header if to_list is empty.
7526 2001-01-09 Werner Koch <wk@gnupg.org>
7528 * configure.in, acconfig.h: Check for GPGME.
7529 * ac/: New directory for local autoconf macros.
7530 * src/Makefile.am: Add support for GPGME
7532 * src/main.c (idle_function_for_gpgme): New.
7533 (main): Register this function.
7535 * src/about.c: Add a note about GPGME.
7537 * src/rfc2015.c, rfc2015.h: New.
7539 * src/mimeview.c (mimeview_show_message): Check signature.
7540 * src/procmime.c (procmime_scan_message): Ditto.
7542 * src/messageview.c (messageview_show): Add decryption stuff.
7544 * src/compose.c (compose_write_to_file): Encrypt the file if requested.
7545 (compose_toggle_encrypt_cb): New
7546 (compose_toggle_mixmaster_cb): New, just to be prepared for
7548 (compose_write_headers): Suppress some headers in mixmaster mode.
7550 * src/prefs_common.c (prefs_common_create): Add Privacy notebook sheet.
7551 (prefs_privacy_create): New. Also some new structures etc.
7552 * src/compose.c (compose_create): Set encrypt button to prefs default.
7553 * src/compose.h (struct _Compose): Add use_encryption, use_mixmaster.
7555 * src/compose.c (compose_send): Add missing unlock before one return.
7559 * src/gtksctree.[ch]
7561 src/summaryview.[ch]: applied the patch from Hiramatu that enables
7562 DnD from the summary view to the folder view and fixes some other
7564 * src/mainwindow.c: scan_tree_func(): fixed a bug that caused
7566 * src/imap.c: quoted user name in LOGIN and folder name in SELECT.
7567 * src/gtksctree.c: gtk_sctree_button_press(): fixed a bug that
7568 didn't toggle expansion of node.
7572 * src/imap.c: applied the patch from Nishimura that updates the
7573 message list more precisely and reads the message flags (thanks!).
7574 * src/textview.c: textview_show_header(): made X-Newsreader field
7576 * src/summaryview.c: summary_show(): made it flush events when
7581 * src/summaryview.c: applied the patch from Alfons that enabled
7582 the horizontal scrollbar of summary view (thanks!).
7586 * src/compose.c: compose_cb(): fixed a bug that didn't open the
7587 composition window right after launching the program.
7588 * src/setup.c: scan_tree_func(): fixed a bug that caused
7595 * src/textview.c: textview_set_font(): fixed a bug that caused
7596 segmentation fault if the mode of the text widget was changed
7597 between multibyte and singlebyte while the region was selected
7603 src/summaryview.c: made it unable to delete or move messages when
7605 * src/prefs_common.c
7606 src/news.c: added the option for maximum news article number.
7610 * src/compose.c: compose_send(): changed the location of temporary
7611 file. Made it use the default account if all of tried account
7612 aren't mail one, and made it show alert dialog and abort when even
7614 * src/prefs_account.c: prefs_account_get_new_id(): made it preserve
7616 prefs_account_open(): made it fill in personal information
7617 according to the default account when creating a new account.
7618 * sylpheed.spec.in: added to autogenerate sylpheed.spec with the
7619 proper version number (thanks to BONAIM).
7621 Makefile.am: added entries for sylpheed.spec.in.
7625 * src/compose.[ch]: modified so that it can change account
7627 * src/send.[ch]: modified so that it doesn't see cur_account.
7628 * src/prefs_account.c: modified so that news setting doesn't
7629 show SMTP server entry.
7633 * src/folderview.c: fixed a bug that didn't sort special folders
7634 correctly when a new folder is created or renamed.
7638 * src/compose.[ch]: enabled to select account at composing window.
7639 * src/folderview.c: made it display unread number next to folder
7641 * src/prefs_common.[ch]: added the option for unread number display.
7645 * src/compose.[ch]: integrated news posting patch from DINH V. Ho`
7646 and made many modifications (thanks!).
7647 compose_write_headers(): made the spaces in newsgroups removed.
7648 Supported Followup-To.
7649 compose_destroy(): got the objects removed properly.
7650 * src/news.c: merged news_post_to_group() and news_post() since
7651 they doesn't have to do multiple posting.
7652 * src/import.c: import_destsel_cb(): fixed a bug that failed to
7653 import into the selected folder.
7654 * src/prefs_account.c: modified the interfaces.
7659 prefs_common.c: changed "SHIFT-JIS" to "Shift_JIS" since the
7660 string is registerd to IANA.
7661 * src/nntp.[ch]: added nntp_post().
7662 * src/news.[ch]: added news_post() and news_post_to_group().
7666 * src/account.c: account_edit_open()
7667 src/mainwindow.c: new_account_cb(): made it unable to edit
7668 accounts if some composing windows are open.
7672 * src/folder.[ch]: added folder_set_name().
7673 * src/account.c: made a folder name of IMAP4/NNTP become the same
7674 as the name of account.
7678 * src/summaryview.c: summary_filter_func(): fixed a bug that failed
7685 * src/mbox.c: fixed a bug that didn't incorporate spool file
7686 correctly. Modified so that it recognizes From_ line as separator
7687 of messages even if the previous line isn't empty line.
7688 * src/send.c: send_message_queue()
7689 src/procmsg.c: procmsg_send_queue(): Fixed a bug that printed
7690 warning when it tried to delete a sent message.
7697 src/news.[ch]: modified so that it actually gets news articles.
7698 * src/utils.[ch]: added make_dir_hier() that creates directory
7701 folder_item_get_cache_file(), folder_item_get_mark_file():
7702 made it creates cache directory if it doesn't exist.
7703 folder_add(): made it insert the added folder into the correct
7705 * src/imap.[ch]: modified so that it suits the new folder
7706 architecture. Fixed a bug that caused segmentation fault
7707 if authentication failed at imap_auth().
7708 * src/folderview.c: implemented IMAP4 folder handling routines.
7712 * src/prefs_account.[ch]: added account ID and nntp_server
7713 to PrefsAccount. And added the interface for NNTP server.
7714 * src/folderview.c: modified news folder handling routines.
7715 * src/folder.[ch]: removed cache_dir from RemoteFolder, and
7716 modified folder_item_get_path().
7720 * src/folder.[ch]: added create_folder(), rename_folder(),
7721 remove_folder() to Folder class.
7722 * src/mh.[ch]: added mh_create_folder(), mh_rename_folder(), and
7724 Implemented mh_create_tree() that creates MH directory tree.
7725 mh_rename_folder(): modified so that the paths of sub folders
7727 * src/folderview.c: modified folderview_new_folder_cb(),
7728 folderview_rename_folder_cb(), and folderview_delete_folder_cb()
7729 so that they work properly.
7730 Added folderview_remove_mailbox_cb() and the menu entry that
7731 remove mailbox from folder tree.
7732 * src/setup.[ch]: added for initial setup.
7733 * src/alertpanel.c: modified the appearance of the dialog.
7734 * src/compose.c: fixed compose_save_to_outbox() and
7735 compose_queue() so that it sets flags correctly.
7739 * src/mainwindow.c: modified the strings of toolbar labels.
7743 * src/gtkutils.[ch]: added gtkut_ctree_node_move_if_on_the_edge().
7744 * src/summaryview.c: summary_display_msg(): made it scroll the
7745 list if the message of the edge of that is displayed.
7750 src/mh.[ch]: added functions for moving messages.
7751 * src/procmsg.[ch]: moved procmsg_move_messages_with_dest()
7752 to folder.c and mh.c. Added procmsg_to_folder_hash_table().
7756 * src/utils.[ch]: added get_tmp_file().
7759 src/folder.c: fixed a bug that failed to drop messages.
7760 * src/mh.c: mh_scan_folder(): made it check new, unread, and total
7761 number of the folder.
7765 * src/folderview.c: added special folder setting routine.
7766 * src/folder.[ch]: added a method is_msg_changed().
7767 Implemented folder_find_item_from_path().
7768 * src/summaryview.c: fixed some bugs that wrongly freed FolderItem's.
7769 * autogen.sh: fixed so that the configure can take arguments.
7774 src/mainwindow.[ch]: added main_window_new_mailbox() that asks
7775 the path of mailbox and create the one.
7776 * src/folderview.c: made the folder tree and selected folder
7782 src/folder.c: implemented mh_scan_tree() that scans the folder
7783 recursively and create the tree.
7803 src/summaryview.[ch]
7805 src/Makefile.am: merged the development tree into the cvs tree.
7806 Some functions are not unimplemented yet.
7814 * src/xml.[ch]: supported omitted tag (<tag />).
7815 * src/procmsg.c: procmsg_msg_exist(): fixed a memory leak bug.
7816 * src/imap.c: imap_parse_atom(): fixed a bug that caused
7817 segmentation fault if the subject was empty (thanks to Tsutsui).
7818 * src/folder.[ch]: updated.
7822 * src/xml.[ch]: added xml_parse_file() that parses the whole XML
7823 file specified and returns the tree.
7827 * po/pt_BR.po: fixed some typos that caused segmentation fault.
7833 * src/session.h: added.
7834 * src/folder.[ch]: updated.
7835 * src/compose.c: compose_write_to_file()
7836 src/codeconv.c: conv_get_outgoing_charset_str(): fixed a bug
7837 that put a garbage to charset if the outgoing character set was
7838 specified and non-ascii characters were used in subject.
7842 * src/statusbar.c: statusbar_puts(): fixed a bug that locked the
7843 progress if the status bar was hidden.
7847 * src/folder.[ch]: added for the more object-oriented folder
7855 src/prefs_common.[ch]: made the state of status bar get preserved.
7856 * src/compose.c: compose_insert_sig(): modified so that it doesn't
7857 put a separator if a signature file doesn't exist.
7858 * src/prefs_account.[ch]
7859 src/inc.c: added the option that toggles whether to receive
7860 messages when getting from all accounts.
7862 README.jp: updated the description and added some usages.
7868 src/compose.[ch]: applied the patches from Alfons Hoogervorst
7869 that makes the ruler of composition window graphical (thanks!).
7875 src/prefs_common.c: replaced CS_WINDOWS_1251 with CS_CP1251.
7881 * src/compose.c: turned the color of quoted messages black again.
7885 * src/about.c: added a clickable URI to the Sylpheed home page,
7886 and a list of compiled-in features.
7887 * src/compose.c: made the color of quoted messages blue.
7888 * src/summaryview.c: added `Show all header' to the context menu.
7889 * src/prefs_common.c: removed the threading option from the dialog.
7890 * src/compose.c: fixed a bug that didn't parse the quotation format
7895 * src/compose.c: compose_set_ext_editor_sensitive(): modified so
7896 that it toggles linewrap menu item and tool button.
7897 * src/prefs_common.c: modified the default of the signature
7899 * src/compose.[ch]: added ruler to the compose window.
7900 * src/prefs_common.[ch]: added a member for the state of ruler
7905 * src/headerview.[ch]: added the destroy function.
7906 * src/messageview.c: messageview_destroy(): fixed a memory leak
7907 bug that didn't freed the HeaderView object.
7908 * src/prefs.c: prefs_write_open(): fixed a memory leak bug.
7909 * src/xml.c: xml_close_file(): fixed a memory leak bug (thanks
7910 to Alfons Hoogervorst for the above three memory leak bug fixes).
7919 INSTALL.jp: modified some descriptions.
7923 * src/compose.c: implemented line-wrapping functions.
7924 * src/prefs_common.[ch]: added the settings for line-wrapping.
7925 * src/codeconv.[ch]: added Windows-1251 to the codesets.
7926 conv_jistoeuc(): fixed a bug that caused segmentation fault
7927 when some half-width kana characters appeared.
7928 * src/summaryview.c: summary_select_all(): made it show message
7929 on the status bar if the number of messages is large.
7933 * src/compose.c: compose_reply(), compose_quote_parse_fmt():
7934 modified so that it parses the quotation mark too.
7935 Added %I that means the initial of sender to the format.
7936 * src/codeconv.[ch]: added GB2312 and Big5 to the codesets.
7937 Fixed a bug that set the wrong outgoing codeset.
7939 src/prefs_common.c: modified the menu item of Chinese codeset.
7944 src/prefs_common.[ch]: modified so that outgoing charset is
7945 saved as a string, not a number.
7949 * src/textview.c: textview_set_font(): changed the scheme of
7950 selecting between font and fontset. And changed the default
7952 * src/headerview.c: headerview_show_xface(): made it ignore
7954 * src/codeconv.c: conv_codeset_strdup(), conv_get_code_conv_func():
7955 modified so that it consider the source codeset as ISO-2022-JP if
7956 it is NULL and the current locale is Japanese.
7960 * src/textview.c: textview_destroy(): fixed a bug that caused
7961 segmentation fault if textview->msgfont is NULL (thanks to
7964 src/defs.h: applied the patch from Yanase that enables to
7965 save the shortcuts of the menus (thanks!).
7969 * src/mainwindow.[ch]: added main_window_set_menu_sensitive() that
7970 toggles the sensitivity of menu items.
7971 * src/summaryview.c: renamed summary_set_popup_sensitive() to
7972 summary_set_menu_sensitive(), and made it set the sensitivity of
7977 * src/textview.c: textview_init(): fixed a bug that didn't disable
7978 the theme engine of GtkText (thanks to Hiramatu).
7979 * src/compose.c: compose_quote_parse_fmt(): added %n and %N that
7980 means the full name of sender and the first name.
7981 * manual/ja/*.??ml: updated to the latest version.
7987 * src/defs.h: separated the definitions from main.h and applied the
7988 patch from TOGAWA that sets DEFAULT_SPOOL_PATH and MAXPATHLEN
7989 from the system headers (thanks!).
7990 * src/codeconv.c: conv_get_current_charset(): fixes for lt_LT and
7992 * src/textview.c: textview_set_font(): modified so that it sets
7993 the correct font when the locale is multi-byte.
7994 textview_destroy(): added proper codes for destruction.
7995 textview_show_header(): fixed the coloration of X-Mailer.
7999 * src/textview.[ch]: made TextView have single-byte and multi-byte
8000 GtkText, and switch between them according to the given codeset.
8001 * src/compose.c: compose_create(): modified the font setting
8006 * src/textview.[ch]: moved the message font variable into TextView.
8007 textview_set_font(): modified so that it uses gdk_font_load()
8008 if the given codeset is US-ASCII or ISO-8859-*.
8016 src/compose.c: workaround for the 8bit code issue (used
8017 gdk_font_load() instead of gdk_fontset_load() when the locale is
8024 * src/compose.[ch]: added `Draft' tool button.
8025 * src/imap.c: imap_parse_envelope(): fixed a parsing bug.
8026 * README, README.jp: added the explanation of the locale setting.
8030 * src/compose.c: made it overwrite the previous draft message when
8031 reedited the draft and saved it again.
8032 * src/procmsg.[ch]: added procmsg_msg_exist() that examine whether
8033 the message really exists.
8034 * src/folderview.[ch]: added folderview_scan_folder_a() and
8035 folderview_scan_folder_foreach_a() that scan the specified
8036 folders for each folderviews.
8037 * src/mainwindow.[ch]: removed main_window_scan_folder() and
8038 main_window_scan_folder_all().
8039 Added `Reedit' to the menu.
8040 * src/import.[ch]: removed MainWindow from the argument of
8042 * src/summaryview.c: removed the unnecessary items from the popup
8043 menu. Changed summary_reedit_cb() to summary_reedit(), and made
8048 * src/compose.h: added a member msginfo to Compose.
8049 * src/procmsg.[ch]: added procmsg_msginfo_copy() that duplicates
8054 * src/summaryview.c: made the the popup menu change the sensitivity
8055 according to the context. Fixed a bug that showed the `clean trash'
8056 dialog repeatedly if `D' key was pressed when the focus was on the
8058 * src/pixmaps/unread.xpm: changed the color of unread mark to blue.
8062 * src/main.c: fixed g_thread initialization.
8066 * src/codeconv.c: added pt_BR to locale_table.
8067 * src/prefs_common.c: prefs_send_create(): added `US-ASCII',
8068 `ISO-8859-1', and Japanese codeset to the option menu of outgoing
8069 codeset when not using libjconv.
8070 * src/compose.c: fixed the bug on saving draft again.
8074 * src/compose.c: compose_write_headers(): fixed a bug that failed
8075 to write headers if To: was empty when saving draft.
8081 src/headerwindow.[ch]
8083 src/messageview.[ch]
8087 src/procheader.[ch]: modified so that they can handle queue folder
8090 src/summaryview.c: implemented draft-reediting function.
8093 src/mimeview.c: replaced *(GtkWidget **) with the macro
8098 * src/procmsg.[ch]: procmsg_msginfo_free(): fixed a memory leak bug.
8099 Added MSG_QUEUED and MSG_DRAFT to MsgFlags, and made it set them
8100 if the folder is QUEUE_DIR or DRAFT_DIR.
8107 src/messageview.c: modified the border of the headerview.
8108 * src/gtkutils.h: added the macro GTK_WIDGET_PTR() that casts
8109 an Sylpheed object to GtkWidget.
8110 * src/utils.c: remove_return(), remove_space(): fixed a bug that
8111 possibly caused segmentation fault.
8114 src/summaryview.c: implemented `forward as an attachment'.
8115 * src/utils.[ch]: open_uri(): brought on URI opening function from
8116 textview.c and manual.c.
8123 src/prefs_common.[ch]: removed `Reply with quote', and added
8124 `Reply to all', and added the option that decides whether to
8125 quote message on replying.
8129 * src/folderview.c: modified so that it uses gtkut_wait_for_draw()
8130 instead of GTK_EVENTS_FLUSH() for statusbar redraw.
8133 src/prefs_common.c: added Baltic (ISO-8859-4,13) to the code sets.
8134 * src/compose.c: compose_send(): modified so that it shows error
8135 dialog when failed to send a message.
8139 * src/account.c: account_edit_close(): fixed a bug that didn't set
8140 current account when creating an account for the first time.
8141 * configure.in: added es to ALL_LINGUAS.
8145 * src/codeconv.c: conv_codeset_strdup(): made it use libkcc if
8147 conv_get_code_conv_func(): modified so that it doesn't convert
8148 codeset if it is unknown.
8149 * src/folderview.c: folderview_update_msg_num(): modified style
8154 * src/codeconv.c: conv_codeset_strdup(): modified so that it sets
8155 codesets automatically if the arguments are NULL.
8156 * src/textview.c: textview_write_line(): made it output warning
8157 message on the text view if conversion failed.
8161 * README, README.jp: modified the author of the manual.
8165 * src/headerview.[ch]
8166 src/messageview.[ch]: modified so that it uses GtkLabel widget
8168 * src/codeconv.c: conv_unmime_header(): modified so that it deletes
8169 unreadable codes if the current locale is EUC-JP and libjconv is
8177 src/textview.c: modified so that it parses MIME message more
8179 * src/imap.c: imap_parse_address(): fixed a bug.
8183 * src/procmsg.[ch]: added procmsg_get_message_file_path().
8184 * src/recv.c: recv_bytes_write(): added CR+LF -> LF conversion
8186 * src/imap.[ch]: changed the name of the member `group' in
8187 IMAPSession to `mbox'.
8188 imap_gen_send(): modified so that it doesn't output the password
8190 Modified session destroying routine.
8191 * src/folderview.c: folderview_write_cache(): made it preserve
8192 the IMAP folder list.
8193 * src/procmime.c: procmime_scan_multipart_message(): fixed a bug
8194 that showed boundary at the end of an attached RFC822 part.
8195 * src/prefs_common.c: changed the default of toolbar style to
8200 * src/imap.c: imap_get_uncached_messages(): modified so that it
8201 doesn't get the cached envelopes.
8202 imap_session_get_message_info(): made it read only the cache
8203 if the session is not established.
8204 * src/procmsg.c: procmsg_set_flags(): supported IMAP folder.
8205 * src/news.c: news_get_article_info(): made it read only the cache
8206 if the session is not established.
8210 * src/textview.c: textview_write_line(): fixed a memory leak bug.
8211 * src/folderview.[ch]: made it create IMAP4 folders from the
8212 account information.
8213 * src/imap.[ch]: imap_session_get(): modified so that it creates
8214 IMAP4 session from the account information.
8218 * src/imap.[ch]: added for IMAP4 support.
8219 * src/summaryview.[ch]
8221 src/recv.[ch]: modified for IMAP4 support.
8222 * src/folderview.c: more IMAP4 implementation.
8223 * src/procmsg.[ch]: added procmsg_get_message_file() that retrieves
8224 the specified message and return the file name.
8225 * src/gtkutils.c: gtkut_widget_wait_for_draw(): fixed a bug that
8226 locked up the process if the given widget was invisible.
8230 * src/folderview.[ch]: added IMAP4-related code.
8236 * src/main.h: added IMAP_CACHE_DIR.
8237 * src/utils.[ch]: added get_imap_cache_dir().
8238 * src/procmsg.h: added M_IMAP to MsgType, and MSG_IMAP to MsgFlags.
8239 Added macro MSG_IS_IMAP().
8240 * src/codeconv.c: added `#include <locale.h>' for setlocale().
8241 * sylpheed.spec: fixed %files section.
8247 * src/codeconv.c: conv_get_current_charset(): made it compare
8248 string with strncasecmp().
8249 * src/compose.c: comopse_reply_parse_header(): workaround for
8250 the malformed References: header generated by OE5 :(
8254 * src/prefs_common.c
8255 src/prefs_account.c: modified the layout of the widgets.
8261 * src/*.[ch]: added copyright notice to the top of the source files.
8262 * src/compose.c: compose_write_attach(): modified filename encode
8267 * src/mainwindow.c: fixed the menu entry of manual.
8269 src/codeconv.[ch]: moved compose_encode_header() into codeconv.c,
8270 and applied the libjconv patch.
8271 * src/utils.c: strdup_mbstowcs(), strdup_wcstombs(): used g_realloc()
8272 to reduce the alloc'd memory to the optimal size.
8273 * src/prefs_common.[ch]: added outgoing codeset option menu.
8274 * src/compose.c: compose_send(): added exclusive lock to prevent
8276 * configure.in: made '--enable-ipv6=no' the default.
8277 * src/compose.c: compose_write_attach(): made it encode the name
8278 of the attached file.
8279 * src/procmsg.c: procmsg_get_last_message_number(): fixed a bug that
8280 didn't check the type of file.
8281 procmsg_move_messages_with_dest(): fixed a bug that failed to
8282 move message if a directory that had the same name existed.
8283 * src/utils.c: is_ascii_str(): modified so that '\t', ' ', '\r', '\n'
8284 are included as ASCII characters.
8289 src/procmime.[ch]: modified so that it actually works when using
8291 * src/codeconv.[ch]: added conv_codeset_strdup() that converts
8292 the codeset of string according to the codeset specified in
8294 * src/utils.[ch]: added is_ascii_str() that determines whether the
8295 string is 7bit-ASCII or not.
8297 src/codeconv.[ch]: moved the character set related functions
8299 * merged the patch and the manual written by BONAIM (thanks!).
8309 src/unmime.[ch]: applied the patch from Higuchi that utilizes
8310 libjconv and enables to handle many locales, including UTF-8
8311 (Unicode) (thanks!).
8312 * src/account.c: modified so that the account isn't changed when
8313 another account is selected on account edit dialog.
8317 * src/prefs_common.[ch]
8318 src/textview.c: added an option that specifies whether to display
8319 short headers on message view.
8320 * src/codeconv.[ch]: added function conv_unmime_header() that
8321 decodes MIME-encoded header and converts the character set.
8322 And added conv_unreadable_latin(), and modified conv_latintodisp().
8323 * src/messageview.[ch]: made the window get closed when escape key
8328 * src/imageview.c: fixed a bug that caused segmentation fault if
8329 message view was in new window.
8330 * src/prefs_common.c: added `xemacs %s' to the external editor
8337 * src/summaryview.c: enabled to open a new message window with
8339 * src/prefs_common.[ch]
8340 src/messageview.c: made it preserve the window size of message
8342 * src/prefs_account.c: added `None (local)' to the option menu of
8347 * Makefile.am: added autogen.sh to EXTRA_DIST.
8351 * src/prefs_common.c: applied the patch from Paul Rolland that
8352 enables font selection dialog (thanks!).
8354 src/utils.[ch]: moved tzoffset() and compose_get_date() of
8355 compose.[ch] into utils.[ch].
8356 * src/main.[ch]: renamed the name of filter file to `filterrc'.
8361 src/utils.[ch]: modified address parsing routine so that it
8362 parses quotes correctly.
8363 * src/textview.c: textview_show_part(): modified so that it shows
8364 the simplified headers if the part is text/plain.
8368 * src/messageview.[ch]
8369 src/summaryview.[ch]
8370 src/mainwindow.c: enabled to open a message in new window.
8371 * src/messageview.[ch]
8374 src/imageview.[ch]: added destroy function, and modified the
8375 key handling routines.
8379 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug that
8380 caused segmentation fault (thanks to KUROSAWA).
8381 * src/alertpanel.c: modified so that the focused button is
8385 src/folderview.c: modified so that the order of the buttons of
8386 alert panel will be `Yes', `No'.
8390 * src/utils.[ch]: added execute_async() and execute_command_line()
8391 that execute command line using execvp().
8394 src/procmsg.c: replaced system() with execute_command_line()
8396 * src/procmsg.c: turn back to system().
8397 * src/utils.c: modified execute_command_line().
8401 * src/mainwindow.c: main_window_get_size(): modified so that it
8402 doesn't update the height of SummaryView if MessageView is
8404 * src/compose.[ch]: applied the patch from NAKAGAWA that fixes some
8405 probrems of external editor handling (thanks!).
8407 src/procmime.[ch]: applied the patch from Hiramatu that make it
8408 supports Content-Transfer-Encoding: x-uuencode (thanks!).
8413 src/prefs_common.[ch]: implemented the external editor faculty.
8414 * src/compose.c: compose_attach_property(): fixed some bugs on
8415 changing the property of attached file.
8416 * src/compose.c: fixed some bugs of external editor functions.
8423 src/prefs_common.[ch]
8424 src/summaryview.c: applied the patch from Paul Rolland that
8425 restores the size of widgets when restarting (thanks!).
8427 src/prefs_common.[ch]
8428 src/summaryview.c: applied the patch from Paul Rolland that saves
8429 the width of CTree columns (thanks!).
8433 * src/headerview.c: modified the height of HeaderView.
8434 * src/textview.c: textview_show_part(): made it process the message
8435 as normal text if it is single-part RFC822 message.
8437 src/summaryview.c: some changes around the key handling.
8438 * src/prefs_common.[ch]: substituted the word `assort' with `filter'.
8442 * src/codeconv.[ch]: added conv_latintodisp() for ISO-8859-1 support.
8443 * src/procheader.c: procheader_get_one_field(): fixed a bug that
8444 caused segmentation fault if the first line of the file is space
8445 or tab (thanks to Hiramatu).
8446 * src/mimeview.c: mimeview_drag_data_get(): modified so that the
8447 filename doesn't include G_DIR_SEPARATOR (thanks to Hiramatu).
8448 * src/prefs_account.c
8449 src/prefs_common.c: modified the dialog size.
8450 * src/prefs.c: made the dialog window growable.
8456 * configure.in: removed unnecessary AC_CHECK_FUNC(gettext) that
8457 caused the failure of the detection of libintl.
8459 src/prefs_common.c: implemented `not contain', and modified for
8461 * src/imageview.c: changed alertpanel_error() to g_warning() so that
8462 it doesn't grab mouse events.
8463 * src/compose.[ch]: added compose_list that holds the list of
8464 Compose objects, and added the function compose_get_compose_list().
8467 src/summaryview.c: made it confirm if composing message exists.
8471 * src/compose.c: compose_reply_set_entry(): fixed a bug that caused
8472 segmentation fault when trying to reply the message in the queue
8473 folder (thanks to Kotobuki).
8474 compose_attach_property(): modified the property dialog routine
8475 so that it can handle input error.
8476 * src/mimeview.c: applied the patch from Hiramatu that enables
8477 the drag 'n drop from MimeView (thanks!).
8478 * src/headerview.[ch]
8480 src/procmsg.h: applied the patches for X-Face support from
8481 HIROSHIMA (thanks!).
8485 * src/compose.c: compose_attach_property(): modified so that the
8486 property dialog can actually change the property of attached file.
8491 src/Makefile.am: updated for gdk_imlib.
8492 * added AUTHORS and NEWS.
8495 src/Makefile.am: modified so that configure auto-detects gdk-pixbuf
8496 and gdk_imlib library. And fixed a bug on IPv6 detecting.
8497 * src/imageview.c: supported gdk-pixbuf.
8501 INSTALL.jp: added the mention about built-in image view.
8502 * configure.in: modified so that configure can disable gdk-pixbuf
8503 or/and gdk_imlib library.
8507 * src/imageview.[ch]
8509 src/messageview.[ch]
8510 src/mimeview.[ch]: applied the patches from HIROSHIMA that enables
8511 to display image (thanks!).
8517 * src/summaryview.c: summary_assort_func(): modified to avoid
8518 `not receive' setting.
8522 * src/filesel.c: applied the patch from HIROSHIMA that makes it
8523 remember previous directory when opening the dialog (thanks!).
8524 * src/summaryview.[ch]: added a function summary_redisplay_msg().
8525 * src/mainwindow.c: set_charset_cb(): made it redisplay the message
8526 that is currently shown when the character set is changed.
8530 src/filter.h: applied the patch from Tanaka that enables not to
8531 receive specified messages according to the sorting rule (thanks!).
8535 * src/procmsg.[ch]: added MSG_MIME to the type MsgFlags. And modified
8536 so that it handles MSG_MIME flag, and it scans uncached messages
8537 when cache reading failed even if it is specified not to scan
8539 * src/procheader.c: procheader_parse(): added the determination of
8540 multipart MIME message.
8541 * src/main.h: increased CACHE_VERSION.
8542 * src/summaryview.[ch]: added the `MIME' column that shows whether
8543 a message is multipart or not.
8544 * src/prefs_common.[ch]: added the `MIME' column to the setting of
8546 * added src/pixmaps/clip.xpm.
8548 src/procmsg.[ch]: modified so that it prompts the print command
8553 * src/folderview.c: folderview_create()
8554 src/summaryview.c: summary_create():
8555 src/addressbook.c: addressbook_create(): set the expander style of
8556 CTree to GTK_CTREE_EXPANDER_SQUARE.
8557 * src/compose.c: modified the interface of property dialog.
8561 * src/compose.c: added property dialog for attached file.
8565 * src/procmsg.[ch]: added a function procmsg_print_message() that
8566 prints the given message.
8567 * src/summaryview.c: summary_print(): modified so that it prints
8568 all selected messages.
8569 * src/folderview.c: folderview_select_node(): fixed a bug that
8570 didn't focus on folder tree if inbox was empty when incorporating.
8576 * src/prefs_commmon.[ch]: added `Other' tab and an option for
8577 printing. And moved external browser option to there.
8579 src/summayview.[ch]: added print menu and implemented print
8584 * src/prefs_account.c: made the default value of smtp_server to
8586 * src/folderview.c: folderview_update_msg_num(): modified so that
8587 it doesn't emphasize trash folder even if it has new or unread
8592 * src/filesel.c: filesel_select_file(): (perhaps) fixed a bug that
8593 caused segmentation fault when file selection dialog was closed
8594 and other dialog was open immediately.
8598 * src/compose.c: compose_encode_header(): fixed a bug that caused
8599 infinite loop if wctomb() failed.
8605 * src/mimeview.c: enabled to open an attached file with double click
8606 and popup menu. And cleaned up the code.
8607 * src/procmime.[ch]: added a function procmime_get_part() that
8608 saves the part of multipart message.
8614 src/prefs_common.[ch]
8616 src/utils.[ch]: applied a patch that enables to launch attached
8617 image, audio, and HTML file (thanks to Hashimoto).
8618 * src/filter.c: filter_match_condition(): fixed a bug that caused
8619 segmentation fault if the body of specified filter is NULL. And
8620 made the filter considered as being matched on that case.
8624 * src/summaryview.c:
8625 summary_save_as(): fixed a bug that unabled to save news articles.
8626 summary_display_msg(): added exclusive lock to prevent it from
8627 reading another news article while it is already processing one.
8628 * src/gtkutils.[ch]: added gtkut_widget_wait_for_draw() that waits
8629 the draw signal to be emitted.
8631 main_window_cursor_wait()
8632 main_window_cursor_normal(): added gdk_flush() to change cursor
8635 libkcc/Makefile.am: added EXTRA_DIST for `make dist'. And added
8636 a target `release' to Makefile.am.
8640 * src/socket.c: supported IPv6.
8642 acconfig.h: added checking for IPv6.
8643 * prefs_common.c: changed the default of toolbar_style to icon only.
8647 * initial cvs import.
8648 * updated README and README.jp.
8654 * src/procmime.[ch]: modified the structure of MimeInfo so that it
8655 can be handled as a node of tree.
8656 Added procmime_mimeinfo_free_all() that frees all of the MimeInfo
8658 Added procmime_get_text_part() that scans a message and gets a text
8660 * src/mimeview.c: divided mimeview_scan_multipart_message() into
8661 procmime_scan_multipart_message() and mimeview_set_multipart_tree().
8662 * src/compose.c: compose_quote(), compose_forward():
8663 made it quote the text part of multipart message properly.
8664 Made it preserve the size of Compose window.
8665 * src/prefs_common.[ch]: added compose_width and compose_height to
8667 * src/textview.c: textview_show_part(): some code cleanups.
8668 * src/codeconv.[ch]: added a function conv_get_code_conv_func().
8674 * src/codeconv.[ch]: fixed a bug that showed garbage characters if
8675 the return code of the message was CR+LF. And added
8677 * src/summaryview.c: summary_attract_by_subject(): made it move
8678 the current view point to the selected row when executed.
8679 * src/textview.c: textview_show_part(): modified the character set
8680 determination routine.
8681 * src/folderview.c: folderview_update_msg_num(): fixed a bug that
8682 caused segmentation fault if boldfont was NULL.
8683 * src/compose.c: compose_create(): made it sets itself as the target
8684 of addressbook on window creation.
8688 * src/compose.c: compose_send(): fixed a bug that didn't save
8689 queued message to outbox when failed to send the message (thanks
8694 * src/inc.[ch]: modified so that it changes error message dialog
8695 depending on the results.
8699 * src/mainwindow.c: main_window_create(): set usize of account
8700 button on the status bar to 1 so that it doesn't get expanded
8701 more than necessary.
8702 * src/account.[ch]: account_foreach(): made it abort the iteration
8703 if the function returns nonzero.
8705 src/pop.c: modified so that it shows error message dialog if the
8706 message processing is failed.
8712 * src/mainwindow.c: made it popup account selection menu when
8713 account tool button or account status bar is pressed.
8715 src/prefs.c: suppressed the ENOENT perror messages.
8716 * src/pop.c: made it fall back on LAST command if UIDL failed.
8720 * src/procheader.c: procheader_parse(): fixed a bug that didn't
8721 parse References: header correctly (thanks to YAMAGUCHI).
8727 * src/compose.c: compose_reply_set_entry(): fixed a bug that didn't
8728 cc'd correctly when replying.
8730 src/summaryview.c: sorted out the main menu and the popup menu.
8736 * src/prefs_account.[ch]
8737 src/compose.c: made it be able to set Cc:, Bcc:, and Reply-To:
8738 automatically at composing (thanks to NAKAGAWA).
8742 * src/prefs_common.[ch]
8744 src/main.c: made it selectable whether to ask before cleaning
8746 * src/prefs_common.c: cleaned up the code and the interface a bit.
8747 * src/summaryview.c: modified the unthread functions for speeding
8752 * src/prefs_common.[ch]
8753 src/summaryview.c: made it display recipient on the `From' column
8754 if the address of the sender is the same as the current account
8755 (thanks to NAKAGAWA).
8756 * src/utils.[ch]: added a function extract_address() that extracts
8757 the address from `From:' header string.
8758 * src/mainwindow.c: allsel_cb(): fixed a bug that caused segmentation
8759 fault if `Edit/Select all' was selected when the message view was
8760 hidden (thanks to Tomita).
8764 * src/summaryview.c: modified execution routine so that it only
8765 unthreads nodes that are needed to be unthreaded.
8769 * src/news.c: news_session_get(): implemented the reconnection on
8771 * src/nntp.[ch]: added nntp_mode().
8775 * src/mbox.c: fixed a bug that didn't close mbox FILE pointer.
8776 And support assortment on processing mbox.
8777 * src/inc.c: inc_drop_message(): modified so that it uses hash table
8778 to store the last message number of folders.
8780 src/addressbook.c: modified the behavior of CTree at right-click.
8781 * src/pop.c: pop3_getrange_uidl_recv(): fixed a potential buffer
8782 overflow bug (thanks to Nishiyama).
8789 src/inc.[ch]: implemented management of read message on POP server
8791 * src/utils.[ch]: removed (s)list_remove_all() because it can be
8792 replaced with g_(s)list_free().
8793 * src/summaryview.c: modified the arrangement of menu a bit.
8794 * src/summaryview.c: summary_status_show(): made it doesn't display
8795 server name but newsgroup.
8796 * src/prefs_common.c
8797 src/prefs_account.c: adjusted the calculation routine of dialog
8804 * src/compose.c: compose_reply_set_entry(): modified so that it
8805 cc's to the all addresses on To: and Cc: of the replied message.
8806 And swapped the position of Subject: and To: entry.
8810 * src/procheader.c: modified so that it can handle headers that
8811 aren't separated by space.
8812 * src/socket.c: sock_connect(): added a wait after connection to
8813 prevent lockup (thanks to NINOMIYA).
8819 inc_all_account_mail(): fixed a bug that caused segmentation
8820 fault if no account exist.
8821 * src/mainwindow.[ch]: made receive button unclickable when
8823 * src/compose.c: compose_queue(): fixed a bug that didn't mark
8824 queued message properly.
8825 * src/utils.[ch]: separated code conversion functions into
8832 * src/mimeview.c: mimeview_save_as()
8833 src/summaryview.c: summary_save_as(): made it ask whether to
8834 overwrite the existing file.
8845 src/mbox.c: fixed a bug that failed to check write error when
8846 disk was full and caused the loss of the file.
8850 * src/mainwindow.c: main_window_clean_trash(): made it move focus
8851 to folder view when finished.
8852 * src/utils.[ch]: added code conversion functions for display.
8853 And added strncpy2() that doesn't do zero fill and does
8854 null-termination, unlike original strncpy().
8855 * src/textview.c: modified so that it changes the code conversion
8856 function according to charset. And supported charset=SHIFT_JIS.
8859 src/textview.c: made it possible to force character set of
8861 * src/folderview.c: folderview_select_next_unread():
8862 made it search unread folder from begin if it isn't found.
8868 * src/mainwindow.c: fixed a probrem again that main window was
8869 stretched to the width of the toolbar.
8871 src/utils.c: is_header_line(): modified so that it recognizes
8872 a header which doesn't have a space after colon (thanks to Hotta).
8873 * src/filter.c: added `#include <strings.h>'.
8874 * src/smtp.c: replaced snprintf() with g_snprintf().
8875 * src/Makefile.am: added `-I$(top_srcdir)/intl' to INCLUDES for
8877 * included sylpheed.spec.
8881 * src/prefs_common.[ch]: enabled to set the pixels of line space
8882 and decide whether to leave space on head of lines.
8883 * src/summaryview.c: modified so that it clears message view
8884 when displayed message is removed from the summary view.
8885 * src/mimeview.c: fixed a bug that caused infinite loop if
8886 terminal boundary of multipart message was not found (thanks to
8888 * src/folderview.c: folderview_scan_mailbox(): made it ignore
8890 * src/main.c: made it show warning dialog and exit if the file with
8891 the same name already exists when creating directory.
8896 src/prefs_common.[ch]: made it possible to leave space between
8897 and on head of lines.
8902 src/procmime.[ch]: made it scan /etc/mime.types and determine
8903 the MIME type of the attached file.
8904 * src/summaryview.c: made it clear message view if the summary
8905 is unselected on the execution, and made it move focus to
8906 folder view if the folder becomes empty.
8907 * src/mainwindow.c: fixed a probrem that main window was stretched
8908 to the width of the toolbar.
8909 * src/inc.c: fixed a bug that caused multiple gtk_main() event loop
8910 if `Check new mail on startup' was set.
8914 * src/compose.c: fixed a probrem that had been unable to insert
8915 a file to the current cursor position.
8921 * src/compose.[ch]: added `attach' button to the toolbar. And
8922 replaced the icon of `insert' to the new one.
8926 * src/mainwindow.[ch]: added `Execute' to the toolbar. And added
8927 a function main_window_set_toolbar_sensitive() that sets the
8928 sensitivity of the button of the toolbar.
8929 * src/compose.c: fixed a bug that output wrong header if
8930 a return code was included in the string of the text entry.
8934 * src/mainwindow.[ch]: added `Delete' to the toolbar and the menu.
8935 And added the same items in popup menu to the main menu.
8936 * src/utils.[ch]: added functions for DnD support.
8937 * src/compose.c: implemented file attachment and insertion with DnD
8938 (thanks to Hiramatu).
8944 * src/summaryview.c: fixed a bug that passed null pointer to
8949 * src/alertpanel.[ch]: added functions alertpanel_message(),
8950 alertpanel_notice(), and alertpanel_error(), and cleaned up
8956 src/summary_search.c
8958 src/foldersel.c: made them use alertpanel_error(),
8959 alertpanel_warning() or alertpanel_notice() for error message
8961 * src/summaryview.[ch]: enable sorting in reversed order.
8962 * src/inc.c: made it show error message dialog when failed to
8963 connect or authorize.
8964 * src/utils.h: added a macro FILE_OP_ERROR() and replaced many
8971 * src/compose.c: fixed a bug that didn't save a message to outbox
8973 * src/send.c: send_message_queue(): fixed a bug that included
8974 headers for queueing in the parsed data.
8975 * src/mainwindow.c: send_queue_cb(): made it pop statusbar message
8976 and update queue folder when finished.
8984 src/compose.c: suppressed the warning messages.
8985 * src/mainwindow.[ch]: added next unread message button and menu
8987 * src/summaryview.[ch]: added a function summary_select_next_unread()
8988 that selects and opens next unread message.
8992 * src/prefs_common.[ch]: added a setting to decide whether to open
8993 unread message on entering a folder.
8994 * src/summaryview.c: made it open the first unread message only if
8995 the preference is set.
8996 * src/compose.c: fixed a bug that freed the string obtained from
9001 * src/compose.c: added `Send later' to the menu and the toolbar
9002 which queues the message to send it later.
9006 * src/mainwindow.c: added an interface to resend the queued message.
9007 * src/compose.c: made it show alert dialog when a message will be
9012 * src/procmsg.[ch]: added function procmsg_send_queue() that calls
9013 send_message_queue() for each queued messages.
9017 * src/inc.c: inc_drop_message(): modified so that it drops a message
9018 to the default inbox folder if destination folder doesn't exist.
9019 * src/compose.[ch]: added imput compatible queueing header to the
9021 * src/send.[ch]: added function send_message_queue() that send
9027 acconfig.h: made it enabled to decide wheter to use multithread
9028 or not on configure.
9029 * src/summaryview.c: fixed a bug that made thread when executed
9030 despite of the setting (thanks to Hiroshima).
9031 * src/socket.[ch]: changed the return value of public
9032 sock_connect_*() function to the pointer to SockInfo object.
9033 * src/procmime.c: procmime_scan_mime_header():
9034 fixed a bug that returned NULL if the scanned part had no header
9035 (thanks to shigeri).
9036 * src/procmime.[ch]:
9037 added function procmime_scan_content_disposition() that parses
9038 Content-Disposition header field.
9039 * src/mimeview.c: made it uses filename value in Content-Disposition
9042 * src/inc.c: modified so that password is prompted if the password
9043 on preferences is empty and previous POP3 session has failed on
9048 * src/socket.[ch]: added non-blocking IO mode socket and
9049 multithreaded connection support.
9050 * src/inc.c: supported multithread connection.
9054 * src/folderview.c: made the focus of SummaryView grabbed when
9055 a folder is selected only if the messages exist.
9061 * po/ja.po: fixed a bug that head `/' of a menu label was missing
9062 and caused segmentation fault when opened Compose window.
9068 * src/utils.c: get_domain_name(): modified so that it uses
9070 * src/mimeview.c: added key binds for `Save as' and
9075 * src/recv.c: fixed a bug that failed to return error value
9076 when fputs() failed and caused the loss of received mails when
9077 disk space was not left (thanks to Tajiri).
9078 * src/compose.c: supported Reply-To.
9079 * src/mimeview.c: improved key operation interface.
9085 src/textview.[ch]: supported nested multipart message and
9087 Supported encapsulated RFC822 message.
9091 * src/compose.[ch]: made it free the alloc'd memory for attach
9092 information when the compose window is destroyed.
9093 Placed the attachment list and the text widget onto the paned
9095 Enabled cut/copy/paste/select all on all of the editable widgets.
9096 Implemented removal of attached file and popup menu on attachment
9098 * src/prefs_common.[ch]: added signature separator setting.
9099 * src/alertpanel.[ch]: added a function alertpanel_warning().
9103 * src/prefs_common.[ch]
9104 src/textview.c: made open URI command customizable.
9105 * src/compose.[ch]: implemented multipart MIME message composition
9106 (attachment of file).
9108 src/compose.c: fixed a bug that didn't turn off the GTK+ theme
9115 * src/summaryview.c: added key binds for composing message
9116 (w, a, A, f). Also added other key binds (y, D, Q).
9117 * src/compose.c: made Cc entry take over the Cc of the replied
9119 * src/pixmaps/new.xpm
9120 src/pixmaps/unread.xpm: replaced pixmap image.
9121 * src/procheader.c: procheader_date_get_localtime():
9122 changed the single figures of year from four to two.
9126 * src/inc.c: made it ask password if it is not specified on account
9128 * src/prefs_account.h: added member tmp_pass to struct PrefsAccount
9129 that preserves the temporary password.
9130 * src/inputdialog.[ch]: added function input_dialog_with_invisible()
9131 that prompts input with the string hidden.
9135 * src/compose.c: fixed a bug that didn't turn off the GTK+ theme
9136 engine if message font wasn't specified.
9142 * src/summaryview.c: fixed a bug that stderr was forgotten on
9149 * src/pop.c: fixed a problem that if some POP3 commands returned
9150 error, the previous operations were all cancelled.
9152 src/textview.c: made workaround to the slow down of GtkText widget
9153 when using Pixmap theme or its derivatives.
9157 * src/inc.c: fixed a bug that caused X IO error when exec'd
9158 nonexistent program.
9162 * src/folderview.[ch]: added the member `mtime' to the struct
9164 * src/summaryview.c: made the mtime of the folder checked that is
9166 * src/procmsg.c: added filesystem unchecking mode.
9170 * src/textview.[ch]: implemented clickable URI (thanks to BONAIM).
9171 And made `X-Mailer:' header emphasized if it contains `Sylpheed'.
9175 * src/summaryview.c: summary_write_cache(): permission fix of
9182 * src/headerview.c: added headerview_clear() method.
9183 * src/messageview.c: fixed a bug that didn't clear HeaderView
9184 on messageview_clear().
9191 src/textview.c: added *_clear() method.
9192 * src/summaryview.c: made it clear MessageView when new folder
9197 * src/inc.c: fixed a bug that went to the inbox that was specified
9198 by each account when incorporating from all accounts.
9199 * src/compose.c: made it confirm whether to discard the message or
9200 not when the window will be closed.
9207 src/inc.[ch]: re-supported APOP authentication.
9208 * src/prefs_account.c: fixed a bug that had't saved protocol type.
9210 src/statusbar.h: attached G_GNUC_PRINTF() to printf() like
9212 * src/progressdialog.[ch]: changed the name of class from Progress
9217 * src/summaryview.c: fixed a bug that caused segmentation fault
9218 a news folder was selected without using ja message catalog.
9219 * src/utils.h: attached G_GNUC_PRINTF() to printf() like functions.
9220 * src/Makefile.am: added `-DG_LOG_DOMAIN=\"Sylpheed\"' to
9225 * src/automaton.[ch]
9227 src/pop.[ch]: re-implemented POP3 fetching routines using
9228 finite-state automaton model (thanks to Hiramatu).
9229 * src/inc.c: fixed a bug that caused unwilled quitting of program
9230 when connection to mail server failed. And fixed a memory leak bug.
9231 * src/summaryview.c: made the focus move to FolderView when left
9232 cursor key is pressed.
9236 * src/textview.c: textview_write_line(): modified quotation
9237 discerning routine a bit.
9243 * src/procmime.[ch]: moved MIME decorder from src/textview.c to
9245 * src/mimeview.[ch]: implemented saving of multipart message. And
9246 supported MIME encoded file name.
9247 * src/summaryview.c: implemented `Save as'.
9251 * src/prefs_common.[ch]: implemented an interface for setting the
9252 display item of SummaryView.
9254 src/account.c: made the column titles of those don't take key
9259 * src/textview.c: implemented BASE64 decoding and display.
9263 * src/prefs_common.[ch]: added members which decide whether
9264 each item of SummaryView is displayed or not.
9265 * src/headerwindow.c
9266 src/logwindow.c: made those windows closed when escape key is
9268 * src/headerview.c: disused ScrolledWindow.
9269 * src/base64.c: from64tobits(): modified so that it recognize '\n'
9270 as the last of line as well as '\r'.
9274 * src/headerview.c: disabled word wrap and line wrap of the text
9281 * src/prefs_common.c: prefs_assort_create(): added some headers
9282 to the default headers for assortment.
9286 * src/procmsg.c: fixed a bug that caused segmentation fault if
9287 the permission of a message was denied on parsing the header
9288 (thanks to wakai@UEC univ.).
9289 * src/mimeview.c: made it pass key press event to SummaryView.
9294 src/alertpanel.c: modified font specifications so that they match
9296 * src/utils.[ch]: added wide-character functions for FreeBSD support.
9297 Added the existence check of <wchar.h>.
9299 configure.in: added wint_t and libxpg4 check for FreeBSD support.
9300 * src/unmime.c: modified so that it checks the existence of
9302 Above three are a contribution from Sasaki. Thanks!
9306 * src/main.h: decreased default height of window.
9310 * src/procmime.c: fixed a bug that eliminated the parenthesis in
9311 attribute value that was double-quoted.
9317 * src/mimeview: implemented multipart message parser and display.
9318 * src/procmime.c: procmime_scan_content_type():
9319 supported multiple elements.
9320 * src/textview.c: supported multipart message and clean up the code.
9324 * src/summaryview.c: added size column and sorting by size.
9325 * src/mainwindow.c: added `Sort by size' to sort menu.
9326 * src/procmime.c: fixed a bug that caused buffer overrun and
9328 * src/procmime.c: generalized Content-Type parsing.
9334 * src/textview.c: supported MIME headers and
9335 Content-Transfer-Encoding: quoted-printable.
9339 * src/messageview.[ch]
9340 src/textview.[ch]: separated MessageView into two classes.
9341 * src/procmime.[ch]: added for MIME message handling.
9345 * src/mimeview.[ch]: added for MIME message handling.
9346 * configure.in: added wctype.h and wchar.h existence check.
9351 src/procheader.[ch]: some code cleanups.
9352 * src/messageview.[ch]: integrated HeaderView.
9360 * src/addressbook.c: Made the tree sorted when folder/group is
9362 * src/xml.c: xml_compare_tag(): fixed a bug that caused segmentation
9363 fault if the current tag was empty.
9364 * src/mainwindow.c: made the state of MainWindow saved.
9370 * src/addressbook.c: fully implemented address group editing.
9371 Fixed a bug that wrongly confirmed deletion of address when
9372 escape key was pressed on alert dialog.
9376 * src/addressbook.c: added menu bar. And enabled hierarchical
9378 * src/prefs_account.c: modified so that it allows not to specify
9380 * src/inc.c: inc_account_mail(): modified so that if receiving
9381 server isn't specified, it does nothing.
9387 * src/addressbook.c: almost fully implemented addressbook functions.
9391 * src/compose.c: fixed a bug that caused segmentation fault when
9392 `File->Insert file' was selected more than twice.
9398 * src/addressbook.[ch]: implemented creation of new folder and group,
9399 and deletion of folder and group. And fully implemented
9400 addressbook_delete_object() which deletes the specified object
9405 * src/addressbook.c: implemented registration of address and multiple
9406 appending to Compose address entry.
9407 * src/menu.[ch]: added a function menu_set_insensitive_all() that
9408 turn all menu items insensitive.
9409 * src/folderview.c: some code cleanup.
9414 src/prefs_common.c: fixed a bug on getting the number of CList
9421 * src/folderview.c: fixed a bug that caused warnings when tree was
9422 expanded/collapsed on the first operation.
9426 * src/addressbook.c: addressbook_list_selected(): made it be able
9427 to handle multiple address.
9428 * src/compose.c: modified so that when Bcc: is toggled, corresponding
9429 AddressBook also toggle it.
9431 main_window_create(): moved gtk_widget_set_uposition() before
9432 gtk_widget_show() so as not to cause window flickering.
9433 main_window_get_position(): replaced gdk_window_get_position()
9434 with gdk_window_get_root_origin() to acquire correct window
9435 position (Thanks to shigeri for these modifications).
9439 * src/filesel.c: made it selects home directory on the first time
9444 * src/utils.c: conv_mb_alnum(): modified so that it uses character
9446 * src/foldersel.c: made the folder tree take focus when the dialog
9453 * src/addressbook.c: implemented addressbook_export_to_file() and
9459 src/addressbook.c: fixed the variable name for attribute.
9460 * src/prefs_common.[ch]: added a member `conv_mb_alnum'.
9461 * src/utils.[ch]: added conv_mb_alnum() that converts multi-byte
9462 alphabet and numeric into single-byte one.
9463 * src/messageview.c: messageview_show(): made it pass conv_mb_alnum()
9464 when conv_mb_alnum flag is on.
9470 * src/compose.c: modified so that when Addressbook is open by a
9471 Compose and it is closed, target of Addressbook is reset.
9472 * src/addressbook.c: made it work with Compose.
9476 * configure.in: AM_PATH_{GLIB, GTK}: raised the required version of
9477 GTK+ and GLIB to 1.2.6.
9478 * src/xml.[ch]: more implementation of XML parser.
9479 * src/addressbook.c: implemented addressbook parsing and displaying
9484 * src/folderview.c: folderview_scan_folder(): modified so that if
9485 a folder's message number is zero, set new, unread and total number
9490 * src/xml.[ch]: added for XML handling used by addressbook.
9491 * src/folderview.c: modified so that Trash folder is skipped
9492 when an unread folder is selected automatically by space key.
9496 * src/summaryview.c: fixed a bug that cursor was turned into watch
9497 forever when a newsgroup was selected.
9505 * src/mainwindow.[ch]: implemented counting on setting cursor
9506 type. And modified the menu of `thread view' and `unthread view'.
9507 * src/summaryview.c: enabled thread-toggling on opening folder.
9508 * src/prefs_common.[ch]: added a member `enable_thread' to determine
9509 whether summary view builds thread or not when a folder is open.
9513 * src/summaryview.c: modified popup sensitivity function a bit.
9519 * src/addressbook.[ch]: more implementation of the interface of
9521 * src/compose.c: connected to addressbook object.
9522 * src/folderview.[ch]: folderview_compare_path():
9523 modified so that absolute path is correctly compared.
9524 And added folderview_select_node().
9525 And modified folderview_scan_folder() so that it update the summary
9527 * src/import.c: made it update folder tree when imported mbox.
9528 * src/summaryview.c: modified according to the changes of
9529 folderview.c. And modified so that it display alert dialog if
9530 source folder is identical to destination.
9531 added summary_set_popup_sensitive() that set the sensitivity of
9532 popup menu according to the context. And made all of the items of
9533 popup menu insensitive when summary is cleared.
9534 * src/procmsg.c: procmsg_move_messages_with_dest():
9535 modified so that if source folder is identical to destination,
9537 * src/summary_search.c
9538 src/manage_window.c: modified so as not to print warning to console
9539 when alert dialog appeared twice.
9540 * src/filesel.c: made file selection dialog transient.
9544 * src/manage_window.[ch]: added callback function
9545 manage_window_focus_out().
9551 src/summary_search.c: added focus_out_event signal handler.
9552 * src/addressbook.[ch]: added preliminary addressbook code.
9556 * src/utils.h: added a macro Xalloca() that does alloca() and
9557 handles the exception.
9558 * src/import.c: made the import dialog transient window and enabled
9559 cancelling by escape key.
9565 * src/compose.c: fixed a bug that caused memory leak when compose
9570 * src/nntp.h: increased NNTP message buffer size for XOVER strings
9575 * src/summaryview.c: binded step-forward and step-backward to each
9576 Control-n and Control-p.
9577 * src/filter.c: filter_read_str(): fixed a memory leak bug and
9578 replaced g_malloc() for allocating the buffer with alloca().
9579 * src/procheader.c: procheader_get_fromname(),
9580 procheader_date_get_localtime()
9581 src/utils.c: conv_euctojis()
9582 src/compose.c: compose_quote_parse_fmt()
9583 src/prefs.c: prefs_set_data_from_text()
9584 prefs_set_text(): replaced g_malloc() with alloca().
9590 * src/logwindow.c: improved log_window_append() so that it shows
9591 warning, error and normal message with different colors.
9592 * src/utils.[ch]: added functions log_message(), log_warning(), and
9593 log_error() that show normal message, warning, and error for each.
9594 And modified many warning messages to use these.
9595 * src/messageview.c: messageview_init(): made it set colors of
9596 quotation and URI to black when failed to allocate colors.
9597 * src/news.c: news_parse_xover(): replaced g_malloc() for allocating
9598 the buffer with alloca().
9602 * src/folderview.c: fixed a bug that didn't put previously selected
9603 folder name in text entry. In addition to that, made some
9610 * src/logwindow.[ch]: added log window that displays protocol log.
9611 * src/about.c: adjusted the size of dialog.
9612 * src/folderview.c: made it select a folder when double-clicked.
9616 * src/prefs_common.[ch]: added an item `translate_header' that
9617 decides whether header name like `From:' or `Subject:' is
9619 * src/compose.c: made it show alert dialog when receiptor isn't
9621 * src/inc.c: some code cleanups.
9627 * src/compose.c: made header entries move those focus to next
9628 entry or text widget when activated. And sorted out the menu items.
9629 * src/mainwindow.[ch]
9630 src/prefs_common.[ch]
9631 src/main.c: made it save the sizes of widgets and the position of
9632 window when quitting.
9633 * src/prefs_common.c: set a14, k14 fontset as default message font.
9634 * src/about.c: changed the appearance of about dialog using text
9636 * src/recv.c: modified recv_write() so that it converts an escaped
9643 * src/compose.[ch]: supported Bcc.
9649 * src/utils.[ch]: added function to_number() that examines string
9650 and if that is a number string, return its value.
9651 * src/procmsg.c: fixed a bug that caused malfunction when non-digit
9652 character was included in file name.
9658 * src/folderview.c: fixed a bug that caused segmentation fault
9659 when opened folder node was deleted (thanks to Hiramatu).
9660 And implemented folderview_rm_server_cb() which removes news server.
9661 * src/mbox.c: modified a warning message.
9665 * version 0.2.0alpha-pre8
9667 * src/mainwindow.c: inc_all_account_mail_cb(): made it select inbox
9668 folder to prevent the probrem when current folder is updated.
9669 * src/summaryview.c: summary_execute(): made it write to summary
9670 cache when executed.
9674 * version 0.2.0alpha-pre7
9676 * src/utils.[ch]: added path_cmp() that compares two paths ignoring
9677 trailing directory separator.
9678 * src/folderview.[ch]
9679 src/summaryview.[ch]: modified so that folder tree is updated
9680 when messages are moved or deleted.
9681 * src/inc.c: some code cleanup.
9685 * version 0.2.0alpha-pre6
9687 * src/utils.[ch]: added get_domain_name() that return domain
9688 name as a static string.
9689 * src/compose.c: compose_generate_msgid(): modified so that even
9690 if current address doesn't contain '@', it generates a decent
9692 * src/send.c: some code cleanup.
9696 * src/folderview.c: modified the behavior of folder tree when
9697 the folder is right-clicked.
9698 * src/compose.c: compose_encode_header(): added irresponsible
9699 buffer overrun check.
9703 * version 0.2.0alpha-pre5
9705 * updated gettext and libtool.
9706 * configure.in: modified localedir definition so that message
9707 catalogs are installed into correct directories.
9709 src/mainwindow.c: modified them so that a folder can be reopen
9710 even if it is currently open.
9711 * src/prefs_common.[ch]
9712 src/messageview.c: added an option that toggle the coloration of
9717 * version 0.2.0alpha-pre4
9720 src/messageview.c: fixed a bug that broke memory on allocating
9725 * src/folderview.c: some bug fixes on selecting folder.
9729 * version 0.2.0alpha-pre3
9732 * src/summaryview.[ch]: some code cleanups.
9733 * src/messageview.c: fixed a color allocating bug (maybe).
9737 * version 0.2.0alpha-pre2
9739 * src/folderview.[ch]: made folder view not open selected folder
9740 unless return or space key is pressed, or clicked by mouse
9742 * src/inc.c: some code cleanups.
9743 * TODO.jp: added some items.
9747 * version 0.2.0alpha-pre1
9749 * src/summaryview.[ch]: fixed a bug that broke summary thread
9750 when deleted duplicated messages (thanks to BONAIM).
9751 And some code cleanup.
9752 * src/procmsg.[ch]: renamed procmsg_move_messages() to
9753 procmsg_move_messages_with_dest(), and replaced former with
9754 new function which doesn't specify destination.
9755 * src/prefs_common.c
9756 src/gtkutils.c: some memory leak fixes of linked lists.
9757 * src/utils.[ch]: added list_remove_all() to remove all elements
9758 of doubly-linked list.
9759 * src/inc.[ch]: added inc_all_account_mail() that incorporates
9760 new messages of all accounts.
9761 * src/account.[ch]: added account_foreach() to process each accounts.
9766 * version 0.1.23alpha
9768 * src/inc.c: made the folder tree update the message number
9769 when incorporated new messages.
9770 * src/folderview.[ch]: added a function folderview_scan_folder()
9771 to scan one folder on the view, which is specified by folder name.
9775 * version 0.1.22alpha
9777 * src/prefs_account.[ch]: added the setting of assorting on
9779 * src/inc.c: supported assorting on receiving.
9780 * src/procmsg.c: cleaned up the code.
9781 * src/news.c: fixed a bug that locked up when failed to get xover.
9782 * src/compose.c: made a message unmark that is put into specific
9787 * version 0.1.21alpha
9790 src/summaryview.c: implemented the function 'go to next folder
9791 when no unread message found.'
9792 * src/summaryview.c: made connection state displayed on the
9793 status bar when connecting to a news server.
9794 * src/compose.c: changed X-Mailer: header field string a bit.
9795 * src/prefs_common.c: implemented residual functions of assortment.
9799 * version 0.1.20alpha
9801 * src/prefs_common.c: implemented reading/writing/register/deletion
9802 of assortment setting.
9803 * src/mainwindow.c: slightly modified the appearance of statusbar.
9804 * src/account.c: account_delete(): fixed a bug that didn't assigned
9805 the pointer to GList when an account was deleted.
9809 * src/procmsg.c: procmsg_get_mark_sum(): fixed a bug that failed
9810 to read mark file (thanks to BONAIM).
9811 * src/prefs_common.c: added the interface of assortment setting.
9815 * src/summaryview.c: fixed a bug that didn't redraw marking properly
9816 when displaying an unread message with left-click (thanks to
9821 * src/summaryview.[ch]: added functions for assortment.
9822 * src/about.c: added a button to close window.
9826 * src/procmsg.c: fixed a bug that didn't add news flag correctly.
9827 * src/compose.c: fixed a bug that can't reply to a news article.
9828 * src/filter.[ch]: added for message filtering.
9829 * src/procheader.[ch]: added procheader_get_unfolded_line()
9830 to process filtering. And added procheader_get_header_list()
9831 that reads headers of a message and store them on the memory,
9832 and procheader_header_list_destroy() that removes all headers
9833 read by procheader_get_header_list().
9837 * version 0.1.19alpha
9839 * src/news.c: modified so that it retrieves only overview information
9840 that is not yet cached.
9841 * src/procmsg.[ch]: modified for news handling.
9845 * src/news.c: supported xover.
9846 * src/mbox.c: fixed a bug that didn't handle empty line correctly
9847 (Thanks to shigeri).
9851 * version 0.1.18alpha
9853 * src/procmsg.[ch]: modified some functions so that they can
9855 * src/news.c: added header cache routine.
9856 * src/procheader.c: fixed a bug that caused memory leak when some
9857 header was duplicated.
9858 And added Newsgroups: in parsing headers.
9859 * src/summaryview.c: added news article cache routine.
9860 * src/compose.c: made it be able to reply/forward news article.
9864 * src/compose.c: fixed a bug that failed to parse To: header
9865 if a comma is included in double quotation (Thanks to shigeri).
9866 * src/mbox.c: modified the code for processing mbox so that it
9867 can handle unescaped From_ line correctly.
9871 * version 0.1.17alpha
9873 * src/foldersel.c: fixed a bug that didn't display folder tree.
9874 And added the register routine for news server and group setting.
9878 * version 0.1.16alpha
9880 * src/statusbar.[ch]: added statusbar_puts_all().
9881 statusbar_puts(): made it truncate a string that is too long.
9882 * src/folderview.[ch]: changed CTree's row data from string
9883 to FolderInfo structure.
9884 And implemented popup menu that registers news server and group.
9885 * src/messageview.c: modified short header display routine.
9889 * added src/news.[ch] for NetNews session management.
9890 * src/summaryview.[ch]: added NetNews reading codes.
9895 src/prefs_common.[ch]: made them preserve toolbar style.
9896 * src/main.c: made it save configuration before exiting.
9897 * src/summaryview.c: modified summary status display routine.
9898 * added src/nntp.[ch] for handling low level NNTP session.
9902 * added src/progress.[ch] for displaying progress.
9903 * src/inc.c: modified progress dialog routines to use
9905 * src/folderview.[ch]: added preliminary NetNews supporting code.
9909 * version 0.1.15alpha
9912 src/folderview.c: some permission fixes.
9913 * src/folderview.c: implemented folder creation/renaming/removing.
9914 * src/utils.[ch]: added remove_dir_recursive() that removes
9915 a directory recursively.
9919 * src/mainwindow.[ch]: added toolbar style selection.
9920 * added src/inputdialog.[ch] to prompt user to enter a string.
9921 * src/summaryview.[ch]: modified the behavior of view on
9923 * src/mbox.c: fixed a bug that couldn't lock file when
9924 lockf() was used (Thanks to shigeri).
9928 * version 0.1.14alpha
9930 * src/mainwindow.[ch]: changed the appearance of toolbar.
9931 And fixed window handling.
9932 * src/summaryview.c: modified the messages displayed on status bar.
9933 * src/compose.[ch]: added toolbar.
9934 * src/*.xpm: borrowed some icons from gnome-libs (temporary).
9938 * version 0.1.13alpha
9940 * src/summaryview.c: fixed a bug of threading. And some code
9941 cleanups. And rewrote the routine of deleting duplicated messages
9943 * src/mainwindow.[ch]: added toolbar.
9947 * version 0.1.12alpha
9949 * src/summary_search.c: if the OS don't have wcsstr(), use wcswcs()
9951 * src/summaryview.c: changed CTree creating routine as it creates
9952 thread on the fly for speeding up.
9953 * src/procmsg.c: rewrote message processing routines using hash
9954 table for speeding up. It should be considerably faster than
9959 * version 0.1.11alpha
9961 * po/ja.po: modified msgstr for Solaris standard gettext.
9962 * src/main.c: added config.h inclusion.
9963 * src/compose.c: changed to add replied message's In-Reply-To
9964 message id to References header if it don't have References header.
9965 * src/summaryview.c: changed threading routine to use hash table
9970 * version 0.1.10alpha
9972 * po/ja.po: modified msgstr so as not to core dump on Solaris.
9973 * src/main.c: added inclusion of locale.h.
9974 (Thanks to Sato for above.)
9976 * src/socket.c: applied Solaris patch by shigeri with some
9977 modification. (Thanks!)
9981 * version 0.1.9alpha
9983 * src/compose.c: compose_encode_header(): fixed some bugs.
9984 And modified header generating routines to support proper
9985 References header, and supported Organization header.
9987 src/procheader.c: removed Cc: and Reply-To: from cache data.
9988 * src/procheader.[ch]: renamed header list structure to HeaderEntry.
9989 * src/summaryview.[ch]: summary_thread_func(): some optimization.
9990 And added summary_pass_key_press_event() to pass key press event
9992 * src/messageview.c: messageview_key_pressed(): modified so that
9993 key event is passed to summary view even if message view is
9994 separated. (Thanks to wakai@UEC univ. for pointing this out.)
9998 * version 0.1.8alpha
10000 * src/compose.c: implemented RFC1522, RFC2407 (loosely) compliant
10001 header MIME encoding.
10002 * src/procheader.c: some bug fixes of folded header line processing.
10003 * src/headerview.c: headerview_show(): some bug fixes.
10007 * version 0.1.7alpha
10009 * src/utils.c: conv_euctojis(): fixed a bug that didn't add
10010 kanji-out sequence [ \033 ( B ] when input string was ended
10011 with kanji. (Thanks to Nozomu Kobayashi for pointing this out.)
10012 * src/compose.c: compose_encode_header(): changed as it outputs
10013 encoded string to another buffer.
10014 And implemented a faculty to save sent message to outbox and
10015 to queue message that failed to send (preliminary).
10016 And, finally implemented proper To: and Cc: processing :)
10017 * src/folderview.c: added preliminary right-clicking popup menu
10018 for operating folders.
10019 * some permission fixes at creating or copying file.
10023 * version 0.1.6alpha
10025 * src/procheader.c: fixed a bug that didn't null-terminate
10026 header list and caused segmentation fault.
10030 * version 0.1.5alpha
10032 * src/procheader.[ch]: added function procheader_get_one_field()
10033 that gets one header field that matches the header list.
10034 And removed procheader_get_unfolded_line(), which is less generic.
10035 And rewrote procheader_get_header_fields() using
10036 procheader_get_one_field().
10037 * src/summaryview.c: some bug fixes of key input scan routine.
10038 * README, README.jp: modified documents a bit.
10042 * src/menu.c: menu_set_sensitive(): fixed a bug that if a menu item
10043 had a submenu, set sensitivity of the submenu, not the item.
10047 * version 0.1.4alpha
10049 * src/summaryview.c: fixed a bug that caused segmentation fault
10050 when empty summary view was center-clicked.
10051 And fixed a bug that freed moving folder strings when marked
10053 If current folder is trash, don't delete message.
10054 * src/summaryview.[ch]
10056 * src/procmsg.[ch]: added update-cache mode (discards previous cache).
10060 * src/procheader.[ch]: more optimization of header processing
10061 routine. And added a new function procheader_get_header_fields()
10062 that receives an array of header name as a parameter and
10064 * src/utils.[ch]: added remove_return() for removing return code.
10065 * src/unmime.c: added remove_return() on the last of UnMimeHeader().
10069 * src/compose.c: if message body is ascii only, set US-ASCII as
10070 charset in Content-Type.
10073 * src/prefs_common.c
10074 * src/prefs_account.c
10075 * src/account.c: changed the location of rc files.
10076 * src/account.c: enabled closing window when escape key is pressed.
10080 * version 0.1.3alpha
10082 * src/compose.c: fixed a bug that caused segmentation fault
10083 when sending failed.
10084 And relocated header-generation routines from src/send.c.
10085 * src/send.c: moved header-generation routines to src/compose.c.
10086 * src/prefs.c: added '~' to home directory expansion.
10087 * src/prefs_account.[ch]: added signature file path configuration.
10088 * src/prefs_common.[ch]: added spool path configuration.
10089 * src/inc.c: changed the method of user name acquisition to use
10094 * version 0.1.2alpha
10096 * added ChangeLog (this file), ChangeLog.jp.
10097 * some code cleanups.
10098 * added manage_window.[ch] for transient window management.
10099 * src/procheader.c: optimized header processing routine a bit.
10100 * src/send.c: fixed exception handling on connection.
10101 * src/inc.c: added exception handling on getting user name.
10105 * version 0.1.1alpha
10107 * src/send.c: fixed a bug that didn't add Content-Type: header.
10111 * version 0.1.0alpha