3 * src/compose.c: made template able to be inserted into the current
5 * src/mainwindow.c: moved some menu items under the submenu
11 src/inc.c: changed folder_find_item_from_path() to
12 folder_find_item_from_identifier().
14 src/prefs_filter.c: use folder_item_get_identifier() to specify
19 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
20 existed in claws' implementation).
21 folder_find_from_name(): find Folder from name and type.
22 folder_get_identifier(): return Folder id.
23 folder_item_get_identifier(): return FolderItem id.
24 folder_find_item_from_identifier(): find FolderItem from id.
25 folder_get_type_string(): return folder type string.
26 folder_get_type_from_string(): return FolderType from string
27 (and fixed the wrong g_strcasecmp() usage).
29 src/import.c: use folder_item_get_identifier() and
30 folder_find_item_from_identifier().
34 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
35 point the correct address after reading the continuous line.
36 imap_scan_folder(): set new number to 0 if unseen number is 0.
37 imap_parse_flags(): don't add new and unread flag if \Seen flag
39 * ac/Makefile.am: removed gpgme.m4 from MACROS.
43 * fixed the old problem that couldn't add flags to currently opened
46 compose_send(): update outbox after saving.
48 compose_draft_cb(): use procmsg_add_flags().
49 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
51 * src/main.c: send_queue(): send from all queue folders.
52 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
54 procmsg_flush_mark_queue(): new. Write all queued flags into file.
55 procmsg_add_flags(): new. Add specified flags to the folder.
56 procmsg_send_queue(): added an argument to specify queue folder.
57 procmsg_save_to_outbox(): use procmsg_add_flags().
59 summary_show(): up the opened flag of FolderItem.
60 summary_clear_list(): down the opened flag of FolderItem.
61 summary_write_cache(): call procmsg_flush_mark_queue().
65 * src/summaryview.[ch]: trim the tail of folder name and selected
66 number on the status label if the space is not enough.
70 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
71 set SpecialFolderItemType when creating special folders under
73 * ac/gpgme.m4: removed.
75 * ac/missing/gdk-pixbuf.m4
78 ac/missing/imlib.m4: added for convenience.
82 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
83 shown after the decoded challenge string. Fixed a memory leak.
85 * src/compose.c: compose_draft_cb(): mark draft messages as read.
86 * src/folderview.c: folderview_update_node(): disable emphasis
87 for Outbox and Draft folders.
91 * src/messageview.c: messageview_show(): fixed a memory leak.
92 * src/summaryview.c: summary_save_as(): show error dialog if copy
94 * src/about.c: about_show(): make the window active if it is already
99 * src/compose.c: show confirmation dialog before sending if Subject
101 compose_check_entries(): new.
103 compose_send_later_cb(): use compose_check_entries().
104 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
108 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
109 responses with continuous line correctly, and fixed a memory leak.
113 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
115 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
116 after pasting with middle button to prevent the selection growth.
121 folderview_rename_folder_cb()
122 folderview_delete_folder_cb(): modify filter rules only if the
123 target folder is in the default mailbox.
124 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
131 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
132 Moved 'Delete duplicated messages' under 'Tools'.
136 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
138 * src/imap.c: imap_create_special_folder(): fixed a crash bug
139 when folder creation failed, and re-try to create folders under
141 imap_scan_tree_recursive(): don't automatically add namespace
142 prefix if it's INBOX. Search also under the INBOX for special
144 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
149 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
150 abbreviated newsgroup name.
151 * src/folderview.c: folderview_update_node(): display newsgroups
152 with abbreviated name if name and path is the same.
153 * src/summaryview.c: summary_status_show(): show the newsgroup with
159 src/folderview.c: changed the label 'Draft' to 'Drafts'.
160 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
161 imap_create_missing_folders(): fixed the wrong assignment of
162 Queue folder to draft.
166 * enabled Sent / Draft / Queue folders on IMAP server.
167 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
168 queue and draft folder if they exist.
170 imap_create_trash(): removed.
171 imap_create_special_folder(): new. Generalized imap_create_trash().
172 imap_create_missing_folders(): automatically create missing folders.
173 imap_is_msg_changed(): added the dummy method.
174 imap_scan_tree_recursive(): search also Sent, Draft and Queue
175 folders. Minor code cleanups.
176 imap_parse_envelope(): check for null strings.
177 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
178 for messages on IMAP folder.
182 * src/compose.c: compose_send(): use account's outbox folder
184 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
185 that the outbox can be specified.
189 * src/compose.c: don't save to outbox when messages are queued.
190 compose_save_to_outbox(): moved to procmsg.c.
191 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
193 procmsg_save_to_outbox(): new. Removes the queueing headers if
194 needed, and adds the given file to the outbox.
198 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
199 get_indent_length(): treat ':' and '#' also as quote char, and
200 cleaned up using strchr().
204 * src/mainwindow.c: modified some menu items.
208 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
209 (current "outbox" will be kept until rescan).
210 * src/folder.c: folder_set_missing_folders(): create the missing
213 src/folderview.c: changed 'Outbox' to 'Sent'.
214 * src/main.c: call folder_set_missing_folders().
215 * src/mh.c: mh_scan_tree(): create missing folders.
216 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
217 didn't set the menu sensitivity correctly.
222 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
223 folderview_rename_folder_cb(): reopen the current folder when
224 the ancestor is renamed.
225 imap_rename_folder(): new method implementation.
227 imap_rename_folder_func(): new.
228 imap_remove_folder(): remove also the cache directory.
232 * src/imap.c: implemented locale encoding <-> modified utf-7
233 conversion, and supported i18n of folder name (thanks to Suzuki
235 imap_path_separator_subst(): handle the escape characters of
237 imap_modified_utf7_to_locale()
238 imap_locale_to_modified_utf7(): new.
239 imap_create_trash(): modified so that it create the Trash folder
240 to the correct location when imap directory is specified.
241 imap_get_real_path(): removed debug print.
245 * src/socket.c: implemented timeout for DNS lookup and connect().
246 sock_connect_by_hostname(): timeout support and code cleanup.
247 sock_connect_with_timeout(): new.
248 sock_peek(): implemented SSL peek.
252 * src/messageview.c: messageview_show(): display single-part
253 text/html messages with the normal text view.
267 src/prefs_customheader.c
268 src/prefs_display_header.c
283 src/xml.c: added 'b' to the option of all fopen().
291 * src/ssl.[ch]: match its coding style.
292 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
296 faq/en/sylpheed-faq*.html
298 faq/es/sylpheed-faq*.html
300 faq/fr/sylpheed-faq*.html
306 src/manual.[ch]: added FAQs in English, Spanish and French.
310 * manual/en/sylpheed*.html: updated to the latest version.
315 src/mgutils.c: include string.h to remove warning about strlen()
329 src/summaryview.c: added break to the last label of switch to
330 prevent the 'deprecated use of label at end of compound statement'
332 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
336 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
338 inc_cancel_all(): new. It cancels the all current incorporation.
339 * src/mainwindow.c: added 'Cancel receiving' menu.
340 * src/textview.c: a minor fix for single-part MIME messages, and
341 a bit of cleanup for textview_write_body().
345 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
346 information if any errors occured before issuing UIDL command.
347 src/inc.h: added uidl_is_valid to Pop3State.
348 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
356 * src/mimeview.c: mimeview_create(): set the initial notebook page
358 * src/folderview.c: folderview_selected(): scroll the view if the
359 selected row is hidden.
360 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
361 and select the added row.
362 * src/summaryview.c: fix threading for null message ids.
366 * src/textview.c: textview_show_message(): follow message/rfc822
368 textview_add_part(): add a caption before the attached text files.
369 textview_show_header(): don't add the newline.
370 * src/messageview.c: enabled message search also in MIME mode.
374 * src/messageview.c: messageview_show(): set header state of
375 MimeView's TextView, too.
376 * src/mimeview.c: mimeview_show_message(): call
377 textview_show_message() to display message.
378 * src/textview.c: textview_add_part(): new. It adds the content
379 of message part without clearing the view.
380 textview_show_message(): display all parts with appropriate
382 textview_write_body(): separated from textview_show_part().
387 src/prefs_common.c: added ISO-8859-15 to the codesets for
388 displaying and sending.
389 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
390 conversion failed, and made caller deal with it.
391 * src/compose.c: compose_write_to_file(): show error dialog when
392 code conversion failed, and let user select whether to send it
394 * src/textview.c: textview_write_line(): show the original string
395 if code conversion failed.
399 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
400 if copy_mbox() failed (thanks to Alexander Kabaev).
401 * src/prefs_account.[ch]: added separate user ID / password setting
403 * src/send.c: send_message_smtp(): use separate user ID / password
404 for SMTP AUTH if it is specified.
409 src/pop.[ch]: refactored the UIDL management.
410 store the information of messages into the array of Pop3MsgInfo
411 structure, and do full scanning of not retrieved messages.
417 src/mainwindow.c: set WMCLASS for window/dialog.
418 * src/codeconv.c: conv_codeset_strdup(): return source string
419 when jconv_alloc_conv() failed.
423 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
430 src/summaryview.c: implemented the new notebook tab interface for
432 * src/textview.[ch]: fixed line space related glitches.
436 * src/prefs_filter.c:
437 prefs_filter_rename_path()
438 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
442 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
443 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
445 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
446 cancelled, and fixed potential crash bug.
447 * src/grouplistdialog.c: enabled cancelling of data receiving.
448 * src/news.c: news_get_group_list(): destroy current session if
453 * src/manage_window.[ch]: fixed a bug that caused crash when
454 the main window was hidden.
455 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
456 Monitor "unmap_event", "destroy" events.
463 src/grouplistdialog.c
471 src/prefs_customheader.c
472 src/prefs_display_header.c
476 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
477 connect signals for window management.
481 * src/prefs_account.[ch]: added receive size limit option.
482 * src/pop.c: skip messages larger than the limit size.
483 LOOKUP_NEXT_MSG(): new macro.
484 * src/compose.c: compose_attach_append(): check whether the file
489 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
490 changed g_message()'s to debug_print() and g_warning().
491 rfc2015_decrypt_message(): fixed a bug that duplicated message
492 parts when decryption was failed/cancelled. And made some code
494 * src/passphrase.c: made the dialog transient.
495 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
500 src/procmsg.[ch]: fixed a bug that failed to parse multipart
501 messages if GPGME was enabled.
502 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
504 * src/prefs_account.c: prefs_account_privacy_create(): modified
505 the vertical spacing.
509 * src/menu.[ch]: menu_set_sensitive_all(): new.
510 menu_set_insensitive_all(): made it a wrapper for
511 menu_set_sensitive_all().
512 * src/prefs_account.c:
514 prefs_account_protocol_set_optmenu(): made the protocol type
515 unchangeable after creating an account.
516 * src/compose.c: compose_attach_parts(): traverse MIME tree to
517 extract all attathed files from nested multipart MIME message.
521 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
522 obtain minimum/maximum number, and to specify first number
525 src/inc.c: enabled new message checking on news folder.
526 * src/news.c: news_scan_group(): implemented. Guess new/unread
527 message number from the response of GROUP command and the mark
529 news_select_group(): return the total/first/last number.
530 * src/prefs_account.c: prefs_account_receive_create(): modified
531 the text of the 'Get all' check button.
535 * src/account.c: made 'Get all' checkbox available for IMAP4 and
537 * src/inc.c: corrected the argument of folderview_check_new().
538 * src/prefs_account.c: modification for the "`Get all' checks for
539 new mail on this account" checkbox.
543 * src/folderview.[ch]:
544 folderview_rescan_tree(), folderview_rescan_all(): renamed from
545 folderview_update_tree() and folderview_update_all().
546 folderview_update_all_node(): removed.
547 folderview_check_new(): new. If the argument is NULL, it checks
548 all local folders. If the arguments is specified, it checks
549 the (local and remote) folder.
552 inc_all_account_mail(): check also IMAP4 account.
557 folderview_rename_folder_cb()
558 folderview_delete_folder_cb(): modify the filter rules when folder
560 * src/prefs_filter.[ch]:
561 prefs_filter_rename_path(): new. It renames the destination paths
563 prefs_filter_delete_path(): new. It deletes the filter rules if
564 the destination paths matched.
565 * thanks to Neill Miller for above.
569 * src/compose.c: inherit attached files when forwarding or reediting
570 (rewrote the code in claws branch).
571 compose_attach_parts(): new. It extracts and attaches the files
572 in the given message.
573 compose_attach_append(): chnaged the types of arguments.
574 * src/messageview.c: messageview_show(): moved the GPG decryption
576 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
584 * src/summary_search(): summary_search_execute(): scroll the view
585 when message view is hidden.
589 * src/foldersel.c: foldersel_set_tree(): made different type of
590 folders selectable in moving mode.
591 * src/folderview.[ch]: folderview_update_msg_num(): compare the
592 numbers with the CTree's labels, and don't update folder_item here.
593 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
594 implemented moving between different type of folders.
595 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
596 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
597 mh_move_msg() and mh_move_msgs_with_dest()).
598 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
599 moving between different type of folders.
600 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
601 * src/summaryview.c: summary_status_show(): update folder_item
603 * po/POTFILES.in: removed reference to headerwindow.c.
604 * src/summaryview.c: summary_step(): fixed the behavior on the
605 head and tail of the list.
609 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
610 all header' toggle state from the property of the TextView.
611 * src/summaryview.[ch]: made 'All header' toggle switch.
612 Prohibited unnecessary menu update.
613 summary_select_node(): added the argument 'do_refresh'.
618 * src/utils.c: strsplit_with_quote(): remove quotation characters
619 in the function (fix composer's external editor problem) (thanks
620 to Stefaan A Eeckels).
621 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
622 main_window_menu_callback_block()
623 main_window_menu_callback_unblock(): new.
624 main_window_set_menu_sensitive(): set the toggle status of
626 show_all_header_cb(): read the status of toggle menu item.
627 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
628 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
633 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
634 the path separator (thanks to Sergey Vlasov).
635 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
636 if the length of selection is zero.
638 * src/utils.c: str_open_as_stream(): return immediately if
639 the length of str is zero.
640 * src/headerwindow.[ch]: removed.
642 src/inc.c: removed stale thread support codes.
646 * src/procmsg.c: procmsg_open_message(): modified so that it
647 returns the stream of decrypted message file if it exists
648 (this fixes the failure of gpg decryption in messageview.c).
660 src/quote_fmt_parse.y
662 src/utils.[ch]: if the part of the message text is selected, use
663 it for quoted text instead of the entire message body (thanks to
665 src/utils.[ch]: str_open_as_stream(): new. It returns an
666 temporary stream for the given string.
667 * src/main.c: added "--send" command line option.
668 * src/compose.c: compose_reply_set_entry(): add From address to
669 Cc if Reply-To and to_all are both specified.
670 * Makefile.am: correct the Source: line in the RPM spec file in
675 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
677 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
678 that specifies the folder selection type.
689 src/prefs_customheader.c
691 src/summaryview.c: made it compile with C compilers other than gcc
692 (thanks to Shawn Houston).
696 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
698 * src/prefs_common.c: made the key binding setting separate dialog.
699 * src/addressbook.c: addressbook_format_address(): add "" around
700 the display name if it contains comma (thanks to Satoshi Watanabe).
701 * src/addr_compl.c: get_complete_address(): add "" around the
702 display name if it contains comma.
703 get_address_from_edit(): handle the quotation character correctly.
704 * src/addr_compl.c: get_complete_address()
705 src/addressbook.c: addressbook_format_address(): fixed a bug that
706 caused wrong text processing if the display name is empty.
711 * src/compose.c: compose_exec_ext_editor_real(): replaced
712 g_strsplit() with strsplit_with_quote().
714 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
716 folderview_drag_motion_cb()
717 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
718 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
722 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
723 of the message is different from the current mailbox.
724 Return the correct value.
725 imap_cmd_append(): properly implemented the APPEND command.
732 src/textview.[ch]: show all headers in the message view, and don't
733 use the header window anymore.
735 src/prefs_common.c: changed the default shortcut of 'compose new
738 src/summaryview.[ch]: summary_display_msg_selected(): new.
739 Show the selected message if 'Show all header' is selected.
741 src/sourcewindow.c: changed some procmsg_get_message_file_path()
742 to procmsg_get_message_file() to be sure the message is
744 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
745 any folder to MH folder.
746 folderview_drag_received_cb(): copy messages instead of moving
747 if the source folder is news or IMAP.
749 src/summaryview.c: allow copy from news folder.
753 * src/prefs_common.c: prefs_other_create(): modified the design
754 of the external command settings.
755 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
756 preset closer to the original.
757 Added Mutt keybind preset.
758 Also change the compose keybinds.
759 * src/compose.c: modified some menu shortcuts.
760 * src/codeconv.c: modified the locale_table for Thai encoding.
764 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
765 * src/prefs_common.c: prefs_interface_create(): modified the
766 description for menu shortcut.
770 * src/gtkutils.[ch]: added gtk_stext_clear().
773 src/summaryview.[ch]: enabled multiple forwarding.
775 summary_set_marks_selected(): set marks for all selected row.
776 summary_reply(): moved from summary_reply_cb().
777 * compose.[ch]: compose_forward(): modified so that it receives
779 * src/mainwindow.c: cleanup for reply processing.
780 * src/summaryview.c: summary_reply(): fixed a memory leak.
781 summary_key_pressed(): removed hardcoded mark / mark as unread
784 src/prefs_common.c: added mark / mark as unread shortcuts to
789 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
790 if prefs_common.linewrap_quote is not set (it is only for
791 auto-wrapping on reply).
792 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
793 when creating a new account.
794 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
796 * src/prefs_common.c: prefs_interface_create(): modified the
797 description of key binds selector.
801 * src/mimeview.c: fixed multiple dialog / moving by correcting
802 button / key event processing.
804 src/textview.c: pass some key press events to MimeView in MIME
806 * src/prefs_filter.c: fixed a bug that didn't set the order of
808 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
814 src/prefs_common.c: reorganized the menu shortcuts.
815 Added 'View - Toggle summary view'.
816 * src/summaryview.[ch]: summary_toggle_view(): made it public
818 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
820 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
821 closing the dialog with window manager (in more appropriate way).
824 src/mimeview.c: fixed wrong scrolling position when switching
825 between text and image parts. Also free the unrequired image
826 (thanks to Sergey Vlasov).
827 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
832 * src/prefs_common.c: implemented shortcut quick changer.
833 * src/folderview.c: folderview_key_pressed()
834 src/summaryview.c: summary_key_pressed(): removed some hardcoded
840 procmime_get_mime_type()
841 procmime_get_mime_type_table(): made the MIME type search case
844 gtk_stext_delete_line(): delete newline on empty line.
845 gtk_stext_delete_to_line_end(): delete newline if cursor is on
847 (thanks to Yasuzaki Masayoshi.)
852 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
853 and made them customizable.
854 * src/utils.[ch]: added get_file_size_as_crlf() which returns
855 the file size when converting LF to CR+LF.
859 * src/compose.c: enabled 'Ctrl-Enter' or
860 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
862 * src/gtkstext.c: disabled some Emacs key bindings.
863 gtk_stext_key_press(): don't extend selection when Shift-Enter
864 is pressed to prevent the disapperance of cursor.
865 * src/summaryview.c: summary_select_next_unread(): added the button
866 to search unread message again from the beginning to the dialog.
867 * src/folderview.c: folderview_key_pressed(): go to next unread
868 folder if space key is pressed on the empty folder.
869 Move CTree focus before selecting row.
873 * src/defs.h: modified the XLFD of default fonts.
874 * src/textview.c: textview_create(): fixed a bug that caused
875 segfault if font couldn't be loaded.
877 src/grouplistdialog.c: compare subscribed groups with path.
878 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
882 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
883 when URL is wider than wrapping margin.
885 src/prefs_filter.[ch]
886 src/summaryview.[ch]: added "Create filter rule" function based
887 on the patch from Luca Rosellini.
888 * src/summaryview.c: summary_filter_open(): added X-List and
889 X-Mailing-list to the automatically detected headers.
893 * configure.in: support Mac OS X (Darwin).
897 * src/prefs_filter.c: use inc_(un)lock() instead of
898 inc_autocheck_timer_{remove|set}().
899 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
900 instead of gtk_ctree_sort_node() so that messages within threads
902 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
903 target of sizeof was wrong and caused crash on Alpha architecture
904 (thanks to Motonobu Ichimura).
909 foldersel_gnode_func(): made the names of special folders
911 foldersel_set_tree(): move the special folder to the top.
912 * src/inputdialog.[ch]: input_dialog_query_password(): new.
916 src/send.c: use input_dialog_query_password() instead of their
921 * src/defs.h: modified the default font.
925 src/news.[ch]: moved the class definition and some methods to
930 * src/mimeview.c: mimeview_save_as()
931 src/summaryview.c: summary_save_as(): put the default filename
932 based on the subject.
933 * src/utils.[ch]: added subst_chars() and subst_for_filename()
934 which substitute some special characters with underscore.
935 * src/filesel.c: filesel_select_file(): select the default filename.
940 INSTALL.jp: added the description and the URL for libjconv.
941 * src/mainwindow.c: menu entries cleanup.
947 src/about.c: modified the copyright year.
948 * src/gtkstext.h: added the notice for modification by the Sylpheed
954 INSTALL.jp: added the URL for compface.
965 src/sourcewindow.c: set wmclass when creating windows.
969 * src/compose.c: compose_wrap_line_all(): fixed the bug that
970 caused infinite loop when wrapping certain patterns of quoted text.
974 * src/imap.c: imap_parse_envelope(): put the assertion after
975 imap_parse_address() to prevent segmentation fault.
980 src/mainwindow.c: modified some labels of menu items.
981 * src/ldif.c: put the return value of fgetc() in a gint.
982 * src/importldif.c: don't brace null strings with _().
983 * src/compose.c: moved the position of Subject entry to the last.
984 Reorganized the menu.
985 compose_draft_cb(): added 'keep editing after saving to draft'
990 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
991 menu. Moved 'Help' menu to just the right of 'Configuration'.
992 Removed 'File - Close' menu item.
996 * src/mainwindow.c: some menu reorganization.
997 * AUTHORS: updated. Added more contributors.
998 * src/account.c: account_row_moved(): new. Moves displayed row to
999 the appropriate position when up / down button are pressed.
1000 account_clist_set(): move displayed row to the appropriate position.
1002 src/mainwindow.c: set title and wmclass when creating windows.
1006 * src/gtkstext.c: fixed a bug that didn't show block cursor
1007 correctly. Removed unnecessary GdkGC copy. Fixed cursor
1012 src/undo.c: modified to use GtkSText.
1013 * src/menu.h: added #include <gtk/gtkmenu.h>.
1018 configure.in: added XIM checking for GTK+.
1019 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
1023 * src/filter.c: added #include <sys/types.h>.
1027 * src/template.c: template_write_config(): fixed a typo.
1028 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
1030 src/prefs_filter.c: supported regular expression (thanks to
1032 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
1033 undo state when pasted clipboard was empty.
1034 undo_check_size(): use g_list_last().
1036 undo_redo(): fixed NULL checking and made a bit of optimization.
1038 * src/prefs_common.c: changed the default value of linewrap length
1043 * reorganization of pixmap management.
1044 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
1045 * modified every files which directly use pixmaps data to use
1047 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
1048 undo_set_change_state_func(), and changed its argument from
1049 GtkWidget* to gpointer.
1050 undo_merge(): code cleanup.
1051 * src/compose.c: renamed compose_set_undo() to
1052 compose_undo_state_changed().
1056 * src/account.c: account_find_from_address(): made it case
1058 * src/addressbook.c: addressbook_create(): set wmclass.
1059 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
1062 src/ldif.[ch]: merged from the claws branch.
1063 * src/importldif.c: removed some warnings.
1064 imp_ldif_field_list_toggle(): fixed button checking.
1065 imp_ldif_dialog_create(): minor layout fix.
1066 * src/ldif.c: removed some warnings.
1068 INSTALL.jp: updated confirmation list.
1071 vcard_test_read_file(): fixed a memory leak of tagtemp.
1072 Some code cleanups (decreasing the indent level).
1075 src/syldap.[ch]: disabled runtime library checking because JPilot
1076 and LDAP libraries are linked on the build time, and the program
1077 doesn't execute without them anyway.
1079 src/addrindex.c: changed "J-Pilot" to "JPilot".
1080 Removed warning for atoi().
1084 * src/procmsg.c: procmsg_empty_trash()
1085 src/mainwindow.c: main_window_empty_trash(): empty trash only if
1086 it contains some messages.
1087 * src/imap.c: search_array_str(): new.
1088 imap_status(): fixed a bug that didn't parse the command response
1093 * merged undo function (by Jens Oberender).
1094 * src/undo.[ch]: new.
1095 undo_insert_text_cb(): fix for multibyte characters (obtain the
1096 number of letters instead of bytes).
1097 * src/compose.[ch]: added the code for undo.
1098 * src/prefs_common.[ch]: added the interface for setting undo level.
1102 * src/compose.c: compose_template_apply()
1103 src/prefs_template.c: prefs_template_clist_set_row()
1104 src/template.c: template_write_config(): don't replace To: and
1105 Subject: entry in composition window if they are empty.
1113 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
1114 * src/ldif.c: ldif_get_line(): ignore CR.
1115 * src/mimeview.c: mimeview_show_message(): search also text/html
1116 for first text part.
1120 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
1121 that didn't update accountrc if account_list == NULL (thanks to
1126 * src/utils.h: added the macro Xstrcat_a() that concatenates
1127 two strings and return alloca'd string.
1128 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
1129 handle folder name which includes some spaces correctly
1130 (based on the patch from Willem van Engen (thanks!)).
1131 * src/compose.c: compose_wrap_line_all(): fixed the crash when
1132 wrapping long lines if linewrap quotation is disabled and
1133 a word spanning more than one line.
1137 * applied the Tobias' patch with modification (thanks!).
1139 imap_msg_set_perm_flags()
1140 imap_msg_unset_perm_flags(): new. They set permanent flags to
1143 src/summaryview.c: set flags on IMAP server when flags are changed.
1147 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
1148 of gtk_container_remove() for workaround of a bug in
1149 Gtk{Text,Entry} (thanks to Sergey Vlasov).
1155 src/textview.c: replaced gtk_container_remove() with
1156 gtkut_container_remove(), and removed previous partial fix.
1160 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
1161 checked user ID on "local", but didn't on IMAP4.
1162 * src/imap.c: imap_session_get(): fixed a crash bug when
1163 rfolder->session == NULL.
1164 * Makefile.am: changed the arguments of tar from 'chojf' to
1166 * src/summaryview.c: summary_toggle_view(): disclaim the selection
1167 of textview before removing vpaned.
1171 * src/messageview.c: messageview_change_view_type(): disclaim the
1172 selection before removing textview. This solves the mysterious
1173 copy-paste disability (thanks to Melvin Hadasht).
1174 * src/textview.c: textview_set_font(): use
1175 gtk_editable_claim_selection() instead of
1176 gtk_editable_select_region().
1180 * src/prefs_template.c: prefs_template_window_create(): supported
1181 address completion on the To: entry.
1186 folder_count_total_msgs()
1187 folder_count_total_msgs_func(): use g_node_traverse() to traverse
1192 * src/compose.c: fixed a bug that empty body was refused.
1193 * src/prefs_template.c: fixed a bug that didn't set To: entry
1194 correctly. Display error dialog if format is illegal.
1195 * src/prefs_common.c
1197 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
1198 "{ }" to prevent confusion on using parenthesis.
1199 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
1203 * src/prefs_template.c: added colon to the header labels.
1208 src/prefs_template.c
1209 src/template.[ch]: added To field to the template.
1213 * src/textview.c: textview_show_part(): use first found
1214 message/rfc822 header.
1215 * src/folderview.c: added "Search messages..." to the context menu.
1216 * src/prefs_common.c: prefs_quote_description_create(): added
1217 description for characters which need to be escaped.
1221 * src/compose.c: compose_wrap_line_all(): more merging from claws.
1222 GET_CHAR(): renamed GET_TEXT() and made it more generic.
1223 Modified compose_wrap_line() and compose_wrap_line_all() to use
1225 * src/textview.c: textview_show_part(): show the header of nested
1226 RFC822 attachment correctly.
1231 src/main.c: added --status option to get new, unread and total
1232 message count from a running Sylpheed (merged from claws).
1233 prohibit_duplicate_launch(): output '\n' only once.
1238 src/gtkutils.[ch]: merged the new wrapping function.
1239 gtkut_text_str_compare_n()
1240 gtkut_text_str_compare()
1241 gtkut_text_is_uri_string(): backport from the GtkSText in the
1242 claws branch, and made modification.
1243 * src/prefs_template.c
1244 src/template.[ch]: added Subject to the template.
1248 * src/compose.c: compose_write_headers(): added missing parenthesis
1249 that generated invalid custom header (thanks to Masaaki Noro).
1250 Allow Sender: custom header.
1254 * src/procheader.c: procheader_date_parse(): workaround for
1255 RFC-incompliant Date header.
1259 * src/addrbook.c: removed redundant functions, and fixed generation
1260 of spurious address book file names.
1261 * src/addrindex.c: V-Card -> vCard.
1265 * src/textview.c: get_email_part(): replaced isalnum() with
1266 the macro IS_ASCII_ALNUM() which restricts the range of
1267 characters to 7bit ASCII (thanks to Shimamoto).
1268 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
1273 * src/textview.c: textview_show_part(): show headers on nested
1278 * src/imap.c: imap_session_get()
1279 src/news.c: news_session_get(): fixed segfault when reconnection
1281 * src/grouplistdialog.c: removed redundant code, and expand nodes
1282 that doesn't match the pattern.
1286 * src/compose.c: modified so that it sends message when any of
1287 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
1288 compose_check_for_valid_recipient(): new.
1289 * src/grouplistdialog.c: improved the UI.
1290 Added appropriate description and search button.
1291 Search doesn't get group list again.
1295 * src/news.[ch]: news_session_get(): update the last access time
1297 news_group_list_free(): new.
1298 * src/grouplistdialog.c: free resources correctly.
1303 src/grouplistdialog.[ch]: more merging of new newsgroup
1304 subscription dialog.
1305 * src/news.[ch]: renamed news_remove_group_list() to
1306 news_remove_group_list_cache().
1310 * src/defs.h: added MAX_ENTRY_LENGTH definition.
1311 * src/compose.c: compose_add_entry_field(): create new entry with
1316 * src/grouplistdialog.c: made non-leaf node selectable.
1317 Give the complete newsgroup name for each nodes.
1321 * src/grouplistdialog.c
1322 src/news.[ch]: merging of new newsgroup subscription dialog
1323 (still in progress. Don't use it yet!).
1327 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
1328 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
1330 compose_entries_set(): new. It parses mailto URL and put each
1331 values into the entries.
1335 * src/compose.c: compose_forward(): fixed a bug that forward
1336 quote mark wasn't used (thanks to Hironori IWANE).
1339 src/prefs_common.c: added Thai encodings (thanks to Manrat
1344 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
1348 src/news.c: added last_access_time to Session.
1349 imap_session_get(): check connection only when access interval
1358 * src/socket.c: ssl_gets(): use SSL_peek.
1359 * updated NEWS and AUTHORS.
1360 * Makefile.am: fixed release target.
1364 * src/template.c: changed the format of template file to
1366 * src/compose.c: compose_template_apply(): freeze the text widget
1367 while inserting strings.
1371 * po/POTFILES.in: removed src/template_select.c.
1372 * src/summaryview.c: summary_set_header()
1373 src/address.c: address_parse_str()
1374 src/filter.c: filter_read_str()
1375 src/news.c: news_parse_xover()
1376 src/procheader.c: procheader_get_fromname()
1377 src/utils.c: subject_compare():
1378 replaced Xalloca() + strcpy() with Xstrdup_a().
1379 * src/inputdialog.[ch]: added combo mode.
1380 input_dialog_combo(): new.
1381 * src/prefs_common.[ch]: added MIME open command setting.
1382 prefs_common_{read, save}_config(): read / write command history.
1383 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
1384 * src/utils.[ch]: add_history(): history list management function.
1388 * src/compose.c: select templates from the menu.
1389 compose_set_template_menu(): new.
1390 compose_reflect_prefs_all(): new.
1391 compose_template_apply(): new. Use dummy MsgInfo for parsing.
1392 * src/template.[ch]: store template list to the static heap.
1393 template_get_config(): new.
1394 template_set_config(): new.
1395 * src/prefs_template.c: don't store template list to the global area.
1396 * src/template_select.[ch]: removed.
1397 * src/quote_fmt_parse.y: check folderitem when quoting messages.
1398 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
1399 (thanks to OSHIRO Naoki).
1403 * src/utils.[ch]: get_template_dir(): new.
1404 * src/template.c: use get_template_dir().
1408 * src/prefs_template.c: modified the dialog layout.
1409 Added symbol description button.
1410 * src/summaryview.c: show an arrow mark to the column of the sort
1412 summary_set_column_titles(): new.
1418 TODO.jp: updated the documents.
1422 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
1423 * src/textview.c: textview_key_pressed()
1424 src/mimeview.c: mimeview_key_pressed()
1425 src/summaryview.c: summary_key_pressed(): delete messages with
1430 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
1431 when SSL_read() returned 0.
1432 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
1434 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
1435 Add prototype of yylex() to suppress the warning.
1436 * merged the template function.
1437 * src/prefs_template.[ch]
1439 src/template_select.[ch]: new.
1440 Renamed prefs_templates_* -> prefs_template_*.
1441 * src/compose.c: added template menu. Added replyinfo to Compose.
1442 * src/mainwindow.c: added template setting menu.
1443 * src/quote_fmt_lex.l: output literal tab and return as is.
1444 * src/prefs_common.c: changed the pref. name of quote format to
1445 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
1449 * src/prefs_common.[ch]: added Quote tab, and moved the quote
1450 setting from Compose tab.
1451 * merged the new quote format parser.
1452 * src/quote_fmt_lex.h
1455 src/quote_fmt_parse.y: new files for quote format parser.
1456 * configure.in: added checks for lex and yacc.
1457 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
1459 compose_quote_fmt(): new.
1460 * src/prefs_common.[ch]: added forward format setting to the
1461 Quote tab. Updated the quote description dialog.
1462 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
1463 if they couldn't get text part.
1467 * src/pixmaps/checkbox_off.xpm
1468 src/pixmaps/checkbox_on.xpm: new.
1469 * src/account.c: display `get all' status with the checkbox pixmaps.
1473 * src/send.c: code cleanup. Pass account prefs structure instead
1475 Query password for SMTP AUTH if not specified (thanks to Mio).
1479 * src/procheader.c: procheader_parse(): fixed a bug that didn't
1480 parse multiple message-id in In-Reply-To: header correctly
1481 (thanks to KAJIWARA).
1485 * src/account.c: enabled 'Get all' setting by clicking the 'G'
1486 column of account list, and added some description.
1487 * src/prefs_common.c: prefs_send_create(): added a description
1488 for outgoing codeset.
1492 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
1493 and added select button and short description.
1494 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
1496 procmime_get_mime_type_table()
1497 procmime_get_mime_type_list(): modified so that
1498 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
1499 $(HOME)/.sylpheed/mime.types are read.
1503 * src/prefs_account.c: moved the address auto-setting to the compose
1505 prefs_account_create(): removed gtk_widget_show_all() for proper
1507 * src/prefs_common.c: changed "Program path" to "Command".
1511 * src/textview.c: textview_set_font(): support Russian charset
1513 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
1517 prefs_summary_column.c: minor improvements to the English.
1518 * src/main.c: get_queued_message_num(): don't output the warning
1519 when queueing folder is not found.
1527 * src/prefs_summary_column.[ch]:
1528 made prefs_summary_column_get_config() public.
1529 * src/summaryview.c: summary_ctree_create(): some code cleanup.
1530 * configure.in: moved the position of SSL checking after LDAP
1531 for linking problem.
1536 src/summaryview.c: allowed reedit in the outbox.
1537 * src/prefs_summary_column.[ch]: new. UI for setting summary
1539 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
1540 It calls summary_set_column_order().
1541 * src/summaryview.[ch]:
1542 summary_ctree_create(): new. separated from summary_create().
1543 summary_set_column_order(): new. It destroys the current
1544 CTree and replaces it with the new one.
1548 * src/smtp.[ch]: smtp_from(): abort if auth failed.
1549 * changed C++-style comments into C-style in some files, and
1550 removed unnecessary commented out codes.
1551 * src/addrcache.[ch]
1555 src/syldap.[ch]: updated the addressbook code, and fixed the
1558 src/importldif.[ch]: new.
1562 * src/about.c: added some items to compiled-in features.
1563 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
1564 * src/addressbook.c: changed "V-Card" to "vCard".
1565 addressbook_edit_address_cb(): added
1566 invalidate_address_completion() to the point address is changed.
1567 * src/codeconv.c: changed C++-style comments into C-style.
1571 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
1575 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
1580 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
1582 * src/summaryview.c:
1583 summary_thread_init(): separated from summary_thread_build().
1584 summary_thread_build(): removed the codes for initialization.
1585 summary_set_ctree_from_list(): call summary_thread_init() instead
1586 of summary_thread_build().
1587 summary_filter(): fixed a bug that didn't moved messages despite
1588 of immediate execution setting.
1592 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
1593 reversed thread tree from message list.
1594 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
1595 node to the head instead of appending to the tail. This prevents
1596 the traverse of node list inside of the GtkCTree, and considerably
1597 speeds up the summary display (the order is O(n^2) -> O(n)).
1601 * src/prefs_common.c
1602 src/summaryview.[ch]: initial modification for reorderable columns.
1606 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a
1608 * src/folderview.c: folderview_button_pressed(): code cleanup, and
1609 turn sensitivity off if main window is locked.
1610 * src/syldap.c: syldap_read_data(): removed unnecessary and
1611 unportable sched_yield().
1615 * src/folderview.c: renamed "Update folder tree" context menu to
1616 "Rescan folder tree", and made "Update folder tree" only updates
1618 folderview_update_all_node(): don't show message dialog.
1619 * src/gtkutils.c: gtkut_widget_get_uposition()
1620 src/mainwindow.c: main_window_popup(): clip the coordinate to
1625 * src/utils.c: to_human_readable(): made a bit of optimization.
1626 * src/summaryview.c: summary_delete(): fixed a focus problem.
1627 summary_find_{prev,next}_msg(): new. They find previous/next
1628 message that is not deleted.
1629 * src/prefs_filter.c: scroll CList automatically if moved row
1630 becomes not fully visible.
1634 * updated some autotool scripts.
1635 * src/codeconv.c: conv_encode_header(): fixed a bug that caused
1636 infinite loop when failed to convert encoding.
1637 * src/codeconv.[ch]: a fix for older version of libjconv
1638 (jconv_info_get_current_codeset() returned "EUCJP" instead of
1647 * src/compose.c: compose_write_to_file()
1648 src/codeconv.c: conv_codeset_strdup(): more workaround for
1649 libjconv problem on C locale.
1650 * src/editldap_basedn.c: fixed segfault when opening dialog.
1651 * src/utils.c: is_next_mbs()
1652 src/compose.c: compose_wrap_line(), compose_wrap_line_all():
1653 changed MB_CUR_MAX to MB_LEN_MAX for compliance to ANSI C.
1654 * configure.in: increased the reqired version of GPGME to 0.2.3.
1655 * src/pop.c: pop3_getauth_user_recv(): fixed a bug that closed
1656 the receive dialog when POP3 server refused normal authentication.
1660 * src/prefs_common.c: prefs_receive_create(): correction to English.
1661 * src/compose.c: compose_set_ext_editor_sensitive(): fixed a bug
1662 that didn't set the menu sensitivity correctly (thanks to
1664 * src/summaryview.c: delete messages permanently if the current
1665 folder is trash and 'delete' operation is executed.
1666 Fixed the bug that didn't select the last row correctly (thanks
1667 to Alfons Hoogervorst).
1668 * src/folder.[ch]: folder_item_remove_msgs(): new. It removes
1669 all messages given in the list.
1673 * src/summaryview.c: summary_show(): fixed a bug that didn't show
1674 message even if the 'open unread message on entering folder'
1675 option was turned on.
1679 * src/procmime.c: procmime_get_text_content(): supported HTML.
1683 * src/summaryview.[ch]: implemented new locking mechanism, and
1684 replaced every static locks with summary_lock(), summary_unlock(),
1685 and added locks to some extra functions.
1686 This fixes a bug that caused segfault when 'd' (delete) key
1691 * src/addressbook.c: addressbook_folder_load_person(): fixed a bug
1692 that caused segfault (thanks to Stefaan A Eeckels).
1696 * src/textview.[ch]: added textview_set_position().
1697 * src/messageview.[ch]: added messageview_set_position().
1709 src/editldap_basedn.c
1714 src/vcard.c: converted C++-style comments into C-style one.
1715 * src/imap.c: QUOTE_IF_REQUIRED(): new macro. Copy string into
1716 new buffer and quote with double quotes if required.
1717 imap_status(), imap_cmd_login(), imap_cmd_list(),
1718 imap_cmd_do_select(), imap_cmd_create(), imap_cmd_delete(),
1719 imap_cmd_copy(): use QUOTE_IF_REQUIRED().
1720 * compose.c: compose_write_to_file(): workaround for the problem
1721 when using libjconv and 8bit codes cannot be converted on C
1723 * codeconv.[ch]: added "ANSI_X3.4-1968" to encoding strings.
1724 conv_codeset_strdup(): don't convert if source and destination
1725 codeset are identical.
1729 * src/textview.[ch]: textview_search_string_backward(): new.
1730 Add the new member cur_pos to TextView.
1731 Connect button_press_event with gtk_signal_connect_after() to
1732 obtain the correct editable position.
1736 * src/folder.c: folder_write_list_recursive(): preserve unthreaded
1741 * src/summaryview.c: modified the layout of popup menu.
1748 src/summaryview.c: applied the patch from Alfons that allows
1749 threading setting for each folders (tnanks!).
1753 * src/message_search.[ch]: new. A Dialog for searching in current
1755 * src/gtkutils.[ch]: gtkut_text_match_string(): new. Compare the
1756 text in current position of GtkText and given wide-character
1758 * src/messageview.[ch]: messageview_search_string()
1759 src/textview.[ch]: textview_search_string(): return TRUE if
1761 * src/textview.[ch]: remember the beginning of body.
1765 * src/procmime.c: procmime_get_first_text_content(): modified so
1766 that it search entire MIME structure.
1767 * src/summary_search.c: summary_search_execute(): use
1768 strdup_mbstowcs() instead of macro. Display matched message.
1772 * src/inc.c: fix for background POP3 hangs and crashes (thanks to
1774 * src/summary_search.c: added body searching function.
1775 * src/procmime.[ch]: procmime_find_string(): changed arguments
1776 and return value. Added case sensitivity option.
1780 * src/procmime.[ch]:
1781 procmime_find_string()
1782 procmime_find_string_part(): new. It searchs the string from
1784 Renamed procmime_get_text_part() to
1785 procmime_get_first_text_content().
1786 procmime_get_text_content(): new. It returns the text contents
1787 of the specified MIME part.
1788 procmime_mimeinfo_next(): new. It returns the next node of
1793 * src/procmime.c: procmime_get_text_part(): modified so that it
1794 finds a text part in nested multipart message correctly.
1795 * src/procmime.h: added an example of MimeInfo structure.
1796 * src/mimeview.c: mimeview_show_message(): search the first text
1801 * src/mainwindow.c: ac_menu_popup_closed(): fixed the bug that
1802 caused segfault. Changed 'Preferences per account...' menu item.
1810 * src/addrindex.c: translate the "Common address" and "Personal
1811 address" from old addressbook.
1815 * src/utils.c: get_quote_level(): some optimization and bugfixes.
1816 * src/codeconv.[ch]: conv_get_current_locale(): new.
1817 * src/editaddress.c: edit_person_page_basic(): reverse the order
1818 of first and last name on some locales.
1822 * src/compose.c: applied the patch from Yasumatsu that reformats
1823 the current paragraph (thanks!). Modified so that it doesn't
1824 reformat quoted paragraphs.
1825 compose_create(): don't fill the entry automatically on reedit
1828 src/summaryview.[ch]: added the "Mark all read" option.
1829 summary_mark_all_read(): new.
1837 src/editldap_basedn.c
1839 src/editjpilot.c: removed all warnings.
1841 src/jpilot.[ch]: fixed the problem that failed to detect JPilot
1842 header files on the Debian system.
1844 src/summaryview.[ch]: enabled sorting by mark, unread, attachment,
1845 and color label. Enabled moving to next/prev flagged messages.
1849 * src/pixmaps/dir-close.xpm
1850 src/pixmaps/dir-open.xpm
1852 src/pixmaps/unread.xpm: modified the color balance.
1853 * src/utils.[ch]: execute_sync(): new.
1854 execute_command_line(): added the arg for async mode.
1855 * src/inc.c: inc_mail(): use execute_command_line().
1860 src/prefs_common.[ch]
1861 src/prefs_account.c: modified the layout. Added the option to
1862 launch the external editor automatically.
1863 * src/compose.c: launch the external editor automatically if the
1868 * src/Makefile.am: added extra xpm's.
1872 * src/addressbook.c: fixed a compilation problem when enabling
1874 addressbook_open(): fixed a missing 'else'.
1878 * src/pixmaps/dir-close.xpm
1879 src/pixmaps/dir-open.xpm
1880 src/pixmaps/trash.xpm: replaced with the new blue icons.
1881 * merged Match Grun's new addressbook code.
1882 * src/pixmaps/address.xpm
1883 src/pixmaps/book.xpm
1884 src/pixmaps/category.xpm
1885 src/pixmaps/interface.xpm
1886 src/pixmaps/jpilot.xpm
1887 src/pixmaps/ldap.xpm
1888 src/pixmaps/vcard.xpm: new icons.
1892 src/addressitem.[ch]
1895 src/editaddress.[ch]
1900 src/editldap_basedn.[ch]
1905 src/vcard.[ch]: new. Many fixes to remove the huge amount of
1907 addrbook_build_avail_email_vis(): fixed a memory leak.
1911 * NEWS: brought in the all of the changes previously put on the web.
1916 src/summaryview.c: modified the layout of menus.
1917 * src/mainwindow.c: ac_menu_popup_closed(): fixed a bug that didn't
1918 return a focus to the main window after selecting the account menu.
1926 * src/send.c: send_message_data(): fixed a bug that didn't process
1927 body part correctly.
1931 * src/inc.[ch]: changed inc_autocheck_(un)lock() to inc_(un)lock().
1932 inc_mail(), inc_all_account_mail(): return immediately if locked.
1935 src/prefs_account.c: use inc_lock() and inc_unlock() instead of
1936 inc_autocheck_timer_{remove,set}().
1937 * src/summaryview.c: summary_set_colorlabel_color(): get the average
1938 of label color and selected fg color for visibility.
1942 * src/inc.[ch]: inc_autocheck_lock(), inc_autocheck_unlock(): new.
1943 They increase/decrease the lock count.
1944 inc_autocheck_func(): if locked, delay the autochecking 1 second.
1945 inc_autocheck_timer_set_interval(): set interval by its argument.
1946 * src/summaryview.c: summary_show(): lock the autochecking while
1948 * src/main.c: app_will_exit(): remove autocheck timer.
1950 src/defs.h: removed the definitions of PACKAGE and VERSION to
1951 prevent unnecessary compilation.
1952 * configure.in: changed AC_DEFINE_UNQUOTED of PACKAGE and VERSION
1953 to AC_SUBST, and added src/version.h to AC_OUTPUT.
1954 * src/version.h.in: new.
1955 * src/intl.h: changed dgettext() to gettext().
1959 * po/ja.po: fixed a typo that crashed Sylpheed with older version
1961 * configure.in: fixed a bug that didn't show results correctly.
1962 Fixed a bug that --enable-compface and --enable-jconv disabled
1964 * src/procmsg.c: procmsg_send_queue(): don't abort when sending
1966 * src/compose.c: compose_write_headers(): add Bcc: header to the
1968 * src/send.c: send_message_data(): new. Separated from
1969 send_message_smtp(). Remove Bcc: header before sending.
1977 * src/send.c: implemented sending with local sendmail command.
1978 send_message_local(): new. It executes command with popen()
1979 and send the contents of RFC822 message to the command.
1980 * src/prefs_common.[ch]: enabled the external sending command option.
1981 * src/defs.h: #define DEFAULT_SENDMAIL_CMD /usr/sbin/sendmail -t
1982 * src/account.c: account_edit_create(): widened the protocol column.
1983 * src/summaryview.c: summary_set_colorlabel_color(): cleanup of
1988 * src/folder.c: folder_item_remove_msg(): scan the folder again
1989 if the last message is removed.
1990 * src/compose.c: compose_queue(), compose_draft_cb(): remove the
1991 old reedited message after adding the new message.
1995 * src/compose.c: compose_queue(): added AID: to the queueing header.
1996 * src/send.c: send_message_queue(): look for AID: header, and use
1997 the server specified in the account instead of SSV: header.
1999 src/compose.[ch]: queued messages can be reedited now.
2000 compose_remove_reedit_target(): new. It removes the old reedited
2002 compose_send(), compose_queue(), compose_draft_cb(): if reedit
2003 mode, remove the old message.
2004 * src/procmsg.c: procmsg_msg_exist(): fixed a bug that output
2009 * applied the XML string table patch from Alfons Hoogervorst that
2010 stores strings in a hash table and minimizes memory allocations
2012 * src/stringtable.[ch]: new.
2013 removed all G and g_ prefix from type and function names since
2014 they're not official GLib symbol names.
2015 string_table_insert_string(): fixed a bug that might refer to an
2016 invalid pointer on lookup, and also made a bit of optimization.
2020 * merged the color label feature from the claws branch (thanks to
2021 Satoshi Nagayasu and Alfons Hoogervoost).
2022 * src/colorlabel.[ch]: new. Renamed from labelcolors.[ch].
2023 Renamed labelcolors_*() to colorlabel_*().
2024 * src/summaryview.[ch]: added color label support.
2025 * src/procmsg.h: added color label flags to the permanent flags.
2026 * updated to gettext 0.10.39.
2027 * src/summaryview.[ch]: put the color label menu item to ItemFactory.
2028 * sylpheed.desktop: added for GNOME.
2029 * configure.in: added AC_MSG_CHECKING() for some options.
2030 Output the configuration results when configure is finished.
2034 * src/account.c: account_clist_set_row(): fixed a bug that failed
2035 to compile if SSL was not enabled.
2039 * merged the SSL support from the claws branch (thanks to Christoph
2041 * src/ssl.[ch]: new.
2042 * src/socket.[ch]: added ssl_read(), ssl_write(), ssl_gets(), and
2044 sock_close(): call ssl_done_socket() if SSL is active.
2045 * src/md5.[ch]: removed MD5_CTX typedef and use MD5_CONTEXT to
2046 prevent type confliction.
2047 * src/prefs_account.[ch]: added SSL tab, and modified the expression.
2048 * src/esmtp.[ch]: added esmtp_ehlo(), and esmtp_starttls().
2049 Removed SSL initialization and HELO from esmtp_starttls().
2050 esmtp_auth(): removed use_smtp_auth from its arguments.
2051 * src/send.c: send_smtp_open(): added SSL support.
2052 * src/smtp.c: smtp_helo(): call esmtp_ehlo() if esmtp is true.
2056 * src/mimeview.c: mimeview_open_with(): braced '%s' with single
2061 * src/main.c: open new account dialog if no account is set.
2062 * src/utils.[ch]: log_verbosity_set(): new. It increase/decrease
2063 the verbosity count.
2064 log_print(): put to statusbar only if log_verbosity_count > 0.
2065 log_message(): put to statusbar.
2066 * src/inc.c: inc_pop3_session_do(): set log verbosity.
2067 * src/mainwindow.c: main_window_set_menu_sensitive(): added the
2068 "Compose new message" item.
2069 main_window_show_cur_account(): removed "Current account: " string.
2070 * src/summaryview.c: summary_show(): ignore the current marks if
2071 main window is locked.
2072 * src/compose.c: compose_attach_property(): fixed a bug that caused
2077 * src/mainwindow.c: main_window_get_current_state(): new. It returns
2078 the current state for the sensitivity of UI.
2079 main_window_set_toolbar_sensitive(): use table like
2080 main_window_set_menu_sensitive().
2084 * src/mainwindow.[ch]: added progressbar and status label to the
2086 main_window_close_cb(): don't exit if locked.
2087 * src/inc.c: update the progressbar of main window, too.
2091 * src/mainwindow.[ch]: main_window_set_toolbar_sensitive(): removed
2092 the second argument, and determine the sensitivity with the
2093 state of summary view.
2097 * src/pop.c: pop3_getsize_list_recv(), pop3_retr_recv(),
2098 pop3_delete_recv(): don't try to receive messages which are not
2103 * src/mainwindow.c: main_window_lock(), main_window_unlock():
2104 removed the whole menubar locking.
2105 main_window_set_menu_sensitive(): process the sensitivity change
2106 with a table, and deal with locking.
2110 * src/summaryview.[ch]: summary_get_selection_type(): new.
2111 It returns the current selection state of summary view.
2112 summary_key_pressed(): abort on some commands if main window
2114 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
2115 increase/decrease the lock count.
2119 * src/prefs_filter.c: prefs_filter_create(): added List-Id to the
2120 default header list.
2121 * src/prefs_common.[ch]: added the option for receive dialog mode
2122 to the Interface tab.
2123 * src/inc.[ch]: inc_progress_dialog_create(): don't make the dialog
2124 transient, and show dialog only if the setting is
2125 RECV_DIALOG_ALWAYS, or RECV_DIALOG_ACTIVE and a window is active.
2126 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
2127 new. Lock / unlock the user-interface.
2128 * src/progressdialog.c: progress_dialog_create(): don't make the
2133 * src/folderview.c: folderview_update_node(): suppressed unnecessary
2135 * src/menu.[ch]: menu_button_position(): new. It calculates the
2136 position of popup menu.
2137 * src/mainwindow.c: toolbar_account_button_pressed(),
2138 ac_label_button_pressed(): put the popup menu to the correct
2139 position. Change the style of the button while opening the menu.
2140 ac_menu_popup_closed(): new function called on selection_done
2142 * src/gtkutils.c: gtkut_ctree_node_next(): fixed a crash bug when
2144 * src/summaryview.c: applied the summary fix patch from Sergey Vlasov
2146 Fixed the bug that didn't select previous message in refresh mode
2147 if threads were not expanded.
2148 summary_select_node(): new.
2149 * src/inc.c: applied the summary view update optimization patch from
2150 Sergey Vlasov (thanks!).
2151 If no new messages are received, don't perform summary refreshing.
2152 In addition to the Vlasov's patch, POP3 receive information is
2154 * src/inc.h: added a new member cur_total_num to Pop3State.
2155 * src/pop.c: pop3_retr_recv(): increase state->cur_total_num.
2163 * src/summaryview.c: summary_set_row_marks(): got the color of
2164 unread row set properly.
2165 * src/folderview.c: foldreview_update_node(): don't use
2166 gtk_style_copy(), and reuse previously allocated styles.
2167 * README, README.jp: modified.
2171 * src/pop.c: pop3_getsize_list_recv(): fixed a remotly exploitable
2172 memory corruption bug (thanks to David Looney).
2173 * src/inc.c: inc_all_account_mail(): call inc_finished() even if
2174 there are no enabled accounts, or local spool only.
2175 * src/summaryview.c: applied the summary update improvement patch
2176 from Sergey Vlasov (thanks!). It keeps the position of the
2177 message displayed. Selected and displayed message are also kept.
2178 summary_get_msgnum(): new.
2179 summary_get_current_msgnum(): removed.
2180 summary_select_by_msgnum(): don't display the message.
2181 * src/account.c: added "Get all" column.
2182 account_clist_set_row(): show default and get-all flags with the
2184 * src/utils.c: to_human_readable(): increased the number of decimals
2189 * implemented the long-awaited :) "Add sender to address book" feature.
2190 * src/address.[ch]: added the argument for remarks to
2192 address_get_folder_list(): new. It traverses the address tree and
2193 returns the folder list.
2194 address_delete_object(): modified so that it removes the node
2196 * src/addressbook.[ch]: addressbook_add_submenu(): new. It creates
2197 a address folder menu and attaches it to the menu item.
2198 addressbook_refresh(): reload the address book folder tree.
2199 * src/summaryview.c: summary_set_add_sender_menu(): new. It attaches
2200 the menu to add sender to address book.
2201 summary_button_pressed(): call summary_set_add_sender_menu()
2202 before popup the menu.
2206 * src/summaryview.c: summary_thread_build(): fixed a bug that locked
2207 up the process. Optimized the initial thread build.
2211 * src/summaryview.c: made many code cleanups.
2212 summary_show(): block/unblock the signal handlers instead of
2213 disconnect/connect them.
2214 summary_set_row_marks(): made the font of collapsed node bold if
2215 it has cnildren marked as unread.
2216 summary_thread_build(): block tree_expand signals while processing.
2217 Use loop instead of the recursive function. Mark collapsed nodes
2219 summary_unthread(): block tree_collapse signals while processing.
2220 Use loop instead of the recursive function.
2221 summary_thread_func(), summary_unthread_func(): removed.
2222 summary_tree_expanded(), summary_tree_collapsed(): new callback
2224 * src/inc.[ch]: inc_pop3_session_do(): don't show alert panel when
2225 failed to connect. Show more detailed status on the dialog.
2229 * src/folderview.c: folderview_update_all_node(): new. It updates
2231 * src/inc.c: update all local folders after incorporation if
2232 scan_all_after_inc option is set.
2233 * src/prefs_common.[ch]: added scan_all_after_inc option.
2234 * src/folder.h: FOLDER_IS_LOCAL(): new macro.
2243 src/prefs_common.h: made bold and small font configurable.
2244 src/summaryview.c: display unread messages with bold font.
2245 * src/prefs_common.c
2247 src/summaryview.c: added an option to enable/disable the
2248 emphasis of unread messages.
2252 * src/pixmaps/mark.xpm: modified.
2253 * src/gtkutils.[ch]: gtkut_ctree_expand_parent_all(): new.
2254 * src/summaryview.c: summary_set_ctree_from_list(): don't expand
2255 the root messages of threads for performance improvement.
2257 summary_select_next_unread()
2258 summary_step(): expand threads when opening messages.
2259 summary_thread_build(): expand threads if the option is turned on.
2260 * src/prefs_common.[ch]: added "Expand threads" option.
2264 * src/prefs_common.c: removed "Emulate the behavior of mouse
2265 operation of Emacs-based mailer".
2266 * src/prefs_common.c
2267 src/prefs_account.c: changed the value of VSPACING_NARROW to 3.
2268 * src/pixmaps/new.xpm
2269 src/pixmaps/unread.xpm: reverted.
2274 address_folder_new()
2276 address_item_new(): changed the return value to AddressObject.
2277 address_build_tree(): don't put assertion for file.
2278 * src/pixmaps/new.xpm
2279 src/pixmaps/unread.xpm: modified a bit.
2283 * src/addressbook.c: fixed some bugs.
2287 * separated the logic part of addressbook into another module
2288 (still in progress).
2289 * src/address.[ch]: new. It contains the logic part of addressbook.
2290 * src/addressbook.[ch]: removed the logic part.
2294 * src/textview.c: textview_show_header(): fixed a bug that a garbage
2295 character was shown after header names.
2299 * src/inc.c: inc_start(): don't abort with non-fatal error.
2307 * src/mimeview.c: mimeview_view_file(): added -x option to the
2308 metamail to prevent the suspention of the main process.
2309 mimeview_button_pressed(): deactivate `Open' menu item if
2310 content-type is application/octet-stream.
2314 * src/imap.c: imap_parse_atom(): parse escaped characters properly.
2315 get_quoted(): new. It handles the escape character '\'.
2316 * src/folder.c: folder_read_list(): don't output warning if
2317 folderlist.xml doesn't exist.
2318 * src/main.c: main(): write folder list after setup.
2319 * src/textview.c: textview_create()
2320 src/compose.c: compose_create(): set default tab width to 8.
2324 * src/prefs_common.c: date_format_select_row(): fixed a bug that
2325 caused segfault when selecting the list with key.
2329 * src/mainwindow.c: main_window_popup(): deiconize the window
2330 when popup (thanks to Henrik Carlqvist).
2331 * src/procmime.c: procmime_scan_mime_type(): new.
2332 procmime_scan_content_type(): use procmime_scan_mime_type().
2333 procmime_scan_mime_header(): scan the extension of attached files
2334 and add the correct MIME type if the Content-Type is
2335 "application/octet-stream" (thanks to Don Quijote).
2336 * src/compose.c: compose_toolbar_create(): added a new "Send later"
2337 icon (thanks to Leandro Pereira).
2341 * src/prefs_common.c: date_format_create(): modified the layout of
2346 * src/account.c: account_find_from_address(): fixed a minor bug.
2347 * src/prefs_common.c: incorporated the user-interface for setting
2348 date format from the claws branch, and made some modification to
2353 * src/account.[ch]: account_edit_create(): modified the text of
2355 account_find_from_address(): new.
2357 procmime_scan_content_type(), procmime_scan_content_disposition():
2358 fixed ESC code detection.
2359 * src/compose.c: compose_reply(): automatically select account
2360 according to the message header.
2361 * src/prefs_common.[ch]: added member "reply_account_autosel".
2365 * src/progressdialog.c: made the CList scrollable.
2366 * src/inc.c: inc_start(): don't abort with non-fatal error.
2370 * added English Sylpheed User's Manual by Paul Kater
2371 (paul@nlpagan.net) (thanks!).
2374 src/mainwindow.c: added support for English manual.
2375 * manual/en/sylpheed*.html: added English documentation.
2380 * src/nntp.c: nntp_ok(): fixed the bug that didn't handle a response
2381 that didn't have any trailing messages.
2382 * src/smtp.c: smtp_ok(): ditto.
2383 * src/compose.c: compose_account_option_menu_create(): modified
2384 the style of the account option menu.
2388 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
2389 remove return code from strings automatically.
2390 prefs_custom_header_create(): added "X-Face" to the default
2392 * src/news.c: news_fetch_msg(), news_get_group_list()
2393 src/imap.c: imap_fetch_msg(): create the cache directory before
2396 procmime_scan_content_type()
2397 procmime_scan_content_disposition(): convert JIS into EUC-JP
2399 * src/codeconv.c: conv_unmime_header(): cleaned up a bit.
2400 * src/compose.c: don't append attachment headers if the attach
2401 pane is visible but the list is empty.
2402 * src/recv.c: recv_bytes_write(): use g_malloc() instead of alloca().
2410 * src/compose.c: compose_quote_parse_fmt()
2411 src/prefs_common.c: prefs_quote_description_create(): added the
2412 symbol `%c' that allows to include Cc in reply format (thanks
2415 src/procmime.c: procmime_decode_content(): applied the patch
2416 from Sergey Vlasov that allows to decode base64 data with
2417 unusual line length (not a multiple of 4) (thanks!).
2421 * src/procmsg.[ch]: separated the permanent flags and temporary
2422 flags into two variables, and made MsgFlags a structure that
2424 MSG_SET_PERM_FLAGS()
2426 MSG_UNSET_PERM_FLAGS()
2427 MSG_UNSET_TMP_FLAGS(): new macros.
2435 src/summaryview.c: modified for the new MsgFlags.
2436 * src/utils.[ch]: hash_free_value_mem(): new. It frees the values
2441 * src/inc.c: inc_pop3_recv_func(), inc_progress_update():
2442 display current size with human-readable format.
2443 * src/grouplistdialog.c: grouplist_recv_func(): ditto.
2450 conv_unmime_header(), conv_unmime_header_overwrite(): workaround
2451 for raw-JIS code in header fields.
2453 folder_get_default_folder()
2454 folder_get_default_inbox()
2455 folder_get_default_outbox()
2456 folder_get_default_draft()
2457 folder_get_default_queue()
2458 folder_get_default_trash(): fixed a bug that caused segfault
2459 if folder_list is NULL.
2469 * src/grouplistdialog.c: grouplist_dialog_set_list(): update UI
2470 while retrieving newsgroup list.
2471 grouplist_dialog_create(): added entry widget and status label.
2472 grouplist_recv_func(): new.
2473 refresh_clicked(): added exclusive lock variable.
2474 clist_selected(): set text entry when the CList is selected.
2475 renamed from group_clist_select().
2476 entry_activated(): new.
2477 grouplist_clear(): renamed from grouplist_free(). Also clears
2478 list and entry widget.
2479 * src/news.c: news_get_group_list(): sped up the list appending
2480 (g_slist_append() becomes very slow if list size is large).
2481 * src/defs.h: added UI_REFRESH_INTERVAL definition.
2482 Changed the definition of NEWSGROUP_LIST.
2483 * src/recv.c: recv_write()
2484 src/send.c: send_message_smtp(): changed the UI refresh interval
2485 to UI_REFRESH_INTERVAL (50msec).
2486 * src/account.c: account_add(): fixed a bug that didn't update
2487 folder tree when a news account was added.
2488 * src/grouplistdialog.c: made exclusive lock variable global, and
2489 lock at grouplist_dialog_set_list().
2490 * src/textview.c: fixed a bug that disabled clickable URI if
2491 message color was disabled.
2495 * src/grouplistdialog.c: ok_clicked(), cancel_clicked(): don't
2496 quit main loop if gtk_main_level() is 1.
2497 grouplist_dialog_set_list(): freeze CList while appending the list.
2498 grouplist_dialog(): show dialog before updating the list.
2502 * src/folder.c: folder_write_list_recursive(): add the attribute
2503 `collapsed' if a node have some children.
2504 * src/grouplistdialog.[ch]: new. Newsgroups can be selected from
2507 news_get_group_list(): new. It returns newsgroup list.
2508 news_remove_group_list(): new. It removes newsgroup list cache.
2509 * src/folderview.c: folderview_new_news_group_cb(): call
2510 grouplist_dialog() instead of input_dialog().
2514 * autogen.sh: modified.
2516 src/folderview.c: made expand/collapse state of folders persistent
2525 * src/imap.c: imap_remove_folder(): select INBOX with EXAMINE before
2527 imap_cmd_do_select(): new. It toggles between SELECT and EXAMINE
2528 according to the argument.
2529 imap_cmd_select(): use imap_cmd_do_select().
2530 imap_cmd_examine(): new.
2531 * src/folderview.c: folderview_rm_imap_folder_cb(): select current
2532 folder again when removing failed.
2538 * manual/ja/sylpheed.sgml
2539 manual/ja/*.html: updated the Japanese manual (thanks to Imai).
2540 * src/summaryview.c: summary_set_row_marks(): fixed a bug that
2541 didn't set foreground correctly.
2543 src/summaryview.h: removed the member color_normal from FolderView
2545 * src/mainwindow.c: main_window_create(): removed color_normal.
2549 * src/prefs_account.[ch]: the port numbers of IMAP4 and NNTP
2551 * src/imap.c: imap_session_get()
2552 src/news.c: news_session_new_for_folder(), news_session_get():
2553 use user-defined port number if specified.
2557 * src/imap.c: imap_scan_tree_recursive(): get mailbox status when
2559 imap_scan_folder(): implemented. It updates the numbers of new,
2560 unread and total messages.
2561 imap_status(): new. It parses the response of STATUS command.
2562 imap_status_uidnext(): removed.
2563 imap_cmd_status(): removed.
2564 * src/textview.c: textview_show_part(): fixed potential memory leaks.
2568 * src/alertpanel.c: alertpanel_create(): fixed truncated message.
2569 * src/rfc2015.c: rfc2015_decrypt_message(): fixed the case problem
2570 of content-type (thanks to René Rebe for the patch).
2571 * src/codeconv.c: code_get_code_conv_func(): fixed the ISO-8859-1
2573 * src/prefs_common.c: prefs_send_create(): made some more character
2574 sets specifiable when not using libjconv.
2575 * configure.in: disabled --enable-threads option temporarily.
2577 INSTALL.jp: deleted the description about --enable-threads option.
2581 * updated gettext to 0.10.38.
2587 * src/folderview.[ch]: folderview_set_all(): new.
2588 * src/account.c: account_add(): call folderview_set_all() after
2589 creating IMAP4 tree.
2590 account_edit_create(): account preferences dialog can be opened
2591 with double clicking of the list.
2592 account_selected(): new.
2593 account_clist_set(): made the CList focus set correctly.
2597 * src/imap.c: imap_scan_tree(): call imap_create_trash() if trash
2599 imap_scan_tree_recursive(): search the sub folders of INBOX.
2600 recognize Trash folder.
2601 imap_create_tree(): separated the part of creating trash.
2602 imap_create_trash(): new.
2603 * src/folder.c: folder_build_tree(), folder_write_list_recursive():
2604 preserve no_sub and no_select.
2605 * src/summaryview.c: summary_show(): don't proceed if item->no_select
2610 * src/imap.c: imap_scan_tree(): fixed a bug that didn't set the
2611 root folder correctly.
2615 * src/folderview.[ch]:
2616 folderview_update_tree(): new. It updates one folder tree.
2617 folderview_update_tree_cb(): new.
2618 Added "Update folder tree" to the popup menu, and modified some
2623 * src/imap.c: implemented the autoscan of IMAP4 folder list.
2624 imap_scan_tree(): new. It scans the whole IMAP4 folder.
2625 imap_scan_tree_recursive(): new. It traverses the IMAP4 folder tree.
2626 imap_parse_list(): new. It parses the LIST response.
2627 imap_get_real_path(): new. It converts local path into IMAP4 path.
2628 * src/folder.h: added no_sub and no_select to FolderItem.
2629 * src/folder.c: folder_tree_destroy(): reset some variables.
2630 * src/folderview.c: folderview_scan_tree_func(): supported IMAP4.
2634 * src/imap.c: imap_parse_envelope(): fixed a bug that didn't
2635 parse the FETCH response that continues to the next line.
2636 imap_parse_fetch_element(): removed.
2637 imap_parse_atom(), imap_parse_one_address(), imap_parse_address(),
2638 imap_parse_envelope(), imap_get_uncached_messages(): use GString
2639 and sock_getline() to parse the FETCH response.
2640 imap_remove_all_msg(): fixed a bug that didn't delete messages
2642 imap_parse_address(): fixed a bug that didn't concaternate
2643 addresses correctly, using GString.
2644 * src/socket.[ch]: sock_getline(), fd_getline(): new. They read
2645 the whole line and return the newly allocated string.
2646 * src/prefs_account.[ch]: added `IMAP server directory' entry.
2652 * src/imap.c: imap_create_tree(): pass the path that is separated
2653 by the local filesystem separator to imap_create_folder().
2654 imap_create_folder(): examine the existence of folders using
2655 LIST command instead of STATUS.
2656 imap_cmd_list(): new.
2657 imap_query_password(): new.
2658 imap_session_new(): query password if it is not set.
2662 * src/imap.c: imap_parse_envelope(): FETCH results can be parsed
2663 with arbitrary order.
2664 imap_parse_fetch_element(): new. it parses one pair of name and
2665 value of FETCH results.
2666 imap_parse_flags(): modified for more flexibility.
2667 * src/utils.[ch]: set_log_file(): new. it opens a new file for
2669 close_log_file(): new. it closes the opened log file.
2670 log_print(), log_message(), log_warning(), log_error(): also
2675 * src/imap.c: imap_cmd_status(): check the pointer to "value"
2676 before the assignment (thanks to NISHIJIMA).
2680 * src/folderview.c: folderview_drag_motion_cb(): don't allow DnD
2681 across MH and IMAP4 folder (for now) (thanks to Hiramatu).
2682 * src/foldersel.[ch]: don't show folders which can't be targets
2694 imap_cmd_store(): use UID instead of sequential number.
2695 Renamed imap_set_article_flags() to imap_set_message_flags().
2696 * src/summaryview.c: summary_execute(): don't update summary
2697 even if current folder is IMAP4.
2698 * src/utils.[ch]: remove_numbered_files(): changed the type of
2699 arguments from gint to guint.
2703 * src/imap.c: imap_cmd_login(), imap_cmd_select(), imap_cmd_status(),
2704 imap_cmd_create(), imap_cmd_delete(), imap_cmd_copy(): don't
2705 enclose with double quotation if string doesn't have space
2706 (workaround for old Cyrus IMAP4 server).
2707 imap_create_folder(): fixed a bug of separator substitution.
2708 renamed imap_session_connect_if_not() to imap_session_get().
2709 imap_get_msg_list(): delete all cached messages if use_cache
2711 imap_delete_cached_messages(): remove cached files in between
2712 the specified range by reading directory entry.
2713 imap_parse_one_address(): set fromname same as the from address
2715 * src/utils.[ch]: remove_numbered_files(): new. The range is
2717 * src/summaryview.c: summary_execute(): update summary if current
2719 KEY_PRESS_EVENT_STOP(): new macro.
2720 summary_key_pressed(): stop signal emission when calling
2722 summary_select_by_msgnum(): show message only if
2723 msg_is_toggled_on is TRUE. Move current page to the selected
2725 * src/news.c; news_delete_old_articles(): remove cached files in
2726 between the specified range by reading directory entry.
2728 folderview_selected(), folderview_button_released(): fixed a bug
2729 that didn't select folder correctly.
2735 src/prefs_common.c: improvements to the English (thanks to Paul
2737 * src/mainwindow.c: compose_cb()
2738 src/summaryview.c: summary_key_pressed()
2739 src/compose.c: compose_new_with_recipient(): newsgroups entry
2740 is automatically filled when composing a new article.
2744 * src/procmsg.c: procmsg_msg_list_free(): fixed a bug that didn't
2745 free list correctly.
2751 * src/imap.c: imap_find_namespace(): replace namespace path
2752 separator with slash before comparison.
2753 imap_remove_folder(): use namespace.
2754 imap_create_tree(): use namespece when creating Trash.
2755 imap_get_msg_list(): fixed a bug that returned old list and caused
2756 memory leak if exists == 0.
2757 imap_select(): new. It's a wrapper for imap_cmd_select().
2758 * src/foldersel.c: foldersel_set_tree(): show IMAP4 folder too.
2763 folderview_new_folder_cb()
2764 folderview_new_imap_folder_cb(): show error dialog when creation
2765 or deletion of folder failed.
2766 Made it allow users to create a folder which contains subfolders.
2767 folderview_button_pressed(): disabled delete menu on the special
2769 * AUTHORS: incorporated from claws branch. It now contains all
2771 * src/send.c: enabled cancellation.
2772 EXIT_IF_CANCELLED(): new macro.
2773 Added cancelled flag to SendProgressDialog.
2774 * src/utils.[ch]: strtailchomp(): new. It removes the trailing
2775 specified character.
2776 * src/imap.c: imap_cmd_fetch(): a fix for MS Exchange 2000 server.
2780 * src/imap.c: imap_create_tree(): new. It creates required
2781 folders such as INBOX and Trash.
2782 imap_do_copy(), imap_do_copy_msgs_with_dest(): don't expunge
2784 imap_remove_all_msg(): return immediately if exists == 0.
2785 * src/account.c: account_add(), account_set_missing_folder():
2786 made them use folder->create_tree().
2790 * src/imap.c: more namespace implementation.
2791 imap_find_namespace(), imap_path_separator_subst(): new.
2795 * src/imap.c: imap_parse_namespace(), imap_cmd_namespace(): new.
2799 * src/summaryview.c: summary_show(): fixed a glitch in folder view.
2803 * src/imap.[ch]: added imap_add_msg(), and imap_append_message(),
2804 which appends file into IMAP4 folder.
2806 imap_create_folder(): check the existence of a folder before
2808 renamed the prefix of low-level IMAP4rev1 functions to imap_cmd.
2809 * src/account.c: account_add(), account_set_missing_folder():
2810 create INBOX automatically when creating IMAP4 account.
2814 * src/utils.[ch]: added itos_buf() that takes the buffer for its
2816 * src/imap.[ch]: imap_copy_msg(), imap_copy_msgs_with_dest(): new.
2817 * src/folder.c: added copy_msg and copy_msgs_with_dest methods
2822 * src/utils.[ch]: move_file(): new.
2823 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): modified to
2824 use move_file(), and fixed a bug that didn't close file when
2829 * src/imap.c: renamed imap_delete_messages() and
2830 imap_delete_all_messages() to imap_delete_cached_messages() and
2831 imap_delete_all_cached_messages(). Some code cleanups.
2832 * src/utils.[ch]: added a function remove_all_numbered_files().
2833 * src/mh.c: mh_remove_all_msg()
2834 src/imap.c: imap_delete_all_cached_messages():
2835 use remove_all_numbered_files().
2838 src/compose.[ch]: added `Reply to sender'.
2840 compose_reply_set_entry(): added an argument `ignore_replyto'.
2844 * src/folderview.c: folderview_selected()
2845 src/summaryview.c: summary_show(): fixed a bug that updated wrong
2846 folder when remaining marks were processed.
2850 * src/headerwindow.c: headerwindow_show_cb(): always try to show
2851 msginfo, and use the selected message, not the displayed one.
2852 * src/smtp.c: smtp_ok(): fixed sock_gets() error handling.
2856 * src/folderview.c: folderview_selected()
2857 src/mimeview.c: mimeview_selected(): ungrab the mouse event.
2858 * src/summaryview.c: summary_show(): process the left marks if any.
2862 * src/passphrase.c: enclosed with #if USE_GPGME.
2863 * src/prefs_account.c: added NNTP AUTH check button.
2864 * src/alertpanel.[ch]: alertpanel_create(): added new argument
2865 `can_disable', all existing callers changed to pass FALSE;
2866 created a check button to disable the message.
2867 alertpanel_message_with_disable(): new.
2868 alertpanel_show(): mask value with G_ALERT_VALUE_MASK.
2869 alertpanel_button_toggled(): new.
2870 alertpanel_button_clicked(), alertpanel_close(): set value using
2872 * src/prefs_common.[ch]: added option to toggle GnuPG signature
2873 check popup window, and GnuPG warning.
2874 * src/rfc2015.c: check_signature(): show signature check dialog
2875 only if it is enabled.
2876 * src/main.c: modified GnuPG checking.
2878 src/prefs_common.c: fixed some compilation bugs when enabled
2883 * src/codeconv.c: conv_get_code_conv_func(): fix for ISO-8859-*
2884 encodings with libjconv.
2885 conv_encode_header(): fixed an endless loop bug when encountering
2886 an invalid wide character (thanks to Alte).
2887 * src/headerview.c: SET_FONT_STYLE(): fixed segfault with invalid
2889 * src/imap.c: imap_create_folder(): don't create folder if the
2891 * src/mainwindow.c: main_window_reflect_prefs_all(): hide the
2892 execute button when immediate execution is enabled.
2897 README.jp: added the "How to run" section.
2901 * merged NNTP AUTH from the claws branch.
2902 * src/news.[ch]: supported NNTP AUTH.
2903 * src/nntp.[ch]: wrapped SockInfo with NNTPSockInfo for NNTP AUTH.
2905 INSTALL.jp: modified the confirmation list and the warning about
2910 * src/gtkutils.[ch]: moved folderview_find_collapsed_parent() to
2911 gtkut_ctree_find_collapsed_parent().
2912 * src/folderview.c: folderview_select_node(): automatically expand
2913 the parent folders when selected.
2914 * configure.in: made the version number to 0.4.99 (0.5pre)
2915 * src/main.c: main(): moved parse_cmd_opt() before gtk_init()
2916 so that X is not necessary for --help and --version.
2917 parse_cmd_opt(): changed g_get_prgname() to g_basename(argv[0]).
2918 * src/folderview.c: folderview_update_node(): a fix for collapsed
2923 * src/main.c: lock_socket_input_cb(): changed fd_read() to fd_gets().
2924 It caused garbages in --compose option.
2925 * src/socket.[ch]: made fd_gets() public.
2929 * src/gtkutils.[ch]: gtkut_ctree_node_next(): new.
2930 * src/folderview.c: folderview_find_next_unread(): new.
2931 folderview_select_next_unread(): modified so that it can find
2936 * src/compose.c: compose_write_headers(): excluded also From, To,
2937 Sender because they could be used for SPAM.
2938 * src/folderview.c: add '+' mark to the collapsed folder that have
2939 some unread folders.
2940 folderview_search_new_recursive(),
2941 folderview_have_new_children(),
2942 folderview_search_unread_recursive(),
2943 folderview_have_unread_children(),
2944 folderview_find_collapsed_parent(): new.
2945 folderview_update_node(): display the number of queued messages.
2950 src/mh.[ch]: modified *_add_msg() to use link(). Added the
2951 argument to switch whether to remove the source file or not.
2954 src/mbox.c: modified the argument of folder_item_add_msg() and
2955 removed some unlink()'s.
2959 * src/prefs_customheader.[ch]: renamed prefs_headers_* to
2960 prefs_custom_header_*. Removed `(New)' row and `Substitute'
2961 button. Supported empty value.
2962 prefs_custom_header_row_moved(): new. Connected "row_move" signal
2963 to the function, and made it set header list.
2964 * src/customheader.c: custom_header_get_str()
2965 src/compose.c: compose_write_headers(): supported empty value.
2966 * src/prefs_display_header.c: prefs_display_header_row_moved(): new.
2967 Connected "row_move" signal to the function, and made it set
2969 * src/compose.c: compose_write_headers(): modified the order of
2970 headers, and made it encode the custom headers.
2971 * src/prefs_customheader.c: prefs_custom_header_delete_cb()
2972 src/prefs_filter.c: prefs_filter_delete_cb(): treat closing the
2973 alert panel by ESC as "No".
2977 * merged the custom header stuff from claws branch:
2978 * src/customheader.[ch]
2979 src/prefs_customheader.[ch]: new.
2980 * src/customheader.c: custom_header_read_str(): use strtol() instead
2981 of atoi() and check errors.
2982 custom_header_find(): new function.
2983 * src/compose.c: IS_IN_CUSTOM_HEADER(): new macro.
2984 compose_write_headers(): made it replace headers with user-defined
2985 headers except for some automatically generated headers.
2989 * src/inc.c: connection_check_cb(): fixed a bug that caused
2990 segmentation fault if connection was not established.
2991 * src/compose.c: compose_create(): even if set_autobcc or set
2992 autoreplyto is checked and the entries are empty, show them.
2996 * src/textview.c: textview_show_mime_part(): modified the messages.
2997 TEXT_INSERT(): new macro.
2999 * src/prefs_display_header.c: prefs_display_header_create():
3000 modified the text of checkbutton.
3004 * src/mimeview.c: added "Open with..." to the context menu.
3005 * src/summaryview.c: summary_print()
3006 src/inputdialog.c: input_dialog(): fixed memory leaks.
3007 * src/textview.c: textview_show_mime_part(): updated the description.
3008 * src/send.c: implemented sending progress dialog.
3009 (TODO: automaton should be used.)
3010 send_progress_dialog_create(), send_progress_dialog_destroy(),
3012 send_message_smtp(): made it update the dialog for each stage.
3013 * src/utils.[ch]: get_left_file_size(): new. Get the left bytes
3015 * src/summaryview.c: summary_show(): when open_inbox_on_inc is set,
3016 go to first unread message even if folder is same as previous.
3017 * src/prefs_common.c: made color selection dialog transient, and
3018 made escape key close the dialogs.
3024 * src/select-keys.c: delete_event_cb(): removed `;' from its end.
3025 * src/recv.c: recv_write(): changed the interval to 10msec.
3026 * src/prefs_display_header.c: modified the layout of the dialog,
3027 and made the hidden headers list insensitive when `Show other
3028 headers' is not checked.
3029 * src/textview.c: changed strcasecmp() and strncasecmp() to
3030 the corresponding glib functions.
3031 * src/inc.c: get_spool(): make a temporary file in the home
3036 * src/prefs_common.c
3048 src/sigstatus.c: fixed a bug that accidentally destroyed dialogs
3049 when closed them with delete_event (thanks to DINH).
3050 Added *_deleted() and *delete_event() which handle delete_event
3055 * src/prefs_display_header.c: merged some changes from claws branch:
3056 prefs_display_header_create(): allow reordering of headers by
3058 prefs_display_header_find_header(): new function.
3059 prefs_display_header_clist_set_row(): don't allow duplicates.
3060 * src/prefs_account.c: prefs_account_receive_create(): changed
3061 the label of the check button.
3065 * src/pop.c: pop3_getsize_list_recv(): if sscanf() failed, break
3067 * src/inc.h: removed cur_msg_bytes from Pop3State.
3068 * src/inc.c: pop3_recv_func()
3069 src/recv.[ch]: made the second arguments of RecvUIFunc current
3071 recv_write(): made it call UI func if elapsed time is greater
3073 * src/recv.c: recv_write(): changed the interval to 300 usec.
3074 * src/textview.c: textview_show_header(): if header is Subject,
3076 * src/utils.[ch]: unfold_line(): new.
3077 * src/procheader.[ch]: procheader_get_header_array(): new.
3078 * src/prefs_display_header.c: updated defaults.
3082 * some merge from the sylpheed-claws branch.
3083 It allows user to specify displayed headers in message view.
3084 (symbol names were also changed.)
3085 * src/prefs_display_header.[ch]
3086 src/displayheader.[ch]: new.
3087 * src/prefs_display_header.c:
3088 removed prefs_display_headers_other_headers_toggled().
3089 removed "(New)" row from the list.
3090 * src/defs.h: added DISPLAY_HEADER_RC.
3091 * src/prefs_common.c: prefs_message_create(): added a button for
3092 opening the display header setting dialog.
3093 * src/prefs_common.h: added show_other_header and disphdr_list
3095 * src/procheader.[ch]: procheader_get_header_list_from_file(),
3096 procheader_get_header_array_asis(): new.
3097 procheader_get_header_list(): modified so that it takes FILE
3098 pointer for its argument.
3099 procheader_header_array_destroy(), procheader_header_free(): new.
3100 * src/main.c: main(): made it call prefs_display_header_*_config().
3101 * src/textview.c: textview_scan_header(): modified so that it
3102 sorts headers according to user setting.
3103 src/textview_show_header(): made it call
3104 textview_make_clickable_parts().
3105 textview_make_clickable_parts(): added GdkFont to its arguments,
3106 and removed GtkText from them.
3110 * implemented auto-checking of new mail based on the patch from
3111 Pierric Descamps (thanks!).
3112 * src/inc.c: added inc_autocheck_timer_init(),
3113 inc_autocheck_timer_set(), inc_autocheck_timer_remove(),
3114 inc_autocheck_func() for auto-checking of new mail.
3115 * src/main.c: main(): call inc_autocheck_timer_init().
3116 * src/prefs_common.c: prefs_receive_create(): activated the
3117 auto-checking UI. Added prefs_common_cancel(), and connected
3118 some signals to that.
3119 * src/prefs_common.c
3122 src/account.c: Disabled auto-checking while opening the dialog.
3123 * src/headerview.c: headerview_show_xface(): fixed a bug that
3124 showed a warning when header pane was hidden.
3130 src/recv.c: removed non-blocking socket mode support since it
3133 src/inc.c: modified the messages of incorporation dialog.
3137 * src/utils.h: made u32 the typedef of guint32.
3138 added BIG_ENDIAN_HOST macro that is used by md5.c.
3139 * src/md5.c: renamed md5c.c. Fixed the indentation. Fixed a bug
3140 that didn't calculate MD5 correctly on big endian machines.
3146 * src/folder.c: folder_init(): added the method imap_remove_folder.
3147 * src/folderview.c: folderview_rm_imap_folder_cb(): made it
3148 actually remove folder from IMAP4 server.
3149 * src/imap.[ch]: imap_create_folder(): made it actually create
3150 folder on IMAP4 server.
3151 imap_remove_folder(): added.
3152 imap_create(), imap_delete(): added.
3153 * src/summaryview.c: summary_execute_delete(): don't check trash
3154 if folder type is not F_MH.
3155 * thanks to Ishihara for the above changes.
3157 ac/check-type.m4: better wint_t typedef detection (renamed
3158 sv_CHECK_TYPE to SYLPHEED_CHECK_TYPE).
3162 * src/recv.c: recv_bytes_write(): fixed another bug that caused
3163 infinite loop and buffer overrun.
3167 * src/socket.[ch]: renamed sock_read() and fd_read() to
3168 sock_gets() and fd_gets() for preventing confusion.
3169 Added sock_read() and fd_read() which is the wrapper of read().
3170 * src/recv.c: recv_bytes_write(): fixed a bug that caused infinite
3171 loop. Use sock_read() instead of fd_read().
3178 src/smtp.c: use sock_gets() instead of sock_read().
3179 * src/imap.c: imap_session_new(): fixed the error detection
3184 * src/inc.c: made it displays current read bytes to the dialog.
3185 * src/pop.c: recv_write(): call UI function before editing
3190 * src/progressdialog.c: progress_dialog_create(): modified the
3191 size of dialog and made it stretchable.
3193 src/esmtp.c: smtp_ok(), esmtp_ok(): fixed a bug that didn't
3194 process an error response correctly (thanks to Ohmasa).
3195 * src/pop.[ch]: added pop3_getsize_list_send(),
3196 pop3_getsize_list_recv().
3197 * src/recv.[ch]: added recv_set_ui_func() that makes recv_write()
3198 call the callback function for each sock_read().
3199 * src/inc.h: in Pop3State, renamed bytes to total_bytes, and added
3200 cur_msg_bytes, cur_total_bytes, and sizes.
3201 * src/inc.c: added inc_pop3_recv_func() that updates the progress
3202 bar for each sock_read().
3206 * src/mh.c: mh_is_maildir_one(): modified so that it uses
3209 2001-04-25 Werner Koch <wk@gnupg.org>
3211 * src/mh.c (mh_is_maildir_one, mh_is_maildir): New.
3212 (mh_scan_tree_recursive): Do not include Maildir style directories
3215 Changed the use of integers to describe sockets by an more abstract
3218 * src/automaton.h (struct _Automaton): Add help_sock.
3219 * src/automaton.c (automaton_input_cb): Changed source to be
3220 SockInfo and use wrapper for gdk_input_add.
3222 * src/send.c (SEND_EXIT_IF_ERROR): Adjusted tests and removed test
3223 for invalid socket because this is now done in sock_close. Set
3225 (SEND_EXIT_IF_NOTOK): Set closed sock to NULL.
3226 (send_smtp_open): Use only SockInfo.
3228 * src/news.c (news_session_new): Use SockInfo here.
3229 (news_session_destroy): Ditto and set sock to NULL.
3231 * src/nntp.c: Use SockInfo instead of integers
3232 * src/smtp.c: Ditto.
3234 * src/recv.c: Ditto.
3236 * src/inc.c (inc_pop3_session_do): Removed sock_sockinfo_free. Put
3237 gdk_input_add into a wrapper.
3239 * src/esmtp.c: Changed socket descriptors to use SockInfo.
3240 * src/esmtp.h: Ditto, included socket.h.
3241 * src/session.h (struct _Session): Likewise.
3242 * src/imap.c (imap_open): Return SockInfo ptr and not an integer.
3243 Removed access to internal data of SockInfo. Changed all callers
3244 and functions to take SockInfo.
3245 (imap_session_new): Use sock_close here.
3246 (imap_session_destroy): Ditto.
3248 * src/compose.c (compose_exec_ext_editor): Replaced sock_write by
3251 * src/main.c (app_will_exit): Close lock socket using fd_close.
3252 (prohibit_duplicate_launch): Use fd_xxx functions instead of sock_xxx.
3253 (lock_socket_input_cb): Ditto.
3255 * src/socket.h, src/socket.c: Prepared SockInfo structure to use
3256 glib channels. Changed all sock_xxx to use SockInfo instead of an
3258 (sock_connect_unix, sock_open_unix, sock_accept): Renamed to ..
3259 (fd_connect_unix, fd_open_unix, fd_accept): .. this and changed all
3261 (fd_read, fd_write, fd_close): New.
3262 (sock_sockinfo_free): Removed.
3263 * src/socket.c (sock_connect_nb): Use close instead sock_close here.
3264 (sock_connect): Ditto.
3268 * config.h.in: removed.
3269 * ac/Makefile.am: added gnupg-check-typedef.m4 to MACROS.
3270 * .cvsignore: added.
3272 src/progressdialog.[ch]
3273 src/pixmaps/complete.xpm
3274 src/pixmaps/continue.xpm
3275 src/pixmaps/error.xpm: applied the patch from Leandro Pereira
3276 that displays the state of message incorporation (thanks!).
3277 * src/inc.c: made the progress dialog change the text of status.
3281 * removed po/*.gmo, configure, stamp-h.in, aclocal.m4, Makefile.in
3283 * COPYING: removed RSA copyright notice.
3284 * removed po/sylpheed.pot, po/stamp-cat-id, po/cat-id-tbl.c.
3285 * configure.in: added the check of sys/utsname.h.
3287 2001-04-24 Werner Koch <wk@gnupg.org>
3289 Merged most of the changes from the W32 branch in.
3291 * configure.in: Require gpgme >= 0.2.1
3293 * acconfig.h (HAVE_U32_TYPEDEF): New.
3294 * ac/gnupg-check-typedef.m4: New.
3295 * configure.in: Check for u32 type and the size of some types.
3296 * src/utils.h: Define the u32 type and related constants.
3298 * src/about.c (about_create): Removed the note about MD5. We are
3299 not any longer using the RSA Inc. implementation.
3300 * src/md5ify.c, src/md5ify.h, src/md5global.h: Removed.
3301 * src/md5c.c, src/md5c.h: Replaced by an FSF implementation and
3302 renamed the function to standard lowercase convention. Changed all
3304 (md5_hex_digest): New.
3305 (md5_hmac): Add hmac function by Martin Schaaf with some
3307 (md5_hex_hmac): New.
3308 * src/esmtp.c, src/esmtp.h (md5_hex_hmac): Removed.
3309 (hmac_md5): Removed.
3310 * src/pop.c (pop3_getauth_apop_send): Replaced the md5_digest by
3311 the new md5_hex_digest function.
3313 * src/about.c: Include utsname.h only if available
3315 * src/utils.c, src/utils.h (get_home_dir): New to better cope with
3316 special Windoze requirements. Changed all calls to
3317 g_get_home_dir() to this function.
3319 * simple-gettext.c: New.
3321 * src/main.c (main): Issue a warning if GnuPG is not properly
3324 * src/sigstatus.c, src/sigstatus.h: New.
3325 * src/rfc2015.c (check_signature): Use the sigstatus window and
3326 get the status texts from a utility function.
3328 * src/select-keys.c: Removed the global select_keys var and
3329 pass an allocated one along all functions.
3330 (set_row): Display only keys capable of encryption.
3331 (update_progress): Replaced the progressbar by
3332 a windmill and a text showing for which key we are collecting
3333 info. Removed progressbar everywhere else and updated callers.
3335 * src/prefs_common.c (prefs_privacy_create) [__MINGW32__]: Do not
3336 display the grab button.
3340 * src/prefs_common.[ch]
3341 src/procheader.c: applied the patch from Darko Koruga that
3342 allows user to define their own format for displaying date in
3343 summary view using strftime() (thanks!).
3344 * src/prefs_common.c: prefs_quote_colors_dialog()
3345 src/mainwindow.c: main_window_reflect_prefs_all(): made it
3346 update message colors if the colors setting is changed.
3347 * src/main.[ch]: made it remember the startup directory.
3348 * src/export.c: export_mbox(): made it initially chdir to the
3350 * src/filesel.c: filesel_select_file(): made it open the startup
3355 * added option to warn about queued messages on exit [sergey]:
3357 * src/compose.c: compose_queue(): call folder_item_scan()
3358 and folderview_update_item() after queueing.
3359 * src/folderview.c: folderview_update_node(): draw the queue
3360 folder in bold font if there are queued messages.
3361 * src/mainwindow.c: queued_messages(): new function.
3362 app_exit_cb(): display warning if there are queued messages
3363 if warn_queued_on_exit is set.
3364 * prefs_common.[ch]: add warn_queued_on_exit option.
3366 * src/mainwindow.c: moved queued_messages() to main.c, and renamed
3367 it to get_queued_message_num().
3368 * src/main.c: app_will_exit(): moved warning dialog code from
3369 app_exit_cb(), and added manage_window_focus_in().
3371 * enhanced GnuPG key selection support [sergey]:
3373 * src/select-keys.c: updated to newer version from Win32
3374 branch with support for selecting arbitrary keys.
3375 * src/prefs_account.c: added the Privacy tab to the account
3377 prefs_account_privacy_create(),
3378 prefs_account_sign_key_set_data_from_radiobtn(),
3379 prefs_account_sign_key_set_radiobtn(): new functions.
3380 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
3381 * src/rfc2015.c: set_signers(): new function.
3382 pgp_sign(): add the account parameter, call set_signers().
3383 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
3384 * src/rfc2015.h: rfc2015_sign(): updated prototype.
3385 * src/compose.c: pass the current account to rfc2015_sign().
3389 * src/mbox.c: export_to_mbox(): fixed a memory leak bug.
3393 * src/mbox.[ch]: renamed export_mbox() to export_to_mbox().
3394 Fixed a memory leak bug.
3395 * src/export.[ch]: added for exporting folder to mbox.
3396 * src/import.[ch]: made import_mbox() take default folder.
3397 Added description to the dialog.
3398 * src/summaryview.c: summary_show(): fixed a bug that kept the
3399 toolbar buttons insensitive after receiving messages.
3401 src/import.c: fixed a bug that caused quitting of the program
3402 when OK or Cancel button was clicked several time.
3403 * src/prefs_common.[ch]
3404 src/addressbook.c: added "Add address to destination when
3405 double-clicked" option.
3409 * src/prefs_common.[ch]: reorganized the items of settings,
3410 and added Message tab.
3411 * src/main.c: parse_cmd_opt(): added command line option --version.
3412 * src/mh.c: made it unset MSG_DELETED flag when moved/copied to
3414 * src/prefs_common.[ch]
3415 src/headerview.[ch]: the header pane can be toggled now.
3416 * src/prefs_common.[ch]
3417 src/textview.c: page scroll step is now selectable between
3418 one page and half page.
3419 * src/mbox.[ch]: added export_mbox() that reads all messages
3420 in a folder, and store them into one mbox file.
3424 * src/prefs_filter.[ch]: separated filter setting code from
3425 prefs_common.c, and made it a separate dialog.
3431 * src/automaton.[ch]
3432 src/inc.c: fixed the bug that made Sylpheed crash when clicking
3433 Cancel button while getting new mail (thanks to Sergey Vlasov).
3434 * src/xml.c: xml_build_tree()
3435 src/addressbook.c: fixed a bug that caused infinite loop if an
3436 illegal XML file was given.
3441 src/inc.c: applied the patch from Sergey Vlasov that fixes the
3442 problem when the "Go to inbox after receiving new mail" option
3443 was turned off (thanks!).
3447 * src/xml.[ch]: modified so that it supports some characters which
3448 must be escaped, and multiple-lined tag.
3450 src/addressbook.c: modified so that it escapes some characters
3451 like '<', '>', '&', ''', '"'.
3461 src/summaryview.[ch]: applied the patch from Darko Koruga that
3462 adds copy message operation for the MH folders (thanks!).
3463 * src/imap.c: disabled slash to dot conversion.
3464 * src/imageview.c: fixed a bug that displayed an old image when
3465 loading of a image failed (thanks to Darko Koruga).
3469 * src/procmsg.c: procmsg_read_cache(): added setvbuf() to speed up
3470 cache reading (thanks to Sergey Vlasov).
3472 src/summaryview.[ch]
3473 prefs_common.[ch]: applied the patch that keeps the same folder
3474 after receiving new mail (thanks to Sergey Vlasov).
3476 src/utils.[ch]: moved get_quote_level() to utils.c.
3480 * ac/Makefile.am: added.
3482 configure.in: added ac directory.
3486 * src/summaryview.c: summary_filter(): made it move messages
3487 immediately if immediate_exec option is set.
3488 * src/prefs_common.[ch]
3490 src/gtkutils.[ch]: applied the message coloring patch from
3491 Stephen Anthony with some modification (thanks!).
3493 src/mimeview.c: modified the behavior of MimeView (thanks to
3498 * src/utils.c: copy_file()
3499 src/mh.c: applied (and modified) the patch from Darko Koruga
3500 that enables to move messages across file systems (thanks!).
3502 src/utils.[ch]: applied the patch from Jorge Van Hemelryck
3503 that converts the date of messages to the local time (thanks!).
3504 * src/utils.c: remote_tzoffset_sec(): fixed a bug that the signs
3505 of one-letter timezone were reversed.
3506 * src/folder.c: folder_item_add_msg(): put the assertion for the
3507 add_msg() method (thanks to TAKANO).
3511 * src/procmime.c: procmime_decode_content(): fixed a bug that
3512 corrupted quoted-printable encoded messages when they include
3513 `=00' (thanks to Masahiro Tomita).
3516 src/summaryview.c: modified the DnD behavior of MIME view
3517 (thanks to HIRAMATSU).
3521 * src/about.c: applied the patch from Sergey Vlasov that fixes
3522 the appearance of the about dialog (thanks!).
3523 * src/prefs_common.[ch]
3529 src/textview.[ch]: applied the GnuPG support patch which had
3530 ported from the sylpheed-win32 branch (thanks to Sergey Vlasov).
3531 * INSTALL, INSTALL.jp: updated the description about GnuPG.
3535 * src/utils.[ch]: added references_list_append() that parses
3536 References header and makes it string list.
3537 * src/compose.c: modified so that too long References header is
3538 truncated, garbage characters are removed, and header is tidied
3539 up (thanks to Matthias Intemann).
3543 * src/addr_compl.c: applied the address completion bugfix patch
3544 from Alfons Hoogervorst (thanks!).
3548 * src/gtksctree.c: modified so that the tree_select_row signal
3549 actually pass the column number.
3550 * src/summaryview.c: summary_selected(): made generic mark and
3551 unread mark can be toggled with clicking of the columns.
3552 Added summary_mark_row_as_read() and summary_mark_row_as_unread().
3553 * src/prefs_common.c
3554 src/prefs_account.c: applied the layout fix patches from Sergey
3555 Vlasov, and adjusted some widths of GtkEntry widgets.
3556 * src/prefs.c: prefs_dialog_create(): enable notebook to take focus.
3557 * src/inc.c: inc_start(): modified so that authentication dialogs
3558 show server name too (thanks to Sergey Vlasov).
3562 * src/mimeview.c: mimeview_key_pressed(): fixed a bug that caused
3563 segmentation fault when a malformed multipart message is shown
3564 (thanks to Sergey Vlasov).
3565 * src/summaryview.c: summary_display_msg(): made it focus to the
3566 summary view if the MIME list is empty.
3570 * src/pixmaps/deleted.xpm
3571 src/pixmaps/mark.xpm
3572 src/summaryview.c: added deleted and mark icon.
3573 * src/gtkutils.c: gtkut_widget_init(): changed gtk_widget_destroy()
3574 to gtk_widget_unref().
3575 * src/addr_compl.c: start_address_completion(): fixed the bug that
3576 displayed warning when the address book was empty (thanks to
3581 * src/summaryview.c: summary_show(): fixed a memory leak bug
3582 (thanks to ChiDeok Hwang).
3583 * src/pixmaps/forwarded.xpm
3584 src/pixmaps/replied.xpm
3586 src/pixmaps/unread.xpm
3591 src/summaryview.[ch]: applied the patch from Marc Hoper
3592 that adds replied and forwarded mark to replying or forwarding
3593 messages (thanks!). And new and unread mark were replaced
3594 by the icons David Mehrmann created (thanks!).
3595 * src/summaryview.c: made the width of unread and MIME column
3597 * src/prefs.c: prefs_config_parse_one_line(): made it check the
3598 '=' separator (thanks to Sergey Vlasov).
3602 * src/prefs_common.[ch]: moved smooth scroll option to the
3604 * src/textview.c: made the one-line scroll also perform smooth
3609 * src/prefs_common.[ch]
3610 src/textview.c: applied the smooth scroll patch from Setoh and
3615 * src/summaryview.c: summary_attract_by_subject(): rewritten it
3616 using hash table for speeding up.
3617 * src/prefs_account.c: made filter_on_receive TRUE by default.
3618 * src/mainwindow.c: reordered menu items.
3622 * src/gtkutils.c: gtkut_clist_bindings_add(): fixed a bug that
3623 caused address completion not to accept space and enter key.
3628 src/codeconv.c: fixed a bug that didn't encode non-ASCII headers
3630 * src/compose.c: fixed a bug that didn't decode some headers
3631 correctly when replying or reediting drafts (thanks to Sergey
3636 * src/gtkutils.[ch]: added gtkut_widget_init() that modifies the
3637 behaviors of some classes.
3638 * src/main.c: main(): made it call gtkut_widget_init() first.
3639 * src/summaryview.c: summary_create(): removed the key binding code.
3643 * src/procmsg.[ch]: modified for the sake of readability.
3647 * src/mainwindow.c: changed "Clean trash" to "Empty trash".
3648 Added new menu items for folder manipulation.
3649 allsel_cb(): made it change the target between summary view and
3650 message view according to the input focus.
3651 Removed "Select all" from Summary submenu.
3652 * src/folderview.[ch]: added functions for creating/renaming/deleting
3654 * src/procmsg.[ch]: made "marked" and "deleted" flag permanent, and
3655 removed "important" flag.
3656 * src/summaryview.c: added summary_set_row_marks() that sets style
3657 of a row according to the flags, and made some functions use it.
3658 * src/mainwindow.c: allsel_cb(): modified so that it selects
3659 summary view correctly if message view is toggled off.
3663 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a resource
3664 leak bug of socket, and rewrote the routine.
3665 * src/inc.c: inc_mail(), inc_all_account_mail(): fixed a bug that
3666 displayed the wrong unread number in the folder tree if a
3667 folder was open and new messages arrived at the folder.
3668 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug
3673 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): made it
3674 check the existence of the destination file.
3675 * src/procmsg.c: procmsg_set_flags(): made it count the last
3676 number of the message list (and fixed a bug that didn't open
3677 newly arrived message).
3681 * src/prefs_common.c: prefs_send_create(): removed EUC-JP and
3682 Shift_JIS from the outgoing codeset.
3690 * src/send.c: send_message_queue(): modified so that it finds
3691 the account from the `From' and the server name of the queued
3693 * src/account.[ch]: added account_find_from_smtp_server() that
3694 finds an account from the specified address and SMTP server.
3697 src/summaryview.[ch]
3698 src/sourcewindow.[ch]: integrated the viewing source patch from
3699 DINH V. Hoßþ(thanks!).
3703 * src/addr_compl.[ch]
3705 src/compose.c: applied the enhanced address completion patch
3706 from Alfons Hoogervorst (thanks!).
3707 * src/addr_compl.c: replaced g_assert() with g_return(_val)_if_fail().
3708 * src/folder.c: folder_init()
3709 src/folderview.c: folderview_drag_motion_cb()
3710 src/procmsg.c: procmsg_clean_trash()
3711 src/summaryview.c: summary_start_drag()
3712 src/imap.[ch]: integrated the IMAP4 move/remove function patch
3713 from Suzuki Mio (thanks!).
3717 * src/main.c: parse_cmd_opt(): made the --compose option realize
3719 * src/utils.[ch]: execute_async(): supported quoted arguments
3721 strstr_with_skip_quote(), strsplit_with_quote(): quote-supported
3722 version of g_strsplit().
3723 * src/mimeview.c: mimeview_view_file()
3724 src/prefs_common.c: added single quotation mark around the file
3736 src/utils.[ch]: applied the security fix patch from Dmitry V.
3737 Levin with some modification (thanks!). Added my_tmpfile() to
3739 * src/main.c: added --receive-all command-line option.
3743 * src/socket.c: sock_connect_thread(): fixed a bug that didn't
3744 compile if both multithread and IPv6 are enabled (thanks to
3747 src/compose.c: applied a patch from Jason McCarver that allows
3748 FIFO for signature file (thanks!).
3749 * src/textview.c: made some more refactoring.
3750 * src/socket.c: sock_accept(): changed socklen_t to gint.
3755 src/textview.c: some code cleanups.
3761 src/textview.c: integrated the patch from Alfons Hoogervorst that
3762 fixes some glitches in clickable URI and enables mail addresses
3763 clickable, and enables the --compose command line option to
3764 specify address (thanks!).
3771 src/prefs_account.[ch]
3772 src/Makefile.am: applied the SMTP AUTH patch from Martin Schaaf
3773 and fixed its a few bugs (thanks!).
3774 * src/textview.c: textview_key_pressed(): made it don't move focus
3776 * src/main.c: parse_cmd_opt(): modified the help message.
3777 * src/html.[ch]: added empty_line to HTMLParser and modified
3778 the parser routines a bit.
3782 * src/html.c: added eucjp_symbol_list, and added some characters
3783 to ascii_symbol_list.
3787 * src/codeconv.[ch]: added a member `charset' and `charset_str'
3789 * src/html.[ch]: added the symbol list for ISO-8859-1 codeset.
3790 html_parser_new(): made it change the symbol hash table
3791 according to the character set of the document.
3792 html_parse_special(): made it recognize character code number.
3796 * src/textview.c: added textview_show_html() that parses HTML and
3798 textview_show_part(): made it call textview_show_html() if
3799 the part is text/html.
3800 * src/html.[ch]: implemented HTML parser.
3804 * src/codeconv.[ch]: added CodeConverter, and its methods
3805 (conv_code_converter_new(), conv_code_converter_destroy(), and
3807 * src/textview.c: removed the branches by HAVE_LIBJCONV and
3808 rewrote them using CodeConverter.
3812 * src/mbox.c: proc_mbox(): workaround for duplicated From_ line.
3816 * src/codeconv.c: some code cleanups.
3820 * src/mainwindow.c: main_window_popup(): fixed a bug that didn't
3821 popup the main window correctly.
3822 * src/codeconv.h: fixed a bug that the definition of CS_EUC_CN and
3823 CS_EUC_TW was reversed (thanks to Sakamoto).
3830 src/socket.[ch]: applied the patch from Hiramatu that enables
3831 prohibition of multiple execution and remote control with
3832 command line option (thanks!).
3836 * src/summaryview.c: summary_button_pressed(), summary_selected():
3837 made it toggle the view if middle button is clicked while message
3839 summary_drag_data_get(): fixed a memory leaking.
3841 src/compose.c: compose_write_headers(): modified so that it uses
3842 host_alias for X-Mailer or X-Newsreader field.
3848 * src/folderview.c: fixed a bug that prevented a folder from being
3849 created if there were already folders that have the same name
3850 somewhere at another place.
3854 * src/folderview.c: folderview_update_all(): fixed a bug that
3855 caused segmentation fault when a folder was selected after
3856 updating the folder tree.
3857 * src/compose.c: compose_send(): fixed a locking bug.
3858 compose_write_headers(): fixed a bug that referred to cur_account.
3859 compose_convert_header(): made it check the arguments.
3863 * src/main.c: some cleanups and added --help option.
3867 * src/send.c: re-enabled user-defined domain name setting.
3868 * src/utils.c: is_next_mbs(): changed the size of temporary
3869 multibyte array to MB_CUR_MAX.
3870 strdup_mbstowcs(): added error check to mbstowcs().
3871 strdup_wcstombs(): added error check to wcstombs().
3872 * src/addr_compl.c: get_address_from_edit(): made it check the
3873 return value of strdup_mbstowcs().
3874 * src/codeconv.c: conv_encode_header(): added error checking
3875 to strdup_mbstowcs().
3879 * src/utils.c: log_error(): changed g_error() to g_warning() so
3880 that it doesn't abort.
3882 * src/addr_compl.c: add_address(): fixed a bug that aborted the
3883 program if the name or the address is empty.
3884 get_address_from_edit(): supported multibyte characters.
3885 * configure.in: fixed a typo.
3886 * src/send.c: re-enabled user-defined SMTP port setting.
3892 * configure.in: added --enable-gpgme option, and disabled GPGME
3894 * made GPGME related members in MimeInfo not used if disabled.
3895 * src/rfc2015.c: some cleanups for warning.
3899 INSTALL.jp: updated.
3900 * Makefile.am: modified bzip2 option.
3904 * src/procmime.[ch]: added MIME_APPLICATION_OCTET_STREAM to
3906 * src/mimeview.c: mimeview_view_file(): made it do nothing if
3907 the MIME type is application/octet-stream.
3908 * src/folderview.c: folderview_update_all(): made it show modal
3909 dialog while updating folders.
3910 * src/folderview.c: folderview_update_all(): fixed a bug that
3911 didn't remove the dialog.
3915 * src/mimeinfo.c: merged the patch from John E.P. Hynes that
3916 launches the attached file using metamail (thanks!).
3917 * src/procmime.[ch]: added procmime_get_tmp_file_name().
3919 src/addr_compl.[ch]: merged the patch from Alfons Hoogervorst
3920 that enables address completion in the address entry on the
3921 composition window (thanks!).
3922 * src/addr_compl.c: get_all_addresses(), read_address_book():
3923 modified so that it uses xml_free_tree() for freeing the address
3928 * src/utils.c: remove_dir_recursive(): fixed a bug that failed to
3929 remove the current directory (thanks to Maki).
3930 * src/summary_search.c: added `Select all matched' option to the
3931 search dialog (thanks to Takahashi).
3932 * src/pixmaps/stock_mail_attach.xpm
3933 src/pixmaps/tb_address_book.xpm
3934 src/compose.c: added some toolbar icons contributed from
3935 Leandro Pereira (thanks!).
3939 * src/rfc2015.c: passphrase_cb(): *finally* fixed a bug that caused
3940 segmentation fault when the passphrase dialog was cancelled.
3941 Hided the passphrase in the debug message.
3942 * src/about.c: about_create(): fixed a bug that failed to compile
3943 when none of the features were used.
3944 * src/foldersel.c: foldersel_set_tree(): made it display all
3946 * src/inc.c: inc_start(): fixed a bug that showed password dialog
3947 continuously if it was cancelled.
3948 * src/summaryview.c: summary_write_cache(): put an assertion after
3949 folder_item_get_cache_file() to prevent the crash.
3950 * thanks to Maki for the above four fixes.
3951 * src/utils.h: added #include <alloca.h>.
3955 * src/rfc2015.c: changed some g_message() used for error messages
3960 * src/procmsg.[ch]: modified READ_CACHE_DATA() macro so that
3961 it can handle a string data of which length >= BUFFSIZE.
3962 * src/rfc2015.c: rfc2015_encrypt(): changed return to `goto failure'.
3963 * src/pixmaps/stock_mail_receive_all.xpm
3964 src/pixmaps/stock_mail_reply_to_all.xpm
3966 src/mainwindow.c: main_window_toolbar_create(): added new toolbar
3967 icons contributed from David Mehrmann (thanks!).
3968 * src/inc.[ch]: overhauled the architecture so that it don't create
3969 and destroy progress dialog for each incorporation in `get all'
3974 * src/mh.c: mh_scan_tree_recursive(): fixed a bug that mistook
3975 sub folders named `inbox', etc. as special folders.
3976 * src/rfc2015.c: rfc2015_encrypt(): fixed a bug that didn't quote
3981 * applied the GnuPG patch from Werner Koch (thanks!).
3982 * removed Mixmaster support.
3983 * src/rfc2015.c: changed g_error() to g_warning() and modified some
3985 * src/about.c: about_create(): modified compiled-in features list.
3989 INSTALL.jp: updated.
3990 * src/select-keys.c: create_dialog(): modified the layout.
3991 * src/headerwindow.c
3993 src/logwindow.c: made it raise the window if the window is already
3995 * src/prefs_common.[ch]: added an option for immediate execution.
3996 * src/summaryview.c: made it execute immediately when messages are
3997 moved or deleted if immediate_exec option is turned on.
3998 * src/summaryview.c: summary_delete(), summary_move_selected_to():
3999 moved summary_step() before summary_execute().
4000 * src/folderview.c: folderview_update_all(): made it scan folder
4002 * src/compose.c: compose_write_headers(): made it don't add
4003 In-Reply-To header if to_list is empty.
4005 2001-01-09 Werner Koch <wk@gnupg.org>
4007 * configure.in, acconfig.h: Check for GPGME.
4008 * ac/: New directory for local autoconf macros.
4009 * src/Makefile.am: Add support for GPGME
4011 * src/main.c (idle_function_for_gpgme): New.
4012 (main): Register this function.
4014 * src/about.c: Add a note about GPGME.
4016 * src/rfc2015.c, rfc2015.h: New.
4018 * src/mimeview.c (mimeview_show_message): Check signature.
4019 * src/procmime.c (procmime_scan_message): Ditto.
4021 * src/messageview.c (messageview_show): Add decryption stuff.
4023 * src/compose.c (compose_write_to_file): Encrypt the file if requested.
4024 (compose_toggle_encrypt_cb): New
4025 (compose_toggle_mixmaster_cb): New, just to be prepared for
4027 (compose_write_headers): Suppress some headers in mixmaster mode.
4029 * src/prefs_common.c (prefs_common_create): Add Privacy notebook sheet.
4030 (prefs_privacy_create): New. Also some new structures etc.
4031 * src/compose.c (compose_create): Set encrypt button to prefs default.
4032 * src/compose.h (struct _Compose): Add use_encryption, use_mixmaster.
4034 * src/compose.c (compose_send): Add missing unlock before one return.
4038 * src/gtksctree.[ch]
4040 src/summaryview.[ch]: applied the patch from Hiramatu that enables
4041 DnD from the summary view to the folder view and fixes some other
4043 * src/mainwindow.c: scan_tree_func(): fixed a bug that caused
4045 * src/imap.c: quoted user name in LOGIN and folder name in SELECT.
4046 * src/gtksctree.c: gtk_sctree_button_press(): fixed a bug that
4047 didn't toggle expansion of node.
4051 * src/imap.c: applied the patch from Nishimura that updates the
4052 message list more precisely and reads the message flags (thanks!).
4053 * src/textview.c: textview_show_header(): made X-Newsreader field
4055 * src/summaryview.c: summary_show(): made it flush events when
4060 * src/summaryview.c: applied the patch from Alfons that enabled
4061 the horizontal scrollbar of summary view (thanks!).
4065 * src/compose.c: compose_cb(): fixed a bug that didn't open the
4066 composition window right after launching the program.
4067 * src/setup.c: scan_tree_func(): fixed a bug that caused
4074 * src/textview.c: textview_set_font(): fixed a bug that caused
4075 segmentation fault if the mode of the text widget was changed
4076 between multibyte and singlebyte while the region was selected
4082 src/summaryview.c: made it unable to delete or move messages when
4084 * src/prefs_common.c
4085 src/news.c: added the option for maximum news article number.
4089 * src/compose.c: compose_send(): changed the location of temporary
4090 file. Made it use the default account if all of tried account
4091 aren't mail one, and made it show alert dialog and abort when even
4093 * src/prefs_account.c: prefs_account_get_new_id(): made it preserve
4095 prefs_account_open(): made it fill in personal information
4096 according to the default account when creating a new account.
4097 * sylpheed.spec.in: added to autogenerate sylpheed.spec with the
4098 proper version number (thanks to BONAIM).
4100 Makefile.am: added entries for sylpheed.spec.in.
4104 * src/compose.[ch]: modified so that it can change account
4106 * src/send.[ch]: modified so that it doesn't see cur_account.
4107 * src/prefs_account.c: modified so that news setting doesn't
4108 show SMTP server entry.
4112 * src/folderview.c: fixed a bug that didn't sort special folders
4113 correctly when a new folder is created or renamed.
4117 * src/compose.[ch]: enabled to select account at composing window.
4118 * src/folderview.c: made it display unread number next to folder
4120 * src/prefs_common.[ch]: added the option for unread number display.
4124 * src/compose.[ch]: integrated news posting patch from DINH V. Ho`
4125 and made many modifications (thanks!).
4126 compose_write_headers(): made the spaces in newsgroups removed.
4127 Supported Followup-To.
4128 compose_destroy(): got the objects removed properly.
4129 * src/news.c: merged news_post_to_group() and news_post() since
4130 they doesn't have to do multiple posting.
4131 * src/import.c: import_destsel_cb(): fixed a bug that failed to
4132 import into the selected folder.
4133 * src/prefs_account.c: modified the interfaces.
4138 prefs_common.c: changed "SHIFT-JIS" to "Shift_JIS" since the
4139 string is registerd to IANA.
4140 * src/nntp.[ch]: added nntp_post().
4141 * src/news.[ch]: added news_post() and news_post_to_group().
4145 * src/account.c: account_edit_open()
4146 src/mainwindow.c: new_account_cb(): made it unable to edit
4147 accounts if some composing windows are open.
4151 * src/folder.[ch]: added folder_set_name().
4152 * src/account.c: made a folder name of IMAP4/NNTP become the same
4153 as the name of account.
4157 * src/summaryview.c: summary_filter_func(): fixed a bug that failed
4164 * src/mbox.c: fixed a bug that didn't incorporate spool file
4165 correctly. Modified so that it recognizes From_ line as separator
4166 of messages even if the previous line isn't empty line.
4167 * src/send.c: send_message_queue()
4168 src/procmsg.c: procmsg_send_queue(): Fixed a bug that printed
4169 warning when it tried to delete a sent message.
4176 src/news.[ch]: modified so that it actually gets news articles.
4177 * src/utils.[ch]: added make_dir_hier() that creates directory
4180 folder_item_get_cache_file(), folder_item_get_mark_file():
4181 made it creates cache directory if it doesn't exist.
4182 folder_add(): made it insert the added folder into the correct
4184 * src/imap.[ch]: modified so that it suits the new folder
4185 architecture. Fixed a bug that caused segmentation fault
4186 if authentication failed at imap_auth().
4187 * src/folderview.c: implemented IMAP4 folder handling routines.
4191 * src/prefs_account.[ch]: added account ID and nntp_server
4192 to PrefsAccount. And added the interface for NNTP server.
4193 * src/folderview.c: modified news folder handling routines.
4194 * src/folder.[ch]: removed cache_dir from RemoteFolder, and
4195 modified folder_item_get_path().
4199 * src/folder.[ch]: added create_folder(), rename_folder(),
4200 remove_folder() to Folder class.
4201 * src/mh.[ch]: added mh_create_folder(), mh_rename_folder(), and
4203 Implemented mh_create_tree() that creates MH directory tree.
4204 mh_rename_folder(): modified so that the paths of sub folders
4206 * src/folderview.c: modified folderview_new_folder_cb(),
4207 folderview_rename_folder_cb(), and folderview_delete_folder_cb()
4208 so that they work properly.
4209 Added folderview_remove_mailbox_cb() and the menu entry that
4210 remove mailbox from folder tree.
4211 * src/setup.[ch]: added for initial setup.
4212 * src/alertpanel.c: modified the appearance of the dialog.
4213 * src/compose.c: fixed compose_save_to_outbox() and
4214 compose_queue() so that it sets flags correctly.
4218 * src/mainwindow.c: modified the strings of toolbar labels.
4222 * src/gtkutils.[ch]: added gtkut_ctree_node_move_if_on_the_edge().
4223 * src/summaryview.c: summary_display_msg(): made it scroll the
4224 list if the message of the edge of that is displayed.
4229 src/mh.[ch]: added functions for moving messages.
4230 * src/procmsg.[ch]: moved procmsg_move_messages_with_dest()
4231 to folder.c and mh.c. Added procmsg_to_folder_hash_table().
4235 * src/utils.[ch]: added get_tmp_file().
4238 src/folder.c: fixed a bug that failed to drop messages.
4239 * src/mh.c: mh_scan_folder(): made it check new, unread, and total
4240 number of the folder.
4244 * src/folderview.c: added special folder setting routine.
4245 * src/folder.[ch]: added a method is_msg_changed().
4246 Implemented folder_find_item_from_path().
4247 * src/summaryview.c: fixed some bugs that wrongly freed FolderItem's.
4248 * autogen.sh: fixed so that the configure can take arguments.
4253 src/mainwindow.[ch]: added main_window_new_mailbox() that asks
4254 the path of mailbox and create the one.
4255 * src/folderview.c: made the folder tree and selected folder
4261 src/folder.c: implemented mh_scan_tree() that scans the folder
4262 recursively and create the tree.
4282 src/summaryview.[ch]
4284 src/Makefile.am: merged the development tree into the cvs tree.
4285 Some functions are not unimplemented yet.
4293 * src/xml.[ch]: supported omitted tag (<tag />).
4294 * src/procmsg.c: procmsg_msg_exist(): fixed a memory leak bug.
4295 * src/imap.c: imap_parse_atom(): fixed a bug that caused
4296 segmentation fault if the subject was empty (thanks to Tsutsui).
4297 * src/folder.[ch]: updated.
4301 * src/xml.[ch]: added xml_parse_file() that parses the whole XML
4302 file specified and returns the tree.
4306 * po/pt_BR.po: fixed some typos that caused segmentation fault.
4312 * src/session.h: added.
4313 * src/folder.[ch]: updated.
4314 * src/compose.c: compose_write_to_file()
4315 src/codeconv.c: conv_get_outgoing_charset_str(): fixed a bug
4316 that put a garbage to charset if the outgoing character set was
4317 specified and non-ascii characters were used in subject.
4321 * src/statusbar.c: statusbar_puts(): fixed a bug that locked the
4322 progress if the status bar was hidden.
4326 * src/folder.[ch]: added for the more object-oriented folder
4334 src/prefs_common.[ch]: made the state of status bar get preserved.
4335 * src/compose.c: compose_insert_sig(): modified so that it doesn't
4336 put a separator if a signature file doesn't exist.
4337 * src/prefs_account.[ch]
4338 src/inc.c: added the option that toggles whether to receive
4339 messages when getting from all accounts.
4341 README.jp: updated the description and added some usages.
4347 src/compose.[ch]: applied the patches from Alfons Hoogervorst
4348 that makes the ruler of composition window graphical (thanks!).
4354 src/prefs_common.c: replaced CS_WINDOWS_1251 with CS_CP1251.
4360 * src/compose.c: turned the color of quoted messages black again.
4364 * src/about.c: added a clickable URI to the Sylpheed home page,
4365 and a list of compiled-in features.
4366 * src/compose.c: made the color of quoted messages blue.
4367 * src/summaryview.c: added `Show all header' to the context menu.
4368 * src/prefs_common.c: removed the threading option from the dialog.
4369 * src/compose.c: fixed a bug that didn't parse the quotation format
4374 * src/compose.c: compose_set_ext_editor_sensitive(): modified so
4375 that it toggles linewrap menu item and tool button.
4376 * src/prefs_common.c: modified the default of the signature
4378 * src/compose.[ch]: added ruler to the compose window.
4379 * src/prefs_common.[ch]: added a member for the state of ruler
4384 * src/headerview.[ch]: added the destroy function.
4385 * src/messageview.c: messageview_destroy(): fixed a memory leak
4386 bug that didn't freed the HeaderView object.
4387 * src/prefs.c: prefs_write_open(): fixed a memory leak bug.
4388 * src/xml.c: xml_close_file(): fixed a memory leak bug (thanks
4389 to Alfons Hoogervorst for the above three memory leak bug fixes).
4398 INSTALL.jp: modified some descriptions.
4402 * src/compose.c: implemented line-wrapping functions.
4403 * src/prefs_common.[ch]: added the settings for line-wrapping.
4404 * src/codeconv.[ch]: added Windows-1251 to the codesets.
4405 conv_jistoeuc(): fixed a bug that caused segmentation fault
4406 when some half-width kana characters appeared.
4407 * src/summaryview.c: summary_select_all(): made it show message
4408 on the status bar if the number of messages is large.
4412 * src/compose.c: compose_reply(), compose_quote_parse_fmt():
4413 modified so that it parses the quotation mark too.
4414 Added %I that means the initial of sender to the format.
4415 * src/codeconv.[ch]: added GB2312 and Big5 to the codesets.
4416 Fixed a bug that set the wrong outgoing codeset.
4418 src/prefs_common.c: modified the menu item of Chinese codeset.
4423 src/prefs_common.[ch]: modified so that outgoing charset is
4424 saved as a string, not a number.
4428 * src/textview.c: textview_set_font(): changed the scheme of
4429 selecting between font and fontset. And changed the default
4431 * src/headerview.c: headerview_show_xface(): made it ignore
4433 * src/codeconv.c: conv_codeset_strdup(), conv_get_code_conv_func():
4434 modified so that it consider the source codeset as ISO-2022-JP if
4435 it is NULL and the current locale is Japanese.
4439 * src/textview.c: textview_destroy(): fixed a bug that caused
4440 segmentation fault if textview->msgfont is NULL (thanks to
4443 src/defs.h: applied the patch from Yanase that enables to
4444 save the shortcuts of the menus (thanks!).
4448 * src/mainwindow.[ch]: added main_window_set_menu_sensitive() that
4449 toggles the sensitivity of menu items.
4450 * src/summaryview.c: renamed summary_set_popup_sensitive() to
4451 summary_set_menu_sensitive(), and made it set the sensitivity of
4456 * src/textview.c: textview_init(): fixed a bug that didn't disable
4457 the theme engine of GtkText (thanks to Hiramatu).
4458 * src/compose.c: compose_quote_parse_fmt(): added %n and %N that
4459 means the full name of sender and the first name.
4460 * manual/ja/*.??ml: updated to the latest version.
4466 * src/defs.h: separated the definitions from main.h and applied the
4467 patch from TOGAWA that sets DEFAULT_SPOOL_PATH and MAXPATHLEN
4468 from the system headers (thanks!).
4469 * src/codeconv.c: conv_get_current_charset(): fixes for lt_LT and