3 * src/mainwindow.c: reorderd the menu a bit.
4 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
5 compose_reply_set_entry(): made 'Reply to sender' work for
10 * src/compose.c: compose_create(): set geometry hints to restrict
11 the maximum size of window.
12 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
13 imap_get_uncached_messages()
14 imap_cmd_fetch(): ignore responses which don't include FETCH.
18 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
19 the clause for OpenSSL).
24 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
30 src/session.[ch]: first reorganization of SMTP protocol handling.
31 SMTPSession: new class which is a sub class of Session.
32 smtp_session_new(): moved send_smtp_open() into this function.
33 smtp_from(): moved SMTP AUTH calls into smtp_auth().
34 smtp_auth(): use server response for SMTP AUTH method.
35 smtp_ehlo(): read server response and set auth type flags.
36 smtp_helo(): separated EHLO command.
37 smtp_ok(): return the last server response if the buffer is
39 * src/esmtp.[ch]: merged into smtp.[ch].
40 * src/imap.c: imap_session_destroy_all(): use session_destroy().
44 * src/imap.c: imap_open(): show warning message if IMAP4 session
49 * src/compose.c: made template able to be inserted into the current
51 * src/mainwindow.c: moved some menu items under the submenu
57 src/inc.c: changed folder_find_item_from_path() to
58 folder_find_item_from_identifier().
60 src/prefs_filter.c: use folder_item_get_identifier() to specify
65 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
66 existed in claws' implementation).
67 folder_find_from_name(): find Folder from name and type.
68 folder_get_identifier(): return Folder id.
69 folder_item_get_identifier(): return FolderItem id.
70 folder_find_item_from_identifier(): find FolderItem from id.
71 folder_get_type_string(): return folder type string.
72 folder_get_type_from_string(): return FolderType from string
73 (and fixed the wrong g_strcasecmp() usage).
75 src/import.c: use folder_item_get_identifier() and
76 folder_find_item_from_identifier().
80 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
81 point the correct address after reading the continuous line.
82 imap_scan_folder(): set new number to 0 if unseen number is 0.
83 imap_parse_flags(): don't add new and unread flag if \Seen flag
85 * ac/Makefile.am: removed gpgme.m4 from MACROS.
89 * fixed the old problem that couldn't add flags to currently opened
92 compose_send(): update outbox after saving.
94 compose_draft_cb(): use procmsg_add_flags().
95 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
97 * src/main.c: send_queue(): send from all queue folders.
98 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
100 procmsg_flush_mark_queue(): new. Write all queued flags into file.
101 procmsg_add_flags(): new. Add specified flags to the folder.
102 procmsg_send_queue(): added an argument to specify queue folder.
103 procmsg_save_to_outbox(): use procmsg_add_flags().
105 summary_show(): up the opened flag of FolderItem.
106 summary_clear_list(): down the opened flag of FolderItem.
107 summary_write_cache(): call procmsg_flush_mark_queue().
111 * src/summaryview.[ch]: trim the tail of folder name and selected
112 number on the status label if the space is not enough.
116 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
117 set SpecialFolderItemType when creating special folders under
119 * ac/gpgme.m4: removed.
121 * ac/missing/gdk-pixbuf.m4
122 ac/missing/gettext.m4
124 ac/missing/imlib.m4: added for convenience.
128 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
129 shown after the decoded challenge string. Fixed a memory leak.
131 * src/compose.c: compose_draft_cb(): mark draft messages as read.
132 * src/folderview.c: folderview_update_node(): disable emphasis
133 for Outbox and Draft folders.
137 * src/messageview.c: messageview_show(): fixed a memory leak.
138 * src/summaryview.c: summary_save_as(): show error dialog if copy
140 * src/about.c: about_show(): make the window active if it is already
145 * src/compose.c: show confirmation dialog before sending if Subject
147 compose_check_entries(): new.
149 compose_send_later_cb(): use compose_check_entries().
150 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
154 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
155 responses with continuous line correctly, and fixed a memory leak.
159 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
161 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
162 after pasting with middle button to prevent the selection growth.
167 folderview_rename_folder_cb()
168 folderview_delete_folder_cb(): modify filter rules only if the
169 target folder is in the default mailbox.
170 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
177 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
178 Moved 'Delete duplicated messages' under 'Tools'.
182 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
184 * src/imap.c: imap_create_special_folder(): fixed a crash bug
185 when folder creation failed, and re-try to create folders under
187 imap_scan_tree_recursive(): don't automatically add namespace
188 prefix if it's INBOX. Search also under the INBOX for special
190 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
195 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
196 abbreviated newsgroup name.
197 * src/folderview.c: folderview_update_node(): display newsgroups
198 with abbreviated name if name and path is the same.
199 * src/summaryview.c: summary_status_show(): show the newsgroup with
205 src/folderview.c: changed the label 'Draft' to 'Drafts'.
206 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
207 imap_create_missing_folders(): fixed the wrong assignment of
208 Queue folder to draft.
212 * enabled Sent / Draft / Queue folders on IMAP server.
213 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
214 queue and draft folder if they exist.
216 imap_create_trash(): removed.
217 imap_create_special_folder(): new. Generalized imap_create_trash().
218 imap_create_missing_folders(): automatically create missing folders.
219 imap_is_msg_changed(): added the dummy method.
220 imap_scan_tree_recursive(): search also Sent, Draft and Queue
221 folders. Minor code cleanups.
222 imap_parse_envelope(): check for null strings.
223 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
224 for messages on IMAP folder.
228 * src/compose.c: compose_send(): use account's outbox folder
230 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
231 that the outbox can be specified.
235 * src/compose.c: don't save to outbox when messages are queued.
236 compose_save_to_outbox(): moved to procmsg.c.
237 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
239 procmsg_save_to_outbox(): new. Removes the queueing headers if
240 needed, and adds the given file to the outbox.
244 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
245 get_indent_length(): treat ':' and '#' also as quote char, and
246 cleaned up using strchr().
250 * src/mainwindow.c: modified some menu items.
254 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
255 (current "outbox" will be kept until rescan).
256 * src/folder.c: folder_set_missing_folders(): create the missing
259 src/folderview.c: changed 'Outbox' to 'Sent'.
260 * src/main.c: call folder_set_missing_folders().
261 * src/mh.c: mh_scan_tree(): create missing folders.
262 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
263 didn't set the menu sensitivity correctly.
268 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
269 folderview_rename_folder_cb(): reopen the current folder when
270 the ancestor is renamed.
271 imap_rename_folder(): new method implementation.
273 imap_rename_folder_func(): new.
274 imap_remove_folder(): remove also the cache directory.
278 * src/imap.c: implemented locale encoding <-> modified utf-7
279 conversion, and supported i18n of folder name (thanks to Suzuki
281 imap_path_separator_subst(): handle the escape characters of
283 imap_modified_utf7_to_locale()
284 imap_locale_to_modified_utf7(): new.
285 imap_create_trash(): modified so that it create the Trash folder
286 to the correct location when imap directory is specified.
287 imap_get_real_path(): removed debug print.
291 * src/socket.c: implemented timeout for DNS lookup and connect().
292 sock_connect_by_hostname(): timeout support and code cleanup.
293 sock_connect_with_timeout(): new.
294 sock_peek(): implemented SSL peek.
298 * src/messageview.c: messageview_show(): display single-part
299 text/html messages with the normal text view.
313 src/prefs_customheader.c
314 src/prefs_display_header.c
329 src/xml.c: added 'b' to the option of all fopen().
337 * src/ssl.[ch]: match its coding style.
338 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
342 faq/en/sylpheed-faq*.html
344 faq/es/sylpheed-faq*.html
346 faq/fr/sylpheed-faq*.html
352 src/manual.[ch]: added FAQs in English, Spanish and French.
356 * manual/en/sylpheed*.html: updated to the latest version.
361 src/mgutils.c: include string.h to remove warning about strlen()
375 src/summaryview.c: added break to the last label of switch to
376 prevent the 'deprecated use of label at end of compound statement'
378 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
382 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
384 inc_cancel_all(): new. It cancels the all current incorporation.
385 * src/mainwindow.c: added 'Cancel receiving' menu.
386 * src/textview.c: a minor fix for single-part MIME messages, and
387 a bit of cleanup for textview_write_body().
391 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
392 information if any errors occured before issuing UIDL command.
393 src/inc.h: added uidl_is_valid to Pop3State.
394 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
402 * src/mimeview.c: mimeview_create(): set the initial notebook page
404 * src/folderview.c: folderview_selected(): scroll the view if the
405 selected row is hidden.
406 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
407 and select the added row.
408 * src/summaryview.c: fix threading for null message ids.
412 * src/textview.c: textview_show_message(): follow message/rfc822
414 textview_add_part(): add a caption before the attached text files.
415 textview_show_header(): don't add the newline.
416 * src/messageview.c: enabled message search also in MIME mode.
420 * src/messageview.c: messageview_show(): set header state of
421 MimeView's TextView, too.
422 * src/mimeview.c: mimeview_show_message(): call
423 textview_show_message() to display message.
424 * src/textview.c: textview_add_part(): new. It adds the content
425 of message part without clearing the view.
426 textview_show_message(): display all parts with appropriate
428 textview_write_body(): separated from textview_show_part().
433 src/prefs_common.c: added ISO-8859-15 to the codesets for
434 displaying and sending.
435 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
436 conversion failed, and made caller deal with it.
437 * src/compose.c: compose_write_to_file(): show error dialog when
438 code conversion failed, and let user select whether to send it
440 * src/textview.c: textview_write_line(): show the original string
441 if code conversion failed.
445 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
446 if copy_mbox() failed (thanks to Alexander Kabaev).
447 * src/prefs_account.[ch]: added separate user ID / password setting
449 * src/send.c: send_message_smtp(): use separate user ID / password
450 for SMTP AUTH if it is specified.
455 src/pop.[ch]: refactored the UIDL management.
456 store the information of messages into the array of Pop3MsgInfo
457 structure, and do full scanning of not retrieved messages.
463 src/mainwindow.c: set WMCLASS for window/dialog.
464 * src/codeconv.c: conv_codeset_strdup(): return source string
465 when jconv_alloc_conv() failed.
469 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
476 src/summaryview.c: implemented the new notebook tab interface for
478 * src/textview.[ch]: fixed line space related glitches.
482 * src/prefs_filter.c:
483 prefs_filter_rename_path()
484 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
488 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
489 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
491 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
492 cancelled, and fixed potential crash bug.
493 * src/grouplistdialog.c: enabled cancelling of data receiving.
494 * src/news.c: news_get_group_list(): destroy current session if
499 * src/manage_window.[ch]: fixed a bug that caused crash when
500 the main window was hidden.
501 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
502 Monitor "unmap_event", "destroy" events.
509 src/grouplistdialog.c
517 src/prefs_customheader.c
518 src/prefs_display_header.c
522 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
523 connect signals for window management.
527 * src/prefs_account.[ch]: added receive size limit option.
528 * src/pop.c: skip messages larger than the limit size.
529 LOOKUP_NEXT_MSG(): new macro.
530 * src/compose.c: compose_attach_append(): check whether the file
535 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
536 changed g_message()'s to debug_print() and g_warning().
537 rfc2015_decrypt_message(): fixed a bug that duplicated message
538 parts when decryption was failed/cancelled. And made some code
540 * src/passphrase.c: made the dialog transient.
541 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
546 src/procmsg.[ch]: fixed a bug that failed to parse multipart
547 messages if GPGME was enabled.
548 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
550 * src/prefs_account.c: prefs_account_privacy_create(): modified
551 the vertical spacing.
555 * src/menu.[ch]: menu_set_sensitive_all(): new.
556 menu_set_insensitive_all(): made it a wrapper for
557 menu_set_sensitive_all().
558 * src/prefs_account.c:
560 prefs_account_protocol_set_optmenu(): made the protocol type
561 unchangeable after creating an account.
562 * src/compose.c: compose_attach_parts(): traverse MIME tree to
563 extract all attathed files from nested multipart MIME message.
567 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
568 obtain minimum/maximum number, and to specify first number
571 src/inc.c: enabled new message checking on news folder.
572 * src/news.c: news_scan_group(): implemented. Guess new/unread
573 message number from the response of GROUP command and the mark
575 news_select_group(): return the total/first/last number.
576 * src/prefs_account.c: prefs_account_receive_create(): modified
577 the text of the 'Get all' check button.
581 * src/account.c: made 'Get all' checkbox available for IMAP4 and
583 * src/inc.c: corrected the argument of folderview_check_new().
584 * src/prefs_account.c: modification for the "`Get all' checks for
585 new mail on this account" checkbox.
589 * src/folderview.[ch]:
590 folderview_rescan_tree(), folderview_rescan_all(): renamed from
591 folderview_update_tree() and folderview_update_all().
592 folderview_update_all_node(): removed.
593 folderview_check_new(): new. If the argument is NULL, it checks
594 all local folders. If the arguments is specified, it checks
595 the (local and remote) folder.
598 inc_all_account_mail(): check also IMAP4 account.
603 folderview_rename_folder_cb()
604 folderview_delete_folder_cb(): modify the filter rules when folder
606 * src/prefs_filter.[ch]:
607 prefs_filter_rename_path(): new. It renames the destination paths
609 prefs_filter_delete_path(): new. It deletes the filter rules if
610 the destination paths matched.
611 * thanks to Neill Miller for above.
615 * src/compose.c: inherit attached files when forwarding or reediting
616 (rewrote the code in claws branch).
617 compose_attach_parts(): new. It extracts and attaches the files
618 in the given message.
619 compose_attach_append(): chnaged the types of arguments.
620 * src/messageview.c: messageview_show(): moved the GPG decryption
622 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
630 * src/summary_search(): summary_search_execute(): scroll the view
631 when message view is hidden.
635 * src/foldersel.c: foldersel_set_tree(): made different type of
636 folders selectable in moving mode.
637 * src/folderview.[ch]: folderview_update_msg_num(): compare the
638 numbers with the CTree's labels, and don't update folder_item here.
639 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
640 implemented moving between different type of folders.
641 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
642 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
643 mh_move_msg() and mh_move_msgs_with_dest()).
644 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
645 moving between different type of folders.
646 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
647 * src/summaryview.c: summary_status_show(): update folder_item
649 * po/POTFILES.in: removed reference to headerwindow.c.
650 * src/summaryview.c: summary_step(): fixed the behavior on the
651 head and tail of the list.
655 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
656 all header' toggle state from the property of the TextView.
657 * src/summaryview.[ch]: made 'All header' toggle switch.
658 Prohibited unnecessary menu update.
659 summary_select_node(): added the argument 'do_refresh'.
664 * src/utils.c: strsplit_with_quote(): remove quotation characters
665 in the function (fix composer's external editor problem) (thanks
666 to Stefaan A Eeckels).
667 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
668 main_window_menu_callback_block()
669 main_window_menu_callback_unblock(): new.
670 main_window_set_menu_sensitive(): set the toggle status of
672 show_all_header_cb(): read the status of toggle menu item.
673 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
674 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
679 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
680 the path separator (thanks to Sergey Vlasov).
681 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
682 if the length of selection is zero.
684 * src/utils.c: str_open_as_stream(): return immediately if
685 the length of str is zero.
686 * src/headerwindow.[ch]: removed.
688 src/inc.c: removed stale thread support codes.
692 * src/procmsg.c: procmsg_open_message(): modified so that it
693 returns the stream of decrypted message file if it exists
694 (this fixes the failure of gpg decryption in messageview.c).
706 src/quote_fmt_parse.y
708 src/utils.[ch]: if the part of the message text is selected, use
709 it for quoted text instead of the entire message body (thanks to
711 src/utils.[ch]: str_open_as_stream(): new. It returns an
712 temporary stream for the given string.
713 * src/main.c: added "--send" command line option.
714 * src/compose.c: compose_reply_set_entry(): add From address to
715 Cc if Reply-To and to_all are both specified.
716 * Makefile.am: correct the Source: line in the RPM spec file in
721 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
723 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
724 that specifies the folder selection type.
735 src/prefs_customheader.c
737 src/summaryview.c: made it compile with C compilers other than gcc
738 (thanks to Shawn Houston).
742 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
744 * src/prefs_common.c: made the key binding setting separate dialog.
745 * src/addressbook.c: addressbook_format_address(): add "" around
746 the display name if it contains comma (thanks to Satoshi Watanabe).
747 * src/addr_compl.c: get_complete_address(): add "" around the
748 display name if it contains comma.
749 get_address_from_edit(): handle the quotation character correctly.
750 * src/addr_compl.c: get_complete_address()
751 src/addressbook.c: addressbook_format_address(): fixed a bug that
752 caused wrong text processing if the display name is empty.
757 * src/compose.c: compose_exec_ext_editor_real(): replaced
758 g_strsplit() with strsplit_with_quote().
760 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
762 folderview_drag_motion_cb()
763 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
764 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
768 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
769 of the message is different from the current mailbox.
770 Return the correct value.
771 imap_cmd_append(): properly implemented the APPEND command.
778 src/textview.[ch]: show all headers in the message view, and don't
779 use the header window anymore.
781 src/prefs_common.c: changed the default shortcut of 'compose new
784 src/summaryview.[ch]: summary_display_msg_selected(): new.
785 Show the selected message if 'Show all header' is selected.
787 src/sourcewindow.c: changed some procmsg_get_message_file_path()
788 to procmsg_get_message_file() to be sure the message is
790 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
791 any folder to MH folder.
792 folderview_drag_received_cb(): copy messages instead of moving
793 if the source folder is news or IMAP.
795 src/summaryview.c: allow copy from news folder.
799 * src/prefs_common.c: prefs_other_create(): modified the design
800 of the external command settings.
801 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
802 preset closer to the original.
803 Added Mutt keybind preset.
804 Also change the compose keybinds.
805 * src/compose.c: modified some menu shortcuts.
806 * src/codeconv.c: modified the locale_table for Thai encoding.
810 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
811 * src/prefs_common.c: prefs_interface_create(): modified the
812 description for menu shortcut.
816 * src/gtkutils.[ch]: added gtk_stext_clear().
819 src/summaryview.[ch]: enabled multiple forwarding.
821 summary_set_marks_selected(): set marks for all selected row.
822 summary_reply(): moved from summary_reply_cb().
823 * compose.[ch]: compose_forward(): modified so that it receives
825 * src/mainwindow.c: cleanup for reply processing.
826 * src/summaryview.c: summary_reply(): fixed a memory leak.
827 summary_key_pressed(): removed hardcoded mark / mark as unread
830 src/prefs_common.c: added mark / mark as unread shortcuts to
835 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
836 if prefs_common.linewrap_quote is not set (it is only for
837 auto-wrapping on reply).
838 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
839 when creating a new account.
840 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
842 * src/prefs_common.c: prefs_interface_create(): modified the
843 description of key binds selector.
847 * src/mimeview.c: fixed multiple dialog / moving by correcting
848 button / key event processing.
850 src/textview.c: pass some key press events to MimeView in MIME
852 * src/prefs_filter.c: fixed a bug that didn't set the order of
854 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
860 src/prefs_common.c: reorganized the menu shortcuts.
861 Added 'View - Toggle summary view'.
862 * src/summaryview.[ch]: summary_toggle_view(): made it public
864 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
866 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
867 closing the dialog with window manager (in more appropriate way).
870 src/mimeview.c: fixed wrong scrolling position when switching
871 between text and image parts. Also free the unrequired image
872 (thanks to Sergey Vlasov).
873 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
878 * src/prefs_common.c: implemented shortcut quick changer.
879 * src/folderview.c: folderview_key_pressed()
880 src/summaryview.c: summary_key_pressed(): removed some hardcoded
886 procmime_get_mime_type()
887 procmime_get_mime_type_table(): made the MIME type search case
890 gtk_stext_delete_line(): delete newline on empty line.
891 gtk_stext_delete_to_line_end(): delete newline if cursor is on
893 (thanks to Yasuzaki Masayoshi.)
898 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
899 and made them customizable.
900 * src/utils.[ch]: added get_file_size_as_crlf() which returns
901 the file size when converting LF to CR+LF.
905 * src/compose.c: enabled 'Ctrl-Enter' or
906 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
908 * src/gtkstext.c: disabled some Emacs key bindings.
909 gtk_stext_key_press(): don't extend selection when Shift-Enter
910 is pressed to prevent the disapperance of cursor.
911 * src/summaryview.c: summary_select_next_unread(): added the button
912 to search unread message again from the beginning to the dialog.
913 * src/folderview.c: folderview_key_pressed(): go to next unread
914 folder if space key is pressed on the empty folder.
915 Move CTree focus before selecting row.
919 * src/defs.h: modified the XLFD of default fonts.
920 * src/textview.c: textview_create(): fixed a bug that caused
921 segfault if font couldn't be loaded.
923 src/grouplistdialog.c: compare subscribed groups with path.
924 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
928 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
929 when URL is wider than wrapping margin.
931 src/prefs_filter.[ch]
932 src/summaryview.[ch]: added "Create filter rule" function based
933 on the patch from Luca Rosellini.
934 * src/summaryview.c: summary_filter_open(): added X-List and
935 X-Mailing-list to the automatically detected headers.
939 * configure.in: support Mac OS X (Darwin).
943 * src/prefs_filter.c: use inc_(un)lock() instead of
944 inc_autocheck_timer_{remove|set}().
945 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
946 instead of gtk_ctree_sort_node() so that messages within threads
948 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
949 target of sizeof was wrong and caused crash on Alpha architecture
950 (thanks to Motonobu Ichimura).
955 foldersel_gnode_func(): made the names of special folders
957 foldersel_set_tree(): move the special folder to the top.
958 * src/inputdialog.[ch]: input_dialog_query_password(): new.
962 src/send.c: use input_dialog_query_password() instead of their
967 * src/defs.h: modified the default font.
971 src/news.[ch]: moved the class definition and some methods to
976 * src/mimeview.c: mimeview_save_as()
977 src/summaryview.c: summary_save_as(): put the default filename
978 based on the subject.
979 * src/utils.[ch]: added subst_chars() and subst_for_filename()
980 which substitute some special characters with underscore.
981 * src/filesel.c: filesel_select_file(): select the default filename.
986 INSTALL.jp: added the description and the URL for libjconv.
987 * src/mainwindow.c: menu entries cleanup.
993 src/about.c: modified the copyright year.
994 * src/gtkstext.h: added the notice for modification by the Sylpheed
1000 INSTALL.jp: added the URL for compface.
1008 * src/headerwindow.c
1011 src/sourcewindow.c: set wmclass when creating windows.
1015 * src/compose.c: compose_wrap_line_all(): fixed the bug that
1016 caused infinite loop when wrapping certain patterns of quoted text.
1020 * src/imap.c: imap_parse_envelope(): put the assertion after
1021 imap_parse_address() to prevent segmentation fault.
1026 src/mainwindow.c: modified some labels of menu items.
1027 * src/ldif.c: put the return value of fgetc() in a gint.
1028 * src/importldif.c: don't brace null strings with _().
1029 * src/compose.c: moved the position of Subject entry to the last.
1030 Reorganized the menu.
1031 compose_draft_cb(): added 'keep editing after saving to draft'
1036 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
1037 menu. Moved 'Help' menu to just the right of 'Configuration'.
1038 Removed 'File - Close' menu item.
1042 * src/mainwindow.c: some menu reorganization.
1043 * AUTHORS: updated. Added more contributors.
1044 * src/account.c: account_row_moved(): new. Moves displayed row to
1045 the appropriate position when up / down button are pressed.
1046 account_clist_set(): move displayed row to the appropriate position.
1048 src/mainwindow.c: set title and wmclass when creating windows.
1052 * src/gtkstext.c: fixed a bug that didn't show block cursor
1053 correctly. Removed unnecessary GdkGC copy. Fixed cursor
1058 src/undo.c: modified to use GtkSText.
1059 * src/menu.h: added #include <gtk/gtkmenu.h>.
1064 configure.in: added XIM checking for GTK+.
1065 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
1069 * src/filter.c: added #include <sys/types.h>.
1073 * src/template.c: template_write_config(): fixed a typo.
1074 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
1076 src/prefs_filter.c: supported regular expression (thanks to
1078 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
1079 undo state when pasted clipboard was empty.
1080 undo_check_size(): use g_list_last().
1082 undo_redo(): fixed NULL checking and made a bit of optimization.
1084 * src/prefs_common.c: changed the default value of linewrap length
1089 * reorganization of pixmap management.
1090 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
1091 * modified every files which directly use pixmaps data to use
1093 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
1094 undo_set_change_state_func(), and changed its argument from
1095 GtkWidget* to gpointer.
1096 undo_merge(): code cleanup.
1097 * src/compose.c: renamed compose_set_undo() to
1098 compose_undo_state_changed().
1102 * src/account.c: account_find_from_address(): made it case
1104 * src/addressbook.c: addressbook_create(): set wmclass.
1105 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
1108 src/ldif.[ch]: merged from the claws branch.
1109 * src/importldif.c: removed some warnings.
1110 imp_ldif_field_list_toggle(): fixed button checking.
1111 imp_ldif_dialog_create(): minor layout fix.
1112 * src/ldif.c: removed some warnings.
1114 INSTALL.jp: updated confirmation list.
1117 vcard_test_read_file(): fixed a memory leak of tagtemp.
1118 Some code cleanups (decreasing the indent level).
1121 src/syldap.[ch]: disabled runtime library checking because JPilot
1122 and LDAP libraries are linked on the build time, and the program
1123 doesn't execute without them anyway.
1125 src/addrindex.c: changed "J-Pilot" to "JPilot".
1126 Removed warning for atoi().
1130 * src/procmsg.c: procmsg_empty_trash()
1131 src/mainwindow.c: main_window_empty_trash(): empty trash only if
1132 it contains some messages.
1133 * src/imap.c: search_array_str(): new.
1134 imap_status(): fixed a bug that didn't parse the command response
1139 * merged undo function (by Jens Oberender).
1140 * src/undo.[ch]: new.
1141 undo_insert_text_cb(): fix for multibyte characters (obtain the
1142 number of letters instead of bytes).
1143 * src/compose.[ch]: added the code for undo.
1144 * src/prefs_common.[ch]: added the interface for setting undo level.
1148 * src/compose.c: compose_template_apply()
1149 src/prefs_template.c: prefs_template_clist_set_row()
1150 src/template.c: template_write_config(): don't replace To: and
1151 Subject: entry in composition window if they are empty.
1159 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
1160 * src/ldif.c: ldif_get_line(): ignore CR.
1161 * src/mimeview.c: mimeview_show_message(): search also text/html
1162 for first text part.
1166 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
1167 that didn't update accountrc if account_list == NULL (thanks to
1172 * src/utils.h: added the macro Xstrcat_a() that concatenates
1173 two strings and return alloca'd string.
1174 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
1175 handle folder name which includes some spaces correctly
1176 (based on the patch from Willem van Engen (thanks!)).
1177 * src/compose.c: compose_wrap_line_all(): fixed the crash when
1178 wrapping long lines if linewrap quotation is disabled and
1179 a word spanning more than one line.
1183 * applied the Tobias' patch with modification (thanks!).
1185 imap_msg_set_perm_flags()
1186 imap_msg_unset_perm_flags(): new. They set permanent flags to
1189 src/summaryview.c: set flags on IMAP server when flags are changed.
1193 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
1194 of gtk_container_remove() for workaround of a bug in
1195 Gtk{Text,Entry} (thanks to Sergey Vlasov).
1201 src/textview.c: replaced gtk_container_remove() with
1202 gtkut_container_remove(), and removed previous partial fix.
1206 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
1207 checked user ID on "local", but didn't on IMAP4.
1208 * src/imap.c: imap_session_get(): fixed a crash bug when
1209 rfolder->session == NULL.
1210 * Makefile.am: changed the arguments of tar from 'chojf' to
1212 * src/summaryview.c: summary_toggle_view(): disclaim the selection
1213 of textview before removing vpaned.
1217 * src/messageview.c: messageview_change_view_type(): disclaim the
1218 selection before removing textview. This solves the mysterious
1219 copy-paste disability (thanks to Melvin Hadasht).
1220 * src/textview.c: textview_set_font(): use
1221 gtk_editable_claim_selection() instead of
1222 gtk_editable_select_region().
1226 * src/prefs_template.c: prefs_template_window_create(): supported
1227 address completion on the To: entry.
1232 folder_count_total_msgs()
1233 folder_count_total_msgs_func(): use g_node_traverse() to traverse
1238 * src/compose.c: fixed a bug that empty body was refused.
1239 * src/prefs_template.c: fixed a bug that didn't set To: entry
1240 correctly. Display error dialog if format is illegal.
1241 * src/prefs_common.c
1243 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
1244 "{ }" to prevent confusion on using parenthesis.
1245 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
1249 * src/prefs_template.c: added colon to the header labels.
1254 src/prefs_template.c
1255 src/template.[ch]: added To field to the template.
1259 * src/textview.c: textview_show_part(): use first found
1260 message/rfc822 header.
1261 * src/folderview.c: added "Search messages..." to the context menu.
1262 * src/prefs_common.c: prefs_quote_description_create(): added
1263 description for characters which need to be escaped.
1267 * src/compose.c: compose_wrap_line_all(): more merging from claws.
1268 GET_CHAR(): renamed GET_TEXT() and made it more generic.
1269 Modified compose_wrap_line() and compose_wrap_line_all() to use
1271 * src/textview.c: textview_show_part(): show the header of nested
1272 RFC822 attachment correctly.
1277 src/main.c: added --status option to get new, unread and total
1278 message count from a running Sylpheed (merged from claws).
1279 prohibit_duplicate_launch(): output '\n' only once.
1284 src/gtkutils.[ch]: merged the new wrapping function.
1285 gtkut_text_str_compare_n()
1286 gtkut_text_str_compare()
1287 gtkut_text_is_uri_string(): backport from the GtkSText in the
1288 claws branch, and made modification.
1289 * src/prefs_template.c
1290 src/template.[ch]: added Subject to the template.
1294 * src/compose.c: compose_write_headers(): added missing parenthesis
1295 that generated invalid custom header (thanks to Masaaki Noro).
1296 Allow Sender: custom header.
1300 * src/procheader.c: procheader_date_parse(): workaround for
1301 RFC-incompliant Date header.
1305 * src/addrbook.c: removed redundant functions, and fixed generation
1306 of spurious address book file names.
1307 * src/addrindex.c: V-Card -> vCard.
1311 * src/textview.c: get_email_part(): replaced isalnum() with
1312 the macro IS_ASCII_ALNUM() which restricts the range of
1313 characters to 7bit ASCII (thanks to Shimamoto).
1314 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
1319 * src/textview.c: textview_show_part(): show headers on nested
1324 * src/imap.c: imap_session_get()
1325 src/news.c: news_session_get(): fixed segfault when reconnection
1327 * src/grouplistdialog.c: removed redundant code, and expand nodes
1328 that doesn't match the pattern.
1332 * src/compose.c: modified so that it sends message when any of
1333 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
1334 compose_check_for_valid_recipient(): new.
1335 * src/grouplistdialog.c: improved the UI.
1336 Added appropriate description and search button.
1337 Search doesn't get group list again.
1341 * src/news.[ch]: news_session_get(): update the last access time
1343 news_group_list_free(): new.
1344 * src/grouplistdialog.c: free resources correctly.
1349 src/grouplistdialog.[ch]: more merging of new newsgroup
1350 subscription dialog.
1351 * src/news.[ch]: renamed news_remove_group_list() to
1352 news_remove_group_list_cache().
1356 * src/defs.h: added MAX_ENTRY_LENGTH definition.
1357 * src/compose.c: compose_add_entry_field(): create new entry with
1362 * src/grouplistdialog.c: made non-leaf node selectable.
1363 Give the complete newsgroup name for each nodes.
1367 * src/grouplistdialog.c
1368 src/news.[ch]: merging of new newsgroup subscription dialog
1369 (still in progress. Don't use it yet!).
1373 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
1374 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
1376 compose_entries_set(): new. It parses mailto URL and put each
1377 values into the entries.
1381 * src/compose.c: compose_forward(): fixed a bug that forward
1382 quote mark wasn't used (thanks to Hironori IWANE).
1385 src/prefs_common.c: added Thai encodings (thanks to Manrat
1390 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
1394 src/news.c: added last_access_time to Session.
1395 imap_session_get(): check connection only when access interval
1404 * src/socket.c: ssl_gets(): use SSL_peek.
1405 * updated NEWS and AUTHORS.
1406 * Makefile.am: fixed release target.
1410 * src/template.c: changed the format of template file to
1412 * src/compose.c: compose_template_apply(): freeze the text widget
1413 while inserting strings.
1417 * po/POTFILES.in: removed src/template_select.c.
1418 * src/summaryview.c: summary_set_header()
1419 src/address.c: address_parse_str()
1420 src/filter.c: filter_read_str()
1421 src/news.c: news_parse_xover()
1422 src/procheader.c: procheader_get_fromname()
1423 src/utils.c: subject_compare():
1424 replaced Xalloca() + strcpy() with Xstrdup_a().
1425 * src/inputdialog.[ch]: added combo mode.
1426 input_dialog_combo(): new.
1427 * src/prefs_common.[ch]: added MIME open command setting.
1428 prefs_common_{read, save}_config(): read / write command history.
1429 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
1430 * src/utils.[ch]: add_history(): history list management function.
1434 * src/compose.c: select templates from the menu.
1435 compose_set_template_menu(): new.
1436 compose_reflect_prefs_all(): new.
1437 compose_template_apply(): new. Use dummy MsgInfo for parsing.
1438 * src/template.[ch]: store template list to the static heap.
1439 template_get_config(): new.
1440 template_set_config(): new.
1441 * src/prefs_template.c: don't store template list to the global area.
1442 * src/template_select.[ch]: removed.
1443 * src/quote_fmt_parse.y: check folderitem when quoting messages.
1444 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
1445 (thanks to OSHIRO Naoki).
1449 * src/utils.[ch]: get_template_dir(): new.
1450 * src/template.c: use get_template_dir().
1454 * src/prefs_template.c: modified the dialog layout.
1455 Added symbol description button.
1456 * src/summaryview.c: show an arrow mark to the column of the sort
1458 summary_set_column_titles(): new.
1464 TODO.jp: updated the documents.
1468 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
1469 * src/textview.c: textview_key_pressed()
1470 src/mimeview.c: mimeview_key_pressed()
1471 src/summaryview.c: summary_key_pressed(): delete messages with
1476 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
1477 when SSL_read() returned 0.
1478 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
1480 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
1481 Add prototype of yylex() to suppress the warning.
1482 * merged the template function.
1483 * src/prefs_template.[ch]
1485 src/template_select.[ch]: new.
1486 Renamed prefs_templates_* -> prefs_template_*.
1487 * src/compose.c: added template menu. Added replyinfo to Compose.
1488 * src/mainwindow.c: added template setting menu.
1489 * src/quote_fmt_lex.l: output literal tab and return as is.
1490 * src/prefs_common.c: changed the pref. name of quote format to
1491 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
1495 * src/prefs_common.[ch]: added Quote tab, and moved the quote
1496 setting from Compose tab.
1497 * merged the new quote format parser.
1498 * src/quote_fmt_lex.h
1501 src/quote_fmt_parse.y: new files for quote format parser.
1502 * configure.in: added checks for lex and yacc.
1503 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
1505 compose_quote_fmt(): new.
1506 * src/prefs_common.[ch]: added forward format setting to the
1507 Quote tab. Updated the quote description dialog.
1508 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
1509 if they couldn't get text part.
1513 * src/pixmaps/checkbox_off.xpm
1514 src/pixmaps/checkbox_on.xpm: new.
1515 * src/account.c: display `get all' status with the checkbox pixmaps.
1519 * src/send.c: code cleanup. Pass account prefs structure instead
1521 Query password for SMTP AUTH if not specified (thanks to Mio).
1525 * src/procheader.c: procheader_parse(): fixed a bug that didn't
1526 parse multiple message-id in In-Reply-To: header correctly
1527 (thanks to KAJIWARA).
1531 * src/account.c: enabled 'Get all' setting by clicking the 'G'
1532 column of account list, and added some description.
1533 * src/prefs_common.c: prefs_send_create(): added a description
1534 for outgoing codeset.
1538 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
1539 and added select button and short description.
1540 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
1542 procmime_get_mime_type_table()
1543 procmime_get_mime_type_list(): modified so that
1544 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
1545 $(HOME)/.sylpheed/mime.types are read.
1549 * src/prefs_account.c: moved the address auto-setting to the compose
1551 prefs_account_create(): removed gtk_widget_show_all() for proper
1553 * src/prefs_common.c: changed "Program path" to "Command".
1557 * src/textview.c: textview_set_font(): support Russian charset
1559 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
1563 prefs_summary_column.c: minor improvements to the English.
1564 * src/main.c: get_queued_message_num(): don't output the warning
1565 when queueing folder is not found.
1573 * src/prefs_summary_column.[ch]:
1574 made prefs_summary_column_get_config() public.
1575 * src/summaryview.c: summary_ctree_create(): some code cleanup.
1576 * configure.in: moved the position of SSL checking after LDAP
1577 for linking problem.
1582 src/summaryview.c: allowed reedit in the outbox.
1583 * src/prefs_summary_column.[ch]: new. UI for setting summary
1585 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
1586 It calls summary_set_column_order().
1587 * src/summaryview.[ch]:
1588 summary_ctree_create(): new. separated from summary_create().
1589 summary_set_column_order(): new. It destroys the current
1590 CTree and replaces it with the new one.
1594 * src/smtp.[ch]: smtp_from(): abort if auth failed.
1595 * changed C++-style comments into C-style in some files, and
1596 removed unnecessary commented out codes.
1597 * src/addrcache.[ch]
1601 src/syldap.[ch]: updated the addressbook code, and fixed the
1604 src/importldif.[ch]: new.
1608 * src/about.c: added some items to compiled-in features.
1609 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
1610 * src/addressbook.c: changed "V-Card" to "vCard".
1611 addressbook_edit_address_cb(): added
1612 invalidate_address_completion() to the point address is changed.
1613 * src/codeconv.c: changed C++-style comments into C-style.
1617 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
1621 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
1626 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
1628 * src/summaryview.c:
1629 summary_thread_init(): separated from summary_thread_build().
1630 summary_thread_build(): removed the codes for initialization.
1631 summary_set_ctree_from_list(): call summary_thread_init() instead
1632 of summary_thread_build().
1633 summary_filter(): fixed a bug that didn't moved messages despite
1634 of immediate execution setting.
1638 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
1639 reversed thread tree from message list.
1640 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
1641 node to the head instead of appending to the tail. This prevents
1642 the traverse of node list inside of the GtkCTree, and considerably
1643 speeds up the summary display (the order is O(n^2) -> O(n)).
1647 * src/prefs_common.c
1648 src/summaryview.[ch]: initial modification for reorderable columns.
1652 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a
1654 * src/folderview.c: folderview_button_pressed(): code cleanup, and
1655 turn sensitivity off if main window is locked.
1656 * src/syldap.c: syldap_read_data(): removed unnecessary and
1657 unportable sched_yield().
1661 * src/folderview.c: renamed "Update folder tree" context menu to
1662 "Rescan folder tree", and made "Update folder tree" only updates
1664 folderview_update_all_node(): don't show message dialog.
1665 * src/gtkutils.c: gtkut_widget_get_uposition()
1666 src/mainwindow.c: main_window_popup(): clip the coordinate to
1671 * src/utils.c: to_human_readable(): made a bit of optimization.
1672 * src/summaryview.c: summary_delete(): fixed a focus problem.
1673 summary_find_{prev,next}_msg(): new. They find previous/next
1674 message that is not deleted.
1675 * src/prefs_filter.c: scroll CList automatically if moved row
1676 becomes not fully visible.
1680 * updated some autotool scripts.
1681 * src/codeconv.c: conv_encode_header(): fixed a bug that caused
1682 infinite loop when failed to convert encoding.
1683 * src/codeconv.[ch]: a fix for older version of libjconv
1684 (jconv_info_get_current_codeset() returned "EUCJP" instead of
1693 * src/compose.c: compose_write_to_file()
1694 src/codeconv.c: conv_codeset_strdup(): more workaround for
1695 libjconv problem on C locale.
1696 * src/editldap_basedn.c: fixed segfault when opening dialog.
1697 * src/utils.c: is_next_mbs()
1698 src/compose.c: compose_wrap_line(), compose_wrap_line_all():
1699 changed MB_CUR_MAX to MB_LEN_MAX for compliance to ANSI C.
1700 * configure.in: increased the reqired version of GPGME to 0.2.3.
1701 * src/pop.c: pop3_getauth_user_recv(): fixed a bug that closed
1702 the receive dialog when POP3 server refused normal authentication.
1706 * src/prefs_common.c: prefs_receive_create(): correction to English.
1707 * src/compose.c: compose_set_ext_editor_sensitive(): fixed a bug
1708 that didn't set the menu sensitivity correctly (thanks to
1710 * src/summaryview.c: delete messages permanently if the current
1711 folder is trash and 'delete' operation is executed.
1712 Fixed the bug that didn't select the last row correctly (thanks
1713 to Alfons Hoogervorst).
1714 * src/folder.[ch]: folder_item_remove_msgs(): new. It removes
1715 all messages given in the list.
1719 * src/summaryview.c: summary_show(): fixed a bug that didn't show
1720 message even if the 'open unread message on entering folder'
1721 option was turned on.
1725 * src/procmime.c: procmime_get_text_content(): supported HTML.
1729 * src/summaryview.[ch]: implemented new locking mechanism, and
1730 replaced every static locks with summary_lock(), summary_unlock(),
1731 and added locks to some extra functions.
1732 This fixes a bug that caused segfault when 'd' (delete) key
1737 * src/addressbook.c: addressbook_folder_load_person(): fixed a bug
1738 that caused segfault (thanks to Stefaan A Eeckels).
1742 * src/textview.[ch]: added textview_set_position().
1743 * src/messageview.[ch]: added messageview_set_position().
1755 src/editldap_basedn.c
1760 src/vcard.c: converted C++-style comments into C-style one.
1761 * src/imap.c: QUOTE_IF_REQUIRED(): new macro. Copy string into
1762 new buffer and quote with double quotes if required.
1763 imap_status(), imap_cmd_login(), imap_cmd_list(),
1764 imap_cmd_do_select(), imap_cmd_create(), imap_cmd_delete(),
1765 imap_cmd_copy(): use QUOTE_IF_REQUIRED().
1766 * compose.c: compose_write_to_file(): workaround for the problem
1767 when using libjconv and 8bit codes cannot be converted on C
1769 * codeconv.[ch]: added "ANSI_X3.4-1968" to encoding strings.
1770 conv_codeset_strdup(): don't convert if source and destination
1771 codeset are identical.
1775 * src/textview.[ch]: textview_search_string_backward(): new.
1776 Add the new member cur_pos to TextView.
1777 Connect button_press_event with gtk_signal_connect_after() to
1778 obtain the correct editable position.
1782 * src/folder.c: folder_write_list_recursive(): preserve unthreaded
1787 * src/summaryview.c: modified the layout of popup menu.
1794 src/summaryview.c: applied the patch from Alfons that allows
1795 threading setting for each folders (tnanks!).
1799 * src/message_search.[ch]: new. A Dialog for searching in current
1801 * src/gtkutils.[ch]: gtkut_text_match_string(): new. Compare the
1802 text in current position of GtkText and given wide-character
1804 * src/messageview.[ch]: messageview_search_string()
1805 src/textview.[ch]: textview_search_string(): return TRUE if
1807 * src/textview.[ch]: remember the beginning of body.
1811 * src/procmime.c: procmime_get_first_text_content(): modified so
1812 that it search entire MIME structure.
1813 * src/summary_search.c: summary_search_execute(): use
1814 strdup_mbstowcs() instead of macro. Display matched message.
1818 * src/inc.c: fix for background POP3 hangs and crashes (thanks to
1820 * src/summary_search.c: added body searching function.
1821 * src/procmime.[ch]: procmime_find_string(): changed arguments
1822 and return value. Added case sensitivity option.
1826 * src/procmime.[ch]:
1827 procmime_find_string()
1828 procmime_find_string_part(): new. It searchs the string from
1830 Renamed procmime_get_text_part() to
1831 procmime_get_first_text_content().
1832 procmime_get_text_content(): new. It returns the text contents
1833 of the specified MIME part.
1834 procmime_mimeinfo_next(): new. It returns the next node of
1839 * src/procmime.c: procmime_get_text_part(): modified so that it
1840 finds a text part in nested multipart message correctly.
1841 * src/procmime.h: added an example of MimeInfo structure.
1842 * src/mimeview.c: mimeview_show_message(): search the first text
1847 * src/mainwindow.c: ac_menu_popup_closed(): fixed the bug that
1848 caused segfault. Changed 'Preferences per account...' menu item.
1856 * src/addrindex.c: translate the "Common address" and "Personal
1857 address" from old addressbook.
1861 * src/utils.c: get_quote_level(): some optimization and bugfixes.
1862 * src/codeconv.[ch]: conv_get_current_locale(): new.
1863 * src/editaddress.c: edit_person_page_basic(): reverse the order
1864 of first and last name on some locales.
1868 * src/compose.c: applied the patch from Yasumatsu that reformats
1869 the current paragraph (thanks!). Modified so that it doesn't
1870 reformat quoted paragraphs.
1871 compose_create(): don't fill the entry automatically on reedit
1874 src/summaryview.[ch]: added the "Mark all read" option.
1875 summary_mark_all_read(): new.
1883 src/editldap_basedn.c
1885 src/editjpilot.c: removed all warnings.
1887 src/jpilot.[ch]: fixed the problem that failed to detect JPilot
1888 header files on the Debian system.
1890 src/summaryview.[ch]: enabled sorting by mark, unread, attachment,
1891 and color label. Enabled moving to next/prev flagged messages.
1895 * src/pixmaps/dir-close.xpm
1896 src/pixmaps/dir-open.xpm
1898 src/pixmaps/unread.xpm: modified the color balance.
1899 * src/utils.[ch]: execute_sync(): new.
1900 execute_command_line(): added the arg for async mode.
1901 * src/inc.c: inc_mail(): use execute_command_line().
1906 src/prefs_common.[ch]
1907 src/prefs_account.c: modified the layout. Added the option to
1908 launch the external editor automatically.
1909 * src/compose.c: launch the external editor automatically if the
1914 * src/Makefile.am: added extra xpm's.
1918 * src/addressbook.c: fixed a compilation problem when enabling
1920 addressbook_open(): fixed a missing 'else'.
1924 * src/pixmaps/dir-close.xpm
1925 src/pixmaps/dir-open.xpm
1926 src/pixmaps/trash.xpm: replaced with the new blue icons.
1927 * merged Match Grun's new addressbook code.
1928 * src/pixmaps/address.xpm
1929 src/pixmaps/book.xpm
1930 src/pixmaps/category.xpm
1931 src/pixmaps/interface.xpm
1932 src/pixmaps/jpilot.xpm
1933 src/pixmaps/ldap.xpm
1934 src/pixmaps/vcard.xpm: new icons.
1938 src/addressitem.[ch]
1941 src/editaddress.[ch]
1946 src/editldap_basedn.[ch]
1951 src/vcard.[ch]: new. Many fixes to remove the huge amount of
1953 addrbook_build_avail_email_vis(): fixed a memory leak.
1957 * NEWS: brought in the all of the changes previously put on the web.
1962 src/summaryview.c: modified the layout of menus.
1963 * src/mainwindow.c: ac_menu_popup_closed(): fixed a bug that didn't
1964 return a focus to the main window after selecting the account menu.
1972 * src/send.c: send_message_data(): fixed a bug that didn't process
1973 body part correctly.
1977 * src/inc.[ch]: changed inc_autocheck_(un)lock() to inc_(un)lock().
1978 inc_mail(), inc_all_account_mail(): return immediately if locked.
1981 src/prefs_account.c: use inc_lock() and inc_unlock() instead of
1982 inc_autocheck_timer_{remove,set}().
1983 * src/summaryview.c: summary_set_colorlabel_color(): get the average
1984 of label color and selected fg color for visibility.
1988 * src/inc.[ch]: inc_autocheck_lock(), inc_autocheck_unlock(): new.
1989 They increase/decrease the lock count.
1990 inc_autocheck_func(): if locked, delay the autochecking 1 second.
1991 inc_autocheck_timer_set_interval(): set interval by its argument.
1992 * src/summaryview.c: summary_show(): lock the autochecking while
1994 * src/main.c: app_will_exit(): remove autocheck timer.
1996 src/defs.h: removed the definitions of PACKAGE and VERSION to
1997 prevent unnecessary compilation.
1998 * configure.in: changed AC_DEFINE_UNQUOTED of PACKAGE and VERSION
1999 to AC_SUBST, and added src/version.h to AC_OUTPUT.
2000 * src/version.h.in: new.
2001 * src/intl.h: changed dgettext() to gettext().
2005 * po/ja.po: fixed a typo that crashed Sylpheed with older version
2007 * configure.in: fixed a bug that didn't show results correctly.
2008 Fixed a bug that --enable-compface and --enable-jconv disabled
2010 * src/procmsg.c: procmsg_send_queue(): don't abort when sending
2012 * src/compose.c: compose_write_headers(): add Bcc: header to the
2014 * src/send.c: send_message_data(): new. Separated from
2015 send_message_smtp(). Remove Bcc: header before sending.
2023 * src/send.c: implemented sending with local sendmail command.
2024 send_message_local(): new. It executes command with popen()
2025 and send the contents of RFC822 message to the command.
2026 * src/prefs_common.[ch]: enabled the external sending command option.
2027 * src/defs.h: #define DEFAULT_SENDMAIL_CMD /usr/sbin/sendmail -t
2028 * src/account.c: account_edit_create(): widened the protocol column.
2029 * src/summaryview.c: summary_set_colorlabel_color(): cleanup of
2034 * src/folder.c: folder_item_remove_msg(): scan the folder again
2035 if the last message is removed.
2036 * src/compose.c: compose_queue(), compose_draft_cb(): remove the
2037 old reedited message after adding the new message.
2041 * src/compose.c: compose_queue(): added AID: to the queueing header.
2042 * src/send.c: send_message_queue(): look for AID: header, and use
2043 the server specified in the account instead of SSV: header.
2045 src/compose.[ch]: queued messages can be reedited now.
2046 compose_remove_reedit_target(): new. It removes the old reedited
2048 compose_send(), compose_queue(), compose_draft_cb(): if reedit
2049 mode, remove the old message.
2050 * src/procmsg.c: procmsg_msg_exist(): fixed a bug that output
2055 * applied the XML string table patch from Alfons Hoogervorst that
2056 stores strings in a hash table and minimizes memory allocations
2058 * src/stringtable.[ch]: new.
2059 removed all G and g_ prefix from type and function names since
2060 they're not official GLib symbol names.
2061 string_table_insert_string(): fixed a bug that might refer to an
2062 invalid pointer on lookup, and also made a bit of optimization.
2066 * merged the color label feature from the claws branch (thanks to
2067 Satoshi Nagayasu and Alfons Hoogervoost).
2068 * src/colorlabel.[ch]: new. Renamed from labelcolors.[ch].
2069 Renamed labelcolors_*() to colorlabel_*().
2070 * src/summaryview.[ch]: added color label support.
2071 * src/procmsg.h: added color label flags to the permanent flags.
2072 * updated to gettext 0.10.39.
2073 * src/summaryview.[ch]: put the color label menu item to ItemFactory.
2074 * sylpheed.desktop: added for GNOME.
2075 * configure.in: added AC_MSG_CHECKING() for some options.
2076 Output the configuration results when configure is finished.
2080 * src/account.c: account_clist_set_row(): fixed a bug that failed
2081 to compile if SSL was not enabled.
2085 * merged the SSL support from the claws branch (thanks to Christoph
2087 * src/ssl.[ch]: new.
2088 * src/socket.[ch]: added ssl_read(), ssl_write(), ssl_gets(), and
2090 sock_close(): call ssl_done_socket() if SSL is active.
2091 * src/md5.[ch]: removed MD5_CTX typedef and use MD5_CONTEXT to
2092 prevent type confliction.
2093 * src/prefs_account.[ch]: added SSL tab, and modified the expression.
2094 * src/esmtp.[ch]: added esmtp_ehlo(), and esmtp_starttls().
2095 Removed SSL initialization and HELO from esmtp_starttls().
2096 esmtp_auth(): removed use_smtp_auth from its arguments.
2097 * src/send.c: send_smtp_open(): added SSL support.
2098 * src/smtp.c: smtp_helo(): call esmtp_ehlo() if esmtp is true.
2102 * src/mimeview.c: mimeview_open_with(): braced '%s' with single
2107 * src/main.c: open new account dialog if no account is set.
2108 * src/utils.[ch]: log_verbosity_set(): new. It increase/decrease
2109 the verbosity count.
2110 log_print(): put to statusbar only if log_verbosity_count > 0.
2111 log_message(): put to statusbar.
2112 * src/inc.c: inc_pop3_session_do(): set log verbosity.
2113 * src/mainwindow.c: main_window_set_menu_sensitive(): added the
2114 "Compose new message" item.
2115 main_window_show_cur_account(): removed "Current account: " string.
2116 * src/summaryview.c: summary_show(): ignore the current marks if
2117 main window is locked.
2118 * src/compose.c: compose_attach_property(): fixed a bug that caused
2123 * src/mainwindow.c: main_window_get_current_state(): new. It returns
2124 the current state for the sensitivity of UI.
2125 main_window_set_toolbar_sensitive(): use table like
2126 main_window_set_menu_sensitive().
2130 * src/mainwindow.[ch]: added progressbar and status label to the
2132 main_window_close_cb(): don't exit if locked.
2133 * src/inc.c: update the progressbar of main window, too.
2137 * src/mainwindow.[ch]: main_window_set_toolbar_sensitive(): removed
2138 the second argument, and determine the sensitivity with the
2139 state of summary view.
2143 * src/pop.c: pop3_getsize_list_recv(), pop3_retr_recv(),
2144 pop3_delete_recv(): don't try to receive messages which are not
2149 * src/mainwindow.c: main_window_lock(), main_window_unlock():
2150 removed the whole menubar locking.
2151 main_window_set_menu_sensitive(): process the sensitivity change
2152 with a table, and deal with locking.
2156 * src/summaryview.[ch]: summary_get_selection_type(): new.
2157 It returns the current selection state of summary view.
2158 summary_key_pressed(): abort on some commands if main window
2160 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
2161 increase/decrease the lock count.
2165 * src/prefs_filter.c: prefs_filter_create(): added List-Id to the
2166 default header list.
2167 * src/prefs_common.[ch]: added the option for receive dialog mode
2168 to the Interface tab.
2169 * src/inc.[ch]: inc_progress_dialog_create(): don't make the dialog
2170 transient, and show dialog only if the setting is
2171 RECV_DIALOG_ALWAYS, or RECV_DIALOG_ACTIVE and a window is active.
2172 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
2173 new. Lock / unlock the user-interface.
2174 * src/progressdialog.c: progress_dialog_create(): don't make the
2179 * src/folderview.c: folderview_update_node(): suppressed unnecessary
2181 * src/menu.[ch]: menu_button_position(): new. It calculates the
2182 position of popup menu.
2183 * src/mainwindow.c: toolbar_account_button_pressed(),
2184 ac_label_button_pressed(): put the popup menu to the correct
2185 position. Change the style of the button while opening the menu.
2186 ac_menu_popup_closed(): new function called on selection_done
2188 * src/gtkutils.c: gtkut_ctree_node_next(): fixed a crash bug when
2190 * src/summaryview.c: applied the summary fix patch from Sergey Vlasov
2192 Fixed the bug that didn't select previous message in refresh mode
2193 if threads were not expanded.
2194 summary_select_node(): new.
2195 * src/inc.c: applied the summary view update optimization patch from
2196 Sergey Vlasov (thanks!).
2197 If no new messages are received, don't perform summary refreshing.
2198 In addition to the Vlasov's patch, POP3 receive information is
2200 * src/inc.h: added a new member cur_total_num to Pop3State.
2201 * src/pop.c: pop3_retr_recv(): increase state->cur_total_num.
2209 * src/summaryview.c: summary_set_row_marks(): got the color of
2210 unread row set properly.
2211 * src/folderview.c: foldreview_update_node(): don't use
2212 gtk_style_copy(), and reuse previously allocated styles.
2213 * README, README.jp: modified.
2217 * src/pop.c: pop3_getsize_list_recv(): fixed a remotly exploitable
2218 memory corruption bug (thanks to David Looney).
2219 * src/inc.c: inc_all_account_mail(): call inc_finished() even if
2220 there are no enabled accounts, or local spool only.
2221 * src/summaryview.c: applied the summary update improvement patch
2222 from Sergey Vlasov (thanks!). It keeps the position of the
2223 message displayed. Selected and displayed message are also kept.
2224 summary_get_msgnum(): new.
2225 summary_get_current_msgnum(): removed.
2226 summary_select_by_msgnum(): don't display the message.
2227 * src/account.c: added "Get all" column.
2228 account_clist_set_row(): show default and get-all flags with the
2230 * src/utils.c: to_human_readable(): increased the number of decimals
2235 * implemented the long-awaited :) "Add sender to address book" feature.
2236 * src/address.[ch]: added the argument for remarks to
2238 address_get_folder_list(): new. It traverses the address tree and
2239 returns the folder list.
2240 address_delete_object(): modified so that it removes the node
2242 * src/addressbook.[ch]: addressbook_add_submenu(): new. It creates
2243 a address folder menu and attaches it to the menu item.
2244 addressbook_refresh(): reload the address book folder tree.
2245 * src/summaryview.c: summary_set_add_sender_menu(): new. It attaches
2246 the menu to add sender to address book.
2247 summary_button_pressed(): call summary_set_add_sender_menu()
2248 before popup the menu.
2252 * src/summaryview.c: summary_thread_build(): fixed a bug that locked
2253 up the process. Optimized the initial thread build.
2257 * src/summaryview.c: made many code cleanups.
2258 summary_show(): block/unblock the signal handlers instead of
2259 disconnect/connect them.
2260 summary_set_row_marks(): made the font of collapsed node bold if
2261 it has cnildren marked as unread.
2262 summary_thread_build(): block tree_expand signals while processing.
2263 Use loop instead of the recursive function. Mark collapsed nodes
2265 summary_unthread(): block tree_collapse signals while processing.
2266 Use loop instead of the recursive function.
2267 summary_thread_func(), summary_unthread_func(): removed.
2268 summary_tree_expanded(), summary_tree_collapsed(): new callback
2270 * src/inc.[ch]: inc_pop3_session_do(): don't show alert panel when
2271 failed to connect. Show more detailed status on the dialog.
2275 * src/folderview.c: folderview_update_all_node(): new. It updates
2277 * src/inc.c: update all local folders after incorporation if
2278 scan_all_after_inc option is set.
2279 * src/prefs_common.[ch]: added scan_all_after_inc option.
2280 * src/folder.h: FOLDER_IS_LOCAL(): new macro.
2289 src/prefs_common.h: made bold and small font configurable.
2290 src/summaryview.c: display unread messages with bold font.
2291 * src/prefs_common.c
2293 src/summaryview.c: added an option to enable/disable the
2294 emphasis of unread messages.
2298 * src/pixmaps/mark.xpm: modified.
2299 * src/gtkutils.[ch]: gtkut_ctree_expand_parent_all(): new.
2300 * src/summaryview.c: summary_set_ctree_from_list(): don't expand
2301 the root messages of threads for performance improvement.
2303 summary_select_next_unread()
2304 summary_step(): expand threads when opening messages.
2305 summary_thread_build(): expand threads if the option is turned on.
2306 * src/prefs_common.[ch]: added "Expand threads" option.
2310 * src/prefs_common.c: removed "Emulate the behavior of mouse
2311 operation of Emacs-based mailer".
2312 * src/prefs_common.c
2313 src/prefs_account.c: changed the value of VSPACING_NARROW to 3.
2314 * src/pixmaps/new.xpm
2315 src/pixmaps/unread.xpm: reverted.
2320 address_folder_new()
2322 address_item_new(): changed the return value to AddressObject.
2323 address_build_tree(): don't put assertion for file.
2324 * src/pixmaps/new.xpm
2325 src/pixmaps/unread.xpm: modified a bit.
2329 * src/addressbook.c: fixed some bugs.
2333 * separated the logic part of addressbook into another module
2334 (still in progress).
2335 * src/address.[ch]: new. It contains the logic part of addressbook.
2336 * src/addressbook.[ch]: removed the logic part.
2340 * src/textview.c: textview_show_header(): fixed a bug that a garbage
2341 character was shown after header names.
2345 * src/inc.c: inc_start(): don't abort with non-fatal error.
2353 * src/mimeview.c: mimeview_view_file(): added -x option to the
2354 metamail to prevent the suspention of the main process.
2355 mimeview_button_pressed(): deactivate `Open' menu item if
2356 content-type is application/octet-stream.
2360 * src/imap.c: imap_parse_atom(): parse escaped characters properly.
2361 get_quoted(): new. It handles the escape character '\'.
2362 * src/folder.c: folder_read_list(): don't output warning if
2363 folderlist.xml doesn't exist.
2364 * src/main.c: main(): write folder list after setup.
2365 * src/textview.c: textview_create()
2366 src/compose.c: compose_create(): set default tab width to 8.
2370 * src/prefs_common.c: date_format_select_row(): fixed a bug that
2371 caused segfault when selecting the list with key.
2375 * src/mainwindow.c: main_window_popup(): deiconize the window
2376 when popup (thanks to Henrik Carlqvist).
2377 * src/procmime.c: procmime_scan_mime_type(): new.
2378 procmime_scan_content_type(): use procmime_scan_mime_type().
2379 procmime_scan_mime_header(): scan the extension of attached files
2380 and add the correct MIME type if the Content-Type is
2381 "application/octet-stream" (thanks to Don Quijote).
2382 * src/compose.c: compose_toolbar_create(): added a new "Send later"
2383 icon (thanks to Leandro Pereira).
2387 * src/prefs_common.c: date_format_create(): modified the layout of
2392 * src/account.c: account_find_from_address(): fixed a minor bug.
2393 * src/prefs_common.c: incorporated the user-interface for setting
2394 date format from the claws branch, and made some modification to
2399 * src/account.[ch]: account_edit_create(): modified the text of
2401 account_find_from_address(): new.
2403 procmime_scan_content_type(), procmime_scan_content_disposition():
2404 fixed ESC code detection.
2405 * src/compose.c: compose_reply(): automatically select account
2406 according to the message header.
2407 * src/prefs_common.[ch]: added member "reply_account_autosel".
2411 * src/progressdialog.c: made the CList scrollable.
2412 * src/inc.c: inc_start(): don't abort with non-fatal error.
2416 * added English Sylpheed User's Manual by Paul Kater
2417 (paul@nlpagan.net) (thanks!).
2420 src/mainwindow.c: added support for English manual.
2421 * manual/en/sylpheed*.html: added English documentation.
2426 * src/nntp.c: nntp_ok(): fixed the bug that didn't handle a response
2427 that didn't have any trailing messages.
2428 * src/smtp.c: smtp_ok(): ditto.
2429 * src/compose.c: compose_account_option_menu_create(): modified
2430 the style of the account option menu.
2434 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
2435 remove return code from strings automatically.
2436 prefs_custom_header_create(): added "X-Face" to the default
2438 * src/news.c: news_fetch_msg(), news_get_group_list()
2439 src/imap.c: imap_fetch_msg(): create the cache directory before
2442 procmime_scan_content_type()
2443 procmime_scan_content_disposition(): convert JIS into EUC-JP
2445 * src/codeconv.c: conv_unmime_header(): cleaned up a bit.
2446 * src/compose.c: don't append attachment headers if the attach
2447 pane is visible but the list is empty.
2448 * src/recv.c: recv_bytes_write(): use g_malloc() instead of alloca().
2456 * src/compose.c: compose_quote_parse_fmt()
2457 src/prefs_common.c: prefs_quote_description_create(): added the
2458 symbol `%c' that allows to include Cc in reply format (thanks
2461 src/procmime.c: procmime_decode_content(): applied the patch
2462 from Sergey Vlasov that allows to decode base64 data with
2463 unusual line length (not a multiple of 4) (thanks!).
2467 * src/procmsg.[ch]: separated the permanent flags and temporary
2468 flags into two variables, and made MsgFlags a structure that
2470 MSG_SET_PERM_FLAGS()
2472 MSG_UNSET_PERM_FLAGS()
2473 MSG_UNSET_TMP_FLAGS(): new macros.
2481 src/summaryview.c: modified for the new MsgFlags.
2482 * src/utils.[ch]: hash_free_value_mem(): new. It frees the values
2487 * src/inc.c: inc_pop3_recv_func(), inc_progress_update():
2488 display current size with human-readable format.
2489 * src/grouplistdialog.c: grouplist_recv_func(): ditto.
2496 conv_unmime_header(), conv_unmime_header_overwrite(): workaround
2497 for raw-JIS code in header fields.
2499 folder_get_default_folder()
2500 folder_get_default_inbox()
2501 folder_get_default_outbox()
2502 folder_get_default_draft()
2503 folder_get_default_queue()
2504 folder_get_default_trash(): fixed a bug that caused segfault
2505 if folder_list is NULL.
2515 * src/grouplistdialog.c: grouplist_dialog_set_list(): update UI
2516 while retrieving newsgroup list.
2517 grouplist_dialog_create(): added entry widget and status label.
2518 grouplist_recv_func(): new.
2519 refresh_clicked(): added exclusive lock variable.
2520 clist_selected(): set text entry when the CList is selected.
2521 renamed from group_clist_select().
2522 entry_activated(): new.
2523 grouplist_clear(): renamed from grouplist_free(). Also clears
2524 list and entry widget.
2525 * src/news.c: news_get_group_list(): sped up the list appending
2526 (g_slist_append() becomes very slow if list size is large).
2527 * src/defs.h: added UI_REFRESH_INTERVAL definition.
2528 Changed the definition of NEWSGROUP_LIST.
2529 * src/recv.c: recv_write()
2530 src/send.c: send_message_smtp(): changed the UI refresh interval
2531 to UI_REFRESH_INTERVAL (50msec).
2532 * src/account.c: account_add(): fixed a bug that didn't update
2533 folder tree when a news account was added.
2534 * src/grouplistdialog.c: made exclusive lock variable global, and
2535 lock at grouplist_dialog_set_list().
2536 * src/textview.c: fixed a bug that disabled clickable URI if
2537 message color was disabled.
2541 * src/grouplistdialog.c: ok_clicked(), cancel_clicked(): don't
2542 quit main loop if gtk_main_level() is 1.
2543 grouplist_dialog_set_list(): freeze CList while appending the list.
2544 grouplist_dialog(): show dialog before updating the list.
2548 * src/folder.c: folder_write_list_recursive(): add the attribute
2549 `collapsed' if a node have some children.
2550 * src/grouplistdialog.[ch]: new. Newsgroups can be selected from
2553 news_get_group_list(): new. It returns newsgroup list.
2554 news_remove_group_list(): new. It removes newsgroup list cache.
2555 * src/folderview.c: folderview_new_news_group_cb(): call
2556 grouplist_dialog() instead of input_dialog().
2560 * autogen.sh: modified.
2562 src/folderview.c: made expand/collapse state of folders persistent
2571 * src/imap.c: imap_remove_folder(): select INBOX with EXAMINE before
2573 imap_cmd_do_select(): new. It toggles between SELECT and EXAMINE
2574 according to the argument.
2575 imap_cmd_select(): use imap_cmd_do_select().
2576 imap_cmd_examine(): new.
2577 * src/folderview.c: folderview_rm_imap_folder_cb(): select current
2578 folder again when removing failed.
2584 * manual/ja/sylpheed.sgml
2585 manual/ja/*.html: updated the Japanese manual (thanks to Imai).
2586 * src/summaryview.c: summary_set_row_marks(): fixed a bug that
2587 didn't set foreground correctly.
2589 src/summaryview.h: removed the member color_normal from FolderView
2591 * src/mainwindow.c: main_window_create(): removed color_normal.
2595 * src/prefs_account.[ch]: the port numbers of IMAP4 and NNTP
2597 * src/imap.c: imap_session_get()
2598 src/news.c: news_session_new_for_folder(), news_session_get():
2599 use user-defined port number if specified.
2603 * src/imap.c: imap_scan_tree_recursive(): get mailbox status when
2605 imap_scan_folder(): implemented. It updates the numbers of new,
2606 unread and total messages.
2607 imap_status(): new. It parses the response of STATUS command.
2608 imap_status_uidnext(): removed.
2609 imap_cmd_status(): removed.
2610 * src/textview.c: textview_show_part(): fixed potential memory leaks.
2614 * src/alertpanel.c: alertpanel_create(): fixed truncated message.
2615 * src/rfc2015.c: rfc2015_decrypt_message(): fixed the case problem
2616 of content-type (thanks to René Rebe for the patch).
2617 * src/codeconv.c: code_get_code_conv_func(): fixed the ISO-8859-1
2619 * src/prefs_common.c: prefs_send_create(): made some more character
2620 sets specifiable when not using libjconv.
2621 * configure.in: disabled --enable-threads option temporarily.
2623 INSTALL.jp: deleted the description about --enable-threads option.
2627 * updated gettext to 0.10.38.
2633 * src/folderview.[ch]: folderview_set_all(): new.
2634 * src/account.c: account_add(): call folderview_set_all() after
2635 creating IMAP4 tree.
2636 account_edit_create(): account preferences dialog can be opened
2637 with double clicking of the list.
2638 account_selected(): new.
2639 account_clist_set(): made the CList focus set correctly.
2643 * src/imap.c: imap_scan_tree(): call imap_create_trash() if trash
2645 imap_scan_tree_recursive(): search the sub folders of INBOX.
2646 recognize Trash folder.
2647 imap_create_tree(): separated the part of creating trash.
2648 imap_create_trash(): new.
2649 * src/folder.c: folder_build_tree(), folder_write_list_recursive():
2650 preserve no_sub and no_select.
2651 * src/summaryview.c: summary_show(): don't proceed if item->no_select
2656 * src/imap.c: imap_scan_tree(): fixed a bug that didn't set the
2657 root folder correctly.
2661 * src/folderview.[ch]:
2662 folderview_update_tree(): new. It updates one folder tree.
2663 folderview_update_tree_cb(): new.
2664 Added "Update folder tree" to the popup menu, and modified some
2669 * src/imap.c: implemented the autoscan of IMAP4 folder list.
2670 imap_scan_tree(): new. It scans the whole IMAP4 folder.
2671 imap_scan_tree_recursive(): new. It traverses the IMAP4 folder tree.
2672 imap_parse_list(): new. It parses the LIST response.
2673 imap_get_real_path(): new. It converts local path into IMAP4 path.
2674 * src/folder.h: added no_sub and no_select to FolderItem.
2675 * src/folder.c: folder_tree_destroy(): reset some variables.
2676 * src/folderview.c: folderview_scan_tree_func(): supported IMAP4.
2680 * src/imap.c: imap_parse_envelope(): fixed a bug that didn't
2681 parse the FETCH response that continues to the next line.
2682 imap_parse_fetch_element(): removed.
2683 imap_parse_atom(), imap_parse_one_address(), imap_parse_address(),
2684 imap_parse_envelope(), imap_get_uncached_messages(): use GString
2685 and sock_getline() to parse the FETCH response.
2686 imap_remove_all_msg(): fixed a bug that didn't delete messages
2688 imap_parse_address(): fixed a bug that didn't concaternate
2689 addresses correctly, using GString.
2690 * src/socket.[ch]: sock_getline(), fd_getline(): new. They read
2691 the whole line and return the newly allocated string.
2692 * src/prefs_account.[ch]: added `IMAP server directory' entry.
2698 * src/imap.c: imap_create_tree(): pass the path that is separated
2699 by the local filesystem separator to imap_create_folder().
2700 imap_create_folder(): examine the existence of folders using
2701 LIST command instead of STATUS.
2702 imap_cmd_list(): new.
2703 imap_query_password(): new.
2704 imap_session_new(): query password if it is not set.
2708 * src/imap.c: imap_parse_envelope(): FETCH results can be parsed
2709 with arbitrary order.
2710 imap_parse_fetch_element(): new. it parses one pair of name and
2711 value of FETCH results.
2712 imap_parse_flags(): modified for more flexibility.
2713 * src/utils.[ch]: set_log_file(): new. it opens a new file for
2715 close_log_file(): new. it closes the opened log file.
2716 log_print(), log_message(), log_warning(), log_error(): also
2721 * src/imap.c: imap_cmd_status(): check the pointer to "value"
2722 before the assignment (thanks to NISHIJIMA).
2726 * src/folderview.c: folderview_drag_motion_cb(): don't allow DnD
2727 across MH and IMAP4 folder (for now) (thanks to Hiramatu).
2728 * src/foldersel.[ch]: don't show folders which can't be targets
2740 imap_cmd_store(): use UID instead of sequential number.
2741 Renamed imap_set_article_flags() to imap_set_message_flags().
2742 * src/summaryview.c: summary_execute(): don't update summary
2743 even if current folder is IMAP4.
2744 * src/utils.[ch]: remove_numbered_files(): changed the type of
2745 arguments from gint to guint.
2749 * src/imap.c: imap_cmd_login(), imap_cmd_select(), imap_cmd_status(),
2750 imap_cmd_create(), imap_cmd_delete(), imap_cmd_copy(): don't
2751 enclose with double quotation if string doesn't have space
2752 (workaround for old Cyrus IMAP4 server).
2753 imap_create_folder(): fixed a bug of separator substitution.
2754 renamed imap_session_connect_if_not() to imap_session_get().
2755 imap_get_msg_list(): delete all cached messages if use_cache
2757 imap_delete_cached_messages(): remove cached files in between
2758 the specified range by reading directory entry.
2759 imap_parse_one_address(): set fromname same as the from address
2761 * src/utils.[ch]: remove_numbered_files(): new. The range is
2763 * src/summaryview.c: summary_execute(): update summary if current
2765 KEY_PRESS_EVENT_STOP(): new macro.
2766 summary_key_pressed(): stop signal emission when calling
2768 summary_select_by_msgnum(): show message only if
2769 msg_is_toggled_on is TRUE. Move current page to the selected
2771 * src/news.c; news_delete_old_articles(): remove cached files in
2772 between the specified range by reading directory entry.
2774 folderview_selected(), folderview_button_released(): fixed a bug
2775 that didn't select folder correctly.
2781 src/prefs_common.c: improvements to the English (thanks to Paul
2783 * src/mainwindow.c: compose_cb()
2784 src/summaryview.c: summary_key_pressed()
2785 src/compose.c: compose_new_with_recipient(): newsgroups entry
2786 is automatically filled when composing a new article.
2790 * src/procmsg.c: procmsg_msg_list_free(): fixed a bug that didn't
2791 free list correctly.
2797 * src/imap.c: imap_find_namespace(): replace namespace path
2798 separator with slash before comparison.
2799 imap_remove_folder(): use namespace.
2800 imap_create_tree(): use namespece when creating Trash.
2801 imap_get_msg_list(): fixed a bug that returned old list and caused
2802 memory leak if exists == 0.
2803 imap_select(): new. It's a wrapper for imap_cmd_select().
2804 * src/foldersel.c: foldersel_set_tree(): show IMAP4 folder too.
2809 folderview_new_folder_cb()
2810 folderview_new_imap_folder_cb(): show error dialog when creation
2811 or deletion of folder failed.
2812 Made it allow users to create a folder which contains subfolders.
2813 folderview_button_pressed(): disabled delete menu on the special
2815 * AUTHORS: incorporated from claws branch. It now contains all
2817 * src/send.c: enabled cancellation.
2818 EXIT_IF_CANCELLED(): new macro.
2819 Added cancelled flag to SendProgressDialog.
2820 * src/utils.[ch]: strtailchomp(): new. It removes the trailing
2821 specified character.
2822 * src/imap.c: imap_cmd_fetch(): a fix for MS Exchange 2000 server.
2826 * src/imap.c: imap_create_tree(): new. It creates required
2827 folders such as INBOX and Trash.
2828 imap_do_copy(), imap_do_copy_msgs_with_dest(): don't expunge
2830 imap_remove_all_msg(): return immediately if exists == 0.
2831 * src/account.c: account_add(), account_set_missing_folder():
2832 made them use folder->create_tree().
2836 * src/imap.c: more namespace implementation.
2837 imap_find_namespace(), imap_path_separator_subst(): new.
2841 * src/imap.c: imap_parse_namespace(), imap_cmd_namespace(): new.
2845 * src/summaryview.c: summary_show(): fixed a glitch in folder view.
2849 * src/imap.[ch]: added imap_add_msg(), and imap_append_message(),
2850 which appends file into IMAP4 folder.
2852 imap_create_folder(): check the existence of a folder before
2854 renamed the prefix of low-level IMAP4rev1 functions to imap_cmd.
2855 * src/account.c: account_add(), account_set_missing_folder():
2856 create INBOX automatically when creating IMAP4 account.
2860 * src/utils.[ch]: added itos_buf() that takes the buffer for its
2862 * src/imap.[ch]: imap_copy_msg(), imap_copy_msgs_with_dest(): new.
2863 * src/folder.c: added copy_msg and copy_msgs_with_dest methods
2868 * src/utils.[ch]: move_file(): new.
2869 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): modified to
2870 use move_file(), and fixed a bug that didn't close file when
2875 * src/imap.c: renamed imap_delete_messages() and
2876 imap_delete_all_messages() to imap_delete_cached_messages() and
2877 imap_delete_all_cached_messages(). Some code cleanups.
2878 * src/utils.[ch]: added a function remove_all_numbered_files().
2879 * src/mh.c: mh_remove_all_msg()
2880 src/imap.c: imap_delete_all_cached_messages():
2881 use remove_all_numbered_files().
2884 src/compose.[ch]: added `Reply to sender'.
2886 compose_reply_set_entry(): added an argument `ignore_replyto'.
2890 * src/folderview.c: folderview_selected()
2891 src/summaryview.c: summary_show(): fixed a bug that updated wrong
2892 folder when remaining marks were processed.
2896 * src/headerwindow.c: headerwindow_show_cb(): always try to show
2897 msginfo, and use the selected message, not the displayed one.
2898 * src/smtp.c: smtp_ok(): fixed sock_gets() error handling.
2902 * src/folderview.c: folderview_selected()
2903 src/mimeview.c: mimeview_selected(): ungrab the mouse event.
2904 * src/summaryview.c: summary_show(): process the left marks if any.
2908 * src/passphrase.c: enclosed with #if USE_GPGME.
2909 * src/prefs_account.c: added NNTP AUTH check button.
2910 * src/alertpanel.[ch]: alertpanel_create(): added new argument
2911 `can_disable', all existing callers changed to pass FALSE;
2912 created a check button to disable the message.
2913 alertpanel_message_with_disable(): new.
2914 alertpanel_show(): mask value with G_ALERT_VALUE_MASK.
2915 alertpanel_button_toggled(): new.
2916 alertpanel_button_clicked(), alertpanel_close(): set value using
2918 * src/prefs_common.[ch]: added option to toggle GnuPG signature
2919 check popup window, and GnuPG warning.
2920 * src/rfc2015.c: check_signature(): show signature check dialog
2921 only if it is enabled.
2922 * src/main.c: modified GnuPG checking.
2924 src/prefs_common.c: fixed some compilation bugs when enabled
2929 * src/codeconv.c: conv_get_code_conv_func(): fix for ISO-8859-*
2930 encodings with libjconv.
2931 conv_encode_header(): fixed an endless loop bug when encountering
2932 an invalid wide character (thanks to Alte).
2933 * src/headerview.c: SET_FONT_STYLE(): fixed segfault with invalid
2935 * src/imap.c: imap_create_folder(): don't create folder if the
2937 * src/mainwindow.c: main_window_reflect_prefs_all(): hide the
2938 execute button when immediate execution is enabled.
2943 README.jp: added the "How to run" section.
2947 * merged NNTP AUTH from the claws branch.
2948 * src/news.[ch]: supported NNTP AUTH.
2949 * src/nntp.[ch]: wrapped SockInfo with NNTPSockInfo for NNTP AUTH.
2951 INSTALL.jp: modified the confirmation list and the warning about
2956 * src/gtkutils.[ch]: moved folderview_find_collapsed_parent() to
2957 gtkut_ctree_find_collapsed_parent().
2958 * src/folderview.c: folderview_select_node(): automatically expand
2959 the parent folders when selected.
2960 * configure.in: made the version number to 0.4.99 (0.5pre)
2961 * src/main.c: main(): moved parse_cmd_opt() before gtk_init()
2962 so that X is not necessary for --help and --version.
2963 parse_cmd_opt(): changed g_get_prgname() to g_basename(argv[0]).
2964 * src/folderview.c: folderview_update_node(): a fix for collapsed
2969 * src/main.c: lock_socket_input_cb(): changed fd_read() to fd_gets().
2970 It caused garbages in --compose option.
2971 * src/socket.[ch]: made fd_gets() public.
2975 * src/gtkutils.[ch]: gtkut_ctree_node_next(): new.
2976 * src/folderview.c: folderview_find_next_unread(): new.
2977 folderview_select_next_unread(): modified so that it can find
2982 * src/compose.c: compose_write_headers(): excluded also From, To,
2983 Sender because they could be used for SPAM.
2984 * src/folderview.c: add '+' mark to the collapsed folder that have
2985 some unread folders.
2986 folderview_search_new_recursive(),
2987 folderview_have_new_children(),
2988 folderview_search_unread_recursive(),
2989 folderview_have_unread_children(),
2990 folderview_find_collapsed_parent(): new.
2991 folderview_update_node(): display the number of queued messages.
2996 src/mh.[ch]: modified *_add_msg() to use link(). Added the
2997 argument to switch whether to remove the source file or not.
3000 src/mbox.c: modified the argument of folder_item_add_msg() and
3001 removed some unlink()'s.
3005 * src/prefs_customheader.[ch]: renamed prefs_headers_* to
3006 prefs_custom_header_*. Removed `(New)' row and `Substitute'
3007 button. Supported empty value.
3008 prefs_custom_header_row_moved(): new. Connected "row_move" signal
3009 to the function, and made it set header list.
3010 * src/customheader.c: custom_header_get_str()
3011 src/compose.c: compose_write_headers(): supported empty value.
3012 * src/prefs_display_header.c: prefs_display_header_row_moved(): new.
3013 Connected "row_move" signal to the function, and made it set
3015 * src/compose.c: compose_write_headers(): modified the order of
3016 headers, and made it encode the custom headers.
3017 * src/prefs_customheader.c: prefs_custom_header_delete_cb()
3018 src/prefs_filter.c: prefs_filter_delete_cb(): treat closing the
3019 alert panel by ESC as "No".
3023 * merged the custom header stuff from claws branch:
3024 * src/customheader.[ch]
3025 src/prefs_customheader.[ch]: new.
3026 * src/customheader.c: custom_header_read_str(): use strtol() instead
3027 of atoi() and check errors.
3028 custom_header_find(): new function.
3029 * src/compose.c: IS_IN_CUSTOM_HEADER(): new macro.
3030 compose_write_headers(): made it replace headers with user-defined
3031 headers except for some automatically generated headers.
3035 * src/inc.c: connection_check_cb(): fixed a bug that caused
3036 segmentation fault if connection was not established.
3037 * src/compose.c: compose_create(): even if set_autobcc or set
3038 autoreplyto is checked and the entries are empty, show them.
3042 * src/textview.c: textview_show_mime_part(): modified the messages.
3043 TEXT_INSERT(): new macro.
3045 * src/prefs_display_header.c: prefs_display_header_create():
3046 modified the text of checkbutton.
3050 * src/mimeview.c: added "Open with..." to the context menu.
3051 * src/summaryview.c: summary_print()
3052 src/inputdialog.c: input_dialog(): fixed memory leaks.
3053 * src/textview.c: textview_show_mime_part(): updated the description.
3054 * src/send.c: implemented sending progress dialog.
3055 (TODO: automaton should be used.)
3056 send_progress_dialog_create(), send_progress_dialog_destroy(),
3058 send_message_smtp(): made it update the dialog for each stage.
3059 * src/utils.[ch]: get_left_file_size(): new. Get the left bytes
3061 * src/summaryview.c: summary_show(): when open_inbox_on_inc is set,
3062 go to first unread message even if folder is same as previous.
3063 * src/prefs_common.c: made color selection dialog transient, and
3064 made escape key close the dialogs.
3070 * src/select-keys.c: delete_event_cb(): removed `;' from its end.
3071 * src/recv.c: recv_write(): changed the interval to 10msec.
3072 * src/prefs_display_header.c: modified the layout of the dialog,
3073 and made the hidden headers list insensitive when `Show other
3074 headers' is not checked.
3075 * src/textview.c: changed strcasecmp() and strncasecmp() to
3076 the corresponding glib functions.
3077 * src/inc.c: get_spool(): make a temporary file in the home
3082 * src/prefs_common.c
3094 src/sigstatus.c: fixed a bug that accidentally destroyed dialogs
3095 when closed them with delete_event (thanks to DINH).
3096 Added *_deleted() and *delete_event() which handle delete_event
3101 * src/prefs_display_header.c: merged some changes from claws branch:
3102 prefs_display_header_create(): allow reordering of headers by
3104 prefs_display_header_find_header(): new function.
3105 prefs_display_header_clist_set_row(): don't allow duplicates.
3106 * src/prefs_account.c: prefs_account_receive_create(): changed
3107 the label of the check button.
3111 * src/pop.c: pop3_getsize_list_recv(): if sscanf() failed, break
3113 * src/inc.h: removed cur_msg_bytes from Pop3State.
3114 * src/inc.c: pop3_recv_func()
3115 src/recv.[ch]: made the second arguments of RecvUIFunc current
3117 recv_write(): made it call UI func if elapsed time is greater
3119 * src/recv.c: recv_write(): changed the interval to 300 usec.
3120 * src/textview.c: textview_show_header(): if header is Subject,
3122 * src/utils.[ch]: unfold_line(): new.
3123 * src/procheader.[ch]: procheader_get_header_array(): new.
3124 * src/prefs_display_header.c: updated defaults.
3128 * some merge from the sylpheed-claws branch.
3129 It allows user to specify displayed headers in message view.
3130 (symbol names were also changed.)
3131 * src/prefs_display_header.[ch]
3132 src/displayheader.[ch]: new.
3133 * src/prefs_display_header.c:
3134 removed prefs_display_headers_other_headers_toggled().
3135 removed "(New)" row from the list.
3136 * src/defs.h: added DISPLAY_HEADER_RC.
3137 * src/prefs_common.c: prefs_message_create(): added a button for
3138 opening the display header setting dialog.
3139 * src/prefs_common.h: added show_other_header and disphdr_list
3141 * src/procheader.[ch]: procheader_get_header_list_from_file(),
3142 procheader_get_header_array_asis(): new.
3143 procheader_get_header_list(): modified so that it takes FILE
3144 pointer for its argument.
3145 procheader_header_array_destroy(), procheader_header_free(): new.
3146 * src/main.c: main(): made it call prefs_display_header_*_config().
3147 * src/textview.c: textview_scan_header(): modified so that it
3148 sorts headers according to user setting.
3149 src/textview_show_header(): made it call
3150 textview_make_clickable_parts().
3151 textview_make_clickable_parts(): added GdkFont to its arguments,
3152 and removed GtkText from them.
3156 * implemented auto-checking of new mail based on the patch from
3157 Pierric Descamps (thanks!).
3158 * src/inc.c: added inc_autocheck_timer_init(),
3159 inc_autocheck_timer_set(), inc_autocheck_timer_remove(),
3160 inc_autocheck_func() for auto-checking of new mail.
3161 * src/main.c: main(): call inc_autocheck_timer_init().
3162 * src/prefs_common.c: prefs_receive_create(): activated the
3163 auto-checking UI. Added prefs_common_cancel(), and connected
3164 some signals to that.
3165 * src/prefs_common.c
3168 src/account.c: Disabled auto-checking while opening the dialog.
3169 * src/headerview.c: headerview_show_xface(): fixed a bug that
3170 showed a warning when header pane was hidden.
3176 src/recv.c: removed non-blocking socket mode support since it
3179 src/inc.c: modified the messages of incorporation dialog.
3183 * src/utils.h: made u32 the typedef of guint32.
3184 added BIG_ENDIAN_HOST macro that is used by md5.c.
3185 * src/md5.c: renamed md5c.c. Fixed the indentation. Fixed a bug
3186 that didn't calculate MD5 correctly on big endian machines.
3192 * src/folder.c: folder_init(): added the method imap_remove_folder.
3193 * src/folderview.c: folderview_rm_imap_folder_cb(): made it
3194 actually remove folder from IMAP4 server.
3195 * src/imap.[ch]: imap_create_folder(): made it actually create
3196 folder on IMAP4 server.
3197 imap_remove_folder(): added.
3198 imap_create(), imap_delete(): added.
3199 * src/summaryview.c: summary_execute_delete(): don't check trash
3200 if folder type is not F_MH.
3201 * thanks to Ishihara for the above changes.
3203 ac/check-type.m4: better wint_t typedef detection (renamed
3204 sv_CHECK_TYPE to SYLPHEED_CHECK_TYPE).
3208 * src/recv.c: recv_bytes_write(): fixed another bug that caused
3209 infinite loop and buffer overrun.
3213 * src/socket.[ch]: renamed sock_read() and fd_read() to
3214 sock_gets() and fd_gets() for preventing confusion.
3215 Added sock_read() and fd_read() which is the wrapper of read().
3216 * src/recv.c: recv_bytes_write(): fixed a bug that caused infinite
3217 loop. Use sock_read() instead of fd_read().
3224 src/smtp.c: use sock_gets() instead of sock_read().
3225 * src/imap.c: imap_session_new(): fixed the error detection
3230 * src/inc.c: made it displays current read bytes to the dialog.
3231 * src/pop.c: recv_write(): call UI function before editing
3236 * src/progressdialog.c: progress_dialog_create(): modified the
3237 size of dialog and made it stretchable.
3239 src/esmtp.c: smtp_ok(), esmtp_ok(): fixed a bug that didn't
3240 process an error response correctly (thanks to Ohmasa).
3241 * src/pop.[ch]: added pop3_getsize_list_send(),
3242 pop3_getsize_list_recv().
3243 * src/recv.[ch]: added recv_set_ui_func() that makes recv_write()
3244 call the callback function for each sock_read().
3245 * src/inc.h: in Pop3State, renamed bytes to total_bytes, and added
3246 cur_msg_bytes, cur_total_bytes, and sizes.
3247 * src/inc.c: added inc_pop3_recv_func() that updates the progress
3248 bar for each sock_read().
3252 * src/mh.c: mh_is_maildir_one(): modified so that it uses
3255 2001-04-25 Werner Koch <wk@gnupg.org>
3257 * src/mh.c (mh_is_maildir_one, mh_is_maildir): New.
3258 (mh_scan_tree_recursive): Do not include Maildir style directories
3261 Changed the use of integers to describe sockets by an more abstract
3264 * src/automaton.h (struct _Automaton): Add help_sock.
3265 * src/automaton.c (automaton_input_cb): Changed source to be
3266 SockInfo and use wrapper for gdk_input_add.
3268 * src/send.c (SEND_EXIT_IF_ERROR): Adjusted tests and removed test
3269 for invalid socket because this is now done in sock_close. Set
3271 (SEND_EXIT_IF_NOTOK): Set closed sock to NULL.
3272 (send_smtp_open): Use only SockInfo.
3274 * src/news.c (news_session_new): Use SockInfo here.
3275 (news_session_destroy): Ditto and set sock to NULL.
3277 * src/nntp.c: Use SockInfo instead of integers
3278 * src/smtp.c: Ditto.
3280 * src/recv.c: Ditto.
3282 * src/inc.c (inc_pop3_session_do): Removed sock_sockinfo_free. Put
3283 gdk_input_add into a wrapper.
3285 * src/esmtp.c: Changed socket descriptors to use SockInfo.
3286 * src/esmtp.h: Ditto, included socket.h.
3287 * src/session.h (struct _Session): Likewise.
3288 * src/imap.c (imap_open): Return SockInfo ptr and not an integer.
3289 Removed access to internal data of SockInfo. Changed all callers
3290 and functions to take SockInfo.
3291 (imap_session_new): Use sock_close here.
3292 (imap_session_destroy): Ditto.
3294 * src/compose.c (compose_exec_ext_editor): Replaced sock_write by
3297 * src/main.c (app_will_exit): Close lock socket using fd_close.
3298 (prohibit_duplicate_launch): Use fd_xxx functions instead of sock_xxx.
3299 (lock_socket_input_cb): Ditto.
3301 * src/socket.h, src/socket.c: Prepared SockInfo structure to use
3302 glib channels. Changed all sock_xxx to use SockInfo instead of an
3304 (sock_connect_unix, sock_open_unix, sock_accept): Renamed to ..
3305 (fd_connect_unix, fd_open_unix, fd_accept): .. this and changed all
3307 (fd_read, fd_write, fd_close): New.
3308 (sock_sockinfo_free): Removed.
3309 * src/socket.c (sock_connect_nb): Use close instead sock_close here.
3310 (sock_connect): Ditto.
3314 * config.h.in: removed.
3315 * ac/Makefile.am: added gnupg-check-typedef.m4 to MACROS.
3316 * .cvsignore: added.
3318 src/progressdialog.[ch]
3319 src/pixmaps/complete.xpm
3320 src/pixmaps/continue.xpm
3321 src/pixmaps/error.xpm: applied the patch from Leandro Pereira
3322 that displays the state of message incorporation (thanks!).
3323 * src/inc.c: made the progress dialog change the text of status.
3327 * removed po/*.gmo, configure, stamp-h.in, aclocal.m4, Makefile.in
3329 * COPYING: removed RSA copyright notice.
3330 * removed po/sylpheed.pot, po/stamp-cat-id, po/cat-id-tbl.c.
3331 * configure.in: added the check of sys/utsname.h.
3333 2001-04-24 Werner Koch <wk@gnupg.org>
3335 Merged most of the changes from the W32 branch in.
3337 * configure.in: Require gpgme >= 0.2.1
3339 * acconfig.h (HAVE_U32_TYPEDEF): New.
3340 * ac/gnupg-check-typedef.m4: New.
3341 * configure.in: Check for u32 type and the size of some types.
3342 * src/utils.h: Define the u32 type and related constants.
3344 * src/about.c (about_create): Removed the note about MD5. We are
3345 not any longer using the RSA Inc. implementation.
3346 * src/md5ify.c, src/md5ify.h, src/md5global.h: Removed.
3347 * src/md5c.c, src/md5c.h: Replaced by an FSF implementation and
3348 renamed the function to standard lowercase convention. Changed all
3350 (md5_hex_digest): New.
3351 (md5_hmac): Add hmac function by Martin Schaaf with some
3353 (md5_hex_hmac): New.
3354 * src/esmtp.c, src/esmtp.h (md5_hex_hmac): Removed.
3355 (hmac_md5): Removed.
3356 * src/pop.c (pop3_getauth_apop_send): Replaced the md5_digest by
3357 the new md5_hex_digest function.
3359 * src/about.c: Include utsname.h only if available
3361 * src/utils.c, src/utils.h (get_home_dir): New to better cope with
3362 special Windoze requirements. Changed all calls to
3363 g_get_home_dir() to this function.
3365 * simple-gettext.c: New.
3367 * src/main.c (main): Issue a warning if GnuPG is not properly
3370 * src/sigstatus.c, src/sigstatus.h: New.
3371 * src/rfc2015.c (check_signature): Use the sigstatus window and
3372 get the status texts from a utility function.
3374 * src/select-keys.c: Removed the global select_keys var and
3375 pass an allocated one along all functions.
3376 (set_row): Display only keys capable of encryption.
3377 (update_progress): Replaced the progressbar by
3378 a windmill and a text showing for which key we are collecting
3379 info. Removed progressbar everywhere else and updated callers.
3381 * src/prefs_common.c (prefs_privacy_create) [__MINGW32__]: Do not
3382 display the grab button.
3386 * src/prefs_common.[ch]
3387 src/procheader.c: applied the patch from Darko Koruga that
3388 allows user to define their own format for displaying date in
3389 summary view using strftime() (thanks!).
3390 * src/prefs_common.c: prefs_quote_colors_dialog()
3391 src/mainwindow.c: main_window_reflect_prefs_all(): made it
3392 update message colors if the colors setting is changed.
3393 * src/main.[ch]: made it remember the startup directory.
3394 * src/export.c: export_mbox(): made it initially chdir to the
3396 * src/filesel.c: filesel_select_file(): made it open the startup
3401 * added option to warn about queued messages on exit [sergey]:
3403 * src/compose.c: compose_queue(): call folder_item_scan()
3404 and folderview_update_item() after queueing.
3405 * src/folderview.c: folderview_update_node(): draw the queue
3406 folder in bold font if there are queued messages.
3407 * src/mainwindow.c: queued_messages(): new function.
3408 app_exit_cb(): display warning if there are queued messages
3409 if warn_queued_on_exit is set.
3410 * prefs_common.[ch]: add warn_queued_on_exit option.
3412 * src/mainwindow.c: moved queued_messages() to main.c, and renamed
3413 it to get_queued_message_num().
3414 * src/main.c: app_will_exit(): moved warning dialog code from
3415 app_exit_cb(), and added manage_window_focus_in().
3417 * enhanced GnuPG key selection support [sergey]:
3419 * src/select-keys.c: updated to newer version from Win32
3420 branch with support for selecting arbitrary keys.
3421 * src/prefs_account.c: added the Privacy tab to the account
3423 prefs_account_privacy_create(),
3424 prefs_account_sign_key_set_data_from_radiobtn(),
3425 prefs_account_sign_key_set_radiobtn(): new functions.
3426 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
3427 * src/rfc2015.c: set_signers(): new function.
3428 pgp_sign(): add the account parameter, call set_signers().
3429 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
3430 * src/rfc2015.h: rfc2015_sign(): updated prototype.
3431 * src/compose.c: pass the current account to rfc2015_sign().
3435 * src/mbox.c: export_to_mbox(): fixed a memory leak bug.
3439 * src/mbox.[ch]: renamed export_mbox() to export_to_mbox().
3440 Fixed a memory leak bug.
3441 * src/export.[ch]: added for exporting folder to mbox.
3442 * src/import.[ch]: made import_mbox() take default folder.
3443 Added description to the dialog.
3444 * src/summaryview.c: summary_show(): fixed a bug that kept the
3445 toolbar buttons insensitive after receiving messages.
3447 src/import.c: fixed a bug that caused quitting of the program
3448 when OK or Cancel button was clicked several time.
3449 * src/prefs_common.[ch]
3450 src/addressbook.c: added "Add address to destination when
3451 double-clicked" option.
3455 * src/prefs_common.[ch]: reorganized the items of settings,
3456 and added Message tab.
3457 * src/main.c: parse_cmd_opt(): added command line option --version.
3458 * src/mh.c: made it unset MSG_DELETED flag when moved/copied to
3460 * src/prefs_common.[ch]
3461 src/headerview.[ch]: the header pane can be toggled now.
3462 * src/prefs_common.[ch]
3463 src/textview.c: page scroll step is now selectable between
3464 one page and half page.
3465 * src/mbox.[ch]: added export_mbox() that reads all messages
3466 in a folder, and store them into one mbox file.
3470 * src/prefs_filter.[ch]: separated filter setting code from
3471 prefs_common.c, and made it a separate dialog.
3477 * src/automaton.[ch]
3478 src/inc.c: fixed the bug that made Sylpheed crash when clicking
3479 Cancel button while getting new mail (thanks to Sergey Vlasov).
3480 * src/xml.c: xml_build_tree()
3481 src/addressbook.c: fixed a bug that caused infinite loop if an
3482 illegal XML file was given.
3487 src/inc.c: applied the patch from Sergey Vlasov that fixes the
3488 problem when the "Go to inbox after receiving new mail" option
3489 was turned off (thanks!).
3493 * src/xml.[ch]: modified so that it supports some characters which
3494 must be escaped, and multiple-lined tag.
3496 src/addressbook.c: modified so that it escapes some characters
3497 like '<', '>', '&', ''', '"'.
3507 src/summaryview.[ch]: applied the patch from Darko Koruga that
3508 adds copy message operation for the MH folders (thanks!).
3509 * src/imap.c: disabled slash to dot conversion.
3510 * src/imageview.c: fixed a bug that displayed an old image when
3511 loading of a image failed (thanks to Darko Koruga).
3515 * src/procmsg.c: procmsg_read_cache(): added setvbuf() to speed up
3516 cache reading (thanks to Sergey Vlasov).
3518 src/summaryview.[ch]
3519 prefs_common.[ch]: applied the patch that keeps the same folder
3520 after receiving new mail (thanks to Sergey Vlasov).
3522 src/utils.[ch]: moved get_quote_level() to utils.c.
3526 * ac/Makefile.am: added.
3528 configure.in: added ac directory.
3532 * src/summaryview.c: summary_filter(): made it move messages
3533 immediately if immediate_exec option is set.
3534 * src/prefs_common.[ch]
3536 src/gtkutils.[ch]: applied the message coloring patch from
3537 Stephen Anthony with some modification (thanks!).
3539 src/mimeview.c: modified the behavior of MimeView (thanks to
3544 * src/utils.c: copy_file()
3545 src/mh.c: applied (and modified) the patch from Darko Koruga
3546 that enables to move messages across file systems (thanks!).
3548 src/utils.[ch]: applied the patch from Jorge Van Hemelryck
3549 that converts the date of messages to the local time (thanks!).
3550 * src/utils.c: remote_tzoffset_sec(): fixed a bug that the signs
3551 of one-letter timezone were reversed.
3552 * src/folder.c: folder_item_add_msg(): put the assertion for the
3553 add_msg() method (thanks to TAKANO).
3557 * src/procmime.c: procmime_decode_content(): fixed a bug that
3558 corrupted quoted-printable encoded messages when they include
3559 `=00' (thanks to Masahiro Tomita).
3562 src/summaryview.c: modified the DnD behavior of MIME view
3563 (thanks to HIRAMATSU).
3567 * src/about.c: applied the patch from Sergey Vlasov that fixes
3568 the appearance of the about dialog (thanks!).
3569 * src/prefs_common.[ch]
3575 src/textview.[ch]: applied the GnuPG support patch which had
3576 ported from the sylpheed-win32 branch (thanks to Sergey Vlasov).
3577 * INSTALL, INSTALL.jp: updated the description about GnuPG.
3581 * src/utils.[ch]: added references_list_append() that parses
3582 References header and makes it string list.
3583 * src/compose.c: modified so that too long References header is
3584 truncated, garbage characters are removed, and header is tidied
3585 up (thanks to Matthias Intemann).
3589 * src/addr_compl.c: applied the address completion bugfix patch
3590 from Alfons Hoogervorst (thanks!).
3594 * src/gtksctree.c: modified so that the tree_select_row signal
3595 actually pass the column number.
3596 * src/summaryview.c: summary_selected(): made generic mark and
3597 unread mark can be toggled with clicking of the columns.
3598 Added summary_mark_row_as_read() and summary_mark_row_as_unread().
3599 * src/prefs_common.c
3600 src/prefs_account.c: applied the layout fix patches from Sergey
3601 Vlasov, and adjusted some widths of GtkEntry widgets.
3602 * src/prefs.c: prefs_dialog_create(): enable notebook to take focus.
3603 * src/inc.c: inc_start(): modified so that authentication dialogs
3604 show server name too (thanks to Sergey Vlasov).
3608 * src/mimeview.c: mimeview_key_pressed(): fixed a bug that caused
3609 segmentation fault when a malformed multipart message is shown
3610 (thanks to Sergey Vlasov).
3611 * src/summaryview.c: summary_display_msg(): made it focus to the
3612 summary view if the MIME list is empty.
3616 * src/pixmaps/deleted.xpm
3617 src/pixmaps/mark.xpm
3618 src/summaryview.c: added deleted and mark icon.
3619 * src/gtkutils.c: gtkut_widget_init(): changed gtk_widget_destroy()
3620 to gtk_widget_unref().
3621 * src/addr_compl.c: start_address_completion(): fixed the bug that
3622 displayed warning when the address book was empty (thanks to
3627 * src/summaryview.c: summary_show(): fixed a memory leak bug
3628 (thanks to ChiDeok Hwang).
3629 * src/pixmaps/forwarded.xpm
3630 src/pixmaps/replied.xpm
3632 src/pixmaps/unread.xpm
3637 src/summaryview.[ch]: applied the patch from Marc Hoper
3638 that adds replied and forwarded mark to replying or forwarding
3639 messages (thanks!). And new and unread mark were replaced
3640 by the icons David Mehrmann created (thanks!).
3641 * src/summaryview.c: made the width of unread and MIME column
3643 * src/prefs.c: prefs_config_parse_one_line(): made it check the
3644 '=' separator (thanks to Sergey Vlasov).
3648 * src/prefs_common.[ch]: moved smooth scroll option to the
3650 * src/textview.c: made the one-line scroll also perform smooth
3655 * src/prefs_common.[ch]
3656 src/textview.c: applied the smooth scroll patch from Setoh and
3661 * src/summaryview.c: summary_attract_by_subject(): rewritten it
3662 using hash table for speeding up.
3663 * src/prefs_account.c: made filter_on_receive TRUE by default.
3664 * src/mainwindow.c: reordered menu items.
3668 * src/gtkutils.c: gtkut_clist_bindings_add(): fixed a bug that
3669 caused address completion not to accept space and enter key.
3674 src/codeconv.c: fixed a bug that didn't encode non-ASCII headers
3676 * src/compose.c: fixed a bug that didn't decode some headers
3677 correctly when replying or reediting drafts (thanks to Sergey
3682 * src/gtkutils.[ch]: added gtkut_widget_init() that modifies the
3683 behaviors of some classes.
3684 * src/main.c: main(): made it call gtkut_widget_init() first.
3685 * src/summaryview.c: summary_create(): removed the key binding code.
3689 * src/procmsg.[ch]: modified for the sake of readability.
3693 * src/mainwindow.c: changed "Clean trash" to "Empty trash".
3694 Added new menu items for folder manipulation.
3695 allsel_cb(): made it change the target between summary view and
3696 message view according to the input focus.
3697 Removed "Select all" from Summary submenu.
3698 * src/folderview.[ch]: added functions for creating/renaming/deleting
3700 * src/procmsg.[ch]: made "marked" and "deleted" flag permanent, and
3701 removed "important" flag.
3702 * src/summaryview.c: added summary_set_row_marks() that sets style
3703 of a row according to the flags, and made some functions use it.
3704 * src/mainwindow.c: allsel_cb(): modified so that it selects
3705 summary view correctly if message view is toggled off.
3709 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a resource
3710 leak bug of socket, and rewrote the routine.
3711 * src/inc.c: inc_mail(), inc_all_account_mail(): fixed a bug that
3712 displayed the wrong unread number in the folder tree if a
3713 folder was open and new messages arrived at the folder.
3714 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug
3719 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): made it
3720 check the existence of the destination file.
3721 * src/procmsg.c: procmsg_set_flags(): made it count the last
3722 number of the message list (and fixed a bug that didn't open
3723 newly arrived message).
3727 * src/prefs_common.c: prefs_send_create(): removed EUC-JP and
3728 Shift_JIS from the outgoing codeset.
3736 * src/send.c: send_message_queue(): modified so that it finds
3737 the account from the `From' and the server name of the queued
3739 * src/account.[ch]: added account_find_from_smtp_server() that
3740 finds an account from the specified address and SMTP server.
3743 src/summaryview.[ch]
3744 src/sourcewindow.[ch]: integrated the viewing source patch from
3745 DINH V. Hoßþ(thanks!).
3749 * src/addr_compl.[ch]
3751 src/compose.c: applied the enhanced address completion patch
3752 from Alfons Hoogervorst (thanks!).
3753 * src/addr_compl.c: replaced g_assert() with g_return(_val)_if_fail().
3754 * src/folder.c: folder_init()