3 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
7 mh_do_move_msgs_with_dest()
9 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
10 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
13 imap_fetch_msg(): SELECT mailbox before FETCH if required.
14 imap_scan_folder(): set last_num using the value of UIDNEXT.
15 imap_select(): return immediately if there is no need for SELECT.
16 preserve the path of currently selected mailbox.
17 imap_status(): added UIDNEXT.
21 * src/folder.c: folder_item_scan(): removed the warning.
22 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
23 setting case sensitivity.
27 * src/mainwindow.c: main_window_create(): restrict the minimum size.
31 * src/compose.c: merged the new line-wrapping routine.
32 join_next_line(): fixed a bug that didn't join multibyte
34 get_indent_length(): modified enums and variable names.
35 INDENT_CHARS: don't indent ':'.
37 folderview_rename_folder_cb()
38 folderview_delete_folder_cb(): support folder identifier.
39 folderview_rm_imap_folder_cb(): integrated with
40 folderview_delete_folder_cb().
44 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
45 * src/folderview.c: folderview_check_new(): abort checking if
46 folder_item_scan() failed.
50 * src/imap.c: imap_create_missing_folders(): create only INBOX and
52 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
53 type of news folders unchangeable.
54 prefs_folder_item_destroy(): use prefs_dialog_destroy().
55 * src/prefs.[ch]: prefs_dialog_destroy(): new.
59 * src/prefs_account.[ch]: added special folder setting to Advanced
60 tab. Also moved "IMAP server directory" setting to there.
61 * src/account.[ch]: account_get_special_folder(): new. It returns
62 the optimal special folder for accounts.
63 * src/compose.c: use account_get_special_folder().
64 * src/prefs_folder_item.[ch]: new. Implemented folder property
65 dialog, and the special folder settings (most of the functions in
66 claws are not integrated yet, and the structure is slightly
68 * src/folderview.c: enabled Property menu.
72 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
73 scanning when encountering separators ',' and ';'.
77 * src/mainwindow.c: reorderd the menu a bit.
78 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
79 compose_reply_set_entry(): made 'Reply to sender' work for
84 * src/compose.c: compose_create(): set geometry hints to restrict
85 the maximum size of window.
86 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
87 imap_get_uncached_messages()
88 imap_cmd_fetch(): ignore responses which don't include FETCH.
92 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
93 the clause for OpenSSL).
98 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
104 src/session.[ch]: first reorganization of SMTP protocol handling.
105 SMTPSession: new class which is a sub class of Session.
106 smtp_session_new(): moved send_smtp_open() into this function.
107 smtp_from(): moved SMTP AUTH calls into smtp_auth().
108 smtp_auth(): use server response for SMTP AUTH method.
109 smtp_ehlo(): read server response and set auth type flags.
110 smtp_helo(): separated EHLO command.
111 smtp_ok(): return the last server response if the buffer is
113 * src/esmtp.[ch]: merged into smtp.[ch].
114 * src/imap.c: imap_session_destroy_all(): use session_destroy().
118 * src/imap.c: imap_open(): show warning message if IMAP4 session
119 can't be established.
123 * src/compose.c: made template able to be inserted into the current
125 * src/mainwindow.c: moved some menu items under the submenu
126 '/View/Show or hide'.
131 src/inc.c: changed folder_find_item_from_path() to
132 folder_find_item_from_identifier().
134 src/prefs_filter.c: use folder_item_get_identifier() to specify
139 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
140 existed in claws' implementation).
141 folder_find_from_name(): find Folder from name and type.
142 folder_get_identifier(): return Folder id.
143 folder_item_get_identifier(): return FolderItem id.
144 folder_find_item_from_identifier(): find FolderItem from id.
145 folder_get_type_string(): return folder type string.
146 folder_get_type_from_string(): return FolderType from string
147 (and fixed the wrong g_strcasecmp() usage).
149 src/import.c: use folder_item_get_identifier() and
150 folder_find_item_from_identifier().
154 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
155 point the correct address after reading the continuous line.
156 imap_scan_folder(): set new number to 0 if unseen number is 0.
157 imap_parse_flags(): don't add new and unread flag if \Seen flag
159 * ac/Makefile.am: removed gpgme.m4 from MACROS.
163 * fixed the old problem that couldn't add flags to currently opened
166 compose_send(): update outbox after saving.
168 compose_draft_cb(): use procmsg_add_flags().
169 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
171 * src/main.c: send_queue(): send from all queue folders.
172 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
174 procmsg_flush_mark_queue(): new. Write all queued flags into file.
175 procmsg_add_flags(): new. Add specified flags to the folder.
176 procmsg_send_queue(): added an argument to specify queue folder.
177 procmsg_save_to_outbox(): use procmsg_add_flags().
179 summary_show(): up the opened flag of FolderItem.
180 summary_clear_list(): down the opened flag of FolderItem.
181 summary_write_cache(): call procmsg_flush_mark_queue().
185 * src/summaryview.[ch]: trim the tail of folder name and selected
186 number on the status label if the space is not enough.
190 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
191 set SpecialFolderItemType when creating special folders under
193 * ac/gpgme.m4: removed.
195 * ac/missing/gdk-pixbuf.m4
196 ac/missing/gettext.m4
198 ac/missing/imlib.m4: added for convenience.
202 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
203 shown after the decoded challenge string. Fixed a memory leak.
205 * src/compose.c: compose_draft_cb(): mark draft messages as read.
206 * src/folderview.c: folderview_update_node(): disable emphasis
207 for Outbox and Draft folders.
211 * src/messageview.c: messageview_show(): fixed a memory leak.
212 * src/summaryview.c: summary_save_as(): show error dialog if copy
214 * src/about.c: about_show(): make the window active if it is already
219 * src/compose.c: show confirmation dialog before sending if Subject
221 compose_check_entries(): new.
223 compose_send_later_cb(): use compose_check_entries().
224 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
228 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
229 responses with continuous line correctly, and fixed a memory leak.
233 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
235 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
236 after pasting with middle button to prevent the selection growth.
241 folderview_rename_folder_cb()
242 folderview_delete_folder_cb(): modify filter rules only if the
243 target folder is in the default mailbox.
244 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
251 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
252 Moved 'Delete duplicated messages' under 'Tools'.
256 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
258 * src/imap.c: imap_create_special_folder(): fixed a crash bug
259 when folder creation failed, and re-try to create folders under
261 imap_scan_tree_recursive(): don't automatically add namespace
262 prefix if it's INBOX. Search also under the INBOX for special
264 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
269 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
270 abbreviated newsgroup name.
271 * src/folderview.c: folderview_update_node(): display newsgroups
272 with abbreviated name if name and path is the same.
273 * src/summaryview.c: summary_status_show(): show the newsgroup with
279 src/folderview.c: changed the label 'Draft' to 'Drafts'.
280 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
281 imap_create_missing_folders(): fixed the wrong assignment of
282 Queue folder to draft.
286 * enabled Sent / Draft / Queue folders on IMAP server.
287 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
288 queue and draft folder if they exist.
290 imap_create_trash(): removed.
291 imap_create_special_folder(): new. Generalized imap_create_trash().
292 imap_create_missing_folders(): automatically create missing folders.
293 imap_is_msg_changed(): added the dummy method.
294 imap_scan_tree_recursive(): search also Sent, Draft and Queue
295 folders. Minor code cleanups.
296 imap_parse_envelope(): check for null strings.
297 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
298 for messages on IMAP folder.
302 * src/compose.c: compose_send(): use account's outbox folder
304 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
305 that the outbox can be specified.
309 * src/compose.c: don't save to outbox when messages are queued.
310 compose_save_to_outbox(): moved to procmsg.c.
311 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
313 procmsg_save_to_outbox(): new. Removes the queueing headers if
314 needed, and adds the given file to the outbox.
318 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
319 get_indent_length(): treat ':' and '#' also as quote char, and
320 cleaned up using strchr().
324 * src/mainwindow.c: modified some menu items.
328 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
329 (current "outbox" will be kept until rescan).
330 * src/folder.c: folder_set_missing_folders(): create the missing
333 src/folderview.c: changed 'Outbox' to 'Sent'.
334 * src/main.c: call folder_set_missing_folders().
335 * src/mh.c: mh_scan_tree(): create missing folders.
336 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
337 didn't set the menu sensitivity correctly.
342 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
343 folderview_rename_folder_cb(): reopen the current folder when
344 the ancestor is renamed.
345 imap_rename_folder(): new method implementation.
347 imap_rename_folder_func(): new.
348 imap_remove_folder(): remove also the cache directory.
352 * src/imap.c: implemented locale encoding <-> modified utf-7
353 conversion, and supported i18n of folder name (thanks to Suzuki
355 imap_path_separator_subst(): handle the escape characters of
357 imap_modified_utf7_to_locale()
358 imap_locale_to_modified_utf7(): new.
359 imap_create_trash(): modified so that it create the Trash folder
360 to the correct location when imap directory is specified.
361 imap_get_real_path(): removed debug print.
365 * src/socket.c: implemented timeout for DNS lookup and connect().
366 sock_connect_by_hostname(): timeout support and code cleanup.
367 sock_connect_with_timeout(): new.
368 sock_peek(): implemented SSL peek.
372 * src/messageview.c: messageview_show(): display single-part
373 text/html messages with the normal text view.
387 src/prefs_customheader.c
388 src/prefs_display_header.c
403 src/xml.c: added 'b' to the option of all fopen().
411 * src/ssl.[ch]: match its coding style.
412 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
416 faq/en/sylpheed-faq*.html
418 faq/es/sylpheed-faq*.html
420 faq/fr/sylpheed-faq*.html
426 src/manual.[ch]: added FAQs in English, Spanish and French.
430 * manual/en/sylpheed*.html: updated to the latest version.
435 src/mgutils.c: include string.h to remove warning about strlen()
449 src/summaryview.c: added break to the last label of switch to
450 prevent the 'deprecated use of label at end of compound statement'
452 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
456 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
458 inc_cancel_all(): new. It cancels the all current incorporation.
459 * src/mainwindow.c: added 'Cancel receiving' menu.
460 * src/textview.c: a minor fix for single-part MIME messages, and
461 a bit of cleanup for textview_write_body().
465 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
466 information if any errors occured before issuing UIDL command.
467 src/inc.h: added uidl_is_valid to Pop3State.
468 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
476 * src/mimeview.c: mimeview_create(): set the initial notebook page
478 * src/folderview.c: folderview_selected(): scroll the view if the
479 selected row is hidden.
480 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
481 and select the added row.
482 * src/summaryview.c: fix threading for null message ids.
486 * src/textview.c: textview_show_message(): follow message/rfc822
488 textview_add_part(): add a caption before the attached text files.
489 textview_show_header(): don't add the newline.
490 * src/messageview.c: enabled message search also in MIME mode.
494 * src/messageview.c: messageview_show(): set header state of
495 MimeView's TextView, too.
496 * src/mimeview.c: mimeview_show_message(): call
497 textview_show_message() to display message.
498 * src/textview.c: textview_add_part(): new. It adds the content
499 of message part without clearing the view.
500 textview_show_message(): display all parts with appropriate
502 textview_write_body(): separated from textview_show_part().
507 src/prefs_common.c: added ISO-8859-15 to the codesets for
508 displaying and sending.
509 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
510 conversion failed, and made caller deal with it.
511 * src/compose.c: compose_write_to_file(): show error dialog when
512 code conversion failed, and let user select whether to send it
514 * src/textview.c: textview_write_line(): show the original string
515 if code conversion failed.
519 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
520 if copy_mbox() failed (thanks to Alexander Kabaev).
521 * src/prefs_account.[ch]: added separate user ID / password setting
523 * src/send.c: send_message_smtp(): use separate user ID / password
524 for SMTP AUTH if it is specified.
529 src/pop.[ch]: refactored the UIDL management.
530 store the information of messages into the array of Pop3MsgInfo
531 structure, and do full scanning of not retrieved messages.
537 src/mainwindow.c: set WMCLASS for window/dialog.
538 * src/codeconv.c: conv_codeset_strdup(): return source string
539 when jconv_alloc_conv() failed.
543 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
550 src/summaryview.c: implemented the new notebook tab interface for
552 * src/textview.[ch]: fixed line space related glitches.
556 * src/prefs_filter.c:
557 prefs_filter_rename_path()
558 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
562 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
563 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
565 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
566 cancelled, and fixed potential crash bug.
567 * src/grouplistdialog.c: enabled cancelling of data receiving.
568 * src/news.c: news_get_group_list(): destroy current session if
573 * src/manage_window.[ch]: fixed a bug that caused crash when
574 the main window was hidden.
575 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
576 Monitor "unmap_event", "destroy" events.
583 src/grouplistdialog.c
591 src/prefs_customheader.c
592 src/prefs_display_header.c
596 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
597 connect signals for window management.
601 * src/prefs_account.[ch]: added receive size limit option.
602 * src/pop.c: skip messages larger than the limit size.
603 LOOKUP_NEXT_MSG(): new macro.
604 * src/compose.c: compose_attach_append(): check whether the file
609 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
610 changed g_message()'s to debug_print() and g_warning().
611 rfc2015_decrypt_message(): fixed a bug that duplicated message
612 parts when decryption was failed/cancelled. And made some code
614 * src/passphrase.c: made the dialog transient.
615 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
620 src/procmsg.[ch]: fixed a bug that failed to parse multipart
621 messages if GPGME was enabled.
622 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
624 * src/prefs_account.c: prefs_account_privacy_create(): modified
625 the vertical spacing.
629 * src/menu.[ch]: menu_set_sensitive_all(): new.
630 menu_set_insensitive_all(): made it a wrapper for
631 menu_set_sensitive_all().
632 * src/prefs_account.c:
634 prefs_account_protocol_set_optmenu(): made the protocol type
635 unchangeable after creating an account.
636 * src/compose.c: compose_attach_parts(): traverse MIME tree to
637 extract all attathed files from nested multipart MIME message.
641 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
642 obtain minimum/maximum number, and to specify first number
645 src/inc.c: enabled new message checking on news folder.
646 * src/news.c: news_scan_group(): implemented. Guess new/unread
647 message number from the response of GROUP command and the mark
649 news_select_group(): return the total/first/last number.
650 * src/prefs_account.c: prefs_account_receive_create(): modified
651 the text of the 'Get all' check button.
655 * src/account.c: made 'Get all' checkbox available for IMAP4 and
657 * src/inc.c: corrected the argument of folderview_check_new().
658 * src/prefs_account.c: modification for the "`Get all' checks for
659 new mail on this account" checkbox.
663 * src/folderview.[ch]:
664 folderview_rescan_tree(), folderview_rescan_all(): renamed from
665 folderview_update_tree() and folderview_update_all().
666 folderview_update_all_node(): removed.
667 folderview_check_new(): new. If the argument is NULL, it checks
668 all local folders. If the arguments is specified, it checks
669 the (local and remote) folder.
672 inc_all_account_mail(): check also IMAP4 account.
677 folderview_rename_folder_cb()
678 folderview_delete_folder_cb(): modify the filter rules when folder
680 * src/prefs_filter.[ch]:
681 prefs_filter_rename_path(): new. It renames the destination paths
683 prefs_filter_delete_path(): new. It deletes the filter rules if
684 the destination paths matched.
685 * thanks to Neill Miller for above.
689 * src/compose.c: inherit attached files when forwarding or reediting
690 (rewrote the code in claws branch).
691 compose_attach_parts(): new. It extracts and attaches the files
692 in the given message.
693 compose_attach_append(): chnaged the types of arguments.
694 * src/messageview.c: messageview_show(): moved the GPG decryption
696 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
704 * src/summary_search(): summary_search_execute(): scroll the view
705 when message view is hidden.
709 * src/foldersel.c: foldersel_set_tree(): made different type of
710 folders selectable in moving mode.
711 * src/folderview.[ch]: folderview_update_msg_num(): compare the
712 numbers with the CTree's labels, and don't update folder_item here.
713 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
714 implemented moving between different type of folders.
715 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
716 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
717 mh_move_msg() and mh_move_msgs_with_dest()).
718 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
719 moving between different type of folders.
720 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
721 * src/summaryview.c: summary_status_show(): update folder_item
723 * po/POTFILES.in: removed reference to headerwindow.c.
724 * src/summaryview.c: summary_step(): fixed the behavior on the
725 head and tail of the list.
729 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
730 all header' toggle state from the property of the TextView.
731 * src/summaryview.[ch]: made 'All header' toggle switch.
732 Prohibited unnecessary menu update.
733 summary_select_node(): added the argument 'do_refresh'.
738 * src/utils.c: strsplit_with_quote(): remove quotation characters
739 in the function (fix composer's external editor problem) (thanks
740 to Stefaan A Eeckels).
741 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
742 main_window_menu_callback_block()
743 main_window_menu_callback_unblock(): new.
744 main_window_set_menu_sensitive(): set the toggle status of
746 show_all_header_cb(): read the status of toggle menu item.
747 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
748 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
753 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
754 the path separator (thanks to Sergey Vlasov).
755 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
756 if the length of selection is zero.
758 * src/utils.c: str_open_as_stream(): return immediately if
759 the length of str is zero.
760 * src/headerwindow.[ch]: removed.
762 src/inc.c: removed stale thread support codes.
766 * src/procmsg.c: procmsg_open_message(): modified so that it
767 returns the stream of decrypted message file if it exists
768 (this fixes the failure of gpg decryption in messageview.c).
780 src/quote_fmt_parse.y
782 src/utils.[ch]: if the part of the message text is selected, use
783 it for quoted text instead of the entire message body (thanks to
785 src/utils.[ch]: str_open_as_stream(): new. It returns an
786 temporary stream for the given string.
787 * src/main.c: added "--send" command line option.
788 * src/compose.c: compose_reply_set_entry(): add From address to
789 Cc if Reply-To and to_all are both specified.
790 * Makefile.am: correct the Source: line in the RPM spec file in
795 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
797 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
798 that specifies the folder selection type.
809 src/prefs_customheader.c
811 src/summaryview.c: made it compile with C compilers other than gcc
812 (thanks to Shawn Houston).
816 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
818 * src/prefs_common.c: made the key binding setting separate dialog.
819 * src/addressbook.c: addressbook_format_address(): add "" around
820 the display name if it contains comma (thanks to Satoshi Watanabe).
821 * src/addr_compl.c: get_complete_address(): add "" around the
822 display name if it contains comma.
823 get_address_from_edit(): handle the quotation character correctly.
824 * src/addr_compl.c: get_complete_address()
825 src/addressbook.c: addressbook_format_address(): fixed a bug that
826 caused wrong text processing if the display name is empty.
831 * src/compose.c: compose_exec_ext_editor_real(): replaced
832 g_strsplit() with strsplit_with_quote().
834 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
836 folderview_drag_motion_cb()
837 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
838 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
842 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
843 of the message is different from the current mailbox.
844 Return the correct value.
845 imap_cmd_append(): properly implemented the APPEND command.
852 src/textview.[ch]: show all headers in the message view, and don't
853 use the header window anymore.
855 src/prefs_common.c: changed the default shortcut of 'compose new
858 src/summaryview.[ch]: summary_display_msg_selected(): new.
859 Show the selected message if 'Show all header' is selected.
861 src/sourcewindow.c: changed some procmsg_get_message_file_path()
862 to procmsg_get_message_file() to be sure the message is
864 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
865 any folder to MH folder.
866 folderview_drag_received_cb(): copy messages instead of moving
867 if the source folder is news or IMAP.
869 src/summaryview.c: allow copy from news folder.
873 * src/prefs_common.c: prefs_other_create(): modified the design
874 of the external command settings.
875 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
876 preset closer to the original.
877 Added Mutt keybind preset.
878 Also change the compose keybinds.
879 * src/compose.c: modified some menu shortcuts.
880 * src/codeconv.c: modified the locale_table for Thai encoding.
884 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
885 * src/prefs_common.c: prefs_interface_create(): modified the
886 description for menu shortcut.
890 * src/gtkutils.[ch]: added gtk_stext_clear().
893 src/summaryview.[ch]: enabled multiple forwarding.
895 summary_set_marks_selected(): set marks for all selected row.
896 summary_reply(): moved from summary_reply_cb().
897 * compose.[ch]: compose_forward(): modified so that it receives
899 * src/mainwindow.c: cleanup for reply processing.
900 * src/summaryview.c: summary_reply(): fixed a memory leak.
901 summary_key_pressed(): removed hardcoded mark / mark as unread
904 src/prefs_common.c: added mark / mark as unread shortcuts to
909 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
910 if prefs_common.linewrap_quote is not set (it is only for
911 auto-wrapping on reply).
912 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
913 when creating a new account.
914 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
916 * src/prefs_common.c: prefs_interface_create(): modified the
917 description of key binds selector.
921 * src/mimeview.c: fixed multiple dialog / moving by correcting
922 button / key event processing.
924 src/textview.c: pass some key press events to MimeView in MIME
926 * src/prefs_filter.c: fixed a bug that didn't set the order of
928 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
934 src/prefs_common.c: reorganized the menu shortcuts.
935 Added 'View - Toggle summary view'.
936 * src/summaryview.[ch]: summary_toggle_view(): made it public
938 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
940 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
941 closing the dialog with window manager (in more appropriate way).
944 src/mimeview.c: fixed wrong scrolling position when switching
945 between text and image parts. Also free the unrequired image
946 (thanks to Sergey Vlasov).
947 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
952 * src/prefs_common.c: implemented shortcut quick changer.
953 * src/folderview.c: folderview_key_pressed()
954 src/summaryview.c: summary_key_pressed(): removed some hardcoded
960 procmime_get_mime_type()
961 procmime_get_mime_type_table(): made the MIME type search case
964 gtk_stext_delete_line(): delete newline on empty line.
965 gtk_stext_delete_to_line_end(): delete newline if cursor is on
967 (thanks to Yasuzaki Masayoshi.)
972 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
973 and made them customizable.
974 * src/utils.[ch]: added get_file_size_as_crlf() which returns
975 the file size when converting LF to CR+LF.
979 * src/compose.c: enabled 'Ctrl-Enter' or
980 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
982 * src/gtkstext.c: disabled some Emacs key bindings.
983 gtk_stext_key_press(): don't extend selection when Shift-Enter
984 is pressed to prevent the disapperance of cursor.
985 * src/summaryview.c: summary_select_next_unread(): added the button
986 to search unread message again from the beginning to the dialog.
987 * src/folderview.c: folderview_key_pressed(): go to next unread
988 folder if space key is pressed on the empty folder.
989 Move CTree focus before selecting row.
993 * src/defs.h: modified the XLFD of default fonts.
994 * src/textview.c: textview_create(): fixed a bug that caused
995 segfault if font couldn't be loaded.
997 src/grouplistdialog.c: compare subscribed groups with path.
998 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
1002 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
1003 when URL is wider than wrapping margin.
1005 src/prefs_filter.[ch]
1006 src/summaryview.[ch]: added "Create filter rule" function based
1007 on the patch from Luca Rosellini.
1008 * src/summaryview.c: summary_filter_open(): added X-List and
1009 X-Mailing-list to the automatically detected headers.
1013 * configure.in: support Mac OS X (Darwin).
1017 * src/prefs_filter.c: use inc_(un)lock() instead of
1018 inc_autocheck_timer_{remove|set}().
1019 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
1020 instead of gtk_ctree_sort_node() so that messages within threads
1022 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
1023 target of sizeof was wrong and caused crash on Alpha architecture
1024 (thanks to Motonobu Ichimura).
1029 foldersel_gnode_func(): made the names of special folders
1031 foldersel_set_tree(): move the special folder to the top.
1032 * src/inputdialog.[ch]: input_dialog_query_password(): new.
1036 src/send.c: use input_dialog_query_password() instead of their
1037 own query functions.
1041 * src/defs.h: modified the default font.
1045 src/news.[ch]: moved the class definition and some methods to
1046 the proper location.
1050 * src/mimeview.c: mimeview_save_as()
1051 src/summaryview.c: summary_save_as(): put the default filename
1052 based on the subject.
1053 * src/utils.[ch]: added subst_chars() and subst_for_filename()
1054 which substitute some special characters with underscore.
1055 * src/filesel.c: filesel_select_file(): select the default filename.
1060 INSTALL.jp: added the description and the URL for libjconv.
1061 * src/mainwindow.c: menu entries cleanup.
1067 src/about.c: modified the copyright year.
1068 * src/gtkstext.h: added the notice for modification by the Sylpheed
1074 INSTALL.jp: added the URL for compface.
1082 * src/headerwindow.c
1085 src/sourcewindow.c: set wmclass when creating windows.
1089 * src/compose.c: compose_wrap_line_all(): fixed the bug that
1090 caused infinite loop when wrapping certain patterns of quoted text.
1094 * src/imap.c: imap_parse_envelope(): put the assertion after
1095 imap_parse_address() to prevent segmentation fault.
1100 src/mainwindow.c: modified some labels of menu items.
1101 * src/ldif.c: put the return value of fgetc() in a gint.
1102 * src/importldif.c: don't brace null strings with _().
1103 * src/compose.c: moved the position of Subject entry to the last.
1104 Reorganized the menu.
1105 compose_draft_cb(): added 'keep editing after saving to draft'
1110 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
1111 menu. Moved 'Help' menu to just the right of 'Configuration'.
1112 Removed 'File - Close' menu item.
1116 * src/mainwindow.c: some menu reorganization.
1117 * AUTHORS: updated. Added more contributors.
1118 * src/account.c: account_row_moved(): new. Moves displayed row to
1119 the appropriate position when up / down button are pressed.
1120 account_clist_set(): move displayed row to the appropriate position.
1122 src/mainwindow.c: set title and wmclass when creating windows.
1126 * src/gtkstext.c: fixed a bug that didn't show block cursor
1127 correctly. Removed unnecessary GdkGC copy. Fixed cursor
1132 src/undo.c: modified to use GtkSText.
1133 * src/menu.h: added #include <gtk/gtkmenu.h>.
1138 configure.in: added XIM checking for GTK+.
1139 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
1143 * src/filter.c: added #include <sys/types.h>.
1147 * src/template.c: template_write_config(): fixed a typo.
1148 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
1150 src/prefs_filter.c: supported regular expression (thanks to
1152 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
1153 undo state when pasted clipboard was empty.
1154 undo_check_size(): use g_list_last().
1156 undo_redo(): fixed NULL checking and made a bit of optimization.
1158 * src/prefs_common.c: changed the default value of linewrap length
1163 * reorganization of pixmap management.
1164 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
1165 * modified every files which directly use pixmaps data to use
1167 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
1168 undo_set_change_state_func(), and changed its argument from
1169 GtkWidget* to gpointer.
1170 undo_merge(): code cleanup.
1171 * src/compose.c: renamed compose_set_undo() to
1172 compose_undo_state_changed().
1176 * src/account.c: account_find_from_address(): made it case
1178 * src/addressbook.c: addressbook_create(): set wmclass.
1179 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
1182 src/ldif.[ch]: merged from the claws branch.
1183 * src/importldif.c: removed some warnings.
1184 imp_ldif_field_list_toggle(): fixed button checking.
1185 imp_ldif_dialog_create(): minor layout fix.
1186 * src/ldif.c: removed some warnings.
1188 INSTALL.jp: updated confirmation list.
1191 vcard_test_read_file(): fixed a memory leak of tagtemp.
1192 Some code cleanups (decreasing the indent level).
1195 src/syldap.[ch]: disabled runtime library checking because JPilot
1196 and LDAP libraries are linked on the build time, and the program
1197 doesn't execute without them anyway.
1199 src/addrindex.c: changed "J-Pilot" to "JPilot".
1200 Removed warning for atoi().
1204 * src/procmsg.c: procmsg_empty_trash()
1205 src/mainwindow.c: main_window_empty_trash(): empty trash only if
1206 it contains some messages.
1207 * src/imap.c: search_array_str(): new.
1208 imap_status(): fixed a bug that didn't parse the command response
1213 * merged undo function (by Jens Oberender).
1214 * src/undo.[ch]: new.
1215 undo_insert_text_cb(): fix for multibyte characters (obtain the
1216 number of letters instead of bytes).
1217 * src/compose.[ch]: added the code for undo.
1218 * src/prefs_common.[ch]: added the interface for setting undo level.
1222 * src/compose.c: compose_template_apply()
1223 src/prefs_template.c: prefs_template_clist_set_row()
1224 src/template.c: template_write_config(): don't replace To: and
1225 Subject: entry in composition window if they are empty.
1233 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
1234 * src/ldif.c: ldif_get_line(): ignore CR.
1235 * src/mimeview.c: mimeview_show_message(): search also text/html
1236 for first text part.
1240 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
1241 that didn't update accountrc if account_list == NULL (thanks to
1246 * src/utils.h: added the macro Xstrcat_a() that concatenates
1247 two strings and return alloca'd string.
1248 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
1249 handle folder name which includes some spaces correctly
1250 (based on the patch from Willem van Engen (thanks!)).
1251 * src/compose.c: compose_wrap_line_all(): fixed the crash when
1252 wrapping long lines if linewrap quotation is disabled and
1253 a word spanning more than one line.
1257 * applied the Tobias' patch with modification (thanks!).
1259 imap_msg_set_perm_flags()
1260 imap_msg_unset_perm_flags(): new. They set permanent flags to
1263 src/summaryview.c: set flags on IMAP server when flags are changed.
1267 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
1268 of gtk_container_remove() for workaround of a bug in
1269 Gtk{Text,Entry} (thanks to Sergey Vlasov).
1275 src/textview.c: replaced gtk_container_remove() with
1276 gtkut_container_remove(), and removed previous partial fix.
1280 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
1281 checked user ID on "local", but didn't on IMAP4.
1282 * src/imap.c: imap_session_get(): fixed a crash bug when
1283 rfolder->session == NULL.
1284 * Makefile.am: changed the arguments of tar from 'chojf' to
1286 * src/summaryview.c: summary_toggle_view(): disclaim the selection
1287 of textview before removing vpaned.
1291 * src/messageview.c: messageview_change_view_type(): disclaim the
1292 selection before removing textview. This solves the mysterious
1293 copy-paste disability (thanks to Melvin Hadasht).
1294 * src/textview.c: textview_set_font(): use
1295 gtk_editable_claim_selection() instead of
1296 gtk_editable_select_region().
1300 * src/prefs_template.c: prefs_template_window_create(): supported
1301 address completion on the To: entry.
1306 folder_count_total_msgs()
1307 folder_count_total_msgs_func(): use g_node_traverse() to traverse
1312 * src/compose.c: fixed a bug that empty body was refused.
1313 * src/prefs_template.c: fixed a bug that didn't set To: entry
1314 correctly. Display error dialog if format is illegal.
1315 * src/prefs_common.c
1317 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
1318 "{ }" to prevent confusion on using parenthesis.
1319 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
1323 * src/prefs_template.c: added colon to the header labels.
1328 src/prefs_template.c
1329 src/template.[ch]: added To field to the template.
1333 * src/textview.c: textview_show_part(): use first found
1334 message/rfc822 header.
1335 * src/folderview.c: added "Search messages..." to the context menu.
1336 * src/prefs_common.c: prefs_quote_description_create(): added
1337 description for characters which need to be escaped.
1341 * src/compose.c: compose_wrap_line_all(): more merging from claws.
1342 GET_CHAR(): renamed GET_TEXT() and made it more generic.
1343 Modified compose_wrap_line() and compose_wrap_line_all() to use
1345 * src/textview.c: textview_show_part(): show the header of nested
1346 RFC822 attachment correctly.
1351 src/main.c: added --status option to get new, unread and total
1352 message count from a running Sylpheed (merged from claws).
1353 prohibit_duplicate_launch(): output '\n' only once.
1358 src/gtkutils.[ch]: merged the new wrapping function.
1359 gtkut_text_str_compare_n()
1360 gtkut_text_str_compare()
1361 gtkut_text_is_uri_string(): backport from the GtkSText in the
1362 claws branch, and made modification.
1363 * src/prefs_template.c
1364 src/template.[ch]: added Subject to the template.
1368 * src/compose.c: compose_write_headers(): added missing parenthesis
1369 that generated invalid custom header (thanks to Masaaki Noro).
1370 Allow Sender: custom header.
1374 * src/procheader.c: procheader_date_parse(): workaround for
1375 RFC-incompliant Date header.
1379 * src/addrbook.c: removed redundant functions, and fixed generation
1380 of spurious address book file names.
1381 * src/addrindex.c: V-Card -> vCard.
1385 * src/textview.c: get_email_part(): replaced isalnum() with
1386 the macro IS_ASCII_ALNUM() which restricts the range of
1387 characters to 7bit ASCII (thanks to Shimamoto).
1388 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
1393 * src/textview.c: textview_show_part(): show headers on nested
1398 * src/imap.c: imap_session_get()
1399 src/news.c: news_session_get(): fixed segfault when reconnection
1401 * src/grouplistdialog.c: removed redundant code, and expand nodes
1402 that doesn't match the pattern.
1406 * src/compose.c: modified so that it sends message when any of
1407 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
1408 compose_check_for_valid_recipient(): new.
1409 * src/grouplistdialog.c: improved the UI.
1410 Added appropriate description and search button.
1411 Search doesn't get group list again.
1415 * src/news.[ch]: news_session_get(): update the last access time
1417 news_group_list_free(): new.
1418 * src/grouplistdialog.c: free resources correctly.
1423 src/grouplistdialog.[ch]: more merging of new newsgroup
1424 subscription dialog.
1425 * src/news.[ch]: renamed news_remove_group_list() to
1426 news_remove_group_list_cache().
1430 * src/defs.h: added MAX_ENTRY_LENGTH definition.
1431 * src/compose.c: compose_add_entry_field(): create new entry with
1436 * src/grouplistdialog.c: made non-leaf node selectable.
1437 Give the complete newsgroup name for each nodes.
1441 * src/grouplistdialog.c
1442 src/news.[ch]: merging of new newsgroup subscription dialog
1443 (still in progress. Don't use it yet!).
1447 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
1448 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
1450 compose_entries_set(): new. It parses mailto URL and put each
1451 values into the entries.
1455 * src/compose.c: compose_forward(): fixed a bug that forward
1456 quote mark wasn't used (thanks to Hironori IWANE).
1459 src/prefs_common.c: added Thai encodings (thanks to Manrat
1464 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
1468 src/news.c: added last_access_time to Session.
1469 imap_session_get(): check connection only when access interval
1478 * src/socket.c: ssl_gets(): use SSL_peek.
1479 * updated NEWS and AUTHORS.
1480 * Makefile.am: fixed release target.
1484 * src/template.c: changed the format of template file to
1486 * src/compose.c: compose_template_apply(): freeze the text widget
1487 while inserting strings.
1491 * po/POTFILES.in: removed src/template_select.c.
1492 * src/summaryview.c: summary_set_header()
1493 src/address.c: address_parse_str()
1494 src/filter.c: filter_read_str()
1495 src/news.c: news_parse_xover()
1496 src/procheader.c: procheader_get_fromname()
1497 src/utils.c: subject_compare():
1498 replaced Xalloca() + strcpy() with Xstrdup_a().
1499 * src/inputdialog.[ch]: added combo mode.
1500 input_dialog_combo(): new.
1501 * src/prefs_common.[ch]: added MIME open command setting.
1502 prefs_common_{read, save}_config(): read / write command history.
1503 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
1504 * src/utils.[ch]: add_history(): history list management function.
1508 * src/compose.c: select templates from the menu.
1509 compose_set_template_menu(): new.
1510 compose_reflect_prefs_all(): new.
1511 compose_template_apply(): new. Use dummy MsgInfo for parsing.
1512 * src/template.[ch]: store template list to the static heap.
1513 template_get_config(): new.
1514 template_set_config(): new.
1515 * src/prefs_template.c: don't store template list to the global area.
1516 * src/template_select.[ch]: removed.
1517 * src/quote_fmt_parse.y: check folderitem when quoting messages.
1518 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
1519 (thanks to OSHIRO Naoki).
1523 * src/utils.[ch]: get_template_dir(): new.
1524 * src/template.c: use get_template_dir().
1528 * src/prefs_template.c: modified the dialog layout.
1529 Added symbol description button.
1530 * src/summaryview.c: show an arrow mark to the column of the sort
1532 summary_set_column_titles(): new.
1538 TODO.jp: updated the documents.
1542 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
1543 * src/textview.c: textview_key_pressed()
1544 src/mimeview.c: mimeview_key_pressed()
1545 src/summaryview.c: summary_key_pressed(): delete messages with
1550 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
1551 when SSL_read() returned 0.
1552 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
1554 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
1555 Add prototype of yylex() to suppress the warning.
1556 * merged the template function.
1557 * src/prefs_template.[ch]
1559 src/template_select.[ch]: new.
1560 Renamed prefs_templates_* -> prefs_template_*.
1561 * src/compose.c: added template menu. Added replyinfo to Compose.
1562 * src/mainwindow.c: added template setting menu.
1563 * src/quote_fmt_lex.l: output literal tab and return as is.
1564 * src/prefs_common.c: changed the pref. name of quote format to
1565 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
1569 * src/prefs_common.[ch]: added Quote tab, and moved the quote
1570 setting from Compose tab.
1571 * merged the new quote format parser.
1572 * src/quote_fmt_lex.h
1575 src/quote_fmt_parse.y: new files for quote format parser.
1576 * configure.in: added checks for lex and yacc.
1577 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
1579 compose_quote_fmt(): new.
1580 * src/prefs_common.[ch]: added forward format setting to the
1581 Quote tab. Updated the quote description dialog.
1582 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
1583 if they couldn't get text part.
1587 * src/pixmaps/checkbox_off.xpm
1588 src/pixmaps/checkbox_on.xpm: new.
1589 * src/account.c: display `get all' status with the checkbox pixmaps.
1593 * src/send.c: code cleanup. Pass account prefs structure instead
1595 Query password for SMTP AUTH if not specified (thanks to Mio).
1599 * src/procheader.c: procheader_parse(): fixed a bug that didn't
1600 parse multiple message-id in In-Reply-To: header correctly
1601 (thanks to KAJIWARA).
1605 * src/account.c: enabled 'Get all' setting by clicking the 'G'
1606 column of account list, and added some description.
1607 * src/prefs_common.c: prefs_send_create(): added a description
1608 for outgoing codeset.
1612 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
1613 and added select button and short description.
1614 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
1616 procmime_get_mime_type_table()
1617 procmime_get_mime_type_list(): modified so that
1618 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
1619 $(HOME)/.sylpheed/mime.types are read.
1623 * src/prefs_account.c: moved the address auto-setting to the compose
1625 prefs_account_create(): removed gtk_widget_show_all() for proper
1627 * src/prefs_common.c: changed "Program path" to "Command".
1631 * src/textview.c: textview_set_font(): support Russian charset
1633 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
1637 prefs_summary_column.c: minor improvements to the English.
1638 * src/main.c: get_queued_message_num(): don't output the warning
1639 when queueing folder is not found.
1647 * src/prefs_summary_column.[ch]:
1648 made prefs_summary_column_get_config() public.
1649 * src/summaryview.c: summary_ctree_create(): some code cleanup.
1650 * configure.in: moved the position of SSL checking after LDAP
1651 for linking problem.
1656 src/summaryview.c: allowed reedit in the outbox.
1657 * src/prefs_summary_column.[ch]: new. UI for setting summary
1659 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
1660 It calls summary_set_column_order().
1661 * src/summaryview.[ch]:
1662 summary_ctree_create(): new. separated from summary_create().
1663 summary_set_column_order(): new. It destroys the current
1664 CTree and replaces it with the new one.
1668 * src/smtp.[ch]: smtp_from(): abort if auth failed.
1669 * changed C++-style comments into C-style in some files, and
1670 removed unnecessary commented out codes.
1671 * src/addrcache.[ch]
1675 src/syldap.[ch]: updated the addressbook code, and fixed the
1678 src/importldif.[ch]: new.
1682 * src/about.c: added some items to compiled-in features.
1683 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
1684 * src/addressbook.c: changed "V-Card" to "vCard".
1685 addressbook_edit_address_cb(): added
1686 invalidate_address_completion() to the point address is changed.
1687 * src/codeconv.c: changed C++-style comments into C-style.
1691 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
1695 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
1700 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
1702 * src/summaryview.c:
1703 summary_thread_init(): separated from summary_thread_build().
1704 summary_thread_build(): removed the codes for initialization.
1705 summary_set_ctree_from_list(): call summary_thread_init() instead
1706 of summary_thread_build().
1707 summary_filter(): fixed a bug that didn't moved messages despite
1708 of immediate execution setting.
1712 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
1713 reversed thread tree from message list.
1714 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
1715 node to the head instead of appending to the tail. This prevents
1716 the traverse of node list inside of the GtkCTree, and considerably
1717 speeds up the summary display (the order is O(n^2) -> O(n)).
1721 * src/prefs_common.c
1722 src/summaryview.[ch]: initial modification for reorderable columns.
1726 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a
1728 * src/folderview.c: folderview_button_pressed(): code cleanup, and
1729 turn sensitivity off if main window is locked.
1730 * src/syldap.c: syldap_read_data(): removed unnecessary and
1731 unportable sched_yield().
1735 * src/folderview.c: renamed "Update folder tree" context menu to
1736 "Rescan folder tree", and made "Update folder tree" only updates
1738 folderview_update_all_node(): don't show message dialog.
1739 * src/gtkutils.c: gtkut_widget_get_uposition()
1740 src/mainwindow.c: main_window_popup(): clip the coordinate to
1745 * src/utils.c: to_human_readable(): made a bit of optimization.
1746 * src/summaryview.c: summary_delete(): fixed a focus problem.
1747 summary_find_{prev,next}_msg(): new. They find previous/next
1748 message that is not deleted.
1749 * src/prefs_filter.c: scroll CList automatically if moved row
1750 becomes not fully visible.
1754 * updated some autotool scripts.
1755 * src/codeconv.c: conv_encode_header(): fixed a bug that caused
1756 infinite loop when failed to convert encoding.
1757 * src/codeconv.[ch]: a fix for older version of libjconv
1758 (jconv_info_get_current_codeset() returned "EUCJP" instead of
1767 * src/compose.c: compose_write_to_file()
1768 src/codeconv.c: conv_codeset_strdup(): more workaround for
1769 libjconv problem on C locale.
1770 * src/editldap_basedn.c: fixed segfault when opening dialog.
1771 * src/utils.c: is_next_mbs()
1772 src/compose.c: compose_wrap_line(), compose_wrap_line_all():
1773 changed MB_CUR_MAX to MB_LEN_MAX for compliance to ANSI C.
1774 * configure.in: increased the reqired version of GPGME to 0.2.3.
1775 * src/pop.c: pop3_getauth_user_recv(): fixed a bug that closed
1776 the receive dialog when POP3 server refused normal authentication.
1780 * src/prefs_common.c: prefs_receive_create(): correction to English.
1781 * src/compose.c: compose_set_ext_editor_sensitive(): fixed a bug
1782 that didn't set the menu sensitivity correctly (thanks to
1784 * src/summaryview.c: delete messages permanently if the current
1785 folder is trash and 'delete' operation is executed.
1786 Fixed the bug that didn't select the last row correctly (thanks
1787 to Alfons Hoogervorst).
1788 * src/folder.[ch]: folder_item_remove_msgs(): new. It removes
1789 all messages given in the list.
1793 * src/summaryview.c: summary_show(): fixed a bug that didn't show
1794 message even if the 'open unread message on entering folder'
1795 option was turned on.
1799 * src/procmime.c: procmime_get_text_content(): supported HTML.
1803 * src/summaryview.[ch]: implemented new locking mechanism, and
1804 replaced every static locks with summary_lock(), summary_unlock(),
1805 and added locks to some extra functions.
1806 This fixes a bug that caused segfault when 'd' (delete) key
1811 * src/addressbook.c: addressbook_folder_load_person(): fixed a bug
1812 that caused segfault (thanks to Stefaan A Eeckels).
1816 * src/textview.[ch]: added textview_set_position().
1817 * src/messageview.[ch]: added messageview_set_position().
1829 src/editldap_basedn.c
1834 src/vcard.c: converted C++-style comments into C-style one.
1835 * src/imap.c: QUOTE_IF_REQUIRED(): new macro. Copy string into
1836 new buffer and quote with double quotes if required.
1837 imap_status(), imap_cmd_login(), imap_cmd_list(),
1838 imap_cmd_do_select(), imap_cmd_create(), imap_cmd_delete(),
1839 imap_cmd_copy(): use QUOTE_IF_REQUIRED().
1840 * compose.c: compose_write_to_file(): workaround for the problem
1841 when using libjconv and 8bit codes cannot be converted on C
1843 * codeconv.[ch]: added "ANSI_X3.4-1968" to encoding strings.
1844 conv_codeset_strdup(): don't convert if source and destination
1845 codeset are identical.
1849 * src/textview.[ch]: textview_search_string_backward(): new.
1850 Add the new member cur_pos to TextView.
1851 Connect button_press_event with gtk_signal_connect_after() to
1852 obtain the correct editable position.
1856 * src/folder.c: folder_write_list_recursive(): preserve unthreaded
1861 * src/summaryview.c: modified the layout of popup menu.
1868 src/summaryview.c: applied the patch from Alfons that allows
1869 threading setting for each folders (tnanks!).
1873 * src/message_search.[ch]: new. A Dialog for searching in current
1875 * src/gtkutils.[ch]: gtkut_text_match_string(): new. Compare the
1876 text in current position of GtkText and given wide-character
1878 * src/messageview.[ch]: messageview_search_string()
1879 src/textview.[ch]: textview_search_string(): return TRUE if
1881 * src/textview.[ch]: remember the beginning of body.
1885 * src/procmime.c: procmime_get_first_text_content(): modified so
1886 that it search entire MIME structure.
1887 * src/summary_search.c: summary_search_execute(): use
1888 strdup_mbstowcs() instead of macro. Display matched message.
1892 * src/inc.c: fix for background POP3 hangs and crashes (thanks to
1894 * src/summary_search.c: added body searching function.
1895 * src/procmime.[ch]: procmime_find_string(): changed arguments
1896 and return value. Added case sensitivity option.
1900 * src/procmime.[ch]:
1901 procmime_find_string()
1902 procmime_find_string_part(): new. It searchs the string from
1904 Renamed procmime_get_text_part() to
1905 procmime_get_first_text_content().
1906 procmime_get_text_content(): new. It returns the text contents
1907 of the specified MIME part.
1908 procmime_mimeinfo_next(): new. It returns the next node of
1913 * src/procmime.c: procmime_get_text_part(): modified so that it
1914 finds a text part in nested multipart message correctly.
1915 * src/procmime.h: added an example of MimeInfo structure.
1916 * src/mimeview.c: mimeview_show_message(): search the first text
1921 * src/mainwindow.c: ac_menu_popup_closed(): fixed the bug that
1922 caused segfault. Changed 'Preferences per account...' menu item.
1930 * src/addrindex.c: translate the "Common address" and "Personal
1931 address" from old addressbook.
1935 * src/utils.c: get_quote_level(): some optimization and bugfixes.
1936 * src/codeconv.[ch]: conv_get_current_locale(): new.
1937 * src/editaddress.c: edit_person_page_basic(): reverse the order
1938 of first and last name on some locales.
1942 * src/compose.c: applied the patch from Yasumatsu that reformats
1943 the current paragraph (thanks!). Modified so that it doesn't
1944 reformat quoted paragraphs.
1945 compose_create(): don't fill the entry automatically on reedit
1948 src/summaryview.[ch]: added the "Mark all read" option.
1949 summary_mark_all_read(): new.
1957 src/editldap_basedn.c
1959 src/editjpilot.c: removed all warnings.
1961 src/jpilot.[ch]: fixed the problem that failed to detect JPilot
1962 header files on the Debian system.
1964 src/summaryview.[ch]: enabled sorting by mark, unread, attachment,
1965 and color label. Enabled moving to next/prev flagged messages.
1969 * src/pixmaps/dir-close.xpm
1970 src/pixmaps/dir-open.xpm
1972 src/pixmaps/unread.xpm: modified the color balance.
1973 * src/utils.[ch]: execute_sync(): new.
1974 execute_command_line(): added the arg for async mode.
1975 * src/inc.c: inc_mail(): use execute_command_line().
1980 src/prefs_common.[ch]
1981 src/prefs_account.c: modified the layout. Added the option to
1982 launch the external editor automatically.
1983 * src/compose.c: launch the external editor automatically if the
1988 * src/Makefile.am: added extra xpm's.
1992 * src/addressbook.c: fixed a compilation problem when enabling
1994 addressbook_open(): fixed a missing 'else'.
1998 * src/pixmaps/dir-close.xpm
1999 src/pixmaps/dir-open.xpm
2000 src/pixmaps/trash.xpm: replaced with the new blue icons.
2001 * merged Match Grun's new addressbook code.
2002 * src/pixmaps/address.xpm
2003 src/pixmaps/book.xpm
2004 src/pixmaps/category.xpm
2005 src/pixmaps/interface.xpm
2006 src/pixmaps/jpilot.xpm
2007 src/pixmaps/ldap.xpm
2008 src/pixmaps/vcard.xpm: new icons.
2012 src/addressitem.[ch]
2015 src/editaddress.[ch]
2020 src/editldap_basedn.[ch]
2025 src/vcard.[ch]: new. Many fixes to remove the huge amount of
2027 addrbook_build_avail_email_vis(): fixed a memory leak.
2031 * NEWS: brought in the all of the changes previously put on the web.
2036 src/summaryview.c: modified the layout of menus.
2037 * src/mainwindow.c: ac_menu_popup_closed(): fixed a bug that didn't
2038 return a focus to the main window after selecting the account menu.
2046 * src/send.c: send_message_data(): fixed a bug that didn't process
2047 body part correctly.
2051 * src/inc.[ch]: changed inc_autocheck_(un)lock() to inc_(un)lock().
2052 inc_mail(), inc_all_account_mail(): return immediately if locked.
2055 src/prefs_account.c: use inc_lock() and inc_unlock() instead of
2056 inc_autocheck_timer_{remove,set}().
2057 * src/summaryview.c: summary_set_colorlabel_color(): get the average
2058 of label color and selected fg color for visibility.
2062 * src/inc.[ch]: inc_autocheck_lock(), inc_autocheck_unlock(): new.
2063 They increase/decrease the lock count.
2064 inc_autocheck_func(): if locked, delay the autochecking 1 second.
2065 inc_autocheck_timer_set_interval(): set interval by its argument.
2066 * src/summaryview.c: summary_show(): lock the autochecking while
2068 * src/main.c: app_will_exit(): remove autocheck timer.
2070 src/defs.h: removed the definitions of PACKAGE and VERSION to
2071 prevent unnecessary compilation.
2072 * configure.in: changed AC_DEFINE_UNQUOTED of PACKAGE and VERSION
2073 to AC_SUBST, and added src/version.h to AC_OUTPUT.
2074 * src/version.h.in: new.
2075 * src/intl.h: changed dgettext() to gettext().
2079 * po/ja.po: fixed a typo that crashed Sylpheed with older version
2081 * configure.in: fixed a bug that didn't show results correctly.
2082 Fixed a bug that --enable-compface and --enable-jconv disabled
2084 * src/procmsg.c: procmsg_send_queue(): don't abort when sending
2086 * src/compose.c: compose_write_headers(): add Bcc: header to the
2088 * src/send.c: send_message_data(): new. Separated from
2089 send_message_smtp(). Remove Bcc: header before sending.
2097 * src/send.c: implemented sending with local sendmail command.
2098 send_message_local(): new. It executes command with popen()
2099 and send the contents of RFC822 message to the command.
2100 * src/prefs_common.[ch]: enabled the external sending command option.
2101 * src/defs.h: #define DEFAULT_SENDMAIL_CMD /usr/sbin/sendmail -t
2102 * src/account.c: account_edit_create(): widened the protocol column.
2103 * src/summaryview.c: summary_set_colorlabel_color(): cleanup of
2108 * src/folder.c: folder_item_remove_msg(): scan the folder again
2109 if the last message is removed.
2110 * src/compose.c: compose_queue(), compose_draft_cb(): remove the
2111 old reedited message after adding the new message.
2115 * src/compose.c: compose_queue(): added AID: to the queueing header.
2116 * src/send.c: send_message_queue(): look for AID: header, and use
2117 the server specified in the account instead of SSV: header.
2119 src/compose.[ch]: queued messages can be reedited now.
2120 compose_remove_reedit_target(): new. It removes the old reedited
2122 compose_send(), compose_queue(), compose_draft_cb(): if reedit
2123 mode, remove the old message.
2124 * src/procmsg.c: procmsg_msg_exist(): fixed a bug that output
2129 * applied the XML string table patch from Alfons Hoogervorst that
2130 stores strings in a hash table and minimizes memory allocations
2132 * src/stringtable.[ch]: new.
2133 removed all G and g_ prefix from type and function names since
2134 they're not official GLib symbol names.
2135 string_table_insert_string(): fixed a bug that might refer to an
2136 invalid pointer on lookup, and also made a bit of optimization.
2140 * merged the color label feature from the claws branch (thanks to
2141 Satoshi Nagayasu and Alfons Hoogervoost).
2142 * src/colorlabel.[ch]: new. Renamed from labelcolors.[ch].
2143 Renamed labelcolors_*() to colorlabel_*().
2144 * src/summaryview.[ch]: added color label support.
2145 * src/procmsg.h: added color label flags to the permanent flags.
2146 * updated to gettext 0.10.39.
2147 * src/summaryview.[ch]: put the color label menu item to ItemFactory.
2148 * sylpheed.desktop: added for GNOME.
2149 * configure.in: added AC_MSG_CHECKING() for some options.
2150 Output the configuration results when configure is finished.
2154 * src/account.c: account_clist_set_row(): fixed a bug that failed
2155 to compile if SSL was not enabled.
2159 * merged the SSL support from the claws branch (thanks to Christoph
2161 * src/ssl.[ch]: new.
2162 * src/socket.[ch]: added ssl_read(), ssl_write(), ssl_gets(), and
2164 sock_close(): call ssl_done_socket() if SSL is active.
2165 * src/md5.[ch]: removed MD5_CTX typedef and use MD5_CONTEXT to
2166 prevent type confliction.
2167 * src/prefs_account.[ch]: added SSL tab, and modified the expression.
2168 * src/esmtp.[ch]: added esmtp_ehlo(), and esmtp_starttls().
2169 Removed SSL initialization and HELO from esmtp_starttls().
2170 esmtp_auth(): removed use_smtp_auth from its arguments.
2171 * src/send.c: send_smtp_open(): added SSL support.
2172 * src/smtp.c: smtp_helo(): call esmtp_ehlo() if esmtp is true.
2176 * src/mimeview.c: mimeview_open_with(): braced '%s' with single
2181 * src/main.c: open new account dialog if no account is set.
2182 * src/utils.[ch]: log_verbosity_set(): new. It increase/decrease
2183 the verbosity count.
2184 log_print(): put to statusbar only if log_verbosity_count > 0.
2185 log_message(): put to statusbar.
2186 * src/inc.c: inc_pop3_session_do(): set log verbosity.
2187 * src/mainwindow.c: main_window_set_menu_sensitive(): added the
2188 "Compose new message" item.
2189 main_window_show_cur_account(): removed "Current account: " string.
2190 * src/summaryview.c: summary_show(): ignore the current marks if
2191 main window is locked.
2192 * src/compose.c: compose_attach_property(): fixed a bug that caused
2197 * src/mainwindow.c: main_window_get_current_state(): new. It returns
2198 the current state for the sensitivity of UI.
2199 main_window_set_toolbar_sensitive(): use table like
2200 main_window_set_menu_sensitive().
2204 * src/mainwindow.[ch]: added progressbar and status label to the
2206 main_window_close_cb(): don't exit if locked.
2207 * src/inc.c: update the progressbar of main window, too.
2211 * src/mainwindow.[ch]: main_window_set_toolbar_sensitive(): removed
2212 the second argument, and determine the sensitivity with the
2213 state of summary view.
2217 * src/pop.c: pop3_getsize_list_recv(), pop3_retr_recv(),
2218 pop3_delete_recv(): don't try to receive messages which are not
2223 * src/mainwindow.c: main_window_lock(), main_window_unlock():
2224 removed the whole menubar locking.
2225 main_window_set_menu_sensitive(): process the sensitivity change
2226 with a table, and deal with locking.
2230 * src/summaryview.[ch]: summary_get_selection_type(): new.
2231 It returns the current selection state of summary view.
2232 summary_key_pressed(): abort on some commands if main window
2234 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
2235 increase/decrease the lock count.
2239 * src/prefs_filter.c: prefs_filter_create(): added List-Id to the
2240 default header list.
2241 * src/prefs_common.[ch]: added the option for receive dialog mode
2242 to the Interface tab.
2243 * src/inc.[ch]: inc_progress_dialog_create(): don't make the dialog
2244 transient, and show dialog only if the setting is
2245 RECV_DIALOG_ALWAYS, or RECV_DIALOG_ACTIVE and a window is active.
2246 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
2247 new. Lock / unlock the user-interface.
2248 * src/progressdialog.c: progress_dialog_create(): don't make the
2253 * src/folderview.c: folderview_update_node(): suppressed unnecessary
2255 * src/menu.[ch]: menu_button_position(): new. It calculates the
2256 position of popup menu.
2257 * src/mainwindow.c: toolbar_account_button_pressed(),
2258 ac_label_button_pressed(): put the popup menu to the correct
2259 position. Change the style of the button while opening the menu.
2260 ac_menu_popup_closed(): new function called on selection_done
2262 * src/gtkutils.c: gtkut_ctree_node_next(): fixed a crash bug when
2264 * src/summaryview.c: applied the summary fix patch from Sergey Vlasov
2266 Fixed the bug that didn't select previous message in refresh mode
2267 if threads were not expanded.
2268 summary_select_node(): new.
2269 * src/inc.c: applied the summary view update optimization patch from
2270 Sergey Vlasov (thanks!).
2271 If no new messages are received, don't perform summary refreshing.
2272 In addition to the Vlasov's patch, POP3 receive information is
2274 * src/inc.h: added a new member cur_total_num to Pop3State.
2275 * src/pop.c: pop3_retr_recv(): increase state->cur_total_num.
2283 * src/summaryview.c: summary_set_row_marks(): got the color of
2284 unread row set properly.
2285 * src/folderview.c: foldreview_update_node(): don't use
2286 gtk_style_copy(), and reuse previously allocated styles.
2287 * README, README.jp: modified.
2291 * src/pop.c: pop3_getsize_list_recv(): fixed a remotly exploitable
2292 memory corruption bug (thanks to David Looney).
2293 * src/inc.c: inc_all_account_mail(): call inc_finished() even if
2294 there are no enabled accounts, or local spool only.
2295 * src/summaryview.c: applied the summary update improvement patch
2296 from Sergey Vlasov (thanks!). It keeps the position of the
2297 message displayed. Selected and displayed message are also kept.
2298 summary_get_msgnum(): new.
2299 summary_get_current_msgnum(): removed.
2300 summary_select_by_msgnum(): don't display the message.
2301 * src/account.c: added "Get all" column.
2302 account_clist_set_row(): show default and get-all flags with the
2304 * src/utils.c: to_human_readable(): increased the number of decimals
2309 * implemented the long-awaited :) "Add sender to address book" feature.
2310 * src/address.[ch]: added the argument for remarks to
2312 address_get_folder_list(): new. It traverses the address tree and
2313 returns the folder list.
2314 address_delete_object(): modified so that it removes the node
2316 * src/addressbook.[ch]: addressbook_add_submenu(): new. It creates
2317 a address folder menu and attaches it to the menu item.
2318 addressbook_refresh(): reload the address book folder tree.
2319 * src/summaryview.c: summary_set_add_sender_menu(): new. It attaches
2320 the menu to add sender to address book.
2321 summary_button_pressed(): call summary_set_add_sender_menu()
2322 before popup the menu.
2326 * src/summaryview.c: summary_thread_build(): fixed a bug that locked
2327 up the process. Optimized the initial thread build.
2331 * src/summaryview.c: made many code cleanups.
2332 summary_show(): block/unblock the signal handlers instead of
2333 disconnect/connect them.
2334 summary_set_row_marks(): made the font of collapsed node bold if
2335 it has cnildren marked as unread.
2336 summary_thread_build(): block tree_expand signals while processing.
2337 Use loop instead of the recursive function. Mark collapsed nodes
2339 summary_unthread(): block tree_collapse signals while processing.
2340 Use loop instead of the recursive function.
2341 summary_thread_func(), summary_unthread_func(): removed.
2342 summary_tree_expanded(), summary_tree_collapsed(): new callback
2344 * src/inc.[ch]: inc_pop3_session_do(): don't show alert panel when
2345 failed to connect. Show more detailed status on the dialog.
2349 * src/folderview.c: folderview_update_all_node(): new. It updates
2351 * src/inc.c: update all local folders after incorporation if
2352 scan_all_after_inc option is set.
2353 * src/prefs_common.[ch]: added scan_all_after_inc option.
2354 * src/folder.h: FOLDER_IS_LOCAL(): new macro.
2363 src/prefs_common.h: made bold and small font configurable.
2364 src/summaryview.c: display unread messages with bold font.
2365 * src/prefs_common.c
2367 src/summaryview.c: added an option to enable/disable the
2368 emphasis of unread messages.
2372 * src/pixmaps/mark.xpm: modified.
2373 * src/gtkutils.[ch]: gtkut_ctree_expand_parent_all(): new.
2374 * src/summaryview.c: summary_set_ctree_from_list(): don't expand
2375 the root messages of threads for performance improvement.
2377 summary_select_next_unread()
2378 summary_step(): expand threads when opening messages.
2379 summary_thread_build(): expand threads if the option is turned on.
2380 * src/prefs_common.[ch]: added "Expand threads" option.
2384 * src/prefs_common.c: removed "Emulate the behavior of mouse
2385 operation of Emacs-based mailer".
2386 * src/prefs_common.c
2387 src/prefs_account.c: changed the value of VSPACING_NARROW to 3.
2388 * src/pixmaps/new.xpm
2389 src/pixmaps/unread.xpm: reverted.
2394 address_folder_new()
2396 address_item_new(): changed the return value to AddressObject.
2397 address_build_tree(): don't put assertion for file.
2398 * src/pixmaps/new.xpm
2399 src/pixmaps/unread.xpm: modified a bit.
2403 * src/addressbook.c: fixed some bugs.
2407 * separated the logic part of addressbook into another module
2408 (still in progress).
2409 * src/address.[ch]: new. It contains the logic part of addressbook.
2410 * src/addressbook.[ch]: removed the logic part.
2414 * src/textview.c: textview_show_header(): fixed a bug that a garbage
2415 character was shown after header names.
2419 * src/inc.c: inc_start(): don't abort with non-fatal error.
2427 * src/mimeview.c: mimeview_view_file(): added -x option to the
2428 metamail to prevent the suspention of the main process.
2429 mimeview_button_pressed(): deactivate `Open' menu item if
2430 content-type is application/octet-stream.
2434 * src/imap.c: imap_parse_atom(): parse escaped characters properly.
2435 get_quoted(): new. It handles the escape character '\'.
2436 * src/folder.c: folder_read_list(): don't output warning if
2437 folderlist.xml doesn't exist.
2438 * src/main.c: main(): write folder list after setup.
2439 * src/textview.c: textview_create()
2440 src/compose.c: compose_create(): set default tab width to 8.
2444 * src/prefs_common.c: date_format_select_row(): fixed a bug that
2445 caused segfault when selecting the list with key.
2449 * src/mainwindow.c: main_window_popup(): deiconize the window
2450 when popup (thanks to Henrik Carlqvist).
2451 * src/procmime.c: procmime_scan_mime_type(): new.
2452 procmime_scan_content_type(): use procmime_scan_mime_type().
2453 procmime_scan_mime_header(): scan the extension of attached files
2454 and add the correct MIME type if the Content-Type is
2455 "application/octet-stream" (thanks to Don Quijote).
2456 * src/compose.c: compose_toolbar_create(): added a new "Send later"
2457 icon (thanks to Leandro Pereira).
2461 * src/prefs_common.c: date_format_create(): modified the layout of
2466 * src/account.c: account_find_from_address(): fixed a minor bug.
2467 * src/prefs_common.c: incorporated the user-interface for setting
2468 date format from the claws branch, and made some modification to
2473 * src/account.[ch]: account_edit_create(): modified the text of
2475 account_find_from_address(): new.
2477 procmime_scan_content_type(), procmime_scan_content_disposition():
2478 fixed ESC code detection.
2479 * src/compose.c: compose_reply(): automatically select account
2480 according to the message header.
2481 * src/prefs_common.[ch]: added member "reply_account_autosel".
2485 * src/progressdialog.c: made the CList scrollable.
2486 * src/inc.c: inc_start(): don't abort with non-fatal error.
2490 * added English Sylpheed User's Manual by Paul Kater
2491 (paul@nlpagan.net) (thanks!).
2494 src/mainwindow.c: added support for English manual.
2495 * manual/en/sylpheed*.html: added English documentation.
2500 * src/nntp.c: nntp_ok(): fixed the bug that didn't handle a response
2501 that didn't have any trailing messages.
2502 * src/smtp.c: smtp_ok(): ditto.
2503 * src/compose.c: compose_account_option_menu_create(): modified
2504 the style of the account option menu.
2508 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
2509 remove return code from strings automatically.
2510 prefs_custom_header_create(): added "X-Face" to the default
2512 * src/news.c: news_fetch_msg(), news_get_group_list()
2513 src/imap.c: imap_fetch_msg(): create the cache directory before
2516 procmime_scan_content_type()
2517 procmime_scan_content_disposition(): convert JIS into EUC-JP
2519 * src/codeconv.c: conv_unmime_header(): cleaned up a bit.
2520 * src/compose.c: don't append attachment headers if the attach
2521 pane is visible but the list is empty.
2522 * src/recv.c: recv_bytes_write(): use g_malloc() instead of alloca().
2530 * src/compose.c: compose_quote_parse_fmt()
2531 src/prefs_common.c: prefs_quote_description_create(): added the
2532 symbol `%c' that allows to include Cc in reply format (thanks
2535 src/procmime.c: procmime_decode_content(): applied the patch
2536 from Sergey Vlasov that allows to decode base64 data with
2537 unusual line length (not a multiple of 4) (thanks!).
2541 * src/procmsg.[ch]: separated the permanent flags and temporary
2542 flags into two variables, and made MsgFlags a structure that
2544 MSG_SET_PERM_FLAGS()
2546 MSG_UNSET_PERM_FLAGS()
2547 MSG_UNSET_TMP_FLAGS(): new macros.
2555 src/summaryview.c: modified for the new MsgFlags.
2556 * src/utils.[ch]: hash_free_value_mem(): new. It frees the values
2561 * src/inc.c: inc_pop3_recv_func(), inc_progress_update():
2562 display current size with human-readable format.
2563 * src/grouplistdialog.c: grouplist_recv_func(): ditto.
2570 conv_unmime_header(), conv_unmime_header_overwrite(): workaround
2571 for raw-JIS code in header fields.
2573 folder_get_default_folder()
2574 folder_get_default_inbox()
2575 folder_get_default_outbox()
2576 folder_get_default_draft()
2577 folder_get_default_queue()
2578 folder_get_default_trash(): fixed a bug that caused segfault
2579 if folder_list is NULL.
2589 * src/grouplistdialog.c: grouplist_dialog_set_list(): update UI
2590 while retrieving newsgroup list.
2591 grouplist_dialog_create(): added entry widget and status label.
2592 grouplist_recv_func(): new.
2593 refresh_clicked(): added exclusive lock variable.
2594 clist_selected(): set text entry when the CList is selected.
2595 renamed from group_clist_select().
2596 entry_activated(): new.
2597 grouplist_clear(): renamed from grouplist_free(). Also clears
2598 list and entry widget.
2599 * src/news.c: news_get_group_list(): sped up the list appending
2600 (g_slist_append() becomes very slow if list size is large).
2601 * src/defs.h: added UI_REFRESH_INTERVAL definition.
2602 Changed the definition of NEWSGROUP_LIST.
2603 * src/recv.c: recv_write()
2604 src/send.c: send_message_smtp(): changed the UI refresh interval
2605 to UI_REFRESH_INTERVAL (50msec).
2606 * src/account.c: account_add(): fixed a bug that didn't update
2607 folder tree when a news account was added.
2608 * src/grouplistdialog.c: made exclusive lock variable global, and
2609 lock at grouplist_dialog_set_list().
2610 * src/textview.c: fixed a bug that disabled clickable URI if
2611 message color was disabled.
2615 * src/grouplistdialog.c: ok_clicked(), cancel_clicked(): don't
2616 quit main loop if gtk_main_level() is 1.
2617 grouplist_dialog_set_list(): freeze CList while appending the list.
2618 grouplist_dialog(): show dialog before updating the list.
2622 * src/folder.c: folder_write_list_recursive(): add the attribute
2623 `collapsed' if a node have some children.
2624 * src/grouplistdialog.[ch]: new. Newsgroups can be selected from
2627 news_get_group_list(): new. It returns newsgroup list.
2628 news_remove_group_list(): new. It removes newsgroup list cache.
2629 * src/folderview.c: folderview_new_news_group_cb(): call
2630 grouplist_dialog() instead of input_dialog().
2634 * autogen.sh: modified.
2636 src/folderview.c: made expand/collapse state of folders persistent
2645 * src/imap.c: imap_remove_folder(): select INBOX with EXAMINE before
2647 imap_cmd_do_select(): new. It toggles between SELECT and EXAMINE
2648 according to the argument.
2649 imap_cmd_select(): use imap_cmd_do_select().
2650 imap_cmd_examine(): new.
2651 * src/folderview.c: folderview_rm_imap_folder_cb(): select current
2652 folder again when removing failed.
2658 * manual/ja/sylpheed.sgml
2659 manual/ja/*.html: updated the Japanese manual (thanks to Imai).
2660 * src/summaryview.c: summary_set_row_marks(): fixed a bug that
2661 didn't set foreground correctly.
2663 src/summaryview.h: removed the member color_normal from FolderView
2665 * src/mainwindow.c: main_window_create(): removed color_normal.
2669 * src/prefs_account.[ch]: the port numbers of IMAP4 and NNTP
2671 * src/imap.c: imap_session_get()
2672 src/news.c: news_session_new_for_folder(), news_session_get():
2673 use user-defined port number if specified.
2677 * src/imap.c: imap_scan_tree_recursive(): get mailbox status when
2679 imap_scan_folder(): implemented. It updates the numbers of new,
2680 unread and total messages.
2681 imap_status(): new. It parses the response of STATUS command.
2682 imap_status_uidnext(): removed.
2683 imap_cmd_status(): removed.
2684 * src/textview.c: textview_show_part(): fixed potential memory leaks.
2688 * src/alertpanel.c: alertpanel_create(): fixed truncated message.
2689 * src/rfc2015.c: rfc2015_decrypt_message(): fixed the case problem
2690 of content-type (thanks to René Rebe for the patch).
2691 * src/codeconv.c: code_get_code_conv_func(): fixed the ISO-8859-1
2693 * src/prefs_common.c: prefs_send_create(): made some more character
2694 sets specifiable when not using libjconv.
2695 * configure.in: disabled --enable-threads option temporarily.
2697 INSTALL.jp: deleted the description about --enable-threads option.
2701 * updated gettext to 0.10.38.
2707 * src/folderview.[ch]: folderview_set_all(): new.
2708 * src/account.c: account_add(): call folderview_set_all() after
2709 creating IMAP4 tree.
2710 account_edit_create(): account preferences dialog can be opened
2711 with double clicking of the list.
2712 account_selected(): new.
2713 account_clist_set(): made the CList focus set correctly.
2717 * src/imap.c: imap_scan_tree(): call imap_create_trash() if trash
2719 imap_scan_tree_recursive(): search the sub folders of INBOX.
2720 recognize Trash folder.
2721 imap_create_tree(): separated the part of creating trash.
2722 imap_create_trash(): new.
2723 * src/folder.c: folder_build_tree(), folder_write_list_recursive():
2724 preserve no_sub and no_select.
2725 * src/summaryview.c: summary_show(): don't proceed if item->no_select
2730 * src/imap.c: imap_scan_tree(): fixed a bug that didn't set the
2731 root folder correctly.
2735 * src/folderview.[ch]:
2736 folderview_update_tree(): new. It updates one folder tree.
2737 folderview_update_tree_cb(): new.
2738 Added "Update folder tree" to the popup menu, and modified some
2743 * src/imap.c: implemented the autoscan of IMAP4 folder list.
2744 imap_scan_tree(): new. It scans the whole IMAP4 folder.
2745 imap_scan_tree_recursive(): new. It traverses the IMAP4 folder tree.
2746 imap_parse_list(): new. It parses the LIST response.
2747 imap_get_real_path(): new. It converts local path into IMAP4 path.
2748 * src/folder.h: added no_sub and no_select to FolderItem.
2749 * src/folder.c: folder_tree_destroy(): reset some variables.
2750 * src/folderview.c: folderview_scan_tree_func(): supported IMAP4.
2754 * src/imap.c: imap_parse_envelope(): fixed a bug that didn't
2755 parse the FETCH response that continues to the next line.
2756 imap_parse_fetch_element(): removed.
2757 imap_parse_atom(), imap_parse_one_address(), imap_parse_address(),
2758 imap_parse_envelope(), imap_get_uncached_messages(): use GString
2759 and sock_getline() to parse the FETCH response.
2760 imap_remove_all_msg(): fixed a bug that didn't delete messages
2762 imap_parse_address(): fixed a bug that didn't concaternate
2763 addresses correctly, using GString.
2764 * src/socket.[ch]: sock_getline(), fd_getline(): new. They read
2765 the whole line and return the newly allocated string.
2766 * src/prefs_account.[ch]: added `IMAP server directory' entry.
2772 * src/imap.c: imap_create_tree(): pass the path that is separated
2773 by the local filesystem separator to imap_create_folder().
2774 imap_create_folder(): examine the existence of folders using
2775 LIST command instead of STATUS.
2776 imap_cmd_list(): new.
2777 imap_query_password(): new.
2778 imap_session_new(): query password if it is not set.
2782 * src/imap.c: imap_parse_envelope(): FETCH results can be parsed
2783 with arbitrary order.
2784 imap_parse_fetch_element(): new. it parses one pair of name and
2785 value of FETCH results.
2786 imap_parse_flags(): modified for more flexibility.
2787 * src/utils.[ch]: set_log_file(): new. it opens a new file for
2789 close_log_file(): new. it closes the opened log file.
2790 log_print(), log_message(), log_warning(), log_error(): also
2795 * src/imap.c: imap_cmd_status(): check the pointer to "value"
2796 before the assignment (thanks to NISHIJIMA).
2800 * src/folderview.c: folderview_drag_motion_cb(): don't allow DnD
2801 across MH and IMAP4 folder (for now) (thanks to Hiramatu).
2802 * src/foldersel.[ch]: don't show folders which can't be targets
2814 imap_cmd_store(): use UID instead of sequential number.
2815 Renamed imap_set_article_flags() to imap_set_message_flags().
2816 * src/summaryview.c: summary_execute(): don't update summary
2817 even if current folder is IMAP4.
2818 * src/utils.[ch]: remove_numbered_files(): changed the type of
2819 arguments from gint to guint.
2823 * src/imap.c: imap_cmd_login(), imap_cmd_select(), imap_cmd_status(),
2824 imap_cmd_create(), imap_cmd_delete(), imap_cmd_copy(): don't
2825 enclose with double quotation if string doesn't have space
2826 (workaround for old Cyrus IMAP4 server).
2827 imap_create_folder(): fixed a bug of separator substitution.
2828 renamed imap_session_connect_if_not() to imap_session_get().
2829 imap_get_msg_list(): delete all cached messages if use_cache
2831 imap_delete_cached_messages(): remove cached files in between
2832 the specified range by reading directory entry.
2833 imap_parse_one_address(): set fromname same as the from address
2835 * src/utils.[ch]: remove_numbered_files(): new. The range is
2837 * src/summaryview.c: summary_execute(): update summary if current
2839 KEY_PRESS_EVENT_STOP(): new macro.
2840 summary_key_pressed(): stop signal emission when calling
2842 summary_select_by_msgnum(): show message only if
2843 msg_is_toggled_on is TRUE. Move current page to the selected
2845 * src/news.c; news_delete_old_articles(): remove cached files in
2846 between the specified range by reading directory entry.
2848 folderview_selected(), folderview_button_released(): fixed a bug
2849 that didn't select folder correctly.
2855 src/prefs_common.c: improvements to the English (thanks to Paul
2857 * src/mainwindow.c: compose_cb()
2858 src/summaryview.c: summary_key_pressed()
2859 src/compose.c: compose_new_with_recipient(): newsgroups entry
2860 is automatically filled when composing a new article.
2864 * src/procmsg.c: procmsg_msg_list_free(): fixed a bug that didn't
2865 free list correctly.
2871 * src/imap.c: imap_find_namespace(): replace namespace path
2872 separator with slash before comparison.
2873 imap_remove_folder(): use namespace.
2874 imap_create_tree(): use namespece when creating Trash.
2875 imap_get_msg_list(): fixed a bug that returned old list and caused
2876 memory leak if exists == 0.
2877 imap_select(): new. It's a wrapper for imap_cmd_select().
2878 * src/foldersel.c: foldersel_set_tree(): show IMAP4 folder too.
2883 folderview_new_folder_cb()
2884 folderview_new_imap_folder_cb(): show error dialog when creation
2885 or deletion of folder failed.
2886 Made it allow users to create a folder which contains subfolders.
2887 folderview_button_pressed(): disabled delete menu on the special
2889 * AUTHORS: incorporated from claws branch. It now contains all
2891 * src/send.c: enabled cancellation.
2892 EXIT_IF_CANCELLED(): new macro.
2893 Added cancelled flag to SendProgressDialog.
2894 * src/utils.[ch]: strtailchomp(): new. It removes the trailing
2895 specified character.
2896 * src/imap.c: imap_cmd_fetch(): a fix for MS Exchange 2000 server.
2900 * src/imap.c: imap_create_tree(): new. It creates required
2901 folders such as INBOX and Trash.
2902 imap_do_copy(), imap_do_copy_msgs_with_dest(): don't expunge
2904 imap_remove_all_msg(): return immediately if exists == 0.
2905 * src/account.c: account_add(), account_set_missing_folder():
2906 made them use folder->create_tree().
2910 * src/imap.c: more namespace implementation.
2911 imap_find_namespace(), imap_path_separator_subst(): new.
2915 * src/imap.c: imap_parse_namespace(), imap_cmd_namespace(): new.
2919 * src/summaryview.c: summary_show(): fixed a glitch in folder view.
2923 * src/imap.[ch]: added imap_add_msg(), and imap_append_message(),
2924 which appends file into IMAP4 folder.
2926 imap_create_folder(): check the existence of a folder before
2928 renamed the prefix of low-level IMAP4rev1 functions to imap_cmd.
2929 * src/account.c: account_add(), account_set_missing_folder():
2930 create INBOX automatically when creating IMAP4 account.
2934 * src/utils.[ch]: added itos_buf() that takes the buffer for its
2936 * src/imap.[ch]: imap_copy_msg(), imap_copy_msgs_with_dest(): new.
2937 * src/folder.c: added copy_msg and copy_msgs_with_dest methods
2942 * src/utils.[ch]: move_file(): new.
2943 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): modified to
2944 use move_file(), and fixed a bug that didn't close file when
2949 * src/imap.c: renamed imap_delete_messages() and
2950 imap_delete_all_messages() to imap_delete_cached_messages() and
2951 imap_delete_all_cached_messages(). Some code cleanups.
2952 * src/utils.[ch]: added a function remove_all_numbered_files().
2953 * src/mh.c: mh_remove_all_msg()
2954 src/imap.c: imap_delete_all_cached_messages():
2955 use remove_all_numbered_files().
2958 src/compose.[ch]: added `Reply to sender'.
2960 compose_reply_set_entry(): added an argument `ignore_replyto'.
2964 * src/folderview.c: folderview_selected()
2965 src/summaryview.c: summary_show(): fixed a bug that updated wrong
2966 folder when remaining marks were processed.
2970 * src/headerwindow.c: headerwindow_show_cb(): always try to show
2971 msginfo, and use the selected message, not the displayed one.
2972 * src/smtp.c: smtp_ok(): fixed sock_gets() error handling.
2976 * src/folderview.c: folderview_selected()
2977 src/mimeview.c: mimeview_selected(): ungrab the mouse event.
2978 * src/summaryview.c: summary_show(): process the left marks if any.
2982 * src/passphrase.c: enclosed with #if USE_GPGME.
2983 * src/prefs_account.c: added NNTP AUTH check button.
2984 * src/alertpanel.[ch]: alertpanel_create(): added new argument
2985 `can_disable', all existing callers changed to pass FALSE;
2986 created a check button to disable the message.
2987 alertpanel_message_with_disable(): new.
2988 alertpanel_show(): mask value with G_ALERT_VALUE_MASK.
2989 alertpanel_button_toggled(): new.
2990 alertpanel_button_clicked(), alertpanel_close(): set value using
2992 * src/prefs_common.[ch]: added option to toggle GnuPG signature
2993 check popup window, and GnuPG warning.
2994 * src/rfc2015.c: check_signature(): show signature check dialog
2995 only if it is enabled.
2996 * src/main.c: modified GnuPG checking.
2998 src/prefs_common.c: fixed some compilation bugs when enabled
3003 * src/codeconv.c: conv_get_code_conv_func(): fix for ISO-8859-*
3004 encodings with libjconv.
3005 conv_encode_header(): fixed an endless loop bug when encountering
3006 an invalid wide character (thanks to Alte).
3007 * src/headerview.c: SET_FONT_STYLE(): fixed segfault with invalid
3009 * src/imap.c: imap_create_folder(): don't create folder if the
3011 * src/mainwindow.c: main_window_reflect_prefs_all(): hide the
3012 execute button when immediate execution is enabled.
3017 README.jp: added the "How to run" section.
3021 * merged NNTP AUTH from the claws branch.
3022 * src/news.[ch]: supported NNTP AUTH.
3023 * src/nntp.[ch]: wrapped SockInfo with NNTPSockInfo for NNTP AUTH.
3025 INSTALL.jp: modified the confirmation list and the warning about
3030 * src/gtkutils.[ch]: moved folderview_find_collapsed_parent() to
3031 gtkut_ctree_find_collapsed_parent().
3032 * src/folderview.c: folderview_select_node(): automatically expand
3033 the parent folders when selected.
3034 * configure.in: made the version number to 0.4.99 (0.5pre)
3035 * src/main.c: main(): moved parse_cmd_opt() before gtk_init()
3036 so that X is not necessary for --help and --version.
3037 parse_cmd_opt(): changed g_get_prgname() to g_basename(argv[0]).
3038 * src/folderview.c: folderview_update_node(): a fix for collapsed
3043 * src/main.c: lock_socket_input_cb(): changed fd_read() to fd_gets().
3044 It caused garbages in --compose option.
3045 * src/socket.[ch]: made fd_gets() public.
3049 * src/gtkutils.[ch]: gtkut_ctree_node_next(): new.
3050 * src/folderview.c: folderview_find_next_unread(): new.
3051 folderview_select_next_unread(): modified so that it can find
3056 * src/compose.c: compose_write_headers(): excluded also From, To,
3057 Sender because they could be used for SPAM.
3058 * src/folderview.c: add '+' mark to the collapsed folder that have
3059 some unread folders.
3060 folderview_search_new_recursive(),
3061 folderview_have_new_children(),
3062 folderview_search_unread_recursive(),
3063 folderview_have_unread_children(),
3064 folderview_find_collapsed_parent(): new.
3065 folderview_update_node(): display the number of queued messages.
3070 src/mh.[ch]: modified *_add_msg() to use link(). Added the
3071 argument to switch whether to remove the source file or not.
3074 src/mbox.c: modified the argument of folder_item_add_msg() and
3075 removed some unlink()'s.
3079 * src/prefs_customheader.[ch]: renamed prefs_headers_* to
3080 prefs_custom_header_*. Removed `(New)' row and `Substitute'
3081 button. Supported empty value.
3082 prefs_custom_header_row_moved(): new. Connected "row_move" signal
3083 to the function, and made it set header list.
3084 * src/customheader.c: custom_header_get_str()
3085 src/compose.c: compose_write_headers(): supported empty value.
3086 * src/prefs_display_header.c: prefs_display_header_row_moved(): new.
3087 Connected "row_move" signal to the function, and made it set
3089 * src/compose.c: compose_write_headers(): modified the order of
3090 headers, and made it encode the custom headers.
3091 * src/prefs_customheader.c: prefs_custom_header_delete_cb()
3092 src/prefs_filter.c: prefs_filter_delete_cb(): treat closing the
3093 alert panel by ESC as "No".
3097 * merged the custom header stuff from claws branch:
3098 * src/customheader.[ch]
3099 src/prefs_customheader.[ch]: new.
3100 * src/customheader.c: custom_header_read_str(): use strtol() instead
3101 of atoi() and check errors.
3102 custom_header_find(): new function.
3103 * src/compose.c: IS_IN_CUSTOM_HEADER(): new macro.
3104 compose_write_headers(): made it replace headers with user-defined
3105 headers except for some automatically generated headers.
3109 * src/inc.c: connection_check_cb(): fixed a bug that caused
3110 segmentation fault if connection was not established.
3111 * src/compose.c: compose_create(): even if set_autobcc or set
3112 autoreplyto is checked and the entries are empty, show them.
3116 * src/textview.c: textview_show_mime_part(): modified the messages.
3117 TEXT_INSERT(): new macro.
3119 * src/prefs_display_header.c: prefs_display_header_create():
3120 modified the text of checkbutton.
3124 * src/mimeview.c: added "Open with..." to the context menu.
3125 * src/summaryview.c: summary_print()
3126 src/inputdialog.c: input_dialog(): fixed memory leaks.
3127 * src/textview.c: textview_show_mime_part(): updated the description.
3128 * src/send.c: implemented sending progress dialog.
3129 (TODO: automaton should be used.)
3130 send_progress_dialog_create(), send_progress_dialog_destroy(),
3132 send_message_smtp(): made it update the dialog for each stage.
3133 * src/utils.[ch]: get_left_file_size(): new. Get the left bytes
3135 * src/summaryview.c: summary_show(): when open_inbox_on_inc is set,
3136 go to first unread message even if folder is same as previous.
3137 * src/prefs_common.c: made color selection dialog transient, and
3138 made escape key close the dialogs.
3144 * src/select-keys.c: delete_event_cb(): removed `;' from its end.
3145 * src/recv.c: recv_write(): changed the interval to 10msec.
3146 * src/prefs_display_header.c: modified the layout of the dialog,
3147 and made the hidden headers list insensitive when `Show other
3148 headers' is not checked.
3149 * src/textview.c: changed strcasecmp() and strncasecmp() to
3150 the corresponding glib functions.
3151 * src/inc.c: get_spool(): make a temporary file in the home
3156 * src/prefs_common.c
3168 src/sigstatus.c: fixed a bug that accidentally destroyed dialogs
3169 when closed them with delete_event (thanks to DINH).
3170 Added *_deleted() and *delete_event() which handle delete_event
3175 * src/prefs_display_header.c: merged some changes from claws branch:
3176 prefs_display_header_create(): allow reordering of headers by
3178 prefs_display_header_find_header(): new function.
3179 prefs_display_header_clist_set_row(): don't allow duplicates.
3180 * src/prefs_account.c: prefs_account_receive_create(): changed
3181 the label of the check button.
3185 * src/pop.c: pop3_getsize_list_recv(): if sscanf() failed, break
3187 * src/inc.h: removed cur_msg_bytes from Pop3State.
3188 * src/inc.c: pop3_recv_func()
3189 src/recv.[ch]: made the second arguments of RecvUIFunc current
3191 recv_write(): made it call UI func if elapsed time is greater
3193 * src/recv.c: recv_write(): changed the interval to 300 usec.
3194 * src/textview.c: textview_show_header(): if header is Subject,
3196 * src/utils.[ch]: unfold_line(): new.
3197 * src/procheader.[ch]: procheader_get_header_array(): new.
3198 * src/prefs_display_header.c: updated defaults.
3202 * some merge from the sylpheed-claws branch.
3203 It allows user to specify displayed headers in message view.
3204 (symbol names were also changed.)
3205 * src/prefs_display_header.[ch]
3206 src/displayheader.[ch]: new.
3207 * src/prefs_display_header.c:
3208 removed prefs_display_headers_other_headers_toggled().
3209 removed "(New)" row from the list.
3210 * src/defs.h: added DISPLAY_HEADER_RC.
3211 * src/prefs_common.c: prefs_message_create(): added a button for
3212 opening the display header setting dialog.
3213 * src/prefs_common.h: added show_other_header and disphdr_list
3215 * src/procheader.[ch]: procheader_get_header_list_from_file(),
3216 procheader_get_header_array_asis(): new.
3217 procheader_get_header_list(): modified so that it takes FILE
3218 pointer for its argument.
3219 procheader_header_array_destroy(), procheader_header_free(): new.
3220 * src/main.c: main(): made it call prefs_display_header_*_config().
3221 * src/textview.c: textview_scan_header(): modified so that it
3222 sorts headers according to user setting.
3223 src/textview_show_header(): made it call
3224 textview_make_clickable_parts().
3225 textview_make_clickable_parts(): added GdkFont to its arguments,
3226 and removed GtkText from them.
3230 * implemented auto-checking of new mail based on the patch from
3231 Pierric Descamps (thanks!).
3232 * src/inc.c: added inc_autocheck_timer_init(),
3233 inc_autocheck_timer_set(), inc_autocheck_timer_remove(),
3234 inc_autocheck_func() for auto-checking of new mail.
3235 * src/main.c: main(): call inc_autocheck_timer_init().
3236 * src/prefs_common.c: prefs_receive_create(): activated the
3237 auto-checking UI. Added prefs_common_cancel(), and connected
3238 some signals to that.
3239 * src/prefs_common.c
3242 src/account.c: Disabled auto-checking while opening the dialog.
3243 * src/headerview.c: headerview_show_xface(): fixed a bug that
3244 showed a warning when header pane was hidden.
3250 src/recv.c: removed non-blocking socket mode support since it
3253 src/inc.c: modified the messages of incorporation dialog.
3257 * src/utils.h: made u32 the typedef of guint32.
3258 added BIG_ENDIAN_HOST macro that is used by md5.c.
3259 * src/md5.c: renamed md5c.c. Fixed the indentation. Fixed a bug
3260 that didn't calculate MD5 correctly on big endian machines.
3266 * src/folder.c: folder_init(): added the method imap_remove_folder.
3267 * src/folderview.c: folderview_rm_imap_folder_cb(): made it
3268 actually remove folder from IMAP4 server.
3269 * src/imap.[ch]: imap_create_folder(): made it actually create
3270 folder on IMAP4 server.
3271 imap_remove_folder(): added.
3272 imap_create(), imap_delete(): added.
3273 * src/summaryview.c: summary_execute_delete(): don't check trash
3274 if folder type is not F_MH.
3275 * thanks to Ishihara for the above changes.
3277 ac/check-type.m4: better wint_t typedef detection (renamed
3278 sv_CHECK_TYPE to SYLPHEED_CHECK_TYPE).
3282 * src/recv.c: recv_bytes_write(): fixed another bug that caused
3283 infinite loop and buffer overrun.
3287 * src/socket.[ch]: renamed sock_read() and fd_read() to
3288 sock_gets() and fd_gets() for preventing confusion.
3289 Added sock_read() and fd_read() which is the wrapper of read().
3290 * src/recv.c: recv_bytes_write(): fixed a bug that caused infinite
3291 loop. Use sock_read() instead of fd_read().
3298 src/smtp.c: use sock_gets() instead of sock_read().
3299 * src/imap.c: imap_session_new(): fixed the error detection
3304 * src/inc.c: made it displays current read bytes to the dialog.
3305 * src/pop.c: recv_write(): call UI function before editing
3310 * src/progressdialog.c: progress_dialog_create(): modified the
3311 size of dialog and made it stretchable.
3313 src/esmtp.c: smtp_ok(), esmtp_ok(): fixed a bug that didn't
3314 process an error response correctly (thanks to Ohmasa).
3315 * src/pop.[ch]: added pop3_getsize_list_send(),
3316 pop3_getsize_list_recv().
3317 * src/recv.[ch]: added recv_set_ui_func() that makes recv_write()
3318 call the callback function for each sock_read().
3319 * src/inc.h: in Pop3State, renamed bytes to total_bytes, and added
3320 cur_msg_bytes, cur_total_bytes, and sizes.
3321 * src/inc.c: added inc_pop3_recv_func() that updates the progress
3322 bar for each sock_read().
3326 * src/mh.c: mh_is_maildir_one(): modified so that it uses
3329 2001-04-25 Werner Koch <wk@gnupg.org>
3331 * src/mh.c (mh_is_maildir_one, mh_is_maildir): New.
3332 (mh_scan_tree_recursive): Do not include Maildir style directories
3335 Changed the use of integers to describe sockets by an more abstract
3338 * src/automaton.h (struct _Automaton): Add help_sock.
3339 * src/automaton.c (automaton_input_cb): Changed source to be
3340 SockInfo and use wrapper for gdk_input_add.
3342 * src/send.c (SEND_EXIT_IF_ERROR): Adjusted tests and removed test
3343 for invalid socket because this is now done in sock_close. Set
3345 (SEND_EXIT_IF_NOTOK): Set closed sock to NULL.
3346 (send_smtp_open): Use only SockInfo.
3348 * src/news.c (news_session_new): Use SockInfo here.
3349 (news_session_destroy): Ditto and set sock to NULL.
3351 * src/nntp.c: Use SockInfo instead of integers
3352 * src/smtp.c: Ditto.
3354 * src/recv.c: Ditto.
3356 * src/inc.c (inc_pop3_session_do): Removed sock_sockinfo_free. Put
3357 gdk_input_add into a wrapper.
3359 * src/esmtp.c: Changed socket descriptors to use SockInfo.
3360 * src/esmtp.h: Ditto, included socket.h.
3361 * src/session.h (struct _Session): Likewise.
3362 * src/imap.c (imap_open): Return SockInfo ptr and not an integer.
3363 Removed access to internal data of SockInfo. Changed all callers
3364 and functions to take SockInfo.
3365 (imap_session_new): Use sock_close here.
3366 (imap_session_destroy): Ditto.
3368 * src/compose.c (compose_exec_ext_editor): Replaced sock_write by
3371 * src/main.c (app_will_exit): Close lock socket using fd_close.
3372 (prohibit_duplicate_launch): Use fd_xxx functions instead of sock_xxx.
3373 (lock_socket_input_cb): Ditto.
3375 * src/socket.h, src/socket.c: Prepared SockInfo structure to use
3376 glib channels. Changed all sock_xxx to use SockInfo instead of an
3378 (sock_connect_unix, sock_open_unix, sock_accept): Renamed to ..
3379 (fd_connect_unix, fd_open_unix, fd_accept): .. this and changed all
3381 (fd_read, fd_write, fd_close): New.
3382 (sock_sockinfo_free): Removed.
3383 * src/socket.c (sock_connect_nb): Use close instead sock_close here.
3384 (sock_connect): Ditto.
3388 * config.h.in: removed.
3389 * ac/Makefile.am: added gnupg-check-typedef.m4 to MACROS.
3390 * .cvsignore: added.
3392 src/progressdialog.[ch]
3393 src/pixmaps/complete.xpm
3394 src/pixmaps/continue.xpm
3395 src/pixmaps/error.xpm: applied the patch from Leandro Pereira
3396 that displays the state of message incorporation (thanks!).
3397 * src/inc.c: made the progress dialog change the text of status.
3401 * removed po/*.gmo, configure, stamp-h.in, aclocal.m4, Makefile.in
3403 * COPYING: removed RSA copyright notice.
3404 * removed po/sylpheed.pot, po/stamp-cat-id, po/cat-id-tbl.c.
3405 * configure.in: added the check of sys/utsname.h.
3407 2001-04-24 Werner Koch <wk@gnupg.org>
3409 Merged most of the changes from the W32 branch in.
3411 * configure.in: Require gpgme >= 0.2.1
3413 * acconfig.h (HAVE_U32_TYPEDEF): New.
3414 * ac/gnupg-check-typedef.m4: New.
3415 * configure.in: Check for u32 type and the size of some types.
3416 * src/utils.h: Define the u32 type and related constants.
3418 * src/about.c (about_create): Removed the note about MD5. We are
3419 not any longer using the RSA Inc. implementation.
3420 * src/md5ify.c, src/md5ify.h, src/md5global.h: Removed.
3421 * src/md5c.c, src/md5c.h: Replaced by an FSF implementation and
3422 renamed the function to standard lowercase convention. Changed all
3424 (md5_hex_digest): New.
3425 (md5_hmac): Add hmac function by Martin Schaaf with some
3427 (md5_hex_hmac): New.
3428 * src/esmtp.c, src/esmtp.h (md5_hex_hmac): Removed.
3429 (hmac_md5): Removed.
3430 * src/pop.c (pop3_getauth_apop_send): Replaced the md5_digest by
3431 the new md5_hex_digest function.
3433 * src/about.c: Include utsname.h only if available
3435 * src/utils.c, src/utils.h (get_home_dir): New to better cope with
3436 special Windoze requirements. Changed all calls to
3437 g_get_home_dir() to this function.
3439 * simple-gettext.c: New.
3441 * src/main.c (main): Issue a warning if GnuPG is not properly
3444 * src/sigstatus.c, src/sigstatus.h: New.
3445 * src/rfc2015.c (check_signature): Use the sigstatus window and
3446 get the status texts from a utility function.
3448 * src/select-keys.c: Removed the global select_keys var and
3449 pass an allocated one along all functions.
3450 (set_row): Display only keys capable of encryption.
3451 (update_progress): Replaced the progressbar by
3452 a windmill and a text showing for which key we are collecting
3453 info. Removed progressbar everywhere else and updated callers.
3455 * src/prefs_common.c (prefs_privacy_create) [__MINGW32__]: Do not
3456 display the grab button.
3460 * src/prefs_common.[ch]
3461 src/procheader.c: applied the patch from Darko Koruga that
3462 allows user to define their own format for displaying date in
3463 summary view using strftime() (thanks!).
3464 * src/prefs_common.c: prefs_quote_colors_dialog()
3465 src/mainwindow.c: main_window_reflect_prefs_all(): made it
3466 update message colors if the colors setting is changed.
3467 * src/main.[ch]: made it remember the startup directory.
3468 * src/export.c: export_mbox(): made it initially chdir to the
3470 * src/filesel.c: filesel_select_file(): made it open the startup
3475 * added option to warn about queued messages on exit [sergey]:
3477 * src/compose.c: compose_queue(): call folder_item_scan()
3478 and folderview_update_item() after queueing.
3479 * src/folderview.c: folderview_update_node(): draw the queue
3480 folder in bold font if there are queued messages.
3481 * src/mainwindow.c: queued_messages(): new function.
3482 app_exit_cb(): display warning if there are queued messages
3483 if warn_queued_on_exit is set.
3484 * prefs_common.[ch]: add warn_queued_on_exit option.
3486 * src/mainwindow.c: moved queued_messages() to main.c, and renamed
3487 it to get_queued_message_num().
3488 * src/main.c: app_will_exit(): moved warning dialog code from
3489 app_exit_cb(), and added manage_window_focus_in().
3491 * enhanced GnuPG key selection support [sergey]:
3493 * src/select-keys.c: updated to newer version from Win32
3494 branch with support for selecting arbitrary keys.
3495 * src/prefs_account.c: added the Privacy tab to the account
3497 prefs_account_privacy_create(),
3498 prefs_account_sign_key_set_data_from_radiobtn(),
3499 prefs_account_sign_key_set_radiobtn(): new functions.
3500 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
3501 * src/rfc2015.c: set_signers(): new function.
3502 pgp_sign(): add the account parameter, call set_signers().
3503 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
3504 * src/rfc2015.h: rfc2015_sign(): updated prototype.
3505 * src/compose.c: pass the current account to rfc2015_sign().
3509 * src/mbox.c: export_to_mbox(): fixed a memory leak bug.
3513 * src/mbox.[ch]: renamed export_mbox() to export_to_mbox().
3514 Fixed a memory leak bug.
3515 * src/export.[ch]: added for exporting folder to mbox.
3516 * src/import.[ch]: made import_mbox() take default folder.
3517 Added description to the dialog.
3518 * src/summaryview.c: summary_show(): fixed a bug that kept the
3519 toolbar buttons insensitive after receiving messages.
3521 src/import.c: fixed a bug that caused quitting of the program
3522 when OK or Cancel button was clicked several time.
3523 * src/prefs_common.[ch]
3524 src/addressbook.c: added "Add address to destination when
3525 double-clicked" option.
3529 * src/prefs_common.[ch]: reorganized the items of settings,
3530 and added Message tab.
3531 * src/main.c: parse_cmd_opt(): added command line option --version.
3532 * src/mh.c: made it unset MSG_DELETED flag when moved/copied to
3534 * src/prefs_common.[ch]
3535 src/headerview.[ch]: the header pane can be toggled now.
3536 * src/prefs_common.[ch]
3537 src/textview.c: page scroll step is now selectable between
3538 one page and half page.
3539 * src/mbox.[ch]: added export_mbox() that reads all messages
3540 in a folder, and store them into one mbox file.
3544 * src/prefs_filter.[ch]: separated filter setting code from
3545 prefs_common.c, and made it a separate dialog.
3551 * src/automaton.[ch]
3552 src/inc.c: fixed the bug that made Sylpheed crash when clicking
3553 Cancel button while getting new mail (thanks to Sergey Vlasov).
3554 * src/xml.c: xml_build_tree()
3555 src/addressbook.c: fixed a bug that caused infinite loop if an
3556 illegal XML file was given.
3561 src/inc.c: applied the patch from Sergey Vlasov that fixes the
3562 problem when the "Go to inbox after receiving new mail" option
3563 was turned off (thanks!).
3567 * src/xml.[ch]: modified so that it supports some characters which
3568 must be escaped, and multiple-lined tag.
3570 src/addressbook.c: modified so that it escapes some characters
3571 like '<', '>', '&', ''', '"'.
3581 src/summaryview.[ch]: applied the patch from Darko Koruga that
3582 adds copy message operation for the MH folders (thanks!).
3583 * src/imap.c: disabled slash to dot conversion.
3584 * src/imageview.c: fixed a bug that displayed an old image when
3585 loading of a image failed (thanks to Darko Koruga).
3589 * src/procmsg.c: procmsg_read_cache(): added setvbuf() to speed up
3590 cache reading (thanks to Sergey Vlasov).
3592 src/summaryview.[ch]
3593 prefs_common.[ch]: applied the patch that keeps the same folder
3594 after receiving new mail (thanks to Sergey Vlasov).
3596 src/utils.[ch]: moved get_quote_level() to utils.c.
3600 * ac/Makefile.am: added.
3602 configure.in: added ac directory.
3606 * src/summaryview.c: summary_filter(): made it move messages
3607 immediately if immediate_exec option is set.
3608 * src/prefs_common.[ch]
3610 src/gtkutils.[ch]: applied the message coloring patch from
3611 Stephen Anthony with some modification (thanks!).
3613 src/mimeview.c: modified the behavior of MimeView (thanks to
3618 * src/utils.c: copy_file()
3619 src/mh.c: applied (and modified) the patch from Darko Koruga
3620 that enables to move messages across file systems (thanks!).
3622 src/utils.[ch]: applied the patch from Jorge Van Hemelryck
3623 that converts the date of messages to the local time (thanks!).
3624 * src/utils.c: remote_tzoffset_sec(): fixed a bug that the signs
3625 of one-letter timezone were reversed.
3626 * src/folder.c: folder_item_add_msg(): put the assertion for the
3627 add_msg() method (thanks to TAKANO).
3631 * src/procmime.c: procmime_decode_content(): fixed a bug that
3632 corrupted quoted-printable encoded messages when they include
3633 `=00' (thanks to Masahiro Tomita).
3636 src/summaryview.c: modified the DnD behavior of MIME view
3637 (thanks to HIRAMATSU).
3641 * src/about.c: applied the patch from Sergey Vlasov that fixes
3642 the appearance of the about dialog (thanks!).
3643 * src/prefs_common.[ch]
3649 src/textview.[ch]: applied the GnuPG support patch which had
3650 ported from the sylpheed-win32 branch (thanks to Sergey Vlasov).
3651 * INSTALL, INSTALL.jp: updated the description about GnuPG.
3655 * src/utils.[ch]: added references_list_append() that parses
3656 References header and makes it string list.
3657 * src/compose.c: modified so that too long References header is
3658 truncated, garbage characters are removed, and header is tidied
3659 up (thanks to Matthias Intemann).
3663 * src/addr_compl.c: applied the address completion bugfix patch
3664 from Alfons Hoogervorst (thanks!).
3668 * src/gtksctree.c: modified so that the tree_select_row signal
3669 actually pass the column number.
3670 * src/summaryview.c: summary_selected(): made generic mark and
3671 unread mark can be toggled with clicking of the columns.
3672 Added summary_mark_row_as_read() and summary_mark_row_as_unread().
3673 * src/prefs_common.c
3674 src/prefs_account.c: applied the layout fix patches from Sergey
3675 Vlasov, and adjusted some widths of GtkEntry widgets.
3676 * src/prefs.c: prefs_dialog_create(): enable notebook to take focus.
3677 * src/inc.c: inc_start(): modified so that authentication dialogs
3678 show server name too (thanks to Sergey Vlasov).
3682 * src/mimeview.c: mimeview_key_pressed(): fixed a bug that caused
3683 segmentation fault when a malformed multipart message is shown
3684 (thanks to Sergey Vlasov).
3685 * src/summaryview.c: summary_display_msg(): made it focus to the
3686 summary view if the MIME list is empty.
3690 * src/pixmaps/deleted.xpm
3691 src/pixmaps/mark.xpm
3692 src/summaryview.c: added deleted and mark icon.
3693 * src/gtkutils.c: gtkut_widget_init(): changed gtk_widget_destroy()
3694 to gtk_widget_unref().
3695 * src/addr_compl.c: start_address_completion(): fixed the bug that
3696 displayed warning when the address book was empty (thanks to
3701 * src/summaryview.c: summary_show(): fixed a memory leak bug
3702 (thanks to ChiDeok Hwang).
3703 * src/pixmaps/forwarded.xpm
3704 src/pixmaps/replied.xpm
3706 src/pixmaps/unread.xpm
3711 src/summaryview.[ch]: applied the patch from Marc Hoper
3712 that adds replied and forwarded mark to replying or forwarding
3713 messages (thanks!). And new and unread mark were replaced
3714 by the icons David Mehrmann created (thanks!).
3715 * src/summaryview.c: made the width of unread and MIME column
3717 * src/prefs.c: prefs_config_parse_one_line(): made it check the
3718 '=' separator (thanks to Sergey Vlasov).
3722 * src/prefs_common.[ch]: moved smooth scroll option to the
3724 * src/textview.c: made the one-line scroll also perform smooth
3729 * src/prefs_common.[ch]
3730 src/textview.c: applied the smooth scroll patch from Setoh and
3735 * src/summaryview.c: summary_attract_by_subject(): rewritten it
3736 using hash table for speeding up.
3737 * src/prefs_account.c: made filter_on_receive TRUE by default.
3738 * src/mainwindow.c: reordered menu items.
3742 * src/gtkutils.c: gtkut_clist_bindings_add(): fixed a bug that
3743 caused address completion not to accept space and enter key.
3748 src/codeconv.c: fixed a bug that didn't encode non-ASCII headers
3750 * src/compose.c: fixed a bug that didn't decode some headers
3751 correctly when replying or reediting drafts (thanks to Sergey
3756 * src/gtkutils.[ch]: added gtkut_widget_init() that modifies the
3757 behaviors of some classes.
3758 * src/main.c: main(): made it call gtkut_widget_init() first.
3759 * src/summaryview.c: summary_create(): removed the key binding code.
3763 * src/procmsg.[ch]: modified for the sake of readability.
3767 * src/mainwindow.c: changed "Clean trash" to "Empty trash".
3768 Added new menu items for folder manipulation.
3769 allsel_cb(): made it change the target between summary view and
3770 message view according to the input focus.
3771 Removed "Select all" from Summary submenu.
3772 * src/folderview.[ch]: added functions for creating/renaming/deleting
3774 * src/procmsg.[ch]: made "marked" and "deleted" flag permanent, and
3775 removed "important" flag.
3776 * src/summaryview.c: added summary_set_row_marks() that sets style
3777 of a row according to the flags, and made some functions use it.
3778 * src/mainwindow.c: allsel_cb(): modified so that it selects
3779 summary view correctly if message view is toggled off.
3783 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a resource
3784 leak bug of socket, and rewrote the routine.
3785 * src/inc.c: inc_mail(), inc_all_account_mail(): fixed a bug that
3786 displayed the wrong unread number in the folder tree if a
3787 folder was open and new messages arrived at the folder.
3788 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug
3793 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): made it
3794 check the existence of the destination file.
3795 * src/procmsg.c: procmsg_set_flags(): made it count the last
3796 number of the message list (and fixed a bug that didn't open
3797 newly arrived message).
3801 * src/prefs_common.c: prefs_send_create(): removed EUC-JP and
3802 Shift_JIS from the outgoing codeset.
3810 * src/send.c: send_message_queue(): modified so that it finds
3811 the account from the `From' and the server name of the queued
3813 * src/account.[ch]: added account_find_from_smtp_server() that
3814 finds an account from the specified address and SMTP server.
3817 src/summaryview.[ch]
3818 src/sourcewindow.[ch]: integrated the viewing source patch from
3819 DINH V. Hoßþ(thanks!).
3823 * src/addr_compl.[ch]
3825 src/compose.c: applied the enhanced address completion patch
3826 from Alfons Hoogervorst (thanks!).
3827 * src/addr_compl.c: replaced g_assert() with g_return(_val)_if_fail().
3828 * src/folder.c: folder_init()
3829 src/folderview.c: folderview_drag_motion_cb()
3830 src/procmsg.c: procmsg_clean_trash()
3831 src/summaryview.c: summary_start_drag()
3832 src/imap.[ch]: integrated the IMAP4 move/remove function patch
3833 from Suzuki Mio (thanks!).
3837 * src/main.c: parse_cmd_opt(): made the --compose option realize
3839 * src/utils.[ch]: execute_async(): supported quoted arguments
3841 strstr_with_skip_quote(), strsplit_with_quote(): quote-supported
3842 version of g_strsplit().
3843 * src/mimeview.c: mimeview_view_file()
3844 src/prefs_common.c: added single quotation mark around the file
3856 src/utils.[ch]: applied the security fix patch from Dmitry V.
3857 Levin with some modification (thanks!). Added my_tmpfile() to
3859 * src/main.c: added --receive-all command-line option.
3863 * src/socket.c: sock_connect_thread(): fixed a bug that didn't
3864 compile if both multithread and IPv6 are enabled (thanks to
3867 src/compose.c: applied a patch from Jason McCarver that allows
3868 FIFO for signature file (thanks!).
3869 * src/textview.c: made some more refactoring.
3870 * src/socket.c: sock_accept(): changed socklen_t to gint.
3875 src/textview.c: some code cleanups.
3881 src/textview.c: integrated the patch from Alfons Hoogervorst that
3882 fixes some glitches in clickable URI and enables mail addresses
3883 clickable, and enables the --compose command line option to
3884 specify address (thanks!).
3891 src/prefs_account.[ch]
3892 src/Makefile.am: applied the SMTP AUTH patch from Martin Schaaf
3893 and fixed its a few bugs (thanks!).
3894 * src/textview.c: textview_key_pressed(): made it don't move focus
3896 * src/main.c: parse_cmd_opt(): modified the help message.
3897 * src/html.[ch]: added empty_line to HTMLParser and modified
3898 the parser routines a bit.
3902 * src/html.c: added eucjp_symbol_list, and added some characters
3903 to ascii_symbol_list.
3907 * src/codeconv.[ch]: added a member `charset' and `charset_str'
3909 * src/html.[ch]: added the symbol list for ISO-8859-1 codeset.
3910 html_parser_new(): made it change the symbol hash table
3911 according to the character set of the document.
3912 html_parse_special(): made it recognize character code number.
3916 * src/textview.c: added textview_show_html() that parses HTML and
3918 textview_show_part(): made it call textview_show_html() if
3919 the part is text/html.
3920 * src/html.[ch]: implemented HTML parser.
3924 * src/codeconv.[ch]: added CodeConverter, and its methods
3925 (conv_code_converter_new(), conv_code_converter_destroy(), and
3927 * src/textview.c: removed the branches by HAVE_LIBJCONV and
3928 rewrote them using CodeConverter.
3932 * src/mbox.c: proc_mbox(): workaround for duplicated From_ line.
3936 * src/codeconv.c: some code cleanups.
3940 * src/mainwindow.c: main_window_popup(): fixed a bug that didn't
3941 popup the main window correctly.
3942 * src/codeconv.h: fixed a bug that the definition of CS_EUC_CN and
3943 CS_EUC_TW was reversed (thanks to Sakamoto).
3950 src/socket.[ch]: applied the patch from Hiramatu that enables
3951 prohibition of multiple execution and remote control with
3952 command line option (thanks!).
3956 * src/summaryview.c: summary_button_pressed(), summary_selected():
3957 made it toggle the view if middle button is clicked while message
3959 summary_drag_data_get(): fixed a memory leaking.
3961 src/compose.c: compose_write_headers(): modified so that it uses
3962 host_alias for X-Mailer or X-Newsreader field.
3968 * src/folderview.c: fixed a bug that prevented a folder from being
3969 created if there were already folders that have the same name
3970 somewhere at another place.
3974 * src/folderview.c: folderview_update_all(): fixed a bug that
3975 caused segmentation fault when a folder was selected after
3976 updating the folder tree.
3977 * src/compose.c: compose_send(): fixed a locking bug.
3978 compose_write_headers(): fixed a bug that referred to cur_account.
3979 compose_convert_header(): made it check the arguments.
3983 * src/main.c: some cleanups and added --help option.
3987 * src/send.c: re-enabled user-defined domain name setting.
3988 * src/utils.c: is_next_mbs(): changed the size of temporary
3989 multibyte array to MB_CUR_MAX.
3990 strdup_mbstowcs(): added error check to mbstowcs().
3991 strdup_wcstombs(): added error check to wcstombs().
3992 * src/addr_compl.c: get_address_from_edit(): made it check the
3993 return value of strdup_mbstowcs().
3994 * src/codeconv.c: conv_encode_header(): added error checking
3995 to strdup_mbstowcs().
3999 * src/utils.c: log_error(): changed g_error() to g_warning() so
4000 that it doesn't abort.
4002 * src/addr_compl.c: add_address(): fixed a bug that aborted the
4003 program if the name or the address is empty.
4004 get_address_from_edit(): supported multibyte characters.
4005 * configure.in: fixed a typo.
4006 * src/send.c: re-enabled user-defined SMTP port setting.
4012 * configure.in: added --enable-gpgme option, and disabled GPGME
4014 * made GPGME related members in MimeInfo not used if disabled.
4015 * src/rfc2015.c: some cleanups for warning.
4019 INSTALL.jp: updated.
4020 * Makefile.am: modified bzip2 option.
4024 * src/procmime.[ch]: added MIME_APPLICATION_OCTET_STREAM to
4026 * src/mimeview.c: mimeview_view_file(): made it do nothing if
4027 the MIME type is application/octet-stream.
4028 * src/folderview.c: folderview_update_all(): made it show modal
4029 dialog while updating folders.
4030 * src/folderview.c: folderview_update_all(): fixed a bug that
4031 didn't remove the dialog.
4035 * src/mimeinfo.c: merged the patch from John E.P. Hynes that
4036 launches the attached file using metamail (thanks!).
4037 * src/procmime.[ch]: added procmime_get_tmp_file_name().
4039 src/addr_compl.[ch]: merged the patch from Alfons Hoogervorst
4040 that enables address completion in the address entry on the
4041 composition window (thanks!).
4042 * src/addr_compl.c: get_all_addresses(), read_address_book():
4043 modified so that it uses xml_free_tree() for freeing the address
4048 * src/utils.c: remove_dir_recursive(): fixed a bug that failed to
4049 remove the current directory (thanks to Maki).
4050 * src/summary_search.c: added `Select all matched' option to the
4051 search dialog (thanks to Takahashi).
4052 * src/pixmaps/stock_mail_attach.xpm
4053 src/pixmaps/tb_address_book.xpm
4054 src/compose.c: added some toolbar icons contributed from
4055 Leandro Pereira (thanks!).
4059 * src/rfc2015.c: passphrase_cb(): *finally* fixed a bug that caused
4060 segmentation fault when the passphrase dialog was cancelled.
4061 Hided the passphrase in the debug message.
4062 * src/about.c: about_create(): fixed a bug that failed to compile
4063 when none of the features were used.
4064 * src/foldersel.c: foldersel_set_tree(): made it display all
4066 * src/inc.c: inc_start(): fixed a bug that showed password dialog
4067 continuously if it was cancelled.
4068 * src/summaryview.c: summary_write_cache(): put an assertion after
4069 folder_item_get_cache_file() to prevent the crash.
4070 * thanks to Maki for the above four fixes.
4071 * src/utils.h: added #include <alloca.h>.
4075 * src/rfc2015.c: changed some g_message() used for error messages
4080 * src/procmsg.[ch]: modified READ_CACHE_DATA() macro so that
4081 it can handle a string data of which length >= BUFFSIZE.
4082 * src/rfc2015.c: rfc2015_encrypt(): changed return to `goto failure'.
4083 * src/pixmaps/stock_mail_receive_all.xpm
4084 src/pixmaps/stock_mail_reply_to_all.xpm
4086 src/mainwindow.c: main_window_toolbar_create(): added new toolbar
4087 icons contributed from David Mehrmann (thanks!).
4088 * src/inc.[ch]: overhauled the architecture so that it don't create
4089 and destroy progress dialog for each incorporation in `get all'
4094 * src/mh.c: mh_scan_tree_recursive(): fixed a bug that mistook
4095 sub folders named `inbox', etc. as special folders.
4096 * src/rfc2015.c: rfc2015_encrypt(): fixed a bug that didn't quote
4101 * applied the GnuPG patch from Werner Koch (thanks!).
4102 * removed Mixmaster support.
4103 * src/rfc2015.c: changed g_error() to g_warning() and modified some
4105 * src/about.c: about_create(): modified compiled-in features list.
4109 INSTALL.jp: updated.
4110 * src/select-keys.c: create_dialog(): modified the layout.
4111 * src/headerwindow.c
4113 src/logwindow.c: made it raise the window if the window is already
4115 * src/prefs_common.[ch]: added an option for immediate execution.
4116 * src/summaryview.c: made it execute immediately when messages are
4117 moved or deleted if immediate_exec option is turned on.
4118 * src/summaryview.c: summary_delete(), summary_move_selected_to():
4119 moved summary_step() before summary_execute().
4120 * src/folderview.c: folderview_update_all(): made it scan folder
4122 * src/compose.c: compose_write_headers(): made it don't add
4123 In-Reply-To header if to_list is empty.
4125 2001-01-09 Werner Koch <wk@gnupg.org>
4127 * configure.in, acconfig.h: Check for GPGME.
4128 * ac/: New directory for local autoconf macros.
4129 * src/Makefile.am: Add support for GPGME
4131 * src/main.c (idle_function_for_gpgme): New.
4132 (main): Register this function.
4134 * src/about.c: Add a note about GPGME.
4136 * src/rfc2015.c, rfc2015.h: New.
4138 * src/mimeview.c (mimeview_show_message): Check signature.
4139 * src/procmime.c (procmime_scan_message): Ditto.
4141 * src/messageview.c (messageview_show): Add decryption stuff.
4143 * src/compose.c (compose_write_to_file): Encrypt the file if requested.
4144 (compose_toggle_encrypt_cb): New
4145 (compose_toggle_mixmaster_cb): New, just to be prepared for
4147 (compose_write_headers): Suppress some headers in mixmaster mode.
4149 * src/prefs_common.c (prefs_common_create): Add Privacy notebook sheet.
4150 (prefs_privacy_create): New. Also some new structures etc.
4151 * src/compose.c (compose_create): Set encrypt button to prefs default.
4152 * src/compose.h (struct _Compose): Add use_encryption, use_mixmaster.
4154 * src/compose.c (compose_send): Add missing unlock before one return.
4158 * src/gtksctree.[ch]
4160 src/summaryview.[ch]: applied the patch from Hiramatu that enables
4161 DnD from the summary view to the folder view and fixes some other
4163 * src/mainwindow.c: scan_tree_func(): fixed a bug that caused
4165 * src/imap.c: quoted user name in LOGIN and folder name in SELECT.
4166 * src/gtksctree.c: gtk_sctree_button_press(): fixed a bug that
4167 didn't toggle expansion of node.
4171 * src/imap.c: applied the patch from Nishimura that updates the
4172 message list more precisely and reads the message flags (thanks!).
4173 * src/textview.c: textview_show_header(): made X-Newsreader field
4175 * src/summaryview.c: summary_show(): made it flush events when
4180 * src/summaryview.c: applied the patch from Alfons that enabled
4181 the horizontal scrollbar of summary view (thanks!).
4185 * src/compose.c: compose_cb(): fixed a bug that didn't open the
4186 composition window right after launching the program.
4187 * src/setup.c: scan_tree_func(): fixed a bug that caused
4194 * src/textview.c: textview_set_font(): fixed a bug that caused
4195 segmentation fault if the mode of the text widget was changed
4196 between multibyte and singlebyte while the region was selected
4202 src/summaryview.c: made it unable to delete or move messages when
4204 * src/prefs_common.c
4205 src/news.c: added the option for maximum news article number.
4209 * src/compose.c: compose_send(): changed the location of temporary
4210 file. Made it use the default account if all of tried account
4211 aren't mail one, and made it show alert dialog and abort when even
4213 * src/prefs_account.c: prefs_account_get_new_id(): made it preserve
4215 prefs_account_open(): made it fill in personal information
4216 according to the default account when creating a new account.
4217 * sylpheed.spec.in: added to autogenerate sylpheed.spec with the
4218 proper version number (thanks to BONAIM).
4220 Makefile.am: added entries for sylpheed.spec.in.
4224 * src/compose.[ch]: modified so that it can change account
4226 * src/send.[ch]: modified so that it doesn't see cur_account.
4227 * src/prefs_account.c: modified so that news setting doesn't
4228 show SMTP server entry.
4232 * src/folderview.c: fixed a bug that didn't sort special folders
4233 correctly when a new folder is created or renamed.
4237 * src/compose.[ch]: enabled to select account at composing window.
4238 * src/folderview.c: made it display unread number next to folder
4240 * src/prefs_common.[ch]: added the option for unread number display.
4244 * src/compose.[ch]: integrated news posting patch from DINH V. Ho`
4245 and made many modifications (thanks!).
4246 compose_write_headers(): made the spaces in newsgroups removed.
4247 Supported Followup-To.
4248 compose_destroy(): got the objects removed properly.
4249 * src/news.c: merged news_post_to_group() and news_post() since
4250 they doesn't have to do multiple posting.
4251 * src/import.c: import_destsel_cb(): fixed a bug that failed to
4252 import into the selected folder.
4253 * src/prefs_account.c: modified the interfaces.
4258 prefs_common.c: changed "SHIFT-JIS" to "Shift_JIS" since the
4259 string is registerd to IANA.
4260 * src/nntp.[ch]: added nntp_post().
4261 * src/news.[ch]: added news_post() and news_post_to_group().
4265 * src/account.c: account_edit_open()
4266 src/mainwindow.c: new_account_cb(): made it unable to edit
4267 accounts if some composing windows are open.
4271 * src/folder.[ch]: added folder_set_name().
4272 * src/account.c: made a folder name of IMAP4/NNTP become the same
4273 as the name of account.
4277 * src/summaryview.c: summary_filter_func(): fixed a bug that failed
4284 * src/mbox.c: fixed a bug that didn't incorporate spool file
4285 correctly. Modified so that it recognizes From_ line as separator
4286 of messages even if the previous line isn't empty line.
4287 * src/send.c: send_message_queue()
4288 src/procmsg.c: procmsg_send_queue(): Fixed a bug that printed
4289 warning when it tried to delete a sent message.
4296 src/news.[ch]: modified so that it actually gets news articles.
4297 * src/utils.[ch]: added make_dir_hier() that creates directory
4300 folder_item_get_cache_file(), folder_item_get_mark_file():
4301 made it creates cache directory if it doesn't exist.
4302 folder_add(): made it insert the added folder into the correct
4304 * src/imap.[ch]: modified so that it suits the new folder
4305 architecture. Fixed a bug that caused segmentation fault
4306 if authentication failed at imap_auth().
4307 * src/folderview.c: implemented IMAP4 folder handling routines.
4311 * src/prefs_account.[ch]: added account ID and nntp_server
4312 to PrefsAccount. And added the interface for NNTP server.
4313 * src/folderview.c: modified news folder handling routines.
4314 * src/folder.[ch]: removed cache_dir from RemoteFolder, and
4315 modified folder_item_get_path().
4319 * src/folder.[ch]: added create_folder(), rename_folder(),
4320 remove_folder() to Folder class.
4321 * src/mh.[ch]: added mh_create_folder(), mh_rename_folder(), and
4323 Implemented mh_create_tree() that creates MH directory tree.
4324 mh_rename_folder(): modified so that the paths of sub folders
4326 * src/folderview.c: modified folderview_new_folder_cb(),
4327 folderview_rename_folder_cb(), and folderview_delete_folder_cb()
4328 so that they work properly.
4329 Added folderview_remove_mailbox_cb() and the menu entry that
4330 remove mailbox from folder tree.
4331 * src/setup.[ch]: added for initial setup.
4332 * src/alertpanel.c: modified the appearance of the dialog.
4333 * src/compose.c: fixed compose_save_to_outbox() and
4334 compose_queue() so that it sets flags correctly.
4338 * src/mainwindow.c: modified the strings of toolbar labels.
4342 * src/gtkutils.[ch]: added gtkut_ctree_node_move_if_on_the_edge().
4343 * src/summaryview.c: summary_display_msg(): made it scroll the
4344 list if the message of the edge of that is displayed.
4349 src/mh.[ch]: added functions for moving messages.
4350 * src/procmsg.[ch]: moved procmsg_move_messages_with_dest()
4351 to folder.c and mh.c. Added procmsg_to_folder_hash_table().
4355 * src/utils.[ch]: added get_tmp_file().
4358 src/folder.c: fixed a bug that failed to drop messages.
4359 * src/mh.c: mh_scan_folder(): made it check new, unread, and total
4360 number of the folder.
4364 * src/folderview.c: added special folder setting routine.
4365 * src/folder.[ch]: added a method is_msg_changed().
4366 Implemented folder_find_item_from_path().
4367 * src/summaryview.c: fixed some bugs that wrongly freed FolderItem's.
4368 * autogen.sh: fixed so that the configure can take arguments.
4373 src/mainwindow.[ch]: added main_window_new_mailbox() that asks
4374 the path of mailbox and create the one.
4375 * src/folderview.c: made the folder tree and selected folder
4381 src/folder.c: implemented mh_scan_tree() that scans the folder
4382 recursively and create the tree.
4402 src/summaryview.[ch]
4404 src/Makefile.am: merged the development tree into the cvs tree.
4405 Some functions are not unimplemented yet.
4413 * src/xml.[ch]: supported omitted tag (<tag />).
4414 * src/procmsg.c: procmsg_msg_exist(): fixed a memory leak bug.
4415 * src/imap.c: imap_parse_atom(): fixed a bug that caused
4416 segmentation fault if the subject was empty (thanks to Tsutsui).
4417 * src/folder.[ch]: updated.
4421 * src/xml.[ch]: added xml_parse_file() that parses the whole XML
4422 file specified and returns the tree.
4426 * po/pt_BR.po: fixed some typos that caused segmentation fault.
4432 * src/session.h: added.
4433 * src/folder.[ch]: updated.
4434 * src/compose.c: compose_write_to_file()
4435 src/codeconv.c: conv_get_outgoing_charset_str(): fixed a bug
4436 that put a garbage to charset if the outgoing character set was
4437 specified and non-ascii characters were used in subject.
4441 * src/statusbar.c: statusbar_puts(): fixed a bug that locked the
4442 progress if the status bar was hidden.
4446 * src/folder.[ch]: added for the more object-oriented folder