3 * src/send_message.c: send_message_smtp(): consider EOF right after
4 QUIT successful (workaround for Gmail SMTP server).
5 * src/socket.c: ssl_read(), ssl_peek(): check EOF which violates the
10 * src/about.c: updated copyright year.
19 procmime_scan_content_type()
20 procmime_scan_content_disposition(): fixed possible stack buffer
22 * src/codeconv.c: conv_unmime_header()
23 src/unmime.[ch]: unmime_header(): added an argument for buffer size
24 and restricted the size of decoded string to remove the possibility
29 * src/smtp.c: smtp_ehlo_recv(): strict check for AUTH string.
33 * src/textview.c: textview_show_html(): force output of newline.
37 * src/account.c: account_find_from_message_file(): added missing
38 NULL terminator of the HeaderEntry array which had introduced
39 crash on re-edit (thanks to Michael Schwendt).
47 * src/codeconv.[ch]: removed conv_unmime_header_overwrite() because
48 it had introduced buffer overflow.
49 * src/compose.c: compose_parse_header(): don't use
50 conv_unmime_header_overwrite() which introduced buffer overflow.
54 * src/compose.c: compose_destroy(): destroy paned only if it's not
55 attached to window. Fixed memory leak of popup menu.
63 * src/compose.c: compose_parse_header(): generate References: from
64 In-Reply-To: even if the parent message doesn't have Message-Id:
69 * src/compose.c: compose_write_attach(): force transfer encoding to
70 protect trailing spaces for PGP signing.
74 * src/compose.c: compose_write_file(): force transfer encoding to
75 protect trailing spaces for PGP signing (fixes incompatibility
76 between gnupg 1.2 and 1.4) (thanks to Thorsten Maerz).
80 * INSTALL, INSTALL.jp: modified description about gpgme.
88 * src/select-keys.c: use_untrusted(): modified to use alertpanel().
92 * supported gpgme-1.0 (thanks to Toshio Kuratomi).
96 * src/passphrase.c: gpgmegtk_passphrase_cb(): Removed unused variables:
97 passphrase_cb_info_s *info and gpgme_ctx_t ctx. The
98 passphrase_cb_info_s * was just to get the ctx. The ctx is no longer
99 needed as gpgme1.0 returns a blank line as the passphrase when an
100 action is cancelled instead of calling gpgme_cancel on the context.
102 - sig_status_full(): Get rid of gpgme_error_t err as we no longer
103 invoke ant gpgme functions that can return an error.
104 - check_signature(): Initialize verifyresult to NULL and be sure it
105 has been set when using it to get a result string.
106 - rfc2015_create_signers_list(): gpg_error_t is not directly
107 comparable to the error types. Use gpgme_err_code(err) to get the
108 type of error we are dealing with.
109 - pgp_sign(): Initialize result to NULL. Catches potential bug on
110 error condition later in the function.
112 + Initialize bytesRW to -1 which may prevent potential bugs on
114 + Remove siginfo. It was replaced by micalg.
116 - set_row(): When creating the string for the algorithm type, use a
117 normal int rather than a long int.
118 - fill_clist(): Use gpgme_err_code(err) to get type of error as
119 gpg_error_t is not directly comparable to GPG_ERR_* constants.
120 - select_btn_cb(): Remove char *s that temporarily holds the key
121 fingerprint as keylists are now built without using this.
122 - cmp_email(): Remove an extraneous return statement that was left in
123 accidentally when the new code went in above it.
128 - include gtkdialog.h
129 - use_untrusted(): New function that creates a dialog to ask the user
130 whether to encrypt with an untrusted key.
131 - trust_key_cb(): Callback to use if the user wants to encrypt with
133 - do_not_trust_key_cb(): Callback to use if the user doesn't want to
134 encrypt with an untrusted key.
135 - select_btn_cb(): Utilize the use_untrusted function to make sure
136 the user wants to encrypt with an untrusted key.
137 * src/rfc2015.c: pgp_encrypt(): Use GPGME_ENCRYPT_ALWAYS_TRUST when
138 encrypting. It is the responsibility of gpgmegtk_recipient_selection
139 to make sure the user knows if recipients are untrusted.
144 - Add a new color entry for untrusted but valid signatures.
145 - textview_add_part(): Color untrusted signatures.
147 - Move sigstatus_to_string() and sig_status_with_name() functionality
148 into sigstatus.c: gpgmegtk_sig_status_to_string().
150 - gpgmegtk_sig_status_to_string(): Add a boolean name argument that
151 allows us to specify the output should display name information
152 or just a status string.
153 + Check if a signature was created by a trusted key and add that
154 information to the output of the function.
155 - Switch to the new gpgmegtk_sig_status_to_string function.
157 - Change the interface to gpgmegtk_sig_status_to_string().
162 - rfc2015_find_signature(): Changed to return an array of two
163 MimeInfo structs. The first has the multipart/signed MimeInfo.
164 The second has the signature part of the MimeInfo. This allows
165 us to work with messages that contain some mime information that
166 was signed and some that was not (as generated by mailman
168 - rfc2015_find_signature(): If the toplevel Content-Type is
169 multipart/mixed, recursively scan through the subparts for a
170 multipart/signed block.
171 - rfc2015_check_signature(): Use the new interface to
172 rfc2015_find_signature and free the data returned to us from it.
173 * src/rfc2015.h: Change the signature for rfc2015_find_signature().
174 * src/mimeview.c: Use the new interface to rfc2015_find_signature()
175 and free the data returned from it.
179 * src/rfc2015.c: sig_status_for_key(): Fix a segfault when the key is
180 not found in the user's keyring.
184 * Ported the code to gpgme-1.0.
185 - Many types have had their names changed to conform to GNU
186 standards. For example, instances of GpgmeCtx have been changed to
187 gpgme_ctx_t. These cosmetic alterations are not noted below.
188 * configure.in: Enable large file support because the gpgme library is
190 - Update to require gpgme 0.4.5 or above.
191 * src/main.c: main(): replaced gpgme_check_engine with
192 several calls that do the equivalent in gpgme 0.4.5 and above:
193 gpgme_check_version, gpgme_set_locale, gpgme_get_engine_info,
194 and gpgme_get_protocol_name are used.
195 - Remove gpgme_register_idle callback. The gpgme library will now
196 block while processing instead of periodically allowing the gtk
197 mainloop to run. This can be fixed by interfacing to the gpgme
198 io callback interface if anyone has the ambition.
199 * src/passphrase.c: passphrase_mbox(), create_description(), and
200 gpgmegtk_passphrase_cb now take an exploded description of the
201 passphrase to look for since the gpgme library hands us the
202 description in seperate pieces.
203 - gpgmegtk_passphrase_cb(): has been changed to the new gpgme
204 passphrase callback signature -- notably writing the passphrase
205 to a file descriptor and returning a gpgme_error_t to indicate
207 * src/passphrase.h: Change to the signature of
208 gpgmegtk_passphrase_cb().
211 - Use gpgme_data_seek calls instead of deprecated gpgme_data_rewind.
212 - gpgme_data_read and gpgme_data_write have changed signature to be
213 more like fread/fwrite. Adapted code to use this.
214 - Convert to gpgme_key_t array from removed GpgmeRecipients.
215 - Use gpgme_signature_t's directly instead of GpgmeSigStat.
216 - sig_status_to_string() and sig_status_with_name(): changed to
217 use a gpgme_error_t instead of removed GpgmeSigStat.
218 - pgp_sign(): Calculate the micalg directly from knowledge of the
219 hash as it's no longer returned from a gpgme library function.
220 This obsoletes find_xml_tag() and extract_micalg() so they've
222 * src/select-keys.c: Adapt struct select_key_s to an array of
223 gpgme_key_t and the length of the array rather than a
224 GpgmeRecipients struct (which is removed.)
225 - gpgmegtk_recipient_selection now returns a gpgme_key_t NULL
226 terminated array instead of a GpgmeRecipients struct.
227 - Use values stored in the gpgme_key_t instead of looking up ATTRs
228 on the key as the ATTR methods are deprecated.
229 - Implement cmp_name() and cmp_email() as wholly separate functions
230 instead of using a common subfunction, cmp_attr() as there's no
231 longer a generic way of combining these two. Removed cmp_attr()
232 as ATTRs are deprecated.
233 * src/select-keys.h: gpgmegtk_recipient_selection signature changed.
234 * src/sigstatus.c: Get status information directly from the
236 - gpgmegtk_sig_status_to_string(): Uses a gpgme_error_t instead of
237 Removed GpgmeSigStat.
238 * src/sigstatus.h: gpgmegtk_sig_status_to_string signature has changed
243 * src/template.c: template_write_config(): fixed a memory leak.
247 * src/inc.c: inc_finished(): removed warning when updating a
248 folder item while no folder is selected.
254 src/procmsg.c: ignore 0-numbered message file. Don't use symbol
255 'fileno' used in stdio.h.
256 * src/messageview.c: messageview_show(): check if
257 procmsg_msginfo_get_full_info() succeeds (fixes crash when
258 opening 0-numbered message) (thanks to WAKAI Kazunao).
262 * src/template.c: template_write_config(): fixed potential memory
267 * src/pop.[ch]: added POP3_DONE to Pop3State (it is set when logout
269 pop3_write_uidl_list(): force output of UIDLs of deleted messages
270 when POP3 session is aborted (thanks to Masahiro Tomita).
274 * src/Makefile.am: use AM_CPPFLAGS and AM_YFLAGS instead of CPPFLAGS
275 and YFLAGS (they are reserved for users).
283 * src/account.c: account_delete(): fixed the crash on deleting a
284 remote account if the corresponding folder was selected (Debian BTS
289 * NEWS, TODO, TODO.jp: updated.
290 * manual/ja/sylpheed.sgml: updated.
294 * src/action.c: parse_append_filename(): escape all special characters
295 without quote (thanks to IWAMOTO Kouichi and Yoichi Imai).
301 INSTALL.jp: updated the confirmation list.
309 * src/compose.c: compose_wrap_line_all_full(): fixed the logic of
314 * manual/ja/sylpheed.sgml: updated.
324 src/vcard.c: removed '... defined but not used' warnings.
328 * src/compose.c: compose_wrap_line_all_full(): only insert space
329 when joining lines if the first character of the next line is not
330 space, or it's a boundary between multi- and single-byte characters.
334 * src/action.c: parse_append_filename(): escape special characters
335 (thanks to IWAMOTO Kouichi).
336 * src/utils.c: subst_for_filename(): also substitute single quote.
340 * src/compose.c: compose_wrap_line_all_full(): fixed joining line
341 problem when the first character of the next line is not
346 * src/main.c: send_queue()
347 src/mainwindow.c: send_queue_cb()
348 src/compose.c: compose_send(), compose_send_later_cb(): ask user
349 to switch to online if in offline mode when sending.
353 * src/imap.c: applied bitlength_clean_up.imap.c.patch that fixes the
354 integer length problem on 64-bit platforms (thanks to Alfons).
362 * src/pixmaps/regular.xpm: removed unused icon.
368 * src/pop.c: pop3_write_msg_to_file(): don't convert single CRs to
369 LFs (thanks to Alfons).
370 * src/utils.[ch]: my_memmem(): original implementation of memmem().
374 * manual/ja/sylpheed.sgml: updated for the latest version.
378 * src/pixmaps/unread.xpm: adjusted the hue of image.
382 * src/filter.c: removed C99 '//' comments.
386 * src/pixmaps/dir-close.xpm
387 src/pixmaps/dir-open.xpm
388 src/pixmaps/dir-noselect.xpm
389 src/pixmaps/group.xpm: adjusted the hue of images.
393 * src/pixmaps/dir-close.xpm
394 src/pixmaps/dir-open.xpm
395 src/pixmaps/dir-noselect.xpm
396 src/pixmaps/group.xpm: replaced with new images.
400 * src/pixmaps/folder.xpm: removed.
404 * src/summaryview.c: changed one-letter column titles to icons.
405 * src/pixmaps/mail.xpm: new.
409 * src/summaryview.c: summary_execute(): pop summary statusbar message.
413 * src/prefs_common.c: added Web browser commands.
417 * manual/ja/sylpheed.sgml: updated for the latest version.
418 * manual/ja/Makefile.am: added target 'update-html'.
423 INSTALL.jp: updated the confirmation list.
427 * src/jpilot.c: unify the coding style.
428 * src/mainwindow.c: fixed duplicated accelerator.
432 * src/procmsg.c: write_mark_func(): fixed bad cast on the system that
433 sizeof(gpointer) != guint.
437 * src/mainwindow.c: fixed English (trashes -> trash).
438 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menu
443 * src/mainwindow.c: changed the menu label "Empty trash" to
452 * src/pixmaps/error.xpm: made them smaller size to fit CList row.
456 * src/jpilot.c: applied the JPilot addressbook Japanese support
457 patch (thanks to IWAMOTO, Kouichi).
462 src/procmime.[ch]: use BASE64 encoding if the ratio of 8bit
463 characters in attaching text files is greater than 20%, otherwise
464 use quoted-printable (or 7bit if not at all).
468 * src/compose.c: compose_write_attach()
469 src/procmime.c: procmime_decode_content():
470 canonicalize text files before encoding to BASE64, and
471 uncanonicalize after decoding to conform with RFC 2045
472 (thanks to Nicolas Degory).
476 * src/pixmaps/complete.xpm
477 src/pixmaps/continue.xpm: made them smaller size to fit CList
482 * src/statusbar.c: statusbar_create(): set the width of widget to 1
483 not to expand automatically.
484 * src/utils.[ch]: trim_string_before(): trim beginning characters
485 longer than the specified length and add "...".
487 src/summaryview.c: use trim_string_before() to display folder name.
492 src/prefs_common.c: made mozilla-firefox as default browser.
496 * src/summaryview.c: summary_key_pressed()
497 src/textview.c: textview_key_pressed(): back scroll when Shift or
498 Alt and Space key is pressed. Also back scroll when Shift and Enter
503 * src/foldersel.c: foldersel_new_folder(): select newly created
516 src/prefs_account.[ch]: obsoleted RecvProtocol::A_APOP and made an
518 prefs_account_protocol_set_optmenu(): refactored.
522 * src/folderview.c: folderview_empty_trash_cb(): removed unused
527 * src/summary_search.c: use C string instead of wide character string.
528 Enabled AND/OR matching.
532 * src/folderview.[ch]
533 src/mainwindow.c: change menu sensitivity of File/Folder and
534 File/Mailbox according to selected folder.
535 Enabled newsgroups subscription from 'File/Folder/Create new folder'.
539 * src/folderview.[ch]
540 src/mainwindow.c: reorganized folder/mailbox menus.
541 Enabled 'Remove mailbox', 'Check for new messages' and
542 'Rebuild folder tree' on main menu.
543 Removed 'Remove mailbox' from the folder context menu.
549 src/procmsg.[ch]: added 'Empty trash' to the folder context menu.
554 src/summaryview.c: don't move/delete immediately when
555 immediate_execution is off.
563 * upgraded to gettext-0.14.1.
567 * src/compose.c: reorganized the menu.
568 * src/mh.c: removed g_print() for debug.
574 src/template.[ch]: added Cc: to template parameter.
578 * src/prefs_filter_edit.c: fixed condition menu switching problem
579 on editing existing rules.
583 * src/filter.c: filter_action_exec(): update counters of FolderItem
584 on local filtering (fixes wrong folderview message count).
588 * src/mbox.c: proc_mbox(): check if folder_table is NULL (fix
593 * src/pixmaps/stock_add_16.xpm
594 src/pixmaps/stock_remove_16.xpm: converted from stock icons in
596 * src/prefs_filter_edit.c: use icons for add/remove button.
597 * src/stock_pixmap.[ch]: added add/remove icons.
601 * src/pixmaps/stock_dialog_error_48.xpm
602 src/pixmaps/stock_dialog_info_48.xpm
603 src/pixmaps/stock_dialog_question_48.xpm
604 src/pixmaps/stock_dialog_warning_48.xpm: converted dialog icons from
605 stock icons in gtk-2.4.
606 * src/alertpanel.[ch]: added icons to the alert dialog.
607 alertpanel_message(): Added AlertType.
608 * src/stock_pixmaps.[ch]: added dialog icons.
613 * src/procmsg.c: removed verbose debug prints.
621 * src/procmsg.c: procmsg_send_queue()
622 src/send_message.c: send_queue_info_free(): fixed segmentation fault
623 when trying to send an invalid queued message.
627 * src/mainwindow.c: added separators to the File menu.
628 * src/prefs_filter_edit.c: removed some debug prints.
632 * src/inputdialog.c: input_dialog_open(): don't start auto-checking
633 mail while opening the input dialog.
637 * src/mh.c: mh_remove_all_msg()
638 src/procmsg.c: procmsg_empty_trash(): fixed wrong message count
639 after emptying trash.
643 * src/prefs_filter.c: fixed a bug that didn't add an auto-created
645 * src/prefs_filter_edit.c: prefs_filter_edit_dialog_to_rule(): check
650 * src/filter.c: filter_apply_msginfo(): don't apply filter if
651 FilterRule::enabled == FALSE.
652 * src/prefs_filter.c: implemented Enabled column.
653 * src/account.c: account_selected(): modified the behavior of
658 * src/colorlabel.c: modified the menu label size. Removed "None" from
661 src/prefs_filter_edit.c: implemented color label action.
662 * src/summaryview.c: summary_filter_func(): update summary flags
663 when flag action is performed.
667 * src/prefs_filter_edit.c: added color label.
668 * src/colorlabel.c: modified the menu label size and border.
673 src/prefs_filter_edit.c: improved error handling when creating a
678 * src/prefs_common.c: adjusted the default size of views.
683 src/prefs_filter_edit.c: implemented size/age condition.
684 * src/menu.[ch]: menu_get_option_menu_active_user_data(): new.
688 * src/prefs_filter_edit.c: select previous item when editing header
693 * src/prefs_filter.[ch]
694 src/prefs_filter_edit.c
695 src/procheader.[ch]: implemented user-defined header dialog.
700 filter_action_exec(): modified local filtering.
701 strmatch_regex(): use case-insensitive regex.
702 * src/summaryview.[ch]: display filtering result to the status bar.
706 * src/filter.[ch]: implemented filter rule application timing.
707 * src/prefs_fil_er_edit.c: prefs_filter_edit_action_hbox_set():
708 fixed a bug that didn't display parameter of PF_ACTION_EXEC.
712 * src/prefs_filter.c: prefs_filter_write_user_header_list(): use
713 prefs_file_open() instead of fopen().
718 src/prefs_filter.c: implemented load/save of user-defined
723 * src/inc.c: inc_spool()
724 src/prefs_common.c: modified spool path config so that users can
725 specify both file and directory.
729 * src/prefs_filter.[ch]
730 src/prefs_filter_edit.[ch]: implemented creating filter rule by
735 * src/mimeview.c: mimeview_drag_data_get()
736 src/summaryview.c: summary_drag_data_get(): fixed broken URI in
742 src/summaryview.c: fixed local filtering.
743 * src/mh.c: mh_copy_msgs(): restored missing 'else'.
747 * src/foldersel.c: foldersel_new_folder(): fixed possible memory
748 corruption, and write folder list data after appending.
749 * src/summaryview.c: summary_show(): up FolderItem::opened flag
750 after reading message list.
759 src/summaryview.c: properly handle 'new' flags by using
760 FolderItem::mark_queue.
765 src/inc.c: modified 'new' flags management.
769 * src/prefs_filter.c: don't move to the last row when opening the
770 dialog. Clear CList when closing.
777 src/prefs_filter_edit.c
778 src/summaryview.c: implemented FLT_ACTION_EXEC and FLT_ACTION_DELETE.
782 * src/prefs_filter.c: auto-scroll when a new rule is added.
783 open edit dialog when a rule is double-clicked.
784 prefs_filter_copy_cb(): implemented.
785 * src/prefs_filter_edit.c: implemented action "Stop rule evaluation".
792 src/prefs_filter_edit.c
793 src/summaryview.c: renamed FilterResult to FilterInfo, and added
794 account to its members.
795 Implemented command test, size, age, account, and on-receive
798 src/procheader.c: procheader_parse_file(): also get file size and
803 execute_command_line(): return exit status.
808 src/inc.c: save all types of performed actions.
809 filter_rule_rename_dest_path(): modified for the new system.
810 filter_rule_delete_action_by_dest_path(): delete actions that
812 * src/mbox.c: proc_mbox(): ignore FLT_ACTION_NOT_RECEIVE.
813 * src/prefs_filter.c: prefs_filter_delete_path(): modified for the new
817 summary_filter_func(): modified for the new system.
821 * src/filter.[ch]: implemented message body match.
823 procmime_find_string_part()
824 procmime_find_string(): take function pointer for matching.
825 * src/procmsg.[ch]: added file_path (which is only used for temporary
826 messages) to MsgInfo.
827 procmsg_msginfo_copy()
828 procmsg_msginfo_free(): handle extra members.
829 * src/summary_search.c: modified for procmime_find_string().
830 * src/summaryview.c: filter_apply_local() -> filter_apply_msginfo().
831 * src/utils.[ch]: added function for string match.
833 src/undo.c: removed redundant debug messages.
837 * implemented the new filtering system (still in progress).
839 src/filter.[ch]: implemented reading/writing of filter XML data.
840 * src/prefs_filter.[ch]
841 src/prefs_filter_edit.[ch]: implemented UI for the new filtering
847 src/summaryview.c: modified for the new filtering system.
848 * src/menu.h: MENUITEM_ADD(): create separator if label is NULL.
849 * src/procheader.[ch]: added some utility functions.
850 * src/utils.c: open_uri(): modified warning message.
854 * src/main.c: removed parsing of "./gtkrc".
860 ssl_peek(): check SSL before reading data (fixes freeze when
862 * src/session.[ch]: session_set_access_time(): new.
865 src/nntp.c: only update last_access_time when successfully
866 receiving a server response.
867 * thanks to Cedric Pradalier for above.
871 * src/xml.[ch]: code cleanup and added some functions.
875 * src/pop.[ch]: pop3_getrange_uidl_recv(): relaxed invalid UIDL
883 src/prefs_account.[ch]
884 src/prefs_common.[ch]: unified *_{save,write}_config() to
890 procheader_get_one_field()
891 procheader_get_unfolded_line(): fixed a bug that unfolding was
892 broken if the sequence 'SP CR LF' appeared (thanks to NOGUCHI,
897 * src/prefs_common.c: made the default of confirm_on_exit FALSE.
901 * src/menu.[ch]: added menu_set_active().
902 * src/compose.c: don't change 'View/Auto wrapping' mode when selecting
907 * src/compose.[ch]: autowrap can be switched on/off from the compose
916 * src/session.c: session_set_timeout(): fixed a bug that didn't
917 reset timeout_tag when interval is 0.
921 * src/gtkstext.c: gtk_stext_update_text(): added null checking for
922 cache (thanks to Jim Hranicky).
926 * src/defs.h: increased CACHE_VERSION to work around the
927 incompatibility of the cache on some platforms (ex. FreeBSD).
928 * src/procmsg.c: procmsg_read_cache(): discard all read cache data
929 if an error occurred.
933 * src/summaryview.[ch]: hide 'Re-edit' menu when it's unusable.
939 src/session.[ch]: implemented session timeout.
940 * src/pop.h: removed unused values from Pop3ErrorValue.
944 * src/inc.c: inc_all_account_mail(): code cleanup.
948 * src/procmsg.c: procmsg_read_cache_data_str(): changed gint32 to
949 guint32 for some platforms.
950 * src/summaryview.c: restored 'Print' menu.
954 * src/about.c: modified copyright year.
962 * src/smtp.c: comply with RFC 2821 (thanks to Alfons).
966 * src/folderview.[ch]: implemented spring-loaded folder.
970 * src/folderview.c: folderview_button_pressed(): enable menu item
971 'Search messages...' only when opened folder is selected.
976 src/prefs_common.[ch]: removed the option "Queue messages that fail
981 * src/summaryview.c: cleaned up the context menu.
982 * src/mainwindow.c: changed the position of '/Message/Re-edit'
987 * src/procmsg.[ch]: fixed the type of integer value in cache data
992 * src/nntp.c: nntp_get_article(): ignore the protocol error of
993 response for some broken news servers (thanks to Davide Scola).
997 * src/gtkutils.[ch]: added gtkut_editable_disable_im().
998 * src/passphrase.c: disable XIM on entering passphrase.
1005 src/prefs_display_header.c
1006 src/procmsg.h: fixed for AMD64 (and other 64-bit platforms)
1007 (thanks to Hiroyuki Ikezoe).
1011 * src/inc.[ch]: don't use gtk_timeout_add(), instead use
1012 gettimeofday() (to prevent infrequent lockup).
1017 src/inc.[ch]: changed the method of updating the progress dialog
1018 to reduce the overhead on a fast network.
1022 * src/nntp.c: nntp_session_new(): attempt to authenticate at the
1023 beginning of a session (thanks to Shiino Yuki and IWAMOTO, Kouichi).
1025 src/nntp.c: destroy session when socket error occurred.
1030 src/summaryview.[ch]: added a function to filter selected
1036 src/prefs_filter.c: rewrote the filtering system (the UI is not
1041 * src/filter.c: fixed the matching algorithm of "not contain" flag
1042 (also match if a header not exist, and handle same multiple
1044 * src/imageview.c: get_resized_size(): fixed a typo that caused
1050 src/mh.c: only update FolderItem::last_num when removing the last
1051 number of message in MH folders, and don't scan in other case
1052 (fixes wrong message count on moving).
1057 src/summaryview.c: always move messages by default when using DnD
1058 (except for News folder). Copy messages if Ctrl-key is pressed.
1059 * src/mainwindow.c: main_window_empty_trash()
1060 src/summaryview.c: summary_execute(): added missing
1061 statusbar_pop_all().
1069 * src/prefs_common.c: made the default of "inc_local" FALSE.
1074 src/folderview.c: toggle online mode when checking IMAP4 accounts.
1075 Pop status bar after that.
1076 * src/inc.c: code cleanup.
1077 * src/mainwindow.[ch]: added main_window_get() and
1078 main_window_toggle_online_if_offline().
1079 * src/prefs_common.c: prefs_common_read_config(): fixed a bug that
1080 made it offline mode on first execution.
1084 * src/imageview.c: enabled automatic resize on window resize.
1085 restrict the minimum size to 16 pixels to prevent crash.
1086 imageview_init(): don't cache images when using imlib.
1087 imageview_show_image(): fixed memory leak.
1088 * src/mimeview.c: mimeview_init(): call imageview_init().
1092 * src/codeconv.[ch]: added ISO-2022-JP-3 encoding.
1098 src/messageview.c: added KOI8-U encoding.
1099 * src/prefs_common.c: prefs_message_create(): modified the string
1100 of resizing image option.
1104 * src/addressbook.c: addressbook_list_selected(): corrected its
1106 * src/imageview.[ch]: keep original image data in ImageView, and
1107 enabled the toggle of resizing.
1108 * src/messageview.[ch]
1109 src/mimeview.[ch]: handle ImageView in MimeView instead of
1116 src/summaryview.c: removed statusbar_pop_all() from imap.c and
1117 news.c (do it in summaryview.c).
1122 src/pop.[ch]: made inc_drop_message() the virtual function of
1123 Pop3Session and removed the dependency of pop.c on inc.h.
1128 src/messageview.[ch]
1129 src/textview.c: added statusbar to the message view with new window.
1133 * src/inc.[ch]: use hash table for progressive update.
1134 changed update interval to 2 sec.
1138 src/summaryview.c: added FolderItem::unmarked_num to correct the
1139 folder message counting.
1143 * src/inc.[ch]: update folderview progressively.
1144 * src/foldersel.c: display full id for selected item.
1148 * src/folderview.[ch]: code cleanup.
1149 folderview_append_item(): new. It appends the folder to the folder
1151 * src/foldersel.c: foldersel_new_folder(): use
1152 folderview_append_item().
1156 * src/foldersel.c: implemented 'create new folder' function.
1157 * src/folder.[ch]: folder_find_child_item_by_name(): new.
1158 * src/utils.h: AUTORELEASE_STR(): convert malloc'd string into
1159 auto-release (alloca'd) one.
1163 * src/folderview.c: put together folderview_new_imap_folder_cb() into
1164 folderview_new_folder_cb().
1168 * src/compose.c: compose_write_to_file(): removed redundant strlen()
1170 * src/textview.c: textview_button_pressed(): select correct account
1171 when address is clicked.
1179 * src/folder.c: folder_item_fetch_all_msg()
1180 src/folderview.c: folderview_download_cb(): show progress with
1182 * src/mainwindow.[ch]: added new functions for progressbar.
1186 * src/summaryview.c: summary_key_pressed(): GDK_Left should only
1187 switch to folderview when summaryview hscrollbar is at the leftmost
1188 position (thanks to Alfons).
1192 * src/codeconv.c: conv_euctojis(): made JIS X 0201 Kana conversion
1194 * src/prefs_common.[ch]: added PrefsCommon::allow_jisx0201_kana
1199 * src/codeconv.c: conv_euctojis(): force JIS X 0201 Kana to JIS X 0208
1204 * src/imap.c: imap_get_msginfo(): fixed wrong counting.
1217 src/quote_fmt_parse.y
1218 src/quoted-printable.c
1223 src/xml.c: fixed wrong type of argument for ctype functions (char
1224 had been passed instead of unsigned char).
1229 * src/mainwindow.[ch]: added MainWindow::messageview_cid.
1230 Clear messageview when it is hidden.
1231 * src/textview.c: show URL to the statusbar when its link is clicked.
1232 textview_uri_security_check(): compare real URL and apparent one
1233 and show warning if it seems to be a fake URL.
1235 is_uri_string(): return TRUE if the string seems like a URL.
1236 get_uri_path(): return URL except for its scheme part.
1240 * src/folder.[ch]: folder_item_fetch_all_msg(): new. It fetches all
1241 messages in a folder.
1242 * src/folderview.c: implemented 'Download' feature.
1246 * src/gtkutils.[ch]: implemented ComboButton which adds an arrow
1247 menu button to a button.
1248 * src/mainwindow.[ch]: main_window_toolbar_create(): added combo
1249 button to reply and forward button.
1253 * src/mainwindow.c: fixed automatic expansion of window size because
1258 * src/addr_compl.[ch]
1259 src/gtkshruler.[ch]: changed the copyright notice.
1263 * src/gtkstext.c: find_line_params(): also break between mutlibyte
1264 and single-byte characters.
1268 * src/gtkstext.c: find_line_params(): break lines between multibyte
1269 characters on word wrap mode.
1273 * src/codeconv.c: conv_iconv_strdup(): fixed crashes on LP64
1274 environments (thanks to James Noyes).
1275 * src/compose.c: compose_select_account(): don't turn off the sign/
1276 encrypt option automatically.
1280 * src/inc.[ch]: made inc_account_mail() public.
1281 * src/mainwindow.c: moved receive menus into submenu, and added
1282 dynamic menus for receiving from each account.
1290 * src/procmsg.c: procmsg_open_data_file(): set buffer if DATA_READ
1291 is specified and a buffer is given.
1292 procmsg_open_cache_file_with_buffer(): new.
1293 procmsg_read_cache(): fixed a bug that called setvbuf() after an
1294 file I/O which caused buffer read error.
1302 * configure.in: enable IPv6 support by default.
1306 * src/inc.c: inc_mail(), inc_all_account_mail(): ask user to switch
1307 to online when in offline mode.
1308 * src/mainwindow.h: added main_window_toggle_online().
1315 src/stock_pixmap.[ch]
1316 src/pixmap/dir-noselect.xpm: made no-select folders display with
1317 dim icon and string.
1318 * src/Makefile.am: added offline.xpm, online.xpm, and
1319 dir-noselect.xpm to EXTRA_DIST.
1323 * src/folder.h: added macro FOLDER_ITEM_CAN_ADD().
1324 * src/folderview.c: folderview_drag_motion_cb(): code cleanup.
1325 folderview_drag_received_cb(): don't accept at no_select folder or
1327 * src/foldersel.c: made folders on which no_select flag is set not
1332 * src/imap.c: imap_do_copy_msgs(), imap_remove_msgs(): code cleanup.
1333 set MSG_INVALID flag when messages are deleted.
1334 * src/mh.c: mh_do_move_msgs(), mh_remove_msg(): set MSG_INVALID flag
1335 when messages are deleted.
1337 procmsg_move_messages()
1338 procmsg_copy_messages(): return error status.
1339 Added MSG_INVALID to MsgTmpFlags.
1340 * src/summaryview.c: summary_execute(): detect errors and only remove
1341 nodes that are invalidated.
1342 summary_unthread_for_exec(): fixed a bug that didn't remove nodes
1347 * src/mainwindow.[ch]: added online switch button to the statusbar,
1348 and "/File/Work offline" in the menu.
1349 * src/pixmaps/offline.xpm
1350 src/pixmaps/online.xpm: new (borrowed from
1351 themes/classic/communicator/icons/ in Mozilla).
1352 * src/stock_pixmap.[ch]: added online.xpm and offline.xpm.
1353 * src/textview.[ch]: textview_show_error(): new.
1354 * src/summaryview.c: summary_display_msg_full(): update marks only
1355 if messages are displayed.
1356 * src/prefs_common.[ch]: added PrefsCommon::online_mode.
1357 * src/news.c: news_session_get()
1358 src/imap.c: imap_session_get(): return NULL when in offline mode.
1359 * src/messageview.[ch]: messageview_show(): return status whether
1360 messages are successfully displayed. Display error messages in
1361 the view when failed.
1363 procmsg_get_message_file()
1364 procmsg_open_message(): don't output warnings when fetch failed.
1368 * src/html.c: html_get_tag(): support attributes which don't have
1373 * src/codeconv.c: conv_get_code_conv_func(): return conv_latintodisp
1374 only if src_charset and current charset is identical or current
1375 one is multibyte (fixes display of ISO-8859-5 on KOI8-R locale etc.).
1379 * autogen.sh: don't include m4 directory in aclocal.
1380 * intl/libgnuintl.h: removed from cvs.
1381 * po/.cvsignore: added stamp-po and remove-potcdate.sed.
1385 * upgraded to gettext-0.12.1.
1387 2003-11-24 gettextize <bug-gnu-gettext@gnu.org>
1389 * Makefile.am (SUBDIRS): Add m4.
1390 (ACLOCAL_AMFLAGS): New variable.
1391 (EXTRA_DIST): Add config.rpath.
1392 * configure.in (AC_OUTPUT): Add m4/Makefile.
1396 * configure.in: added check for d_type member in struct dirent.
1397 * src/mh.c: mh_scan_folder(): use d->d_type if available.
1398 mh_get_uncached_msgs(): removed redundant stat().
1399 mh_parse_msg(): return NULL if not a regular file.
1400 mh_scan_tree_recursive(): use d->d_type if available.
1402 dirent_is_regular_file()
1403 dirent_is_directory(): new. Use d->d_type to determine the type
1404 of entry if available.
1405 remove_dir_recursive(): use dirent_is_directory().
1409 * src/folder.h: added 'updated' flag to FolderItem.
1410 * src/folderview.[ch]: folderview_update_all_updated(): new. It
1411 updates all updated folders.
1412 * src/imap.c: set FolderView::update flag on changes of contents.
1413 * src/main.c: send_queue()
1414 src/mainwindow.c: send_queue_cb(): code cleanup.
1415 * src/mh.c: code cleanup.
1416 mh_scan_folder(): correctly count new messages.
1417 * src/procmsg.[ch]: code cleanup.
1418 procmsg_open_cache_file(): new.
1419 procmsg_open_mark_file(): enable read/write/append.
1420 procmsg_send_queue(): correctly choose outbox for accounts.
1421 * src/send_message.[ch]: send_get_queue_info(): get a queue
1422 information from queued messages.
1423 send_queue_info_free(): free QueueInfo.
1424 send_message_queue(): take QueueInfo as an argument instead of file.
1425 * src/summaryview.c: summary_write_cache(): code cleanup.
1429 * src/compose.c: compose_redirect_write_headers(): correctly add
1434 * src/imap.c: imap_get_msg_list(): fallback to FETCH command if SEARCH
1435 command to get flags failed.
1436 imap_search_flags(): returns UID array and flags hash table using
1438 imap_fetch_flags(): returns UID array and flags hash table using
1443 * src/summary_search.c: summary_search_execute(): fixed 'Select all
1444 matched' when backward search is enabled.
1445 Made the backward search button insensitive when 'select all
1446 matched' is enabled.
1454 * src/imap.c: imap_scan_tree(): check the existence of root directory
1455 with LIST instead of STATUS.
1459 * src/send_message.c: fixed format string bug (exploitable by
1460 malicious SMTP server) when calling alertpanel_error()
1461 (thanks to Georgi Guninski).
1468 src/news.[ch]: refactoring of the folder system (based on the claws'
1477 src/summaryview.c: use FOLDER_TYPE() macro at every place.
1485 * src/addressbook.c:
1486 addressbook_folder_load_person()
1487 addressbook_folder_load_group(): sort the ctree after the end of
1488 the loop (fixes performance issue when many addresses are in one
1489 folder) (thanks to christian mock).
1493 * src/folderview.c: folder_init(): code cleanup.
1494 * src/summaryview.c: summary_init(): check if boldfont is
1495 successfully loaded.
1496 * src/grouplistdialog.c: use proper callback for delete_event (thanks
1498 * src/imap.c: allow zero-length messages.
1499 * src/recv.c: recv_bytes_write(): return immediately if size == 0.
1503 * src/folderview.c: folderview_init(): if font can't be loaded, fall
1504 back to gtk default (fixes crashes on startup). Also removed the
1509 * src/compose.c: compose_insert_sig(): insert signature at the
1510 current cursor position on manual operation.
1514 * src/summaryview.c: summary_key_pressed(): don't ignore delete key
1515 even if the main window is locked.
1519 * src/action.c: improved synchronous action exit code (fixes long
1520 delay after action exit on RH9) (thanks to Melvin).
1521 * src/stringtable.[ch]: string_table_insert_string(): modified the
1522 code to remove the warning "dereferencing type-punned pointer will
1523 break strict-aliasing rules".
1524 Use const gchar * instead of gchar * for arguments.
1528 * src/utils.[ch]: generate_mime_boundary(): a new function to create
1529 MIME boundary (moved from rfc2015.c).
1530 Removed more special characters.
1531 Use random() instead of lrand48() which is obsolete.
1532 Added an argument for prefix to prevent duplication.
1533 Always add "=_" as a counter-QP sequence to simplify the code.
1535 rfc2015_decrypt_message()
1537 rfc2015_sign(): fixed a bug that didn't handle continuous content
1540 src/rfc2015.c: use generate_mime_boundary().
1545 folderview_delete_folder_cb()
1546 folderview_remove_mailbox_cb(): close currently displayed folder
1547 before removing FolderItem (fixes crash on deleting folder).
1549 src/imap.[ch]: imap_scan_tree()
1550 src/mh.[ch]: mh_scan_tree(): return -1 when scanning failed.
1551 * src/summaryview.c: summary_clear_all(): also clear the message view.
1552 * src/imap.c: imap_close(): fail if the specified folder is not
1554 imap_scan_tree(): check if the specified root directory exist, and
1555 try creating it if not.
1556 imap_parse_list(): output warning if a server returns error.
1557 imap_find_namespace_from_list(): support not slash-delimited path.
1558 imap_status(): don't return values if they're not specified.
1562 * sylpheed.spec.in: fixed a typo.
1573 src/prefs_common.[ch]: added the receive dialog's option to
1574 display the dialog only on manual receiving, and the
1575 RECV_DIALOG_ACTIVE option was removed.
1579 * src/compose.c: compose_write_headers(): also replace ':' in the
1580 MIME boundary with '_' (as a workaround for broken servers).
1584 * src/imap.c: imap_scan_tree_recursive(): fixed compile error.
1588 * src/prefs_filter.c: added 'Top' and 'Bottom' button.
1592 * src/folder.[ch]: folder_item_remove_children(): new. It removes
1593 all children under a FolderItem.
1594 * src/folderview.c: folderview_rescan_tree(): modified the message.
1595 * src/imap.c: imap_scan_tree(), imap_scan_tree_recursive(): reuse
1596 the previous FolderItem objects.
1600 * src/folder.[ch]: added a reference to its own GNode in FolderItem.
1601 folder_item_remove(): free all FolderItem's.
1602 folder_tree_destroy(): use folder_item_remove().
1603 * src/folderview.c: folderview_sort_folders(): keep the order even
1604 if special folders' parents are different.
1605 * src/imap.c: imap_scan_tree_recursive(): fixed a memory leak.
1606 * src/mh.c: mh_scan_tree(): preserve the previous FolderItem's.
1607 mh_remove_missing_folder_items(): scan the directories and remove
1609 mh_scan_tree_recursive(): reuse the previous FolderItem objects.
1613 * src/mainwindow.c: always reflect window size changes.
1614 * src/folderview.c: folderview_init()
1615 src/summaryview.c: summary_init(): realize the widget before
1617 * src/prefs_common.[ch]: remember the folder and mesage view's
1623 src/prefs_common.[ch]: remember the size and position of
1625 main_window_set_widgets(): fixed a bug that the hidden items on
1626 the header view were shown when changing the view type.
1627 Instead of setting the window size, set the each view's size.
1631 * src/compose.c: compose_select_account(): don't append signature
1633 compose_insert_sig(): don't insert "\n\n" if signature string
1634 doesn't exist. Always insert signature at the end of message.
1638 * improved sylpheed.spec.in (thanks to Andre Oliveira da Costa).
1642 * minor code cleanups for the folder system.
1643 * src/compose.c: compose_queue(), compose_draft_cb(): code cleanup.
1644 * src/folder.c: code cleanups.
1646 src/mh.c: calculate message numbers inside the functions.
1647 * src/procmsg.c: procmsg_set_flags(): calculate message numbers.
1648 * src/summaryview.[ch]: don't calculate and preserve message numbers
1657 src/summaryview.c: renamed *_msgs_with_dest() to *_msgs().
1661 * src/imap.[ch]: use CAPABILITY to use protocol extentions.
1662 imap_greeting(): parse initial server greeting. Also support
1665 imap_cmd_append(): use APPENDUID responses if UIDPLUS is supported.
1669 * src/imap.c: imap_get_flag_str(): fixed a buffer overrun.
1677 * src/main.c: main(): don't save config files on startup.
1682 imap_get_msg_list(): removed redundant UID SEARCH ALL when not
1684 Unset MSG_NEW flag if \Seen is set.
1685 imap_get_uncached_messages(): fetch all messages if both first_uid
1690 * src/imap.c: revamped the implementation so that it always
1691 exactly reflects the state of IMAP4 servers.
1692 imap_get_msg_list(): examine the state of messages using
1693 UID SEARCH commands.
1694 imap_delete_cached_message(): removes single message cache.
1695 imap_get_uid(): removed.
1696 imap_cmd_search(): new. It issues UID SEARCH command and returns
1698 imap_cmd_gen_recv(): made the length of strings unrestricted.
1699 imap_get_uid_table(): returns a hash table from UID array.
1706 src/news.[ch]: added Folder::close() method.
1707 * src/summaryview.c: summary_clear_list(): call folder_item_close().
1711 * flags are now taken over when copying messages into IMAP folders
1718 mh_add_msgs(): flags can be also specified when adding files.
1719 * src/folder.[ch]: added assertions for virtual functions.
1720 * src/procmsg.[ch]: procmsg_get_message_file_list(): return the list
1722 procmsg_message_file_list_free(): new.
1726 * src/procmsg.h: changed MsgPermFlags and MsgTmpFlags from enum to
1727 guint32 for portability (thanks to Alfons).
1728 * src/imap.c: imap_add_msgs(): removed redundant unlink().
1733 session_read_msg_cb()
1734 session_read_data_cb(): fixed a bug that ran into infinite loop
1735 if connection was closed by remote host (thanks to Yoichi Imai).
1736 Added SESSION_EOF state to SessionState.
1737 session_is_connected(): new.
1738 * src/inc.[ch]: inc_put_error()
1739 src/send_message.c: send_put_error(): also put log messages.
1743 * more optimization of IMAP4.
1744 * src/folder.[ch]: added a method add_msgs() that adds multiple files
1746 Removed redundant scan() for the operations of FolderItem.
1747 * src/imap.[ch]: implemented Folder::add_msgs() and optimized move
1748 and copy from other Folder instances.
1749 * src/mh.[ch]: implemented Folder::add_msgs() and cleaned up the code.
1750 mh_fetch_msg(): scan folder if required.
1751 * src/procmsg.[ch]: procmsg_get_message_file_list(): returns file
1752 list from message list.
1753 * src/summaryview.c: don't remove MSG_MARKED flags on
1754 delete/move/copy operation.
1755 summary_display_msg_full(): removed redundant message fetching.
1759 * optimized move/copy/delete/mark operations of IMAP4 by using
1760 sequence set when issuing commands (adopted claws' implementation
1761 with cleaning it up).
1763 imap_set_message_flags()
1766 imap_cmd_store(): take sequence set string instead of UID number.
1767 imap_do_copy_msgs_with_dest(): optimized by using sequence set.
1768 imap_cmd_fetch(): use BODY.PEEK instead of BODY.
1769 imap_remove_all_msg()
1770 imap_set_message_flags(): use FLAGS.SILENT instead of FLAGS.
1772 src/summaryview.c: use imap_msg_list_{set,unset}_perm_flags()
1773 instead of issuing commands for each message.
1778 src/prefs_account.[ch]
1780 src/session.[ch]: added an option to enable/disable non-blocking
1785 * src/compose.c: compose_attach_append(): display message's subject
1786 when attaching message/rfc822 file.
1793 session_read_msg_cb()
1794 session_read_data_cb(): optimized by removing sock_peek() and
1795 buffering received data in user space (correctly implemented
1800 * src/session.c: reverted the previous change because it couldn't
1801 handle data receiving after messages correctly.
1807 session_read_msg_cb(): optimized by removing sock_peek() and
1808 buffering messages in user space.
1812 * src/imap.[ch]: refactored.
1813 Changed all functions that have SockInfo arguments to take
1815 Made imap_cmd_count an instance variable: IMAPSession::cmd_count.
1816 imap_open(): only establish TCP (or SSL) connection.
1817 imap_session_new(): process greeting and authentication here.
1821 * src/imap.[ch]: implemented CRAM-MD5 authentication, and made code
1823 * src/prefs_account.[ch]: added option menu for IMAP4 authentication
1824 type in Receive tab, and hide other protocols' frames.
1828 * src/mainwindow.c: send_queue_cb(): don't scan folder twice if
1830 * src/procmsg.c: procmsg_send_queue(): return number of sent
1836 main_window_set_toolbar_sensitive()
1837 main_window_set_menu_sensitive(): removed the locking of file
1838 operations while receiving mail.
1842 * src/folder.[ch]: folder_item_remove_msg(): take MsgInfo as an
1843 argument instead of message number.
1844 * src/imap.[ch]: imap_remove_msg(): reimplemented using
1846 * src/mh.[ch]: mh_do_move(): reimplemented using
1847 mh_do_move_msgs_with_dest().
1848 mh_copy_msg(): reimplemented using mh_copy_msgs_with_dest().
1849 * src/procmsg.c: procmsg_send_queue(): modified to use message list.
1853 * src/rfc2015.c: rfc2015_is_encrypted(): check MimeInfo::mime_type
1854 to suppress some warnings.
1855 * src/logwindow.c: log_window_append(): don't scroll up when trimming
1860 * src/compose.c: add 'Content-Disposition: inline' to a text/plain
1861 part when using PGP/MIME signing.
1869 * src/defs.h: changed UI_REFRESH_INTERVAL from 40msec to 50msec.
1870 * src/session.c: session_read_msg_cb(): make it always fail if
1871 sock_read() returns by error.
1872 * src/socket.[ch]: sock_check(): handle exceptional SSL condition.
1873 sock_has_pending_data(): removed.
1874 Removed debug output.
1875 * src/send_message.c: send_recv_message(): display messages to
1880 * src/inc.[ch]: update received message number on CList while
1882 * src/session.c: session_read_data_cb(): optimized by removing
1883 g_malloc() and memcpy().
1887 * src/socket.[ch]: sock_add_watch(): new. It monitors SSL by original
1888 watch functions (otherwise uses g_io_add_watch()).
1889 * src/session.[ch]: removed previous workarounds, and replaced
1890 g_io_add_watch() with sock_add_watch().
1894 * src/socket.[ch]: added sock_has_pending_data() which returns TRUE
1895 if socket has pending data.
1896 * src/session.c: session_recv_msg(), session_recv_data(): check if
1897 socket has pending data and call the callbacks immediately in that
1898 case (fixes the hang at ESMTP EHLO on SSL).
1902 * src/socket.c: check return value in SSL functions.
1906 * src/mimeview.c: mimeview_init(): initialize TextView to prevent
1907 slowdown caused by GTK+ themes (thanks to Yuri Arapov).
1911 * src/session.c: session_read_data_cb(): clear Session::read_data_buf
1912 before calling callbacks.
1916 * src/socket.c: made socket connection protocol independent.
1917 * src/session.c: removed debug g_print().
1918 * src/inc.c: made status bar output less verbose, and show counter
1919 on main window's progressbar.
1923 * src/session.c: added missing #include <errno.h>.
1927 * src/session.[ch]: reimplemented the Session system with non-blocking
1928 I/O to solve the performance and the code design issue.
1929 * src/socket.[ch]: added sock_connect_async() and
1930 sock_connect_async_cancel() to enable asynchronous connection.
1931 sock_peek(): modified the implementation.
1932 * src/pop.c: optimized the receiving of the responses of
1937 * src/procmsg.c: procmsg_get_thread_tree(): prevent threading problems
1938 when a node is an ancestor (parent / great parent), which mostly
1939 happens with circular references (thanks to Phillipe Gramoulle
1940 for finding an sample set of messages, and Alfons for the patch).
1944 * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
1945 UIDL list is not found (fixes inability of initial retrieval).
1949 * src/main.c: added the option '--status-full' which shows the status
1950 of each folder specified. The option '--status' also takes
1951 following arguments for folders (thanks to Yuri Arapov).
1952 * src/folder.[ch]: folder_get_status(): new. it takes the array of
1953 folders as the argument and returns their status.
1954 folder_count_total_msgs(): removed.
1964 src/inputdialog.c: use gtk_main_iteration() instead of gtk_main()
1965 to prevent abort when a button is double-clicked.
1969 * src/addr_compl.c: invalidate_address_completion(): check if
1970 g_completion_list is NULL (thanks to Kazuhiro NISHIYAMA).
1974 * src/pop.c: pop3_session_recv_data_finished(): fixed a bug that
1975 deleted messages that is to be kept on server (thanks to Tristan
1985 sock_set_io_timeout(): new. It sets the timeout interval.
1986 sock_gdk_input_add(): removed since it's not used anymore.
1987 * src/prefs_common.[ch]: added an option to set the timeout parameter.
1991 * src/action.c: fixed a bug that didn't hide user string in
1992 create_io_dialog() (thanks to Markus Amersdorfer).
1993 Removed ChildInfo::type and added Children::action_type.
1997 * src/inc.c: inc_start(): ask every password before retrieving.
1998 Don't popup the redundant error dialog.
2000 inc_all_account_mail()
2001 inc_progress_dialog_set_list(): separated account list display
2002 into a new function.
2003 inc_progress_dialog_set_label()
2004 inc_recv_data_finished()
2005 inc_recv_message(): properly update the dialog when RETR finished.
2010 imap_modified_utf7_to_locale()
2011 imap_locale_to_modified_utf7(): fixed compilation failure when not
2016 * src/procmime.c: procmime_scan_multipart_message(): fixed parsing
2017 of message/rfc822 parts.
2021 * src/pop.c: pop3_ok(): detect timeout error.
2025 * src/imap.c: imap_locale_to_modified_utf7(): fixed the encoding bug
2026 when locale strings include '+'.
2027 imap_modified_utf7_to_locale()
2028 imap_locale_to_modified_utf7(): at least escape/unescape '&' even
2029 if iconv() is not supported.
2034 compose_insert_sig()
2035 compose_get_signature_str(): include separator in signature string.
2036 Don't insert separator if signature file is not found.
2037 Disabled use of implicit default signature path (~/.signature) when
2047 src/quote_fmt_parse.y
2048 src/smtp.c: suppress warnings that gcc-3.3 issues.
2049 src/stringtable.c: use string_entry_free().
2053 * src/compose.c: compose_insert_sig(): fixed the bug that always
2054 appended signature separator if signature file was not found.
2055 compose_get_signature_str(): fixed the bug that caused crash if
2056 signature file cannot be opened.
2064 * src/session.c: session_recv_msg(): removed debug print.
2071 imap_cmd_fetch(): check for data size that servers return (fixes
2072 vulnerability found in BugTraq).
2076 * src/addr_compl.c: get_complete_address()
2077 src/addressbook.c: addressbook_format_address()
2078 src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
2079 characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
2080 * src/main.c: main(): set colormap and visual to solve color problem
2081 in Solaris (thanks to Markus Schwarzenberg).
2089 * src/prefs_account.c: temporarily removed POP before SMTP option.
2093 * src/prefs_common.[ch]: changed the description of "Open message when
2094 cursor keys are pressed on summary".
2095 * src/summaryview.c: summary_show(): open message when always_show_msg
2100 * src/logwindow.[ch]: restrict the maximum lines of the log messages
2101 to reduce the memory usage.
2105 * src/compose.c: compose_insert_sig(): fixed a crash when signature
2106 string contains illegal sequence.
2107 * src/utils.[ch]: changed get_wcs_len() to get_mbs_len() for accuracy.
2111 * major refactoring of MIME structure.
2112 * src/procmime.c: procmime_scan_message(): decrypt message if
2113 gpgme is enabled. Create multipart tree only if content-type is
2114 multipart/* or message/rfc822.
2115 procmime_scan_multipart_message(): fixed the scanning of
2116 message/rfc822 part.
2117 * src/action.c: parse_append_msgpart()
2118 src/messageview.c: messageview_show()
2119 src/mimeview.c: mimeview_show_message(): use procmime_scan_message()
2120 instead of procmsg_open_message() and procmime_scan_mime_header().
2121 mimeview_set_multipart_tree(): conform to the new MIME structure.
2122 * src/textview.c: textview_show_part(): removed unnecessary check.
2123 * src/procmsg.c: procmsg_open_message_decrypted(): fixed the file
2124 pointer when decryption failed.
2128 * src/ssl.c: ssl_init_socket_with_method(): replaced log_warning()
2129 by g_warning(), and log_print() by debug_print().
2130 * src/pop.[ch]: added an error code PS_NOTSUPPORTED, and retry with
2131 LAST if UIDL is not supported.
2135 * src/codeconv.c: conv_get_code_conv_func(): convert to EUC-JP only
2136 if it is the current locale encoding when dest_charset_str is NULL.
2140 * src/action.c: execute_actions(): fixed crash when no text widget
2141 is selected (thanks to Paul and Melvin).
2143 src/prefs_actions.c: added missing reference to Claws team in the
2150 session_send_data(): fixed a memory leak and data sending bug.
2151 * src/send_message.c:
2152 send_message_smtp(): fixed focus management.
2156 * src/smtp.[ch]: set the response string to SMTPSession::error_msg
2158 * src/send_message.c: show error dialog if error occurred.
2159 * src/main.c: send_queue()
2160 src/mainwindow.c: send_queue_cb(): don't show error dialog here.
2164 * src/session.c: session_close(): kill child process only if
2165 state is not SESSION_DISCONNECTED.
2166 * src/send_message.c: send_cancel_button_cb()
2167 src/inc.c: inc_cancel(): don't set Session::state to
2168 SESSION_DISCONNECTED.
2169 * src/prefs.[ch]: modified the names of prefs_write_*().
2170 * src/address.[ch]: removed.
2174 * src/compose.c: compose_template_apply(): overwrite recipients.
2178 * src/procheader.c: procheader_date_parse(): removed debug print.
2179 * src/session.c: changed every g_print to debug_print.
2180 session_child_input(): removed unrequired session_close() (it'll
2181 be closed anyway after returning FALSE).
2182 * src/send_message.c: send_message_smtp(): changed g_print to
2187 * src/procheader.c: procheader_procheader_date_parse(): don't add
2188 local timezone offset if timezone is unknown.
2189 Made the Y2K workaround code to follow RFC 2822.
2190 procheader_scan_date_string(): workaround for date strings which
2191 don't have timezone specification.
2192 * src/utils.c: remote_tzoffset_sec(): return -1 if timezone is
2197 * src/action.[ch]: refactored. Also fixed a bug on MIME mode, and
2198 some memory leaks on error.
2199 action_update_msgview_menu(): new.
2200 * src/messageview.[ch]: added "Tools/Actions" menu. Keep window list.
2201 messageview_get_selected_mime_part(): returns MimeInfo of selected
2202 part when MessageView is in MIME mode.
2203 * src/mimeview.[ch]: mimeview_get_selected_part(): returns MimeInfo
2205 * src/summaryview.[ch]: summary_get_selected_msg_list(): returns
2206 MsgInfo list of selected messages.
2210 * src/prefs_filter.[ch]: include original message's headers as
2211 the preset keywords. Modified the sizes of the widgets.
2212 * src/utils.[ch]: added str_case_equal() and str_case_hash() for
2213 case-insensitive hash.
2217 * src/procmsg.c: procmsg_get_filter_keyword(): added X-Sequence to
2218 auto-detected headers.
2222 src/mainwindow.c: modified function names.
2223 get_user_string(): Use input_dialog() instead of its own
2228 * src/codeconv.[ch]: conv_encode_header(): don't include '(' and ')'
2229 in encoded strings if addr_field is TRUE.
2230 * src/compose.c: compose_convert_header(): added a flag 'addr_field'.
2234 * src/prefs_actions.[ch]: separated action execution routine into
2239 * src/prefs_actions.c: minor code cleanup.
2243 * src/codeconv.[ch]: conv_iconv_strdup(): fixed the handling of
2249 inc_recv_data_progressive()
2250 inc_recv_data_finished()
2253 send_send_data_progressive()
2254 send_send_data_finished(): added assertion.
2258 * src/codeconv.[ch]: conv_iconv_strdup(): fixed potential memory
2263 * src/codeconv.[ch]: conv_iconv_strdup(): don't include nul character
2264 in source buffer since it messed up some encoding conversion (like
2269 * src/procmsg.c: procmsg_get_filter_keyword(): unfold headers and
2270 extract ID from List-Id header.
2271 * src/utils.[ch]: extract_one_parenthesis_with_skip_quote(): removed.
2272 extract_list_id_str(): extract ID string from List-Id header.
2276 * src/prefs_actions.c: merged from the claws branch. Fixes several
2277 bugs and adds some features.
2281 * src/compose.c: compose_parse_header(): fixed a bug that unnecessary
2282 linebreaks were included on reediting.
2284 src/pop.c: fixed typos: 'occured'.
2288 * src/compose.[ch]: implemented auto signature replacement on
2290 compose_insert_sig(): added a flag to replace current signature.
2291 compose_get_signature_str(): new. It returns signature string.
2292 compose_insert_command_output(): removed.
2293 compose_select_account(): call compose_insert_sig() on account
2295 compose_destroy(): fixed a memory leak of UndoMain object.
2296 Compose::sig_str: new. It stores current signature string.
2297 * src/gtkutils.[ch]: gtkut_stext_find(): new.
2298 Renamed gtk_stext_clear() to gtkut_stext_clear().
2299 * src/utils.[ch]: get_wcs_len(): returns wide-character length of
2301 normalize_newlines(): converts CR+LF and CR into LF.
2302 get_command_output(): returns command output.
2306 * src/procmsg.[ch]: procmsg_get_filter_keyword(): new. It returns
2307 filter keyword for messages.
2308 * src/summaryview.c: summary_filter_open(): use
2309 procmsg_get_filter_keyword().
2310 * src/messageview.c: create_filter_cb(): implemented.
2316 inc_put_error(): display server responses on error.
2317 * src/pop.[ch]: added Pop3Session::error_msg, and set server responses
2322 * src/messageview.[ch]: separated the forced charset of message view
2323 in separate window from the main window.
2325 textview_show_message()
2326 textview_show_part()
2327 textview_add_part(): use MessageView::forced_charset if specified.
2331 * src/mainwindow.c: modified File menu a bit.
2332 * src/menu.[ch]: added functions to handle item factory rc strings.
2333 * src/messageview.[ch]: added a menu, and made it take over main
2334 window's menu shortcuts.
2335 added msginfo which is duplicated on display to MessageView.
2336 * src/prefs_common.c: prefs_keybind_apply_clicked(): use
2337 menu_factory_clear_rc().
2341 * send_message.c: send_message_smtp():
2342 re-enabled forcing of SMTP AUTH method.
2343 Clear temporary password if authentication failed.
2344 * smtp.c: output warning to log and set SMTPSession::error_val
2346 * smtp.h: changed error value to enum. Added SMTPSession::error_val.
2347 * src/mbox.c: proc_mbox(): force updating of folder.
2351 * src/pop.h: changed error value to enum.
2352 * src/pop.c: pop3_retr_recv(): return PS_IOERR when inc_drop_message()
2354 pop3_ok(): return appropriate error value based on current state.
2355 Output warning to log if error occurs.
2360 src/news.[ch]: refactored. Remove NNTPSockInfo and use NNTPSession
2365 * src/inc.c: inc_pop3_session_do(): retrun appropriate error if
2366 Session::state == SESSION_ERROR.
2367 * po/POTFILES.in: removed src/automaton.c and src/send.c.
2368 Added src/send_message.c.
2373 src/session.c: fixed breakage of POP3 retrieval.
2374 session_recv_data_from_sock_unescape(): read until terminator
2375 appears and also return the actual size.
2379 * src/automaton.[ch]: removed.
2380 * src/session.c: removed some of the debug output.
2381 * src/smtp.c: smtp_session_recv_msg(): workaround in case server
2382 returns EHLO-style response to HELO command.
2383 Ignore all multiline responses except for EHLO since they are
2384 allowed for any command.
2389 src/pop.c: fixed retrieval of messages which contain dot-escaped
2391 session_recv_data(): added a flag for unescape.
2392 session_recv_data_from_sock_unescape(): new. It receives message
2393 for each line and unescapes dot-escaped lines.
2394 Removed the previous workaround.
2395 * src/defs.h: decreased UI_REFRESH_INTERVAL to 40 msec.
2399 * src/pop.[ch]: workaround for brekage of retrieval when given size
2400 and actual one is different.
2404 * src/pop.c: pop3_retr_eom_recv(): ignore invalid end of message
2405 since some servers sometimes return incorrect message size.
2406 * src/news.c: news_session_new(): zero clear NNTPSession object.
2407 Don't initialize Session::sock with nntp_sock->sock to prevent
2408 double-free of SockInfo.
2409 * src/imap.c: zero clear IMAPSession object.
2410 imap_cmd_append(): don't close SockInfo.
2414 * src/pop.c: pop3_session_recv_msg(): fixed STLS.
2419 src/pop.[ch]: reimplemented using new I/O system.
2420 * src/session.[ch]: session_recv_data(): new.
2421 session_send_data_to_sock()
2422 session_recv_data_from_sock(): decreased the frequency of progress
2427 * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
2431 * src/session.[ch]: session_start_tls(): new.
2432 session_recv_msg(): made it static.
2436 * implemented asynchronous network I/O.
2437 * src/session.[ch]: the interface to communicate with servers through
2440 src/send_message.[ch]: rewrote using new I/O system.
2441 * src/socket.[ch]: renamed *_write() to *_write_all(), and made
2442 *_write() as just a simple wrapper for write().
2443 * src/utils.c: get_outgoing_rfc2822_str(): new. It modifies the
2444 message to send with SMTP or NNTP.
2445 file_read_stream_to_str(): new.
2449 * src/textview.c: textview_button_pressed(): corrected the range of
2451 * src/compose.c: compose_wrap_line_all_full(): treat UTF-8 characters
2452 represented with more than 2 bytes as 2 character width and 2 bytes
2453 one as a single character width as a workaround for wrapping problem.
2457 * src/utils.c: subject_compare_for_sort(): allow null strings (fixes
2462 * implemented HTML link correctly.
2463 * src/html.[ch]: HTMLAttr, HTMLTag: new structure for attributes /
2465 html_get_tag(): new. It parses tag and returns HTMLTag object.
2466 html_parse_tag(): also parses <a> tags and 'href' attributes.
2467 * src/textview.c: textview_write_link(): new. It creates link string.
2471 * src/compose.c: compose_wrap_line_all_full(): fixed an infinite
2472 loop / crash bug (thanks to Darko Koruga).
2473 compose_write_to_file(): put correct charset element when
2474 conversion failed but want to send anyway.
2478 * src/headerview.c: headerview_show()
2479 src/textview.c: textview_write_line(): remove unreadable characters
2480 from displayed strings to prevent crashes on multi-byte
2482 * src/codeconv.[ch]: conv_unreadable_locale(): new. It was separated
2483 from conv_localetodisp().
2487 * src/procmsg.c: procmsg_cmp_by_subject()
2488 src/summaryview.c: summary_cmp_by_subject(): ignore Re: when
2491 subject_compare_for_sort()
2492 trim_subject_for_sort(): new.
2500 * src/defs.h: added -i option to the default sendmail command.
2504 * src/codeconv.[ch]: added missing character encodings and locales.
2509 procmsg_get_mark_sum()
2510 procmsg_open_mark_file()
2511 procmsg_read_mark_file(): take FolderItem instead of directory
2516 * src/codeconv.c: conv_encode_header(): fixed a bug that spaces
2517 which is on the wrap boundary would be lost when encoding long
2518 non-ascii strings (thanks to Sergey Vlasov).
2519 Don't force wrapping within a long word until it reaches hard line
2520 length limit (998 characters) (workaround for the breakage of
2521 long address list with no spaces).
2525 * src/prefs_account.c: fixed compile failure when using neither
2530 * src/codeconv.c: fixed UTF-8 locale support.
2531 conv_get_code_conv_func(): return conv_noconv if locale encoding
2532 is UTF-8. Return conv_latintodisp on ISO-8859-* to locale encoding
2534 conv_convert(): call conv_iconv_strdup() instead of
2535 conv_codeset_strdup().
2536 conv_codeset_strdup(): moved some codes into conv_iconv_strdup().
2540 * src/prefs_account.[ch]: added an option to use command output for
2542 * src/compose.c: compose_insert_sig(): use command output if
2544 compose_insert_command_output(): new.
2548 * src/main.c: main(): remove lock socket if sylpheed is not running
2549 when --status command is executed.
2550 lock_socket_remove(): new.
2554 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
2555 codeset is US-ASCII (or POSIX).
2559 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
2560 and continue conversion.
2564 * src/summaryview.c: summary_selected(): always update widget
2569 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
2570 date in timezones more than GMT+12 or less than GMT-12.
2574 * src/prefs_common.[ch]
2575 src/sourcewindow.c: remember the size of source window.
2576 * src/md5.c: fixed a compile problem with gcc 3.3.
2580 * src/about.c: about_create(): modified the copyright notice.
2584 * src/colorlabel.c: don't use pixmaps for label color rect but draw
2585 rectangles so we can respect the color map of palette based visuals
2586 (fixes the long time crashes on Solaris - thanks to Alfons
2591 * src/procheader.c: procheader_date_parse(): made month string case
2593 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
2594 selection list is empty.
2598 * src/quote_fmt_parse.y: removed gettext translatable strings.
2599 * src/unmime.c: unmime_header(): remove broken characters when
2600 code conversion failed.
2601 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
2602 headers if long words more than 75 characters are entered.
2606 * src/prefs_account.c: prefs_account_receive_create()
2607 src/utils.c: to_human_readable(): made units translatable.
2611 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
2612 at first byte (fixes abort() problem of glibc).
2613 * src/html.c: html_read_line(): remove characters which can't be
2614 displayed on the current locale.
2619 trim_subject_for_compare(): renamed from trim_subject().
2620 trim_subject(): new. It removes [...] or (...) at the beginning
2622 * src/prefs_folder_item.c
2624 added options for trimming summary / compose subject.
2625 * src/summaryview.c: summary_set_header(): trim subject if the folder
2627 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
2633 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
2634 X-Face header problem).
2635 conv_encode_header(): allow up to 97 characters for one word.
2639 * src/filter.c: filter_match_condition(): fixed the bug that
2640 second condition ignored regex.
2641 * src/news.h: NewsGroupInfo: use guint for message numbers
2642 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
2646 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
2647 on code conversion failure.
2648 conv_get_charset_str()
2649 conv_get_charset_from_str(): optimized using hash table.
2653 * src/quote_fmt_parse.y:
2654 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
2655 treat only "\n-- \n" as a signature separator.
2659 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
2660 * src/summary_search.c: summary_search_execute(): search collapsed
2666 conv_unreadable_latin(): include 0x7f as an unreadable character.
2667 conv_localetodisp(): don't remove 8bit characters by default.
2668 conv_get_current_charset()
2669 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
2670 appended at the last of locale name.
2671 * src/compose.c: compose_write_to_file(): show from and to encoding
2672 when code conversion failed.
2680 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
2681 (thanks to Colin Leroy).
2682 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
2687 * src/textview.c: textview_write_line(): don't convert if conv is
2692 * src/codeconv.[ch]:
2693 renamed conv_guess_encoding() to conv_guess_ja_encoding().
2694 conv_localetodisp(): new. It removes unreadable characters from
2695 (assumed) current locale string.
2696 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
2697 NULL and current locale encoding is US-ASCII.
2698 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
2699 specified for destination charset.
2700 * src/textview.c: textview_write_line(): use conv_localetodisp()
2701 instead of strncpy2() if conversion failed.
2705 * src/codeconv.c: conv_iconv_strdup()
2707 imap_modified_utf7_to_locale()
2708 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
2709 a warning on some systems.
2710 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
2712 Return NULL instead of incomplete string if conversion failed.
2716 * src/summaryview.c: summary_execute(): select appropriate node
2717 if currently selected node is to be deleted.
2718 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
2719 TRUE if the specified node is selected.
2723 * src/summaryview.c: summary_status_show(): fixed a occasional crash
2724 on deleting or moving.
2728 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
2729 of EUC-JP more accurate.
2730 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
2742 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
2743 duplication bug if the source string has CRLF.
2745 canonicalize_str(): new. Returns newly allocated canonicalized
2747 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
2748 uncanonicalize_file_replace(): new.
2749 * src/compose.c: always canonicalize body before processing, and
2750 uncanonicalize before returning.
2754 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
2755 ENC_8BIT for Russian charsets.
2756 * src/compose.c: compose_write_to_file(): use base64 when signing
2761 * src/prefs_common.c: prefs_send_create(): added a description for
2762 the setting of Content-Transfer-Encoding.
2766 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
2768 * src/procmime.c: procmime_get_encoding_for_charset(): return
2769 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
2770 * src/compose.c: compose_attach_append(): set correct Content-
2771 Transfer-Encoding for message/rfc822.
2772 compose_write_to_file(): enabled user-definable Content-Transfer-
2774 * src/prefs_common.[ch]: added an option for user-defined Content-
2779 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
2780 line doesn't end with linebreak.
2784 * implemented quoted-printable encoding.
2785 * src/quoted-printable.[ch]: qp_encode_line(): new.
2787 compose_write_to_file()
2788 compose_write_attach(): implemented quoted-printable encoding.
2789 compose_attach_property_create(): enabled quoted-printable menu
2791 * src/procmime.c: procmime_get_encoding_for_charset(): return
2792 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
2793 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
2800 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
2801 of abbreviation of newsgroup name.
2805 * configure.in: show the result of iconv detection.
2809 * src/codeconv.[ch]: made the transition from libjconv to iconv().
2810 conv_iconv_strdup(): new.
2814 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
2820 src/prefs_folder_item.c: English fix (property -> properties).
2821 * src/prefs_filter.c: alert if entry is not saved.
2822 prefs_filter_dialog_to_filter(): new.
2826 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
2827 strings after linefeed.
2832 * src/codeconv.[ch]: code cleanup and optimization.
2833 conv_code_converter_new()
2834 conv_convert(): use functions obtained by conv_get_code_conv_func()
2835 when using libjconv.
2836 conv_codeset_strdup(): code cleanup.
2837 conv_get_code_conv_func(): added an argument for destination
2838 character set, and generalized.
2842 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
2844 * src/compose.c: compose_convert_header(): remove trailing spaces.
2845 * src/customheader.c: custom_header_read_str(): strip the spaces
2847 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
2848 strip the spaces of name and value.
2856 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
2857 into infinite loop when encountering invalid characters.
2861 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
2863 * src/summaryview.c: summary_show(): removed summary_sort() because
2864 it is done inside folder_item_get_msg_list(). This will improve
2865 the performance of summary display.
2866 Sorted out the summary sort functions using macros.
2870 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
2871 list if FolderItem::sort_key is set.
2872 Added SORT_BY_TO to FolderSortKey enum.
2873 * src/mainwindow.c: added "View/Sort/by recipient".
2881 * src/codeconv.c: conv_encode_header(): fix for redundant space on
2883 * src/compose.c: compose_convert_header(): always pass string to
2884 conv_encode_header() for line-breaking.
2888 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
2889 parsing of email addresses.
2893 * src/defs.h: added DEFAULT_BROWSER_CMD.
2894 * src/mimeview.c: mimeview_view_file()
2895 src/prefs_common.c: prefs_other_create()
2896 src/utils.c: open_uri(): changed the default web browser to
2897 mozilla, and changed 'raise' command (which is undocumented)
2898 to 'new-window' in 'netscape -remote'.
2902 * src/compose.c: compose_send_control_enter(): fixed crash on
2903 Ctrl-Enter when Message/Send has no accelerator key (thanks to
2911 sort_summary_type_cb(): prevent unwanted processing on unchecking
2916 * src/main.c: process command line option before gtk_init() to
2917 enable remote operation without X (thanks to Ruslan N. Balkin).
2918 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
2923 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
2924 (the spec of autotools seems to be changed).
2928 * src/imap.c: get path separator using LIST command if server
2929 doesn't support NAMESPACE (based on the patch by Brian Sammon).
2930 imap_parse_list(): added an argument to return path separator.
2931 imap_get_namespace_by_list(): new.
2935 * src/addr_compl.c: add_address(): removed the debug print.
2936 * src/gtkutils.[ch]: gtkut_window_popup()
2937 src/mainwindow.c: main_window_popup(): applied the patch to fix
2938 the behavior of window popup from Sergey Vlasov (thanks!)
2939 * src/account.c: account_edit_create(): use signal_connect_after
2940 for row_move signal to fix the row position bug.
2941 account_row_moved(): scroll the CList half page.
2942 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
2944 * src/summaryview.c: summary_reply(): use selection text only if
2945 the displayed message is selected (thanks to Sergey Vlasov).
2949 * src/codeconv.c: conv_encode_header(): reimplemented the routine
2950 of MIME header encoding. And use Q-encoding method if the current
2951 locale is single-byte one.
2952 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
2953 of wide-character string. Consider control codes as non-ASCII.
2954 get_next_word_len(): new. It returns the length of next word.
2955 is_next_mbs(), find_wspace(): removed.
2956 * src/quoted-printable.[ch]: new.
2957 qp_decode_line(): decodes one QP line.
2958 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
2959 qp_get_q_encoding_len(): returns the length when a string is
2961 qp_q_encode(): Q-encode a string (RFC 2047).
2962 * src/unmime.c: moved the functions for quoted-printable to
2967 * src/send.c: send_message_local(): escape line that only have one
2968 dot character (postfix's sendmail command will stop there).
2972 * src/send.c: send_message_local(): don't escape first-dot line
2973 (thanks to Sergey Vlasov).
2977 * autogen.sh: added 'libtoolize --force --copy' to override the
2979 * acconfig.h: removed.
2980 * configure.in: increased minimal version of GPGME to 0.3.10.
2981 Fixed checking of XIM.
2983 ac/gnupg-check-typedef.m4: added an argument for comment.
2987 * src/imageview.[ch]: fixed conflicting declarations of
2988 imageview_show_image() (thanks to Thorsten Maerz).
2992 * src/compose.c: compose_entry_append(): don't add ", " on subject
2994 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
2995 charset from the table (currently disabled for non-Japanese locales).
2996 conv_get_current_locale(): also refer to LC_CTYPE.
3000 * README: added a description about hidden settings.
3004 * src/prefs_common.[ch]: reorganized the common prefs dialog.
3005 Made enable_hscrollbar and bold_unread hidden options.
3009 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
3014 account_find_from_message_file()
3015 account_find_from_msginfo(): new. They find an account from the
3016 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
3019 compose_reedit(): restore messages' previous account on composition.
3020 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
3025 * src/compose.c: cleaned up the code using compose_entry_set()
3026 (don't use gtk_entry_set_text() directly).
3030 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
3034 * updated autotools and libtool to the latest version.
3035 * configure.in: added AC_PREREQ(2.50).
3039 * src/textview.c: textview_set_font(): fix for message display in
3040 UTF-8 locales (thanks to Sergey Vlasov).
3044 * src/imageview.[ch]: imageview_show_image(): resize images to fit
3045 the window size if specified.
3046 * src/prefs_common.[ch]: added an option 'Resize attached images'.
3050 * refactoring for SMTP implementation.
3051 * src/session.h: added ui_func to Session.
3052 * src/smtp.[ch]: separated the connection routine from
3053 smtp_session_new() to smtp_connect().
3054 Changed the argument of every function other than smtp_ok() from
3055 SockInfo to SMTPSession.
3056 Call UI callback from each functions.
3057 * src/send.c: send_message_smtp(): separated the code for UI update
3058 into send_progress_dialog_update().
3062 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
3063 * src/send.c: send_message_smtp(): call smtp_auth() and display
3064 the state to the dialog.
3068 * src/filter.c: strmatch_regex(): use extended regex (thanks to
3070 * src/main.c: main(): removed the code for assortrc -> filterrc
3072 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
3073 current locale is C or POSIX.
3074 gtkut_stext_is_uri_string(): include "www." for URI string.
3075 * src/textview.c: textview_make_clickable_parts(): include "www."
3084 * src/textview.c: textview_add_part(): indicate signature status
3085 using different colors.
3089 * src/folder.c: folder_write_list_recursive(): escape
3090 To/Cc/Bcc/Reply-To strings.
3094 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
3095 headers on locales other than Japanese when not using libjconv.
3099 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
3100 corresponding error message.
3101 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
3106 * src/prefs_account.[ch]: removed prefs_account_save_config() since
3108 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
3109 procmime_mimeinfo_free_all() can be used in every case.
3113 * src/account.c: account_get_special_folder(): support F_INBOX, and
3118 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
3119 COMPOSE_ENTRY_*, and added
3120 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
3123 compose_redirect(): added FolderItem to the arguments, and reflect
3124 settings in the item.
3125 compose_entry_set(): new.
3126 compose_entry_append(): code cleanup.
3127 compose_entries_set_from_item(): take ComposeMode in its arguments,
3128 and enabled FolderItem::use_auto_to_on_reply.
3129 * src/summaryview.c: summary_reply(): pass folder_item to
3130 compose_{reply,forward,redirect}().
3134 * src/gtkutils.[ch]:
3135 gtkut_font_load(): new. It automatically choose font or fontset
3137 gtkut_font_load_from_fontset(): new. It tries to load single font
3138 instead of fontset from a fontset string.
3142 src/summaryview.c: workaround for the problem that couldn't display
3143 8-bit characters in C or POSIX locale (use font instead of fontset).
3146 src/textview.c: made code cleanup using gtkut_font_load*().
3150 * src/mh.c: mh_get_msginfo(): set correct message number.
3154 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
3155 It returns a new MsgInfo associated to a message number.
3156 folder_item_get_msginfo(): new.
3157 * src/imap.[ch]: imap_get_msginfo(): new.
3158 * src/mh.[ch]: mh_get_msginfo(): new.
3159 * src/news.[ch]: news_get_msginfo(): new.
3163 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
3164 infinite loop if an invalid code appeared.
3168 * src/codeconv.c: conv_codeset_strdup()
3169 src/html.[ch]: html_read_line(): don't output conversion failure
3171 Added HTML_CONV_FAILED to the enum HTMLState.
3175 * implemented per-folder auto-set address (still in progress).
3176 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
3177 and set entries from it (if mailto is empty).
3178 compose_entry_append(): activate menu if required.
3179 compose_entries_set_from_item(): new.
3180 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
3181 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
3183 folder_build_tree(), folder_read_folder_func(),
3184 folder_write_list_recursive(): added the above members.
3185 * src/prefs_folder_item.[ch]: added auto-set addresses.
3186 * src/pop.[ch]: removed Pop3State::prev_folder.
3190 * src/compose.c: allow dropping files by also "moving" files from a
3191 file manager (thanks to Alfons).
3195 * compose_reply_set_entry(): made Reply-To have priority over
3196 List-Post on ML reply.
3200 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
3201 * src/summaryview.c: summary_step(): fixed a bug that lost the
3202 correct selection anchor.
3203 summary_key_pressed(): use gtk_sctree_select() instead of
3207 src/recv.c: differentiate disk full and socket errors
3208 (thanks to Colin Leroy).
3212 * src/account.c: account_edit_prefs(): removed unused variables.
3213 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
3216 compose_reply_set_entry(): receive reply type with one argument.
3217 * src/summaryview.c: summary_reply(): reduced conditional branches.
3221 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
3222 from line ends (thanks to Sergey Vlasov).
3223 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
3228 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
3229 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
3230 messages all at once.
3234 * src/account.[ch]: account_open(): new. It opens account prefs
3235 dialog and reflects to UI when finished.
3237 folderview_button_pressed()
3238 folderview_property_cb(): open account prefs dialog when the
3239 property of the root folder of remote account is requested.
3243 * src/account.c: account_destroy(): unref account information in
3245 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
3246 specified account information in all folders.
3248 folderview_rm_imap_server_cb()
3249 folderview_rm_news_server_cb(): destroy Folder first because
3250 folder_destroy() refers to account information.
3254 * src/account.c: account_find_from_item(): fixed a bug which didn't
3255 select the correct account.
3256 * inc_pop3_session_do():
3257 fixed the resource leak when SSL initialization failed.
3258 Immediately break from temporary event loop if cancelled.
3262 * src/account.[ch]: account_find_from_item(): new.
3264 compose_reply(), compose_forward(), compose_redirect()
3265 src/mainwindow.c: compose_cb(): select optimal account when
3267 * src/folder.[ch]: added FolderItem::apply_sub.
3268 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
3269 index of option menu which contains the specified data.
3270 * src/prefs_folder_item(): added Compose tab, and the setting of
3275 * configure.in: added $LDAP_LIBS for lber library detection.
3283 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
3284 leak, and added error checking.
3288 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
3289 removed Compose::orig_account.
3290 compose_check_for_valid_recipient(): check only enabled entries.
3291 compose_write_headers()
3292 compose_redirect_write_headers(): add Newsgroups header only
3293 when the entry is enabled.
3294 compose_send(): modified the method of finding a mail account
3295 from a news account so that it tries to match the From address.
3296 * src/send.c: send_message_queue(): enabled the queueing of news
3298 * src/news.[ch]: news_post_stream(): new.
3302 * configure.in: check lber first and use $LDAP_LIBS on the check
3307 * po/*.po: fixed many typos of format strings which will lead to
3308 crash (thanks to Sergey Vlasov).
3312 * src/procheader.c: procheader_parse_stream(): added Cc header
3313 to the target for full parsing.
3314 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
3315 returns the full message information from the given information.
3316 * src/compose.c: compose_reply(), compose_forward(): get full
3317 message information for Cc header.
3321 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
3322 IMAP4 and NNTP folder summary after checking those accounts.
3330 * src/prefs_common.c: prefs_compose_create(): modified the label
3331 of the option for Reply button.
3332 * configure.in: add -lldap and -llber to the 5th argument of
3333 AC_CHECK_LIB() for LDAP library detection.
3338 INSTALL.jp: updated.
3342 * src/mainwindow.c: toggle the behavior of Reply button between
3343 normal reply and reply-to-list.
3344 * src/prefs_common.[ch]: added an option to switch the function
3349 * src/compose.c: compose_new(): removed the workaround for XIM
3350 because it doesn't have any effect and only seems to cause
3355 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
3356 compose_parse_header(): parse also List-Post header.
3357 compose_reply_set_entry(): support reply-to-ML (fall back to
3358 normal reply if ML address is not found).
3361 src/summaryview.c: reorganized Reply menu and added 'Reply to
3363 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
3364 returns newly allocated parameters.
3368 * src/account.c: account_read_config_all(): set account information
3369 to default before initializing with configuration file.
3370 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
3371 newly created account information structure initialized by
3372 the default settings.
3377 replace_address_in_edit(): check if newtext is NULL.
3378 completion_window_button_press(): fixed a memory leak.
3379 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
3380 recv_time is RECV_TIME_KEEP.
3381 pop3_getrange_uidl_recv(): only set get_all flag if
3382 ac_prefs->getall is set.
3383 pop3_retr_recv(): don't delete messages which are not received
3384 by filter, and set recv_time to RECV_TIME_KEEP in the case.
3385 * src/pop.h: added an enum RecvTime.
3386 * src/inc.c: inc_drop_message(): unlink temporary message file if
3387 not received by filter.
3391 * src/mainwindow.c: added 'Edit/Select thread' menu.
3392 * src/summaryview.[ch]: added 'Select thread' to the context menu.
3393 summary_select_thread(): new. It selects all messages of current
3398 * src/rfc2015.c: check_signature(): corrected error handling and
3403 * src/rfc2015.c: check_signature(): correctly remove the last empty
3404 line, and canonicalize the file part before verifying (this should
3405 fix incompatibility with Evolution or some other MUAs).
3406 * src/utils.[ch]: copy_file_part(): new. It copies the specified
3407 range of file stream to another file.
3411 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
3412 8-bit text when signing (thanks to Colin Leroy).
3416 * src/prefs_common.c: prefs_send_create(): fixed the charset string
3417 for Cyrillic (Windows-1251).
3425 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
3426 Windows-1251. Added bg_BG locale.
3430 * src/compose.c: account_activated(): change the state of menu items
3431 and entries according to the selected account.
3432 compose_select_account(): new. It changes the state of title bar,
3433 menu items and entries.
3437 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
3439 Don't refresh summary view on fetching when open_inbox_on_inc is
3444 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
3445 is set (to avoid summary refresh problem).
3446 * src/imap.c: removed warnings by checking the existence of directory
3447 before calling remove*_numbered_files().
3451 * src/prefs_common.c: corrected English.
3455 * src/prefs_common.[ch]: added an option: "Mark messages as read
3456 only when opened in new window".
3461 folder_tree_destroy()
3462 folder_write_list_recursive(): added sanity check.
3463 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
3464 can't get session, create empty folder node (based on the
3465 Alfons' suggestion).
3469 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
3471 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
3476 * src/news.c: news_scan_group(): fixed wrong message number
3481 * major refactoring for POP3.
3482 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
3483 inc_pop3_state_destroy(), inc_get_uidl_table(), and
3484 inc_write_uidl_list() into pop.c.
3485 Moved Pop3State::folder_table and Pop3State::inc_state into
3488 inc_put_error(): added lockbusy state.
3489 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
3490 inc_cancel(): don't terminate the automaton here but just set
3491 the flags to prevent crash.
3493 pop3_getauth_pass_recv()
3494 pop3_getauth_apop_recv(): check lockbusy state.
3495 pop3_retr_recv(): check Pop3State::cancelled flag.
3496 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
3497 automaton_input_cb(): terminate if cancelled flag is true.
3498 * sylpheed.desktop: changed Type=Internet to Type=Application.
3499 Added Categories=Application;Network;.
3505 src/progressdialog.c: show detailed information to the status
3507 Added cur_total_recv_bytes to Pop3State.
3508 * src/prefs_common.[ch]: added an option to specify whether to
3509 close receive dialog when finished.
3513 * src/folder.[ch]: folder_get_path(): new. It returns the root path
3517 imap_folder_destroy()
3519 imap_remove_all_msg()
3520 news_folder_destroy(): remove cache directories / files when
3521 deleting Folder / messages.
3525 is_file_entry_exist(): check if the argument is NULL.
3527 remove_numbered_files()
3528 remove_expired_files(): fixed memory leaks on error.
3537 src/smtp.[ch]: made Folder and Session destructor virtual method.
3541 * src/compose.c: do joining of normal lines only when auto-wrapping.
3542 * src/main.c: modified the warning message for GnuPG.
3543 * src/about.c: about_create(): modified the compiled-in features
3545 * configure.in: improved LDAP library checking (thanks to Alfons).
3555 compose_wrap_line_all(): backed out the change to join lines that
3560 * configure.in: require at least gpgme-0.3.5.
3564 * src/alertpanel.c: alertpanel_create(): minor modification.
3573 * src/alertpanel.c: alertpanel_create(): modified the layout.
3574 * src/rfc2015.c: check_signature(): don't abort on error.
3578 * src/compose.c: compose_wrap_line_all(): freeze widget only if
3579 required to repress flickers.
3583 * src/compose.c: improved line wrapping.
3585 compose_wrap_line_all(): also join lines that are not indented.
3586 dump_text(): handle multi-byte strings correctly.
3590 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
3591 (go to next line when space is entered at line limit).
3595 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
3600 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
3601 checking to prevent confusion.
3605 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
3606 method Folder::get_msg_list().
3607 * src/account.c: account_edit_prefs(), account_delete(): use
3608 folderview_set_all() instead of folderview_rescan_all().
3609 * src/folderview.[ch]:
3610 folderview_check_new_all(): new. Updates all folders.
3611 folderview_rescan_tree(): confirm before executing.
3612 folderview_rescan_all(): commented out since it's not used anymore.
3613 folderview_update_item_foreach(): added a flag for summary update.
3614 * src/inc.c: inc_finished(): update summary only when
3615 prefs_common.scan_all_after_inc is set.
3616 inc_drop_message(): set mtime of target folder to 0 to force
3617 the updating of summary.
3618 inc_start(), get_spool(): update also summary when updating
3620 * src/mainwindow.c: changed 'File - Rescan folder tree' to
3621 'File - Check for new messages in all folders'.
3625 * src/compose.c: compose_write_to_file(): clearsign message body
3627 compose_clearsign_text(): new. Replaces the string with clearsigned
3629 * src/prefs_account.c: added an option for clearsign.
3630 * src/rfc2015.c: rfc2015_clearsign(): new.
3631 pgp_sign(): added a flag for clearsign.
3632 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
3633 name (needs to be freed by caller).
3634 str_write_to_file(), file_read_to_str(): new.
3638 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
3639 to avoid memory leak.
3643 * src/base64.c: include string.h for memcpy().
3644 * src/gtksctree.c: use macro ABS() instead of function abs().
3645 * src/prefs_account.c
3646 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
3647 conflict with the function send() in sys/socket.h.
3648 * src/mainwindow.c: commented out the unnecessary functions.
3649 * src/utils.c: canonicalize_file_replace(): correct warning message.
3653 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
3654 temporary files in ~/.sylpheed/.
3655 * src/main.c: create temporary directory in ~/.sylpheed/.
3657 src/inc.c: create temporary files in ~/.sylpheed/, and modified
3659 compose_exec_ext_editor(): fixed a bug that failed to create the
3660 temporary file if g_get_tmp_dir() returned directory other than
3665 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
3669 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
3670 to replace the file when the given file and temporary file are not
3671 on the same filesystem.
3672 copy_file(): added a flag whether to keep backup.
3673 move_file(): added a flag whether to overwrite the destination file.
3677 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
3678 * src/select-keys.c: modified key selection dialog.
3682 * src/socket.[ch]: my_gethostbyname(): new.
3683 * src/utils.c: get_domain_name(): return FQDN instead of short
3684 hostname (thanks to Bob Woodside).
3685 * src/template.c: made the debug messages less verbose.
3689 * src/prefs_common.[ch]: removed obsolete default sign key setting.
3690 * src/utils.c: canonicalize_file(): correct the error check of
3695 * src/compose.c: compose_write_to_file():
3696 canonicalize line endings before encrypting/signing (this will fix
3697 interoperability with other MUAs).
3698 Removed unnecessary strdup.
3699 Don't encrypt/sign draft message.
3701 canonicalize_file(), canonicalize_file_replace(): new.
3703 src/select-keys.c: changed g_message() to debug_print() and
3705 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
3706 MIME structure scanning.
3707 * src/textview.c: textview_add_part(): show signature status in
3710 src/sigstatus.c: modified translatable strings and some MIME
3715 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
3716 the temporary file when saving from queue.
3722 src/prefs_account.[ch]
3723 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
3724 Modified some messages.
3728 * src/textview.c: textview_scan_header(): fixed a memory leak
3733 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
3734 in right conditional block.
3738 * src/compose.c: compose_wrap_line_all(): fixed character buffer
3744 log_error(): add time stamp to log messages.
3749 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
3753 * src/socket.c: implemented socket I/O timeout.
3755 * src/pop.c: check errors and return error value correctly.
3759 * src/prefs_actions.c: made the action's input/output dialog display
3760 without delay. Made the dialog modal instead of making window
3761 insensitive. Also cleaned up its UI.
3765 * implemented --attach command line option.
3767 Cmd::attach_files: new member to store file paths.
3768 parse_cmd_opt(): added --attach option. --compose option is implied.
3769 prohibit_duplicate_launch()
3770 lock_socket_input_cb(): added "compose_attach" message.
3773 src/textview.c: renamed compose_new_with_recipient() to
3774 compose_new(), and added an argument for attachment files.
3778 * src/logwindow.c: freeze GtkText widget while hidden.
3779 log_window_append(): changed the header for message and warning.
3783 * src/news.c: implement automatic cache expiration.
3784 news_delete_expired_caches(): new.
3785 news_get_article_list(): fixed a bug that nonexistent messages
3786 were not removed from list.
3787 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
3788 procmsg_get_last_num_in_cache().
3789 * src/utils.[ch]: remove_expired_files(): new.
3794 inc_mail(): force summary refresh when using external command for
3796 inc_all_account_mail(): fixed a bug on spool checking failure.
3807 src/editldap_basedn.c
3809 src/prefs_common.c: fixed memory leaks which didn't free strings
3810 gtk_editable_get_chars() returned. And minor code cleanups.
3812 src/vcard.h: removed C++-style comments.
3816 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
3817 strings which include both multi-byte and us-ascii characters.
3821 * src/utils.c: remove_numbered_files(): don't try to unlink()
3824 conv_get_code_conv_func(): return conv_anytodisp() if charset is
3826 conv_unmime_header_overwrite()
3827 conv_unmime_header(): do conv_anytodisp() before decoding header.
3835 * src/compose.c: added 'Tools/Actions' menu.
3839 * src/base64.c: a minor fix for BASE64VAL() macro.
3843 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
3851 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
3852 base64_encode(), base64_decode(): new.
3853 * src/rfc822.[ch]: removed.
3855 src/about.c: removed the copyright notice for fetchmail.
3861 src/unmime.[ch]: rewrote the MIME decode routines.
3863 unmime_quoted_printable_line(): new.
3865 procheader_get_one_field()
3866 procheader_get_unfolded_line(): remove also CR.
3870 * libkcc: removed from the source tree.
3872 src/about.c: removed the copyright notice for libkcc.
3873 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
3875 * src/prefs_actions.c: removed unnecessary spaces/tabs.
3879 * src/prefs_actions.c: comply with the coding style.
3880 Modified the UI design.
3881 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
3882 menu when multiple messages are selected.
3886 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
3887 update_actions_menu(): simplified the menu deletion.
3888 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
3892 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
3893 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
3898 * configure.in: added check for strchr.
3902 * src/prefs_common.[ch]
3903 src/inc.c: added an option to inhibit receive error dialog.
3907 * src/account.c: account_find_from_address(): support multiple
3908 addresses in header.
3912 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
3913 GtkCTreeNode* so that it won't become invalid after the row move.
3914 Removed dependency to gtkutils.c.
3915 * src/prefs_common.[ch]
3916 src/summaryview.c: summary_selected(): added an option to show
3917 message when cursor keys are pressed on summary view.
3923 src/compose.c: changed "host_alias" to "target_alias" so that it
3924 shows the correct system name on cross-compiling (thanks to
3929 * src/prefs_account.[ch]: added the option menu to force an
3930 authentication method for SMTP AUTH.
3932 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
3933 specify the authentication method for SMTP AUTH.
3934 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
3938 * src/prefs_common.[ch]
3939 src/compose.c: enabled "Wrap on input".
3943 * src/summaryview.[ch]
3944 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
3945 Made some code cleanups.
3950 src/prefs_common.[ch]: added the hidden option to specify the
3951 policy of the vertical scrollbar on folder view.
3955 * src/messageview.[ch]:
3956 messageview_copy_clipboard(): fixed a bug that couldn't copy text
3958 messageview_get_current_textview(): new.
3959 messageview_get_text_widget(): removed.
3960 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
3961 * src/compose.[ch]: implemented the "Paste as quotation" feature.
3962 text_inserted(): new callback for "insert_text" signal.
3963 Add quote mark to the pasted text if Compose::paste_as_quotation
3968 * src/compose.c: if the Content-Type of a file is text/*, check
3969 its content and set the optimal Content-Transfer-Encoding (thanks
3974 * src/textview.c: textview_key_pressed(): pass key press event to
3975 main window to activate menu shortcuts (thanks to Alfons).
3979 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
3980 for mtime to prevent flooring.
3983 imap_move_msgs_with_dest()
3984 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
3986 imap_parse_envelope()
3987 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
3988 full information of messages and simplify the parser. Also fixed
3989 the bug that References header was ignored on threading.
3990 imap_parse_one_address()
3991 imap_parse_address(): removed.
3992 imap_get_header(): new. It reads the RFC822 header and returns
3993 a newly allocated string.
3994 * src/procheader.[ch]: changed procheader_parse() to
3995 procheader_parse_stream() and added different interfaces for it.
3999 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
4007 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
4008 could be inserted into the hash table.
4009 inc_write_uidl_list(): a minor code cleanup.
4010 * src/mainwindow.c: main_window_get_current_state():
4011 make the state unexecutable on an empty folder.
4012 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
4013 * src/pop.c: minor code cleanups.
4017 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
4018 corrected the behavior of the radio buttons.
4022 * implemented 'Delete messages after N days' feature for POP3.
4024 inc_get_uidl_table()
4025 inc_write_uidl_list(): moved the location of UIDL list file from
4026 RC_DIR/uidl-* to RC_DIR/uidl/*.
4027 Added received time for each UIDLs.
4028 src/main.c: main(): create RC_DIR/uidl/ directory.
4029 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
4030 Added recv_time to Pop3MsgInfo.
4031 src/prefs_account.[ch]: added an option for the number of days for
4040 * src/folder.c: folder_set_missing_folders(): fixed a bug that
4041 caused multiplication of special folders on startup if their
4043 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
4048 * src/compose.c: compose_reply(), compose_forward(): reverted the
4049 last change since it causes lockup problem.
4053 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
4055 compose_new_with_recipient(): workaround for initial XIM problem.
4059 * src/mainwindow.c: sort ascending / descending order can be
4060 specified with separated menu items.
4061 Added "View/Sort/Don't sort" menu item.
4062 * src/summaryview.[ch]: summary_sort(): added an argument for
4067 * implemented persistent sort order.
4069 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
4070 folder_write_list_recursive(): write sorting state.
4072 src/summaryview.[ch]: summary_show(): sort if required.
4073 select the top node on descending sort.
4074 Removed SummarySortType and sorting state variables from
4082 src/prefs_account.[ch]: enabled NNTP over SSL.
4083 * src/nntp.c: nntp_group(): issue MODE READER command and retry
4084 when GROUP command once failed (this seems to avoid problems on
4085 some broken news servers).
4089 * faq/it/*.html: corrected DOS linebreaks.
4090 * faq/*/*.html: changed ">" to ".
4094 * src/prefs_account.c: prefs_account_protocol_activated(): hide
4095 unnecessary frames in SSL tab.
4101 src/prefs_account.[ch]: enabled STLS command in POP3.
4102 * src/account.c: account_clist_set_row(): display TLS setting.
4106 * src/compose.c: compose_send_later_cb(): support redirect function.
4109 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
4111 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
4115 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
4116 * src/compose.c: compose_create(): removed unrequired lines.
4120 * src/news.c: news_scan_group(): fixed a bug that set the wrong
4121 values in some cases.
4122 * src/prefs_account.c: corrected English in Advanced - Folder
4127 * src/textview.c: textview_show_message(), textview_show_part():
4128 fixed a bug that GtkSText *text pointed the incorrect object.
4129 textview_add_part(): freeze GtkSText while adding RFC822 headers.
4130 textview_show_part(): fixed a bug that couldn't display single
4131 part MIME message as text.
4135 * src/compose.c: compose_redirect_write_to_file(): correct the target
4136 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
4137 incomplete file when an error occured.
4142 compose_create(): disable menus for draft on redirection mode.
4143 compose_redirect_write_to_file(): correct the error handling of
4145 * src/prefs_common.c: turned off the "Display recipient on `From'
4146 column if sender is yourself" option by default.
4150 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
4151 Based on the implementation of the claws branch.
4152 compose_redirect(): create a new window and make it uneditable.
4153 compose_redirect_write_to_file(): copy headers and body of
4154 original message except for some.
4155 compose_redirect_write_headers(): add extra "Resent-*" headers.
4156 compose_create(): set menu sensitivity for redirection mode.
4160 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
4161 space is inserted between encoded string and the following folded
4162 one (thanks to Masahiro Tomita).
4166 * src/mainwindow.[ch]: some refactoring has been made.
4167 main_window_toggle_message_view(): moved summary_toggle_view_real()
4169 * src/messageview.[ch]: messageview_is_visible(): new.
4170 * src/summary_search.c
4171 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
4172 Instead use messageview_is_visible().
4176 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
4177 * src/summaryview.[ch]:
4178 summary_expand_threads(), summary_collapse_threads(): new.
4182 * src/mainwindow.c: Fixed the behavior of
4183 '/View/Show or hide/Folder tree' and
4184 '/View/Show or hide/Message view' toggle menu.
4185 Removed '/View/Toggle summary view' menu and integrated the
4186 function into '/View/Show or hide/Message view'.
4187 main_window_set_widgets(): change the state of toggle menu items.
4188 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
4193 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
4194 MIME contents other than text as children of message/rfc822 part.
4196 procmime_mimeinfo_next(): modified for message/rfc822 part which
4197 content-type is single part MIME.
4198 procmime_scan_multipart_message(): fix for nested message/rfc822
4199 part. Corrected the size of the contents of message/rfc822.
4200 * src/textview.c: textview_show_part(): extract the contents of
4201 multipart/* and message/rfc822. Some code cleanups.
4202 textview_add_parts(): new. It adds the all parts under a part to
4204 textview_clear(): reset body_pos and cur_pos.
4208 * src/addr_compl.c: modified so that it behaves better.
4209 get_address_from_edit(): ignore comma inside of brackets.
4210 completion_window_apply_selection(): new. Only apply the current
4212 completion_window_accept_selection(): removed.
4213 address_completion_complete_address_in_entry(): minor code cleanup.
4214 don't replace address in entry here.
4215 completion_window_select_row(): always apply clist selection to
4217 completion_window_key_press(): don't apply selection here.
4221 * src/imap.c: imap_create_folder(): keep trailing directory separator
4222 to create a folder that contains sub folder.
4226 * src/foldersel.c: sort tree with case insensitive.
4227 * src/mainwindow.c: allsel_cb()
4228 src/messageview.c: messageview_select_all(): fixed 'Select all'
4230 * src/mainwindow.c: removed common and account prefs button from
4235 * src/compose.c: compose_account_option_menu_create(): check if
4244 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
4245 manual/en/*: updated the English manual.
4247 faq/it/*: added German and Italian FAQ.
4250 faq/fr/*: updated FAQs.
4252 src/mainwindow.c: added German and Italian language.
4256 * src/prefs_account.c: turn off "receive at get all" option by default
4257 when creating an IMAP or News account.
4261 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
4262 * src/prefs_folder_item.c: show also identifier path.
4263 Made layout using table. Show uneditable entry using background
4265 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
4270 * src/automaton.[ch]: added UI callback to Automaton.
4272 src/pop.c: use callback instead of calling inc_progress_update()
4274 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
4279 * src/folderview.c: properly sort abbreviated newsgroups.
4284 src/prefs_common.[ch]
4285 src/summaryview.c: added an option to specify the minimum length
4286 for abbreviated newsgroups name.
4290 * src/folderview.c: folderview_check_new(): skip unselectable folders.
4291 * src/summaryview.c: added 'Create filter rule' to the context menu.
4292 * src/imap.c: some code cleanups.
4293 imap_scan_tree_recursive(): get path separator for each calls.
4294 imap_get_path_separator(): new.
4298 * src/imap.[ch]: supported namespace for others/shared folders
4300 imap_parse_namespace(): parse also others/shared namespace.
4301 imap_find_namespace(): search also others/shared namespace.
4303 strchr_parenthesis_close(): return pointer to closing parenthesis.
4304 strsplit_parenthesis(): split parenthetic list into array of
4309 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
4310 parse date string like "Mon,6 May 2002 20:31:12 +0800".
4311 procheader_scan_date_string(): new. Separated string scanning
4312 part from procheader_date_parse().
4316 * src/summary_search.c: summary_search_execute(): unlock while
4317 selecting summary row (thanks to Martin Schaaf).
4318 * src/summaryview.c: summary_set_column_titles(): reversed the
4319 direction of the arrow so that it matches with Win/Mac style.
4323 * src/compose.c: compose_write_headers(): quote self address name
4324 if required. Some code cleanups. Don't override Newsgroups and
4325 Cc with custom headers.
4326 * src/imap.c: imap_add_msg(): return UID for appended message.
4327 * src/compose.c: compose_queue(): check if queue folder exists.
4328 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
4330 imap_open(): removed an unrequired argument.
4334 * src/utils.[ch]: trim_string(): new. It trim characters longer than
4335 the specified length and adds "...".
4336 * src/folderview.c: trim folder name when displaying dialog.
4340 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
4342 * src/folderview.c: folderview_select()
4343 src/summary_search.c: summary_search_execute(): lock summary view
4344 while searching (thanks to Martin Schaaf).
4352 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
4356 * src/summaryview.c: summary_show(): fixed a bug that didn't process
4358 * src/account.c: account_edit_prefs(): fixed a crash bug when account
4360 * src/prefs_account.c: prefs_account_apply(): display error dialog
4361 if account name is empty.
4362 * src/imap.c: changed some log_print() to debug_print() to reduce
4367 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
4371 mh_do_move_msgs_with_dest()
4373 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
4374 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
4375 if stat() succeeded.
4377 imap_fetch_msg(): SELECT mailbox before FETCH if required.
4378 imap_scan_folder(): set last_num using the value of UIDNEXT.
4379 imap_select(): return immediately if there is no need for SELECT.
4380 preserve the path of currently selected mailbox.
4381 imap_status(): added UIDNEXT.
4385 * src/folder.c: folder_item_scan(): removed the warning.
4386 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
4387 setting case sensitivity.
4391 * src/mainwindow.c: main_window_create(): restrict the minimum size.
4395 * src/compose.c: merged the new line-wrapping routine.
4396 join_next_line(): fixed a bug that didn't join multibyte
4398 get_indent_length(): modified enums and variable names.
4399 INDENT_CHARS: don't indent ':'.
4401 folderview_rename_folder_cb()
4402 folderview_delete_folder_cb(): support folder identifier.
4403 folderview_rm_imap_folder_cb(): integrated with
4404 folderview_delete_folder_cb().
4408 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
4409 * src/folderview.c: folderview_check_new(): abort checking if
4410 folder_item_scan() failed.
4414 * src/imap.c: imap_create_missing_folders(): create only INBOX and
4416 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
4417 type of news folders unchangeable.
4418 prefs_folder_item_destroy(): use prefs_dialog_destroy().
4419 * src/prefs.[ch]: prefs_dialog_destroy(): new.
4423 * src/prefs_account.[ch]: added special folder setting to Advanced
4424 tab. Also moved "IMAP server directory" setting to there.
4425 * src/account.[ch]: account_get_special_folder(): new. It returns
4426 the optimal special folder for accounts.
4427 * src/compose.c: use account_get_special_folder().
4428 * src/prefs_folder_item.[ch]: new. Implemented folder property
4429 dialog, and the special folder settings (most of the functions in
4430 claws are not integrated yet, and the structure is slightly
4432 * src/folderview.c: enabled Property menu.
4436 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
4437 scanning when encountering separators ',' and ';'.
4441 * src/mainwindow.c: reorderd the menu a bit.
4442 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
4443 compose_reply_set_entry(): made 'Reply to sender' work for
4448 * src/compose.c: compose_create(): set geometry hints to restrict
4449 the maximum size of window.
4450 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
4451 imap_get_uncached_messages()
4452 imap_cmd_fetch(): ignore responses which don't include FETCH.
4456 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
4457 the clause for OpenSSL).
4461 * src/prefs_account.c
4462 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
4468 src/session.[ch]: first reorganization of SMTP protocol handling.
4469 SMTPSession: new class which is a sub class of Session.
4470 smtp_session_new(): moved send_smtp_open() into this function.
4471 smtp_from(): moved SMTP AUTH calls into smtp_auth().
4472 smtp_auth(): use server response for SMTP AUTH method.
4473 smtp_ehlo(): read server response and set auth type flags.
4474 smtp_helo(): separated EHLO command.
4475 smtp_ok(): return the last server response if the buffer is
4477 * src/esmtp.[ch]: merged into smtp.[ch].
4478 * src/imap.c: imap_session_destroy_all(): use session_destroy().
4482 * src/imap.c: imap_open(): show warning message if IMAP4 session
4483 can't be established.
4487 * src/compose.c: made template able to be inserted into the current
4489 * src/mainwindow.c: moved some menu items under the submenu
4490 '/View/Show or hide'.
4495 src/inc.c: changed folder_find_item_from_path() to
4496 folder_find_item_from_identifier().
4498 src/prefs_filter.c: use folder_item_get_identifier() to specify
4503 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
4504 existed in claws' implementation).
4505 folder_find_from_name(): find Folder from name and type.
4506 folder_get_identifier(): return Folder id.
4507 folder_item_get_identifier(): return FolderItem id.
4508 folder_find_item_from_identifier(): find FolderItem from id.
4509 folder_get_type_string(): return folder type string.
4510 folder_get_type_from_string(): return FolderType from string
4511 (and fixed the wrong g_strcasecmp() usage).
4513 src/import.c: use folder_item_get_identifier() and
4514 folder_find_item_from_identifier().
4518 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
4519 point the correct address after reading the continuous line.
4520 imap_scan_folder(): set new number to 0 if unseen number is 0.
4521 imap_parse_flags(): don't add new and unread flag if \Seen flag
4523 * ac/Makefile.am: removed gpgme.m4 from MACROS.
4527 * fixed the old problem that couldn't add flags to currently opened
4530 compose_send(): update outbox after saving.
4532 compose_draft_cb(): use procmsg_add_flags().
4533 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
4535 * src/main.c: send_queue(): send from all queue folders.
4536 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
4538 procmsg_flush_mark_queue(): new. Write all queued flags into file.
4539 procmsg_add_flags(): new. Add specified flags to the folder.
4540 procmsg_send_queue(): added an argument to specify queue folder.
4541 procmsg_save_to_outbox(): use procmsg_add_flags().
4542 * src/summaryview.c:
4543 summary_show(): up the opened flag of FolderItem.
4544 summary_clear_list(): down the opened flag of FolderItem.
4545 summary_write_cache(): call procmsg_flush_mark_queue().
4549 * src/summaryview.[ch]: trim the tail of folder name and selected
4550 number on the status label if the space is not enough.
4554 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
4555 set SpecialFolderItemType when creating special folders under
4557 * ac/gpgme.m4: removed.
4559 * ac/missing/gdk-pixbuf.m4
4560 ac/missing/gettext.m4
4562 ac/missing/imlib.m4: added for convenience.
4566 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
4567 shown after the decoded challenge string. Fixed a memory leak.
4569 * src/compose.c: compose_draft_cb(): mark draft messages as read.
4570 * src/folderview.c: folderview_update_node(): disable emphasis
4571 for Outbox and Draft folders.
4575 * src/messageview.c: messageview_show(): fixed a memory leak.
4576 * src/summaryview.c: summary_save_as(): show error dialog if copy
4578 * src/about.c: about_show(): make the window active if it is already
4583 * src/compose.c: show confirmation dialog before sending if Subject
4585 compose_check_entries(): new.
4587 compose_send_later_cb(): use compose_check_entries().
4588 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
4592 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
4593 responses with continuous line correctly, and fixed a memory leak.
4597 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
4599 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
4600 after pasting with middle button to prevent the selection growth.
4605 folderview_rename_folder_cb()
4606 folderview_delete_folder_cb(): modify filter rules only if the
4607 target folder is in the default mailbox.
4608 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
4615 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
4616 Moved 'Delete duplicated messages' under 'Tools'.
4620 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
4622 * src/imap.c: imap_create_special_folder(): fixed a crash bug
4623 when folder creation failed, and re-try to create folders under
4625 imap_scan_tree_recursive(): don't automatically add namespace
4626 prefix if it's INBOX. Search also under the INBOX for special
4628 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
4633 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
4634 abbreviated newsgroup name.
4635 * src/folderview.c: folderview_update_node(): display newsgroups
4636 with abbreviated name if name and path is the same.
4637 * src/summaryview.c: summary_status_show(): show the newsgroup with
4643 src/folderview.c: changed the label 'Draft' to 'Drafts'.
4644 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
4645 imap_create_missing_folders(): fixed the wrong assignment of
4646 Queue folder to draft.
4650 * enabled Sent / Draft / Queue folders on IMAP server.
4651 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
4652 queue and draft folder if they exist.
4654 imap_create_trash(): removed.
4655 imap_create_special_folder(): new. Generalized imap_create_trash().
4656 imap_create_missing_folders(): automatically create missing folders.
4657 imap_is_msg_changed(): added the dummy method.
4658 imap_scan_tree_recursive(): search also Sent, Draft and Queue
4659 folders. Minor code cleanups.
4660 imap_parse_envelope(): check for null strings.
4661 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
4662 for messages on IMAP folder.
4666 * src/compose.c: compose_send(): use account's outbox folder
4668 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
4669 that the outbox can be specified.
4673 * src/compose.c: don't save to outbox when messages are queued.
4674 compose_save_to_outbox(): moved to procmsg.c.
4675 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
4677 procmsg_save_to_outbox(): new. Removes the queueing headers if
4678 needed, and adds the given file to the outbox.
4682 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
4683 get_indent_length(): treat ':' and '#' also as quote char, and
4684 cleaned up using strchr().
4688 * src/mainwindow.c: modified some menu items.
4692 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
4693 (current "outbox" will be kept until rescan).
4694 * src/folder.c: folder_set_missing_folders(): create the missing
4697 src/folderview.c: changed 'Outbox' to 'Sent'.
4698 * src/main.c: call folder_set_missing_folders().
4699 * src/mh.c: mh_scan_tree(): create missing folders.
4700 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
4701 didn't set the menu sensitivity correctly.
4706 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
4707 folderview_rename_folder_cb(): reopen the current folder when
4708 the ancestor is renamed.
4709 imap_rename_folder(): new method implementation.
4711 imap_rename_folder_func(): new.
4712 imap_remove_folder(): remove also the cache directory.
4716 * src/imap.c: implemented locale encoding <-> modified utf-7
4717 conversion, and supported i18n of folder name (thanks to Suzuki
4719 imap_path_separator_subst(): handle the escape characters of
4721 imap_modified_utf7_to_locale()
4722 imap_locale_to_modified_utf7(): new.
4723 imap_create_trash(): modified so that it create the Trash folder
4724 to the correct location when imap directory is specified.
4725 imap_get_real_path(): removed debug print.
4729 * src/socket.c: implemented timeout for DNS lookup and connect().
4730 sock_connect_by_hostname(): timeout support and code cleanup.
4731 sock_connect_with_timeout(): new.
4732 sock_peek(): implemented SSL peek.
4736 * src/messageview.c: messageview_show(): display single-part
4737 text/html messages with the normal text view.
4751 src/prefs_customheader.c
4752 src/prefs_display_header.c
4767 src/xml.c: added 'b' to the option of all fopen().
4775 * src/ssl.[ch]: match its coding style.
4776 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
4780 faq/en/sylpheed-faq*.html
4782 faq/es/sylpheed-faq*.html
4784 faq/fr/sylpheed-faq*.html
4790 src/manual.[ch]: added FAQs in English, Spanish and French.
4794 * manual/en/sylpheed*.html: updated to the latest version.
4799 src/mgutils.c: include string.h to remove warning about strlen()
4813 src/summaryview.c: added break to the last label of switch to
4814 prevent the 'deprecated use of label at end of compound statement'
4816 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
4820 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
4822 inc_cancel_all(): new. It cancels the all current incorporation.
4823 * src/mainwindow.c: added 'Cancel receiving' menu.
4824 * src/textview.c: a minor fix for single-part MIME messages, and
4825 a bit of cleanup for textview_write_body().
4829 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
4830 information if any errors occured before issuing UIDL command.
4831 src/inc.h: added uidl_is_valid to Pop3State.
4832 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
4840 * src/mimeview.c: mimeview_create(): set the initial notebook page
4842 * src/folderview.c: folderview_selected(): scroll the view if the
4843 selected row is hidden.
4844 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
4845 and select the added row.
4846 * src/summaryview.c: fix threading for null message ids.
4850 * src/textview.c: textview_show_message(): follow message/rfc822
4852 textview_add_part(): add a caption before the attached text files.
4853 textview_show_header(): don't add the newline.
4854 * src/messageview.c: enabled message search also in MIME mode.
4858 * src/messageview.c: messageview_show(): set header state of
4859 MimeView's TextView, too.
4860 * src/mimeview.c: mimeview_show_message(): call
4861 textview_show_message() to display message.
4862 * src/textview.c: textview_add_part(): new. It adds the content
4863 of message part without clearing the view.
4864 textview_show_message(): display all parts with appropriate
4866 textview_write_body(): separated from textview_show_part().
4871 src/prefs_common.c: added ISO-8859-15 to the codesets for
4872 displaying and sending.
4873 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
4874 conversion failed, and made caller deal with it.
4875 * src/compose.c: compose_write_to_file(): show error dialog when
4876 code conversion failed, and let user select whether to send it
4878 * src/textview.c: textview_write_line(): show the original string
4879 if code conversion failed.
4883 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
4884 if copy_mbox() failed (thanks to Alexander Kabaev).
4885 * src/prefs_account.[ch]: added separate user ID / password setting
4887 * src/send.c: send_message_smtp(): use separate user ID / password
4888 for SMTP AUTH if it is specified.
4893 src/pop.[ch]: refactored the UIDL management.
4894 store the information of messages into the array of Pop3MsgInfo
4895 structure, and do full scanning of not retrieved messages.
4901 src/mainwindow.c: set WMCLASS for window/dialog.
4902 * src/codeconv.c: conv_codeset_strdup(): return source string
4903 when jconv_alloc_conv() failed.
4907 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
4914 src/summaryview.c: implemented the new notebook tab interface for
4916 * src/textview.[ch]: fixed line space related glitches.
4920 * src/prefs_filter.c:
4921 prefs_filter_rename_path()
4922 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
4926 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
4927 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
4929 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
4930 cancelled, and fixed potential crash bug.
4931 * src/grouplistdialog.c: enabled cancelling of data receiving.
4932 * src/news.c: news_get_group_list(): destroy current session if
4937 * src/manage_window.[ch]: fixed a bug that caused crash when
4938 the main window was hidden.
4939 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
4940 Monitor "unmap_event", "destroy" events.
4947 src/grouplistdialog.c
4951 src/message_search.c
4955 src/prefs_customheader.c
4956 src/prefs_display_header.c
4958 src/prefs_template.c
4959 src/summary_search.c
4960 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
4961 connect signals for window management.
4965 * src/prefs_account.[ch]: added receive size limit option.
4966 * src/pop.c: skip messages larger than the limit size.
4967 LOOKUP_NEXT_MSG(): new macro.
4968 * src/compose.c: compose_attach_append(): check whether the file
4973 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
4974 changed g_message()'s to debug_print() and g_warning().
4975 rfc2015_decrypt_message(): fixed a bug that duplicated message
4976 parts when decryption was failed/cancelled. And made some code
4978 * src/passphrase.c: made the dialog transient.
4979 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
4984 src/procmsg.[ch]: fixed a bug that failed to parse multipart
4985 messages if GPGME was enabled.
4986 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
4988 * src/prefs_account.c: prefs_account_privacy_create(): modified
4989 the vertical spacing.
4993 * src/menu.[ch]: menu_set_sensitive_all(): new.
4994 menu_set_insensitive_all(): made it a wrapper for
4995 menu_set_sensitive_all().
4996 * src/prefs_account.c:
4997 prefs_account_open()
4998 prefs_account_protocol_set_optmenu(): made the protocol type
4999 unchangeable after creating an account.
5000 * src/compose.c: compose_attach_parts(): traverse MIME tree to
5001 extract all attathed files from nested multipart MIME message.
5005 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
5006 obtain minimum/maximum number, and to specify first number
5009 src/inc.c: enabled new message checking on news folder.
5010 * src/news.c: news_scan_group(): implemented. Guess new/unread
5011 message number from the response of GROUP command and the mark
5013 news_select_group(): return the total/first/last number.
5014 * src/prefs_account.c: prefs_account_receive_create(): modified
5015 the text of the 'Get all' check button.
5019 * src/account.c: made 'Get all' checkbox available for IMAP4 and
5021 * src/inc.c: corrected the argument of folderview_check_new().
5022 * src/prefs_account.c: modification for the "`Get all' checks for
5023 new mail on this account" checkbox.
5027 * src/folderview.[ch]:
5028 folderview_rescan_tree(), folderview_rescan_all(): renamed from
5029 folderview_update_tree() and folderview_update_all().
5030 folderview_update_all_node(): removed.
5031 folderview_check_new(): new. If the argument is NULL, it checks
5032 all local folders. If the arguments is specified, it checks
5033 the (local and remote) folder.
5036 inc_all_account_mail(): check also IMAP4 account.
5041 folderview_rename_folder_cb()
5042 folderview_delete_folder_cb(): modify the filter rules when folder
5044 * src/prefs_filter.[ch]:
5045 prefs_filter_rename_path(): new. It renames the destination paths
5047 prefs_filter_delete_path(): new. It deletes the filter rules if
5048 the destination paths matched.
5049 * thanks to Neill Miller for above.
5053 * src/compose.c: inherit attached files when forwarding or reediting
5054 (rewrote the code in claws branch).
5055 compose_attach_parts(): new. It extracts and attaches the files
5056 in the given message.
5057 compose_attach_append(): chnaged the types of arguments.
5058 * src/messageview.c: messageview_show(): moved the GPG decryption
5060 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
5068 * src/summary_search(): summary_search_execute(): scroll the view
5069 when message view is hidden.
5073 * src/foldersel.c: foldersel_set_tree(): made different type of
5074 folders selectable in moving mode.
5075 * src/folderview.[ch]: folderview_update_msg_num(): compare the
5076 numbers with the CTree's labels, and don't update folder_item here.
5077 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
5078 implemented moving between different type of folders.
5079 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
5080 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
5081 mh_move_msg() and mh_move_msgs_with_dest()).
5082 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
5083 moving between different type of folders.
5084 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
5085 * src/summaryview.c: summary_status_show(): update folder_item
5087 * po/POTFILES.in: removed reference to headerwindow.c.
5088 * src/summaryview.c: summary_step(): fixed the behavior on the
5089 head and tail of the list.
5093 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
5094 all header' toggle state from the property of the TextView.
5095 * src/summaryview.[ch]: made 'All header' toggle switch.
5096 Prohibited unnecessary menu update.
5097 summary_select_node(): added the argument 'do_refresh'.
5102 * src/utils.c: strsplit_with_quote(): remove quotation characters
5103 in the function (fix composer's external editor problem) (thanks
5104 to Stefaan A Eeckels).
5105 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
5106 main_window_menu_callback_block()
5107 main_window_menu_callback_unblock(): new.
5108 main_window_set_menu_sensitive(): set the toggle status of
5110 show_all_header_cb(): read the status of toggle menu item.
5111 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
5112 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
5117 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
5118 the path separator (thanks to Sergey Vlasov).
5119 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
5120 if the length of selection is zero.
5121 Fixed the assertion.
5122 * src/utils.c: str_open_as_stream(): return immediately if
5123 the length of str is zero.
5124 * src/headerwindow.[ch]: removed.
5126 src/inc.c: removed stale thread support codes.
5130 * src/procmsg.c: procmsg_open_message(): modified so that it
5131 returns the stream of decrypted message file if it exists
5132 (this fixes the failure of gpg decryption in messageview.c).
5142 src/prefs_template.c
5144 src/quote_fmt_parse.y
5146 src/utils.[ch]: if the part of the message text is selected, use
5147 it for quoted text instead of the entire message body (thanks to
5149 src/utils.[ch]: str_open_as_stream(): new. It returns an
5150 temporary stream for the given string.
5151 * src/main.c: added "--send" command line option.
5152 * src/compose.c: compose_reply_set_entry(): add From address to
5153 Cc if Reply-To and to_all are both specified.
5154 * Makefile.am: correct the Source: line in the RPM spec file in
5159 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
5161 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
5162 that specifies the folder selection type.
5173 src/prefs_customheader.c
5175 src/summaryview.c: made it compile with C compilers other than gcc
5176 (thanks to Shawn Houston).
5180 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
5182 * src/prefs_common.c: made the key binding setting separate dialog.
5183 * src/addressbook.c: addressbook_format_address(): add "" around
5184 the display name if it contains comma (thanks to Satoshi Watanabe).
5185 * src/addr_compl.c: get_complete_address(): add "" around the
5186 display name if it contains comma.
5187 get_address_from_edit(): handle the quotation character correctly.
5188 * src/addr_compl.c: get_complete_address()
5189 src/addressbook.c: addressbook_format_address(): fixed a bug that
5190 caused wrong text processing if the display name is empty.
5195 * src/compose.c: compose_exec_ext_editor_real(): replaced
5196 g_strsplit() with strsplit_with_quote().
5198 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
5200 folderview_drag_motion_cb()
5201 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
5202 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
5206 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
5207 of the message is different from the current mailbox.
5208 Return the correct value.
5209 imap_cmd_append(): properly implemented the APPEND command.
5214 src/messageview.[ch]
5215 src/summaryview.[ch]
5216 src/textview.[ch]: show all headers in the message view, and don't
5217 use the header window anymore.
5219 src/prefs_common.c: changed the default shortcut of 'compose new
5222 src/summaryview.[ch]: summary_display_msg_selected(): new.
5223 Show the selected message if 'Show all header' is selected.
5225 src/sourcewindow.c: changed some procmsg_get_message_file_path()
5226 to procmsg_get_message_file() to be sure the message is
5228 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
5229 any folder to MH folder.
5230 folderview_drag_received_cb(): copy messages instead of moving
5231 if the source folder is news or IMAP.
5233 src/summaryview.c: allow copy from news folder.
5237 * src/prefs_common.c: prefs_other_create(): modified the design
5238 of the external command settings.
5239 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
5240 preset closer to the original.
5241 Added Mutt keybind preset.
5242 Also change the compose keybinds.
5243 * src/compose.c: modified some menu shortcuts.
5244 * src/codeconv.c: modified the locale_table for Thai encoding.
5248 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
5249 * src/prefs_common.c: prefs_interface_create(): modified the
5250 description for menu shortcut.
5254 * src/gtkutils.[ch]: added gtk_stext_clear().
5257 src/summaryview.[ch]: enabled multiple forwarding.
5258 * src/summaryview.c:
5259 summary_set_marks_selected(): set marks for all selected row.
5260 summary_reply(): moved from summary_reply_cb().
5261 * compose.[ch]: compose_forward(): modified so that it receives
5263 * src/mainwindow.c: cleanup for reply processing.
5264 * src/summaryview.c: summary_reply(): fixed a memory leak.
5265 summary_key_pressed(): removed hardcoded mark / mark as unread
5268 src/prefs_common.c: added mark / mark as unread shortcuts to
5273 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
5274 if prefs_common.linewrap_quote is not set (it is only for
5275 auto-wrapping on reply).
5276 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
5277 when creating a new account.
5278 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
5280 * src/prefs_common.c: prefs_interface_create(): modified the
5281 description of key binds selector.
5285 * src/mimeview.c: fixed multiple dialog / moving by correcting
5286 button / key event processing.
5288 src/textview.c: pass some key press events to MimeView in MIME
5290 * src/prefs_filter.c: fixed a bug that didn't set the order of
5292 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
5293 empty_menurc string.
5298 src/prefs_common.c: reorganized the menu shortcuts.
5299 Added 'View - Toggle summary view'.
5300 * src/summaryview.[ch]: summary_toggle_view(): made it public
5302 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
5304 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
5305 closing the dialog with window manager (in more appropriate way).
5306 * src/imageview.[ch]
5308 src/mimeview.c: fixed wrong scrolling position when switching
5309 between text and image parts. Also free the unrequired image
5310 (thanks to Sergey Vlasov).
5311 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
5316 * src/prefs_common.c: implemented shortcut quick changer.
5317 * src/folderview.c: folderview_key_pressed()
5318 src/summaryview.c: summary_key_pressed(): removed some hardcoded
5324 procmime_get_mime_type()
5325 procmime_get_mime_type_table(): made the MIME type search case
5328 gtk_stext_delete_line(): delete newline on empty line.
5329 gtk_stext_delete_to_line_end(): delete newline if cursor is on
5331 (thanks to Yasuzaki Masayoshi.)
5336 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
5337 and made them customizable.
5338 * src/utils.[ch]: added get_file_size_as_crlf() which returns
5339 the file size when converting LF to CR+LF.
5343 * src/compose.c: enabled 'Ctrl-Enter' or
5344 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
5346 * src/gtkstext.c: disabled some Emacs key bindings.
5347 gtk_stext_key_press(): don't extend selection when Shift-Enter
5348 is pressed to prevent the disapperance of cursor.
5349 * src/summaryview.c: summary_select_next_unread(): added the button
5350 to search unread message again from the beginning to the dialog.
5351 * src/folderview.c: folderview_key_pressed(): go to next unread
5352 folder if space key is pressed on the empty folder.
5353 Move CTree focus before selecting row.
5357 * src/defs.h: modified the XLFD of default fonts.
5358 * src/textview.c: textview_create(): fixed a bug that caused
5359 segfault if font couldn't be loaded.
5361 src/grouplistdialog.c: compare subscribed groups with path.
5362 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
5366 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
5367 when URL is wider than wrapping margin.
5369 src/prefs_filter.[ch]
5370 src/summaryview.[ch]: added "Create filter rule" function based
5371 on the patch from Luca Rosellini.
5372 * src/summaryview.c: summary_filter_open(): added X-List and
5373 X-Mailing-list to the automatically detected headers.
5377 * configure.in: support Mac OS X (Darwin).
5381 * src/prefs_filter.c: use inc_(un)lock() instead of
5382 inc_autocheck_timer_{remove|set}().
5383 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
5384 instead of gtk_ctree_sort_node() so that messages within threads
5386 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
5387 target of sizeof was wrong and caused crash on Alpha architecture
5388 (thanks to Motonobu Ichimura).
5393 foldersel_gnode_func(): made the names of special folders
5395 foldersel_set_tree(): move the special folder to the top.
5396 * src/inputdialog.[ch]: input_dialog_query_password(): new.
5400 src/send.c: use input_dialog_query_password() instead of their
5401 own query functions.
5405 * src/defs.h: modified the default font.
5409 src/news.[ch]: moved the class definition and some methods to
5410 the proper location.
5414 * src/mimeview.c: mimeview_save_as()
5415 src/summaryview.c: summary_save_as(): put the default filename
5416 based on the subject.
5417 * src/utils.[ch]: added subst_chars() and subst_for_filename()
5418 which substitute some special characters with underscore.
5419 * src/filesel.c: filesel_select_file(): select the default filename.
5424 INSTALL.jp: added the description and the URL for libjconv.
5425 * src/mainwindow.c: menu entries cleanup.
5431 src/about.c: modified the copyright year.
5432 * src/gtkstext.h: added the notice for modification by the Sylpheed
5438 INSTALL.jp: added the URL for compface.
5446 * src/headerwindow.c
5449 src/sourcewindow.c: set wmclass when creating windows.
5453 * src/compose.c: compose_wrap_line_all(): fixed the bug that
5454 caused infinite loop when wrapping certain patterns of quoted text.
5458 * src/imap.c: imap_parse_envelope(): put the assertion after
5459 imap_parse_address() to prevent segmentation fault.
5464 src/mainwindow.c: modified some labels of menu items.
5465 * src/ldif.c: put the return value of fgetc() in a gint.
5466 * src/importldif.c: don't brace null strings with _().
5467 * src/compose.c: moved the position of Subject entry to the last.
5468 Reorganized the menu.
5469 compose_draft_cb(): added 'keep editing after saving to draft'
5474 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
5475 menu. Moved 'Help' menu to just the right of 'Configuration'.
5476 Removed 'File - Close' menu item.
5480 * src/mainwindow.c: some menu reorganization.
5481 * AUTHORS: updated. Added more contributors.
5482 * src/account.c: account_row_moved(): new. Moves displayed row to
5483 the appropriate position when up / down button are pressed.
5484 account_clist_set(): move displayed row to the appropriate position.
5486 src/mainwindow.c: set title and wmclass when creating windows.
5490 * src/gtkstext.c: fixed a bug that didn't show block cursor
5491 correctly. Removed unnecessary GdkGC copy. Fixed cursor
5496 src/undo.c: modified to use GtkSText.
5497 * src/menu.h: added #include <gtk/gtkmenu.h>.
5502 configure.in: added XIM checking for GTK+.
5503 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
5507 * src/filter.c: added #include <sys/types.h>.
5511 * src/template.c: template_write_config(): fixed a typo.
5512 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
5514 src/prefs_filter.c: supported regular expression (thanks to
5516 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
5517 undo state when pasted clipboard was empty.
5518 undo_check_size(): use g_list_last().
5520 undo_redo(): fixed NULL checking and made a bit of optimization.
5522 * src/prefs_common.c: changed the default value of linewrap length
5527 * reorganization of pixmap management.
5528 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
5529 * modified every files which directly use pixmaps data to use
5531 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
5532 undo_set_change_state_func(), and changed its argument from
5533 GtkWidget* to gpointer.
5534 undo_merge(): code cleanup.
5535 * src/compose.c: renamed compose_set_undo() to
5536 compose_undo_state_changed().
5540 * src/account.c: account_find_from_address(): made it case
5542 * src/addressbook.c: addressbook_create(): set wmclass.
5543 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
5546 src/ldif.[ch]: merged from the claws branch.
5547 * src/importldif.c: removed some warnings.
5548 imp_ldif_field_list_toggle(): fixed button checking.
5549 imp_ldif_dialog_create(): minor layout fix.
5550 * src/ldif.c: removed some warnings.
5552 INSTALL.jp: updated confirmation list.
5555 vcard_test_read_file(): fixed a memory leak of tagtemp.
5556 Some code cleanups (decreasing the indent level).
5559 src/syldap.[ch]: disabled runtime library checking because JPilot
5560 and LDAP libraries are linked on the build time, and the program
5561 doesn't execute without them anyway.
5563 src/addrindex.c: changed "J-Pilot" to "JPilot".
5564 Removed warning for atoi().
5568 * src/procmsg.c: procmsg_empty_trash()
5569 src/mainwindow.c: main_window_empty_trash(): empty trash only if
5570 it contains some messages.
5571 * src/imap.c: search_array_str(): new.
5572 imap_status(): fixed a bug that didn't parse the command response
5577 * merged undo function (by Jens Oberender).
5578 * src/undo.[ch]: new.
5579 undo_insert_text_cb(): fix for multibyte characters (obtain the
5580 number of letters instead of bytes).
5581 * src/compose.[ch]: added the code for undo.
5582 * src/prefs_common.[ch]: added the interface for setting undo level.
5586 * src/compose.c: compose_template_apply()
5587 src/prefs_template.c: prefs_template_clist_set_row()
5588 src/template.c: template_write_config(): don't replace To: and
5589 Subject: entry in composition window if they are empty.
5597 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
5598 * src/ldif.c: ldif_get_line(): ignore CR.
5599 * src/mimeview.c: mimeview_show_message(): search also text/html
5600 for first text part.
5604 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
5605 that didn't update accountrc if account_list == NULL (thanks to
5610 * src/utils.h: added the macro Xstrcat_a() that concatenates
5611 two strings and return alloca'd string.
5612 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
5613 handle folder name which includes some spaces correctly
5614 (based on the patch from Willem van Engen (thanks!)).
5615 * src/compose.c: compose_wrap_line_all(): fixed the crash when
5616 wrapping long lines if linewrap quotation is disabled and
5617 a word spanning more than one line.
5621 * applied the Tobias' patch with modification (thanks!).
5623 imap_msg_set_perm_flags()
5624 imap_msg_unset_perm_flags(): new. They set permanent flags to
5627 src/summaryview.c: set flags on IMAP server when flags are changed.
5631 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
5632 of gtk_container_remove() for workaround of a bug in
5633 Gtk{Text,Entry} (thanks to Sergey Vlasov).
5639 src/textview.c: replaced gtk_container_remove() with
5640 gtkut_container_remove(), and removed previous partial fix.
5644 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
5645 checked user ID on "local", but didn't on IMAP4.
5646 * src/imap.c: imap_session_get(): fixed a crash bug when
5647 rfolder->session == NULL.
5648 * Makefile.am: changed the arguments of tar from 'chojf' to
5650 * src/summaryview.c: summary_toggle_view(): disclaim the selection
5651 of textview before removing vpaned.
5655 * src/messageview.c: messageview_change_view_type(): disclaim the
5656 selection before removing textview. This solves the mysterious
5657 copy-paste disability (thanks to Melvin Hadasht).
5658 * src/textview.c: textview_set_font(): use
5659 gtk_editable_claim_selection() instead of
5660 gtk_editable_select_region().
5664 * src/prefs_template.c: prefs_template_window_create(): supported
5665 address completion on the To: entry.
5670 folder_count_total_msgs()
5671 folder_count_total_msgs_func(): use g_node_traverse() to traverse
5676 * src/compose.c: fixed a bug that empty body was refused.
5677 * src/prefs_template.c: fixed a bug that didn't set To: entry
5678 correctly. Display error dialog if format is illegal.
5679 * src/prefs_common.c
5681 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
5682 "{ }" to prevent confusion on using parenthesis.
5683 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
5687 * src/prefs_template.c: added colon to the header labels.
5692 src/prefs_template.c
5693 src/template.[ch]: added To field to the template.
5697 * src/textview.c: textview_show_part(): use first found
5698 message/rfc822 header.
5699 * src/folderview.c: added "Search messages..." to the context menu.
5700 * src/prefs_common.c: prefs_quote_description_create(): added
5701 description for characters which need to be escaped.
5705 * src/compose.c: compose_wrap_line_all(): more merging from claws.
5706 GET_CHAR(): renamed GET_TEXT() and made it more generic.
5707 Modified compose_wrap_line() and compose_wrap_line_all() to use
5709 * src/textview.c: textview_show_part(): show the header of nested
5710 RFC822 attachment correctly.
5715 src/main.c: added --status option to get new, unread and total
5716 message count from a running Sylpheed (merged from claws).
5717 prohibit_duplicate_launch(): output '\n' only once.
5722 src/gtkutils.[ch]: merged the new wrapping function.
5723 gtkut_text_str_compare_n()
5724 gtkut_text_str_compare()
5725 gtkut_text_is_uri_string(): backport from the GtkSText in the
5726 claws branch, and made modification.
5727 * src/prefs_template.c
5728 src/template.[ch]: added Subject to the template.
5732 * src/compose.c: compose_write_headers(): added missing parenthesis
5733 that generated invalid custom header (thanks to Masaaki Noro).
5734 Allow Sender: custom header.
5738 * src/procheader.c: procheader_date_parse(): workaround for
5739 RFC-incompliant Date header.
5743 * src/addrbook.c: removed redundant functions, and fixed generation
5744 of spurious address book file names.
5745 * src/addrindex.c: V-Card -> vCard.
5749 * src/textview.c: get_email_part(): replaced isalnum() with
5750 the macro IS_ASCII_ALNUM() which restricts the range of
5751 characters to 7bit ASCII (thanks to Shimamoto).
5752 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
5757 * src/textview.c: textview_show_part(): show headers on nested
5762 * src/imap.c: imap_session_get()
5763 src/news.c: news_session_get(): fixed segfault when reconnection
5765 * src/grouplistdialog.c: removed redundant code, and expand nodes
5766 that doesn't match the pattern.
5770 * src/compose.c: modified so that it sends message when any of
5771 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
5772 compose_check_for_valid_recipient(): new.
5773 * src/grouplistdialog.c: improved the UI.
5774 Added appropriate description and search button.
5775 Search doesn't get group list again.
5779 * src/news.[ch]: news_session_get(): update the last access time
5781 news_group_list_free(): new.
5782 * src/grouplistdialog.c: free resources correctly.
5787 src/grouplistdialog.[ch]: more merging of new newsgroup
5788 subscription dialog.
5789 * src/news.[ch]: renamed news_remove_group_list() to
5790 news_remove_group_list_cache().
5794 * src/defs.h: added MAX_ENTRY_LENGTH definition.
5795 * src/compose.c: compose_add_entry_field(): create new entry with
5800 * src/grouplistdialog.c: made non-leaf node selectable.
5801 Give the complete newsgroup name for each nodes.
5805 * src/grouplistdialog.c
5806 src/news.[ch]: merging of new newsgroup subscription dialog
5807 (still in progress. Don't use it yet!).
5811 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
5812 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
5814 compose_entries_set(): new. It parses mailto URL and put each
5815 values into the entries.
5819 * src/compose.c: compose_forward(): fixed a bug that forward
5820 quote mark wasn't used (thanks to Hironori IWANE).
5823 src/prefs_common.c: added Thai encodings (thanks to Manrat
5828 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
5832 src/news.c: added last_access_time to Session.
5833 imap_session_get(): check connection only when access interval
5842 * src/socket.c: ssl_gets(): use SSL_peek.
5843 * updated NEWS and AUTHORS.
5844 * Makefile.am: fixed release target.
5848 * src/template.c: changed the format of template file to
5850 * src/compose.c: compose_template_apply(): freeze the text widget
5851 while inserting strings.
5855 * po/POTFILES.in: removed src/template_select.c.
5856 * src/summaryview.c: summary_set_header()
5857 src/address.c: address_parse_str()
5858 src/filter.c: filter_read_str()
5859 src/news.c: news_parse_xover()
5860 src/procheader.c: procheader_get_fromname()
5861 src/utils.c: subject_compare():
5862 replaced Xalloca() + strcpy() with Xstrdup_a().
5863 * src/inputdialog.[ch]: added combo mode.
5864 input_dialog_combo(): new.
5865 * src/prefs_common.[ch]: added MIME open command setting.
5866 prefs_common_{read, save}_config(): read / write command history.
5867 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
5868 * src/utils.[ch]: add_history(): history list management function.
5872 * src/compose.c: select templates from the menu.
5873 compose_set_template_menu(): new.
5874 compose_reflect_prefs_all(): new.
5875 compose_template_apply(): new. Use dummy MsgInfo for parsing.
5876 * src/template.[ch]: store template list to the static heap.
5877 template_get_config(): new.
5878 template_set_config(): new.
5879 * src/prefs_template.c: don't store template list to the global area.
5880 * src/template_select.[ch]: removed.
5881 * src/quote_fmt_parse.y: check folderitem when quoting messages.
5882 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
5883 (thanks to OSHIRO Naoki).
5887 * src/utils.[ch]: get_template_dir(): new.
5888 * src/template.c: use get_template_dir().
5892 * src/prefs_template.c: modified the dialog layout.
5893 Added symbol description button.
5894 * src/summaryview.c: show an arrow mark to the column of the sort
5896 summary_set_column_titles(): new.
5902 TODO.jp: updated the documents.
5906 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
5907 * src/textview.c: textview_key_pressed()
5908 src/mimeview.c: mimeview_key_pressed()
5909 src/summaryview.c: summary_key_pressed(): delete messages with
5914 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
5915 when SSL_read() returned 0.
5916 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
5918 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
5919 Add prototype of yylex() to suppress the warning.
5920 * merged the template function.
5921 * src/prefs_template.[ch]
5923 src/template_select.[ch]: new.
5924 Renamed prefs_templates_* -> prefs_template_*.
5925 * src/compose.c: added template menu. Added replyinfo to Compose.
5926 * src/mainwindow.c: added template setting menu.
5927 * src/quote_fmt_lex.l: output literal tab and return as is.
5928 * src/prefs_common.c: changed the pref. name of quote format to
5929 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
5933 * src/prefs_common.[ch]: added Quote tab, and moved the quote
5934 setting from Compose tab.
5935 * merged the new quote format parser.
5936 * src/quote_fmt_lex.h
5939 src/quote_fmt_parse.y: new files for quote format parser.
5940 * configure.in: added checks for lex and yacc.
5941 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
5943 compose_quote_fmt(): new.
5944 * src/prefs_common.[ch]: added forward format setting to the
5945 Quote tab. Updated the quote description dialog.
5946 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
5947 if they couldn't get text part.
5951 * src/pixmaps/checkbox_off.xpm
5952 src/pixmaps/checkbox_on.xpm: new.
5953 * src/account.c: display `get all' status with the checkbox pixmaps.
5957 * src/send.c: code cleanup. Pass account prefs structure instead
5959 Query password for SMTP AUTH if not specified (thanks to Mio).
5963 * src/procheader.c: procheader_parse(): fixed a bug that didn't
5964 parse multiple message-id in In-Reply-To: header correctly
5965 (thanks to KAJIWARA).
5969 * src/account.c: enabled 'Get all' setting by clicking the 'G'
5970 column of account list, and added some description.
5971 * src/prefs_common.c: prefs_send_create(): added a description
5972 for outgoing codeset.
5976 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
5977 and added select button and short description.
5978 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
5980 procmime_get_mime_type_table()
5981 procmime_get_mime_type_list(): modified so that
5982 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
5983 $(HOME)/.sylpheed/mime.types are read.
5987 * src/prefs_account.c: moved the address auto-setting to the compose
5989 prefs_account_create(): removed gtk_widget_show_all() for proper
5991 * src/prefs_common.c: changed "Program path" to "Command".
5995 * src/textview.c: textview_set_font(): support Russian charset
5997 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
6001 prefs_summary_column.c: minor improvements to the English.
6002 * src/main.c: get_queued_message_num(): don't output the warning
6003 when queueing folder is not found.
6011 * src/prefs_summary_column.[ch]:
6012 made prefs_summary_column_get_config() public.
6013 * src/summaryview.c: summary_ctree_create(): some code cleanup.
6014 * configure.in: moved the position of SSL checking after LDAP
6015 for linking problem.
6020 src/summaryview.c: allowed reedit in the outbox.
6021 * src/prefs_summary_column.[ch]: new. UI for setting summary
6023 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
6024 It calls summary_set_column_order().
6025 * src/summaryview.[ch]:
6026 summary_ctree_create(): new. separated from summary_create().
6027 summary_set_column_order(): new. It destroys the current
6028 CTree and replaces it with the new one.
6032 * src/smtp.[ch]: smtp_from(): abort if auth failed.
6033 * changed C++-style comments into C-style in some files, and
6034 removed unnecessary commented out codes.
6035 * src/addrcache.[ch]
6039 src/syldap.[ch]: updated the addressbook code, and fixed the
6042 src/importldif.[ch]: new.
6046 * src/about.c: added some items to compiled-in features.
6047 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
6048 * src/addressbook.c: changed "V-Card" to "vCard".
6049 addressbook_edit_address_cb(): added
6050 invalidate_address_completion() to the point address is changed.
6051 * src/codeconv.c: changed C++-style comments into C-style.
6055 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
6059 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
6064 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
6066 * src/summaryview.c:
6067 summary_thread_init(): separated from summary_thread_build().
6068 summary_thread_build(): removed the codes for initialization.
6069 summary_set_ctree_from_list(): call summary_thread_init() instead
6070 of summary_thread_build().
6071 summary_filter(): fixed a bug that didn't moved messages despite
6072 of immediate execution setting.
6076 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
6077 reversed thread tree from message list.
6078 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
6079 node to the head instead of appending to the tail. This prevents
6080 the traverse of node list inside of the GtkCTree, and considerably
6081 speeds up the summary display (the order is O(n^2) -> O(n)).
6085 * src/prefs_common.c
6086 src/summaryview.[ch]: initial modification for reorderable columns.
6090 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a
6092 * src/folderview.c: folderview_button_pressed(): code cleanup, and
6093 turn sensitivity off if main window is locked.
6094 * src/syldap.c: syldap_read_data(): removed unnecessary and
6095 unportable sched_yield().
6099 * src/folderview.c: renamed "Update folder tree" context menu to
6100 "Rescan folder tree", and made "Update folder tree" only updates
6102 folderview_update_all_node(): don't show message dialog.
6103 * src/gtkutils.c: gtkut_widget_get_uposition()
6104 src/mainwindow.c: main_window_popup(): clip the coordinate to
6109 * src/utils.c: to_human_readable(): made a bit of optimization.
6110 * src/summaryview.c: summary_delete(): fixed a focus problem.
6111 summary_find_{prev,next}_msg(): new. They find previous/next
6112 message that is not deleted.
6113 * src/prefs_filter.c: scroll CList automatically if moved row
6114 becomes not fully visible.
6118 * updated some autotool scripts.
6119 * src/codeconv.c: conv_encode_header(): fixed a bug that caused
6120 infinite loop when failed to convert encoding.
6121 * src/codeconv.[ch]: a fix for older version of libjconv
6122 (jconv_info_get_current_codeset() returned "EUCJP" instead of
6131 * src/compose.c: compose_write_to_file()
6132 src/codeconv.c: conv_codeset_strdup(): more workaround for
6133 libjconv problem on C locale.
6134 * src/editldap_basedn.c: fixed segfault when opening dialog.
6135 * src/utils.c: is_next_mbs()
6136 src/compose.c: compose_wrap_line(), compose_wrap_line_all():
6137 changed MB_CUR_MAX to MB_LEN_MAX for compliance to ANSI C.
6138 * configure.in: increased the reqired version of GPGME to 0.2.3.
6139 * src/pop.c: pop3_getauth_user_recv(): fixed a bug that closed
6140 the receive dialog when POP3 server refused normal authentication.
6144 * src/prefs_common.c: prefs_receive_create(): correction to English.
6145 * src/compose.c: compose_set_ext_editor_sensitive(): fixed a bug
6146 that didn't set the menu sensitivity correctly (thanks to
6148 * src/summaryview.c: delete messages permanently if the current
6149 folder is trash and 'delete' operation is executed.
6150 Fixed the bug that didn't select the last row correctly (thanks
6151 to Alfons Hoogervorst).
6152 * src/folder.[ch]: folder_item_remove_msgs(): new. It removes
6153 all messages given in the list.
6157 * src/summaryview.c: summary_show(): fixed a bug that didn't show
6158 message even if the 'open unread message on entering folder'
6159 option was turned on.
6163 * src/procmime.c: procmime_get_text_content(): supported HTML.
6167 * src/summaryview.[ch]: implemented new locking mechanism, and
6168 replaced every static locks with summary_lock(), summary_unlock(),
6169 and added locks to some extra functions.
6170 This fixes a bug that caused segfault when 'd' (delete) key
6175 * src/addressbook.c: addressbook_folder_load_person(): fixed a bug
6176 that caused segfault (thanks to Stefaan A Eeckels).
6180 * src/textview.[ch]: added textview_set_position().
6181 * src/messageview.[ch]: added messageview_set_position().
6193 src/editldap_basedn.c
6198 src/vcard.c: converted C++-style comments into C-style one.
6199 * src/imap.c: QUOTE_IF_REQUIRED(): new macro. Copy string into
6200 new buffer and quote with double quotes if required.
6201 imap_status(), imap_cmd_login(), imap_cmd_list(),
6202 imap_cmd_do_select(), imap_cmd_create(), imap_cmd_delete(),
6203 imap_cmd_copy(): use QUOTE_IF_REQUIRED().
6204 * compose.c: compose_write_to_file(): workaround for the problem
6205 when using libjconv and 8bit codes cannot be converted on C
6207 * codeconv.[ch]: added "ANSI_X3.4-1968" to encoding strings.
6208 conv_codeset_strdup(): don't convert if source and destination
6209 codeset are identical.
6213 * src/textview.[ch]: textview_search_string_backward(): new.
6214 Add the new member cur_pos to TextView.
6215 Connect button_press_event with gtk_signal_connect_after() to
6216 obtain the correct editable position.
6220 * src/folder.c: folder_write_list_recursive(): preserve unthreaded
6225 * src/summaryview.c: modified the layout of popup menu.
6232 src/summaryview.c: applied the patch from Alfons that allows
6233 threading setting for each folders (tnanks!).
6237 * src/message_search.[ch]: new. A Dialog for searching in current
6239 * src/gtkutils.[ch]: gtkut_text_match_string(): new. Compare the
6240 text in current position of GtkText and given wide-character
6242 * src/messageview.[ch]: messageview_search_string()
6243 src/textview.[ch]: textview_search_string(): return TRUE if
6245 * src/textview.[ch]: remember the beginning of body.
6249 * src/procmime.c: procmime_get_first_text_content(): modified so
6250 that it search entire MIME structure.
6251 * src/summary_search.c: summary_search_execute(): use
6252 strdup_mbstowcs() instead of macro. Display matched message.
6256 * src/inc.c: fix for background POP3 hangs and crashes (thanks to
6258 * src/summary_search.c: added body searching function.
6259 * src/procmime.[ch]: procmime_find_string(): changed arguments
6260 and return value. Added case sensitivity option.
6264 * src/procmime.[ch]:
6265 procmime_find_string()
6266 procmime_find_string_part(): new. It searchs the string from
6268 Renamed procmime_get_text_part() to
6269 procmime_get_first_text_content().
6270 procmime_get_text_content(): new. It returns the text contents
6271 of the specified MIME part.
6272 procmime_mimeinfo_next(): new. It returns the next node of
6277 * src/procmime.c: procmime_get_text_part(): modified so that it
6278 finds a text part in nested multipart message correctly.
6279 * src/procmime.h: added an example of MimeInfo structure.
6280 * src/mimeview.c: mimeview_show_message(): search the first text
6285 * src/mainwindow.c: ac_menu_popup_closed(): fixed the bug that
6286 caused segfault. Changed 'Preferences per account...' menu item.
6294 * src/addrindex.c: translate the "Common address" and "Personal
6295 address" from old addressbook.
6299 * src/utils.c: get_quote_level(): some optimization and bugfixes.
6300 * src/codeconv.[ch]: conv_get_current_locale(): new.
6301 * src/editaddress.c: edit_person_page_basic(): reverse the order
6302 of first and last name on some locales.
6306 * src/compose.c: applied the patch from Yasumatsu that reformats
6307 the current paragraph (thanks!). Modified so that it doesn't
6308 reformat quoted paragraphs.
6309 compose_create(): don't fill the entry automatically on reedit
6312 src/summaryview.[ch]: added the "Mark all read" option.
6313 summary_mark_all_read(): new.
6321 src/editldap_basedn.c
6323 src/editjpilot.c: removed all warnings.
6325 src/jpilot.[ch]: fixed the problem that failed to detect JPilot
6326 header files on the Debian system.
6328 src/summaryview.[ch]: enabled sorting by mark, unread, attachment,
6329 and color label. Enabled moving to next/prev flagged messages.
6333 * src/pixmaps/dir-close.xpm
6334 src/pixmaps/dir-open.xpm
6336 src/pixmaps/unread.xpm: modified the color balance.
6337 * src/utils.[ch]: execute_sync(): new.
6338 execute_command_line(): added the arg for async mode.
6339 * src/inc.c: inc_mail(): use execute_command_line().
6344 src/prefs_common.[ch]
6345 src/prefs_account.c: modified the layout. Added the option to
6346 launch the external editor automatically.
6347 * src/compose.c: launch the external editor automatically if the
6352 * src/Makefile.am: added extra xpm's.
6356 * src/addressbook.c: fixed a compilation problem when enabling
6358 addressbook_open(): fixed a missing 'else'.
6362 * src/pixmaps/dir-close.xpm
6363 src/pixmaps/dir-open.xpm
6364 src/pixmaps/trash.xpm: replaced with the new blue icons.
6365 * merged Match Grun's new addressbook code.
6366 * src/pixmaps/address.xpm
6367 src/pixmaps/book.xpm
6368 src/pixmaps/category.xpm
6369 src/pixmaps/interface.xpm
6370 src/pixmaps/jpilot.xpm
6371 src/pixmaps/ldap.xpm
6372 src/pixmaps/vcard.xpm: new icons.
6376 src/addressitem.[ch]
6379 src/editaddress.[ch]
6384 src/editldap_basedn.[ch]
6389 src/vcard.[ch]: new. Many fixes to remove the huge amount of
6391 addrbook_build_avail_email_vis(): fixed a memory leak.
6395 * NEWS: brought in the all of the changes previously put on the web.
6400 src/summaryview.c: modified the layout of menus.
6401 * src/mainwindow.c: ac_menu_popup_closed(): fixed a bug that didn't
6402 return a focus to the main window after selecting the account menu.
6410 * src/send.c: send_message_data(): fixed a bug that didn't process
6411 body part correctly.
6415 * src/inc.[ch]: changed inc_autocheck_(un)lock() to inc_(un)lock().
6416 inc_mail(), inc_all_account_mail(): return immediately if locked.
6419 src/prefs_account.c: use inc_lock() and inc_unlock() instead of
6420 inc_autocheck_timer_{remove,set}().
6421 * src/summaryview.c: summary_set_colorlabel_color(): get the average
6422 of label color and selected fg color for visibility.
6426 * src/inc.[ch]: inc_autocheck_lock(), inc_autocheck_unlock(): new.
6427 They increase/decrease the lock count.
6428 inc_autocheck_func(): if locked, delay the autochecking 1 second.
6429 inc_autocheck_timer_set_interval(): set interval by its argument.
6430 * src/summaryview.c: summary_show(): lock the autochecking while
6432 * src/main.c: app_will_exit(): remove autocheck timer.
6434 src/defs.h: removed the definitions of PACKAGE and VERSION to
6435 prevent unnecessary compilation.
6436 * configure.in: changed AC_DEFINE_UNQUOTED of PACKAGE and VERSION
6437 to AC_SUBST, and added src/version.h to AC_OUTPUT.
6438 * src/version.h.in: new.
6439 * src/intl.h: changed dgettext() to gettext().
6443 * po/ja.po: fixed a typo that crashed Sylpheed with older version
6445 * configure.in: fixed a bug that didn't show results correctly.
6446 Fixed a bug that --enable-compface and --enable-jconv disabled
6448 * src/procmsg.c: procmsg_send_queue(): don't abort when sending
6450 * src/compose.c: compose_write_headers(): add Bcc: header to the
6452 * src/send.c: send_message_data(): new. Separated from
6453 send_message_smtp(). Remove Bcc: header before sending.
6461 * src/send.c: implemented sending with local sendmail command.
6462 send_message_local(): new. It executes command with popen()
6463 and send the contents of RFC822 message to the command.
6464 * src/prefs_common.[ch]: enabled the external sending command option.
6465 * src/defs.h: #define DEFAULT_SENDMAIL_CMD /usr/sbin/sendmail -t
6466 * src/account.c: account_edit_create(): widened the protocol column.
6467 * src/summaryview.c: summary_set_colorlabel_color(): cleanup of
6472 * src/folder.c: folder_item_remove_msg(): scan the folder again
6473 if the last message is removed.
6474 * src/compose.c: compose_queue(), compose_draft_cb(): remove the
6475 old reedited message after adding the new message.
6479 * src/compose.c: compose_queue(): added AID: to the queueing header.
6480 * src/send.c: send_message_queue(): look for AID: header, and use
6481 the server specified in the account instead of SSV: header.
6483 src/compose.[ch]: queued messages can be reedited now.
6484 compose_remove_reedit_target(): new. It removes the old reedited
6486 compose_send(), compose_queue(), compose_draft_cb(): if reedit
6487 mode, remove the old message.
6488 * src/procmsg.c: procmsg_msg_exist(): fixed a bug that output
6493 * applied the XML string table patch from Alfons Hoogervorst that
6494 stores strings in a hash table and minimizes memory allocations
6496 * src/stringtable.[ch]: new.
6497 removed all G and g_ prefix from type and function names since
6498 they're not official GLib symbol names.
6499 string_table_insert_string(): fixed a bug that might refer to an
6500 invalid pointer on lookup, and also made a bit of optimization.
6504 * merged the color label feature from the claws branch (thanks to
6505 Satoshi Nagayasu and Alfons Hoogervoost).
6506 * src/colorlabel.[ch]: new. Renamed from labelcolors.[ch].
6507 Renamed labelcolors_*() to colorlabel_*().
6508 * src/summaryview.[ch]: added color label support.
6509 * src/procmsg.h: added color label flags to the permanent flags.
6510 * updated to gettext 0.10.39.
6511 * src/summaryview.[ch]: put the color label menu item to ItemFactory.
6512 * sylpheed.desktop: added for GNOME.
6513 * configure.in: added AC_MSG_CHECKING() for some options.
6514 Output the configuration results when configure is finished.
6518 * src/account.c: account_clist_set_row(): fixed a bug that failed
6519 to compile if SSL was not enabled.
6523 * merged the SSL support from the claws branch (thanks to Christoph
6525 * src/ssl.[ch]: new.
6526 * src/socket.[ch]: added ssl_read(), ssl_write(), ssl_gets(), and
6528 sock_close(): call ssl_done_socket() if SSL is active.
6529 * src/md5.[ch]: removed MD5_CTX typedef and use MD5_CONTEXT to
6530 prevent type confliction.
6531 * src/prefs_account.[ch]: added SSL tab, and modified the expression.
6532 * src/esmtp.[ch]: added esmtp_ehlo(), and esmtp_starttls().
6533 Removed SSL initialization and HELO from esmtp_starttls().
6534 esmtp_auth(): removed use_smtp_auth from its arguments.
6535 * src/send.c: send_smtp_open(): added SSL support.
6536 * src/smtp.c: smtp_helo(): call esmtp_ehlo() if esmtp is true.
6540 * src/mimeview.c: mimeview_open_with(): braced '%s' with single
6545 * src/main.c: open new account dialog if no account is set.
6546 * src/utils.[ch]: log_verbosity_set(): new. It increase/decrease
6547 the verbosity count.
6548 log_print(): put to statusbar only if log_verbosity_count > 0.
6549 log_message(): put to statusbar.
6550 * src/inc.c: inc_pop3_session_do(): set log verbosity.
6551 * src/mainwindow.c: main_window_set_menu_sensitive(): added the
6552 "Compose new message" item.
6553 main_window_show_cur_account(): removed "Current account: " string.
6554 * src/summaryview.c: summary_show(): ignore the current marks if
6555 main window is locked.
6556 * src/compose.c: compose_attach_property(): fixed a bug that caused
6561 * src/mainwindow.c: main_window_get_current_state(): new. It returns
6562 the current state for the sensitivity of UI.
6563 main_window_set_toolbar_sensitive(): use table like
6564 main_window_set_menu_sensitive().
6568 * src/mainwindow.[ch]: added progressbar and status label to the
6570 main_window_close_cb(): don't exit if locked.
6571 * src/inc.c: update the progressbar of main window, too.
6575 * src/mainwindow.[ch]: main_window_set_toolbar_sensitive(): removed
6576 the second argument, and determine the sensitivity with the
6577 state of summary view.
6581 * src/pop.c: pop3_getsize_list_recv(), pop3_retr_recv(),
6582 pop3_delete_recv(): don't try to receive messages which are not
6587 * src/mainwindow.c: main_window_lock(), main_window_unlock():
6588 removed the whole menubar locking.
6589 main_window_set_menu_sensitive(): process the sensitivity change
6590 with a table, and deal with locking.
6594 * src/summaryview.[ch]: summary_get_selection_type(): new.
6595 It returns the current selection state of summary view.
6596 summary_key_pressed(): abort on some commands if main window
6598 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
6599 increase/decrease the lock count.
6603 * src/prefs_filter.c: prefs_filter_create(): added List-Id to the
6604 default header list.
6605 * src/prefs_common.[ch]: added the option for receive dialog mode
6606 to the Interface tab.
6607 * src/inc.[ch]: inc_progress_dialog_create(): don't make the dialog
6608 transient, and show dialog only if the setting is
6609 RECV_DIALOG_ALWAYS, or RECV_DIALOG_ACTIVE and a window is active.
6610 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
6611 new. Lock / unlock the user-interface.
6612 * src/progressdialog.c: progress_dialog_create(): don't make the
6617 * src/folderview.c: folderview_update_node(): suppressed unnecessary
6619 * src/menu.[ch]: menu_button_position(): new. It calculates the
6620 position of popup menu.
6621 * src/mainwindow.c: toolbar_account_button_pressed(),
6622 ac_label_button_pressed(): put the popup menu to the correct
6623 position. Change the style of the button while opening the menu.
6624 ac_menu_popup_closed(): new function called on selection_done
6626 * src/gtkutils.c: gtkut_ctree_node_next(): fixed a crash bug when
6628 * src/summaryview.c: applied the summary fix patch from Sergey Vlasov
6630 Fixed the bug that didn't select previous message in refresh mode
6631 if threads were not expanded.
6632 summary_select_node(): new.
6633 * src/inc.c: applied the summary view update optimization patch from
6634 Sergey Vlasov (thanks!).
6635 If no new messages are received, don't perform summary refreshing.
6636 In addition to the Vlasov's patch, POP3 receive information is
6638 * src/inc.h: added a new member cur_total_num to Pop3State.
6639 * src/pop.c: pop3_retr_recv(): increase state->cur_total_num.
6647 * src/summaryview.c: summary_set_row_marks(): got the color of
6648 unread row set properly.
6649 * src/folderview.c: foldreview_update_node(): don't use
6650 gtk_style_copy(), and reuse previously allocated styles.
6651 * README, README.jp: modified.
6655 * src/pop.c: pop3_getsize_list_recv(): fixed a remotly exploitable
6656 memory corruption bug (thanks to David Looney).
6657 * src/inc.c: inc_all_account_mail(): call inc_finished() even if
6658 there are no enabled accounts, or local spool only.
6659 * src/summaryview.c: applied the summary update improvement patch
6660 from Sergey Vlasov (thanks!). It keeps the position of the
6661 message displayed. Selected and displayed message are also kept.
6662 summary_get_msgnum(): new.
6663 summary_get_current_msgnum(): removed.
6664 summary_select_by_msgnum(): don't display the message.
6665 * src/account.c: added "Get all" column.
6666 account_clist_set_row(): show default and get-all flags with the
6668 * src/utils.c: to_human_readable(): increased the number of decimals
6673 * implemented the long-awaited :) "Add sender to address book" feature.
6674 * src/address.[ch]: added the argument for remarks to
6676 address_get_folder_list(): new. It traverses the address tree and
6677 returns the folder list.
6678 address_delete_object(): modified so that it removes the node
6680 * src/addressbook.[ch]: addressbook_add_submenu(): new. It creates
6681 a address folder menu and attaches it to the menu item.
6682 addressbook_refresh(): reload the address book folder tree.
6683 * src/summaryview.c: summary_set_add_sender_menu(): new. It attaches
6684 the menu to add sender to address book.
6685 summary_button_pressed(): call summary_set_add_sender_menu()
6686 before popup the menu.
6690 * src/summaryview.c: summary_thread_build(): fixed a bug that locked
6691 up the process. Optimized the initial thread build.
6695 * src/summaryview.c: made many code cleanups.
6696 summary_show(): block/unblock the signal handlers instead of
6697 disconnect/connect them.
6698 summary_set_row_marks(): made the font of collapsed node bold if
6699 it has cnildren marked as unread.
6700 summary_thread_build(): block tree_expand signals while processing.
6701 Use loop instead of the recursive function. Mark collapsed nodes
6703 summary_unthread(): block tree_collapse signals while processing.
6704 Use loop instead of the recursive function.
6705 summary_thread_func(), summary_unthread_func(): removed.
6706 summary_tree_expanded(), summary_tree_collapsed(): new callback
6708 * src/inc.[ch]: inc_pop3_session_do(): don't show alert panel when
6709 failed to connect. Show more detailed status on the dialog.
6713 * src/folderview.c: folderview_update_all_node(): new. It updates
6715 * src/inc.c: update all local folders after incorporation if
6716 scan_all_after_inc option is set.
6717 * src/prefs_common.[ch]: added scan_all_after_inc option.
6718 * src/folder.h: FOLDER_IS_LOCAL(): new macro.
6727 src/prefs_common.h: made bold and small font configurable.
6728 src/summaryview.c: display unread messages with bold font.
6729 * src/prefs_common.c
6731 src/summaryview.c: added an option to enable/disable the
6732 emphasis of unread messages.
6736 * src/pixmaps/mark.xpm: modified.
6737 * src/gtkutils.[ch]: gtkut_ctree_expand_parent_all(): new.
6738 * src/summaryview.c: summary_set_ctree_from_list(): don't expand
6739 the root messages of threads for performance improvement.
6741 summary_select_next_unread()
6742 summary_step(): expand threads when opening messages.
6743 summary_thread_build(): expand threads if the option is turned on.
6744 * src/prefs_common.[ch]: added "Expand threads" option.
6748 * src/prefs_common.c: removed "Emulate the behavior of mouse
6749 operation of Emacs-based mailer".
6750 * src/prefs_common.c
6751 src/prefs_account.c: changed the value of VSPACING_NARROW to 3.
6752 * src/pixmaps/new.xpm
6753 src/pixmaps/unread.xpm: reverted.
6758 address_folder_new()
6760 address_item_new(): changed the return value to AddressObject.
6761 address_build_tree(): don't put assertion for file.
6762 * src/pixmaps/new.xpm
6763 src/pixmaps/unread.xpm: modified a bit.
6767 * src/addressbook.c: fixed some bugs.
6771 * separated the logic part of addressbook into another module
6772 (still in progress).
6773 * src/address.[ch]: new. It contains the logic part of addressbook.
6774 * src/addressbook.[ch]: removed the logic part.
6778 * src/textview.c: textview_show_header(): fixed a bug that a garbage
6779 character was shown after header names.
6783 * src/inc.c: inc_start(): don't abort with non-fatal error.
6791 * src/mimeview.c: mimeview_view_file(): added -x option to the
6792 metamail to prevent the suspention of the main process.
6793 mimeview_button_pressed(): deactivate `Open' menu item if
6794 content-type is application/octet-stream.
6798 * src/imap.c: imap_parse_atom(): parse escaped characters properly.
6799 get_quoted(): new. It handles the escape character '\'.
6800 * src/folder.c: folder_read_list(): don't output warning if
6801 folderlist.xml doesn't exist.
6802 * src/main.c: main(): write folder list after setup.
6803 * src/textview.c: textview_create()
6804 src/compose.c: compose_create(): set default tab width to 8.
6808 * src/prefs_common.c: date_format_select_row(): fixed a bug that
6809 caused segfault when selecting the list with key.
6813 * src/mainwindow.c: main_window_popup(): deiconize the window
6814 when popup (thanks to Henrik Carlqvist).
6815 * src/procmime.c: procmime_scan_mime_type(): new.
6816 procmime_scan_content_type(): use procmime_scan_mime_type().
6817 procmime_scan_mime_header(): scan the extension of attached files
6818 and add the correct MIME type if the Content-Type is
6819 "application/octet-stream" (thanks to Don Quijote).
6820 * src/compose.c: compose_toolbar_create(): added a new "Send later"
6821 icon (thanks to Leandro Pereira).
6825 * src/prefs_common.c: date_format_create(): modified the layout of
6830 * src/account.c: account_find_from_address(): fixed a minor bug.
6831 * src/prefs_common.c: incorporated the user-interface for setting
6832 date format from the claws branch, and made some modification to
6837 * src/account.[ch]: account_edit_create(): modified the text of
6839 account_find_from_address(): new.
6841 procmime_scan_content_type(), procmime_scan_content_disposition():
6842 fixed ESC code detection.
6843 * src/compose.c: compose_reply(): automatically select account
6844 according to the message header.
6845 * src/prefs_common.[ch]: added member "reply_account_autosel".
6849 * src/progressdialog.c: made the CList scrollable.
6850 * src/inc.c: inc_start(): don't abort with non-fatal error.
6854 * added English Sylpheed User's Manual by Paul Kater
6855 (paul@nlpagan.net) (thanks!).
6858 src/mainwindow.c: added support for English manual.
6859 * manual/en/sylpheed*.html: added English documentation.
6864 * src/nntp.c: nntp_ok(): fixed the bug that didn't handle a response
6865 that didn't have any trailing messages.
6866 * src/smtp.c: smtp_ok(): ditto.
6867 * src/compose.c: compose_account_option_menu_create(): modified
6868 the style of the account option menu.
6872 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
6873 remove return code from strings automatically.
6874 prefs_custom_header_create(): added "X-Face" to the default
6876 * src/news.c: news_fetch_msg(), news_get_group_list()
6877 src/imap.c: imap_fetch_msg(): create the cache directory before
6880 procmime_scan_content_type()
6881 procmime_scan_content_disposition(): convert JIS into EUC-JP
6883 * src/codeconv.c: conv_unmime_header(): cleaned up a bit.
6884 * src/compose.c: don't append attachment headers if the attach
6885 pane is visible but the list is empty.
6886 * src/recv.c: recv_bytes_write(): use g_malloc() instead of alloca().
6894 * src/compose.c: compose_quote_parse_fmt()
6895 src/prefs_common.c: prefs_quote_description_create(): added the
6896 symbol `%c' that allows to include Cc in reply format (thanks
6899 src/procmime.c: procmime_decode_content(): applied the patch
6900 from Sergey Vlasov that allows to decode base64 data with
6901 unusual line length (not a multiple of 4) (thanks!).
6905 * src/procmsg.[ch]: separated the permanent flags and temporary
6906 flags into two variables, and made MsgFlags a structure that
6908 MSG_SET_PERM_FLAGS()
6910 MSG_UNSET_PERM_FLAGS()
6911 MSG_UNSET_TMP_FLAGS(): new macros.
6919 src/summaryview.c: modified for the new MsgFlags.
6920 * src/utils.[ch]: hash_free_value_mem(): new. It frees the values
6925 * src/inc.c: inc_pop3_recv_func(), inc_progress_update():
6926 display current size with human-readable format.
6927 * src/grouplistdialog.c: grouplist_recv_func(): ditto.
6934 conv_unmime_header(), conv_unmime_header_overwrite(): workaround
6935 for raw-JIS code in header fields.
6937 folder_get_default_folder()
6938 folder_get_default_inbox()
6939 folder_get_default_outbox()
6940 folder_get_default_draft()
6941 folder_get_default_queue()
6942 folder_get_default_trash(): fixed a bug that caused segfault
6943 if folder_list is NULL.
6953 * src/grouplistdialog.c: grouplist_dialog_set_list(): update UI
6954 while retrieving newsgroup list.
6955 grouplist_dialog_create(): added entry widget and status label.
6956 grouplist_recv_func(): new.
6957 refresh_clicked(): added exclusive lock variable.
6958 clist_selected(): set text entry when the CList is selected.
6959 renamed from group_clist_select().
6960 entry_activated(): new.
6961 grouplist_clear(): renamed from grouplist_free(). Also clears
6962 list and entry widget.
6963 * src/news.c: news_get_group_list(): sped up the list appending
6964 (g_slist_append() becomes very slow if list size is large).
6965 * src/defs.h: added UI_REFRESH_INTERVAL definition.
6966 Changed the definition of NEWSGROUP_LIST.
6967 * src/recv.c: recv_write()
6968 src/send.c: send_message_smtp(): changed the UI refresh interval
6969 to UI_REFRESH_INTERVAL (50msec).
6970 * src/account.c: account_add(): fixed a bug that didn't update
6971 folder tree when a news account was added.
6972 * src/grouplistdialog.c: made exclusive lock variable global, and
6973 lock at grouplist_dialog_set_list().
6974 * src/textview.c: fixed a bug that disabled clickable URI if
6975 message color was disabled.
6979 * src/grouplistdialog.c: ok_clicked(), cancel_clicked(): don't
6980 quit main loop if gtk_main_level() is 1.
6981 grouplist_dialog_set_list(): freeze CList while appending the list.
6982 grouplist_dialog(): show dialog before updating the list.
6986 * src/folder.c: folder_write_list_recursive(): add the attribute
6987 `collapsed' if a node have some children.
6988 * src/grouplistdialog.[ch]: new. Newsgroups can be selected from
6991 news_get_group_list(): new. It returns newsgroup list.
6992 news_remove_group_list(): new. It removes newsgroup list cache.
6993 * src/folderview.c: folderview_new_news_group_cb(): call
6994 grouplist_dialog() instead of input_dialog().
6998 * autogen.sh: modified.
7000 src/folderview.c: made expand/collapse state of folders persistent
7009 * src/imap.c: imap_remove_folder(): select INBOX with EXAMINE before
7011 imap_cmd_do_select(): new. It toggles between SELECT and EXAMINE
7012 according to the argument.
7013 imap_cmd_select(): use imap_cmd_do_select().
7014 imap_cmd_examine(): new.
7015 * src/folderview.c: folderview_rm_imap_folder_cb(): select current
7016 folder again when removing failed.
7022 * manual/ja/sylpheed.sgml
7023 manual/ja/*.html: updated the Japanese manual (thanks to Imai).
7024 * src/summaryview.c: summary_set_row_marks(): fixed a bug that
7025 didn't set foreground correctly.
7027 src/summaryview.h: removed the member color_normal from FolderView
7029 * src/mainwindow.c: main_window_create(): removed color_normal.
7033 * src/prefs_account.[ch]: the port numbers of IMAP4 and NNTP
7035 * src/imap.c: imap_session_get()
7036 src/news.c: news_session_new_for_folder(), news_session_get():
7037 use user-defined port number if specified.
7041 * src/imap.c: imap_scan_tree_recursive(): get mailbox status when
7043 imap_scan_folder(): implemented. It updates the numbers of new,
7044 unread and total messages.
7045 imap_status(): new. It parses the response of STATUS command.
7046 imap_status_uidnext(): removed.
7047 imap_cmd_status(): removed.
7048 * src/textview.c: textview_show_part(): fixed potential memory leaks.
7052 * src/alertpanel.c: alertpanel_create(): fixed truncated message.
7053 * src/rfc2015.c: rfc2015_decrypt_message(): fixed the case problem
7054 of content-type (thanks to Ren?Rebe for the patch).
7055 * src/codeconv.c: code_get_code_conv_func(): fixed the ISO-8859-1
7057 * src/prefs_common.c: prefs_send_create(): made some more character
7058 sets specifiable when not using libjconv.
7059 * configure.in: disabled --enable-threads option temporarily.
7061 INSTALL.jp: deleted the description about --enable-threads option.
7065 * updated gettext to 0.10.38.
7071 * src/folderview.[ch]: folderview_set_all(): new.
7072 * src/account.c: account_add(): call folderview_set_all() after
7073 creating IMAP4 tree.
7074 account_edit_create(): account preferences dialog can be opened
7075 with double clicking of the list.
7076 account_selected(): new.
7077 account_clist_set(): made the CList focus set correctly.
7081 * src/imap.c: imap_scan_tree(): call imap_create_trash() if trash
7083 imap_scan_tree_recursive(): search the sub folders of INBOX.
7084 recognize Trash folder.
7085 imap_create_tree(): separated the part of creating trash.
7086 imap_create_trash(): new.
7087 * src/folder.c: folder_build_tree(), folder_write_list_recursive():
7088 preserve no_sub and no_select.
7089 * src/summaryview.c: summary_show(): don't proceed if item->no_select
7094 * src/imap.c: imap_scan_tree(): fixed a bug that didn't set the
7095 root folder correctly.
7099 * src/folderview.[ch]:
7100 folderview_update_tree(): new. It updates one folder tree.
7101 folderview_update_tree_cb(): new.
7102 Added "Update folder tree" to the popup menu, and modified some
7107 * src/imap.c: implemented the autoscan of IMAP4 folder list.
7108 imap_scan_tree(): new. It scans the whole IMAP4 folder.
7109 imap_scan_tree_recursive(): new. It traverses the IMAP4 folder tree.
7110 imap_parse_list(): new. It parses the LIST response.
7111 imap_get_real_path(): new. It converts local path into IMAP4 path.
7112 * src/folder.h: added no_sub and no_select to FolderItem.
7113 * src/folder.c: folder_tree_destroy(): reset some variables.
7114 * src/folderview.c: folderview_scan_tree_func(): supported IMAP4.
7118 * src/imap.c: imap_parse_envelope(): fixed a bug that didn't
7119 parse the FETCH response that continues to the next line.
7120 imap_parse_fetch_element(): removed.
7121 imap_parse_atom(), imap_parse_one_address(), imap_parse_address(),
7122 imap_parse_envelope(), imap_get_uncached_messages(): use GString
7123 and sock_getline() to parse the FETCH response.
7124 imap_remove_all_msg(): fixed a bug that didn't delete messages
7126 imap_parse_address(): fixed a bug that didn't concaternate
7127 addresses correctly, using GString.
7128 * src/socket.[ch]: sock_getline(), fd_getline(): new. They read
7129 the whole line and return the newly allocated string.
7130 * src/prefs_account.[ch]: added `IMAP server directory' entry.
7136 * src/imap.c: imap_create_tree(): pass the path that is separated
7137 by the local filesystem separator to imap_create_folder().
7138 imap_create_folder(): examine the existence of folders using
7139 LIST command instead of STATUS.
7140 imap_cmd_list(): new.
7141 imap_query_password(): new.
7142 imap_session_new(): query password if it is not set.
7146 * src/imap.c: imap_parse_envelope(): FETCH results can be parsed
7147 with arbitrary order.
7148 imap_parse_fetch_element(): new. it parses one pair of name and
7149 value of FETCH results.
7150 imap_parse_flags(): modified for more flexibility.
7151 * src/utils.[ch]: set_log_file(): new. it opens a new file for
7153 close_log_file(): new. it closes the opened log file.
7154 log_print(), log_message(), log_warning(), log_error(): also
7159 * src/imap.c: imap_cmd_status(): check the pointer to "value"
7160 before the assignment (thanks to NISHIJIMA).
7164 * src/folderview.c: folderview_drag_motion_cb(): don't allow DnD
7165 across MH and IMAP4 folder (for now) (thanks to Hiramatu).
7166 * src/foldersel.[ch]: don't show folders which can't be targets
7178 imap_cmd_store(): use UID instead of sequential number.
7179 Renamed imap_set_article_flags() to imap_set_message_flags().
7180 * src/summaryview.c: summary_execute(): don't update summary
7181 even if current folder is IMAP4.
7182 * src/utils.[ch]: remove_numbered_files(): changed the type of
7183 arguments from gint to guint.
7187 * src/imap.c: imap_cmd_login(), imap_cmd_select(), imap_cmd_status(),
7188 imap_cmd_create(), imap_cmd_delete(), imap_cmd_copy(): don't
7189 enclose with double quotation if string doesn't have space
7190 (workaround for old Cyrus IMAP4 server).
7191 imap_create_folder(): fixed a bug of separator substitution.
7192 renamed imap_session_connect_if_not() to imap_session_get().
7193 imap_get_msg_list(): delete all cached messages if use_cache
7195 imap_delete_cached_messages(): remove cached files in between
7196 the specified range by reading directory entry.
7197 imap_parse_one_address(): set fromname same as the from address
7199 * src/utils.[ch]: remove_numbered_files(): new. The range is
7201 * src/summaryview.c: summary_execute(): update summary if current
7203 KEY_PRESS_EVENT_STOP(): new macro.
7204 summary_key_pressed(): stop signal emission when calling
7206 summary_select_by_msgnum(): show message only if
7207 msg_is_toggled_on is TRUE. Move current page to the selected
7209 * src/news.c; news_delete_old_articles(): remove cached files in
7210 between the specified range by reading directory entry.
7212 folderview_selected(), folderview_button_released(): fixed a bug
7213 that didn't select folder correctly.
7219 src/prefs_common.c: improvements to the English (thanks to Paul
7221 * src/mainwindow.c: compose_cb()
7222 src/summaryview.c: summary_key_pressed()
7223 src/compose.c: compose_new_with_recipient(): newsgroups entry
7224 is automatically filled when composing a new article.
7228 * src/procmsg.c: procmsg_msg_list_free(): fixed a bug that didn't
7229 free list correctly.
7235 * src/imap.c: imap_find_namespace(): replace namespace path
7236 separator with slash before comparison.
7237 imap_remove_folder(): use namespace.
7238 imap_create_tree(): use namespece when creating Trash.
7239 imap_get_msg_list(): fixed a bug that returned old list and caused
7240 memory leak if exists == 0.
7241 imap_select(): new. It's a wrapper for imap_cmd_select().
7242 * src/foldersel.c: foldersel_set_tree(): show IMAP4 folder too.
7247 folderview_new_folder_cb()
7248 folderview_new_imap_folder_cb(): show error dialog when creation
7249 or deletion of folder failed.
7250 Made it allow users to create a folder which contains subfolders.
7251 folderview_button_pressed(): disabled delete menu on the special
7253 * AUTHORS: incorporated from claws branch. It now contains all
7255 * src/send.c: enabled cancellation.
7256 EXIT_IF_CANCELLED(): new macro.
7257 Added cancelled flag to SendProgressDialog.
7258 * src/utils.[ch]: strtailchomp(): new. It removes the trailing
7259 specified character.
7260 * src/imap.c: imap_cmd_fetch(): a fix for MS Exchange 2000 server.
7264 * src/imap.c: imap_create_tree(): new. It creates required
7265 folders such as INBOX and Trash.
7266 imap_do_copy(), imap_do_copy_msgs_with_dest(): don't expunge
7268 imap_remove_all_msg(): return immediately if exists == 0.
7269 * src/account.c: account_add(), account_set_missing_folder():
7270 made them use folder->create_tree().
7274 * src/imap.c: more namespace implementation.
7275 imap_find_namespace(), imap_path_separator_subst(): new.
7279 * src/imap.c: imap_parse_namespace(), imap_cmd_namespace(): new.
7283 * src/summaryview.c: summary_show(): fixed a glitch in folder view.
7287 * src/imap.[ch]: added imap_add_msg(), and imap_append_message(),
7288 which appends file into IMAP4 folder.
7290 imap_create_folder(): check the existence of a folder before
7292 renamed the prefix of low-level IMAP4rev1 functions to imap_cmd.
7293 * src/account.c: account_add(), account_set_missing_folder():
7294 create INBOX automatically when creating IMAP4 account.
7298 * src/utils.[ch]: added itos_buf() that takes the buffer for its
7300 * src/imap.[ch]: imap_copy_msg(), imap_copy_msgs_with_dest(): new.
7301 * src/folder.c: added copy_msg and copy_msgs_with_dest methods
7306 * src/utils.[ch]: move_file(): new.
7307 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): modified to
7308 use move_file(), and fixed a bug that didn't close file when
7313 * src/imap.c: renamed imap_delete_messages() and
7314 imap_delete_all_messages() to imap_delete_cached_messages() and
7315 imap_delete_all_cached_messages(). Some code cleanups.
7316 * src/utils.[ch]: added a function remove_all_numbered_files().
7317 * src/mh.c: mh_remove_all_msg()
7318 src/imap.c: imap_delete_all_cached_messages():
7319 use remove_all_numbered_files().
7322 src/compose.[ch]: added `Reply to sender'.
7324 compose_reply_set_entry(): added an argument `ignore_replyto'.
7328 * src/folderview.c: folderview_selected()
7329 src/summaryview.c: summary_show(): fixed a bug that updated wrong
7330 folder when remaining marks were processed.
7334 * src/headerwindow.c: headerwindow_show_cb(): always try to show
7335 msginfo, and use the selected message, not the displayed one.
7336 * src/smtp.c: smtp_ok(): fixed sock_gets() error handling.
7340 * src/folderview.c: folderview_selected()
7341 src/mimeview.c: mimeview_selected(): ungrab the mouse event.
7342 * src/summaryview.c: summary_show(): process the left marks if any.
7346 * src/passphrase.c: enclosed with #if USE_GPGME.
7347 * src/prefs_account.c: added NNTP AUTH check button.
7348 * src/alertpanel.[ch]: alertpanel_create(): added new argument
7349 `can_disable', all existing callers changed to pass FALSE;
7350 created a check button to disable the message.
7351 alertpanel_message_with_disable(): new.
7352 alertpanel_show(): mask value with G_ALERT_VALUE_MASK.
7353 alertpanel_button_toggled(): new.
7354 alertpanel_button_clicked(), alertpanel_close(): set value using
7356 * src/prefs_common.[ch]: added option to toggle GnuPG signature
7357 check popup window, and GnuPG warning.
7358 * src/rfc2015.c: check_signature(): show signature check dialog
7359 only if it is enabled.
7360 * src/main.c: modified GnuPG checking.
7362 src/prefs_common.c: fixed some compilation bugs when enabled
7367 * src/codeconv.c: conv_get_code_conv_func(): fix for ISO-8859-*
7368 encodings with libjconv.
7369 conv_encode_header(): fixed an endless loop bug when encountering
7370 an invalid wide character (thanks to Alte).
7371 * src/headerview.c: SET_FONT_STYLE(): fixed segfault with invalid
7373 * src/imap.c: imap_create_folder(): don't create folder if the
7375 * src/mainwindow.c: main_window_reflect_prefs_all(): hide the
7376 execute button when immediate execution is enabled.
7381 README.jp: added the "How to run" section.
7385 * merged NNTP AUTH from the claws branch.
7386 * src/news.[ch]: supported NNTP AUTH.
7387 * src/nntp.[ch]: wrapped SockInfo with NNTPSockInfo for NNTP AUTH.
7389 INSTALL.jp: modified the confirmation list and the warning about
7394 * src/gtkutils.[ch]: moved folderview_find_collapsed_parent() to
7395 gtkut_ctree_find_collapsed_parent().
7396 * src/folderview.c: folderview_select_node(): automatically expand
7397 the parent folders when selected.
7398 * configure.in: made the version number to 0.4.99 (0.5pre)
7399 * src/main.c: main(): moved parse_cmd_opt() before gtk_init()
7400 so that X is not necessary for --help and --version.
7401 parse_cmd_opt(): changed g_get_prgname() to g_basename(argv[0]).
7402 * src/folderview.c: folderview_update_node(): a fix for collapsed
7407 * src/main.c: lock_socket_input_cb(): changed fd_read() to fd_gets().
7408 It caused garbages in --compose option.
7409 * src/socket.[ch]: made fd_gets() public.
7413 * src/gtkutils.[ch]: gtkut_ctree_node_next(): new.
7414 * src/folderview.c: folderview_find_next_unread(): new.
7415 folderview_select_next_unread(): modified so that it can find
7420 * src/compose.c: compose_write_headers(): excluded also From, To,
7421 Sender because they could be used for SPAM.
7422 * src/folderview.c: add '+' mark to the collapsed folder that have
7423 some unread folders.
7424 folderview_search_new_recursive(),
7425 folderview_have_new_children(),
7426 folderview_search_unread_recursive(),
7427 folderview_have_unread_children(),
7428 folderview_find_collapsed_parent(): new.
7429 folderview_update_node(): display the number of queued messages.
7434 src/mh.[ch]: modified *_add_msg() to use link(). Added the
7435 argument to switch whether to remove the source file or not.
7438 src/mbox.c: modified the argument of folder_item_add_msg() and
7439 removed some unlink()'s.
7443 * src/prefs_customheader.[ch]: renamed prefs_headers_* to
7444 prefs_custom_header_*. Removed `(New)' row and `Substitute'
7445 button. Supported empty value.
7446 prefs_custom_header_row_moved(): new. Connected "row_move" signal
7447 to the function, and made it set header list.
7448 * src/customheader.c: custom_header_get_str()
7449 src/compose.c: compose_write_headers(): supported empty value.
7450 * src/prefs_display_header.c: prefs_display_header_row_moved(): new.
7451 Connected "row_move" signal to the function, and made it set
7453 * src/compose.c: compose_write_headers(): modified the order of
7454 headers, and made it encode the custom headers.
7455 * src/prefs_customheader.c: prefs_custom_header_delete_cb()
7456 src/prefs_filter.c: prefs_filter_delete_cb(): treat closing the
7457 alert panel by ESC as "No".
7461 * merged the custom header stuff from claws branch:
7462 * src/customheader.[ch]
7463 src/prefs_customheader.[ch]: new.
7464 * src/customheader.c: custom_header_read_str(): use strtol() instead
7465 of atoi() and check errors.
7466 custom_header_find(): new function.
7467 * src/compose.c: IS_IN_CUSTOM_HEADER(): new macro.
7468 compose_write_headers(): made it replace headers with user-defined
7469 headers except for some automatically generated headers.
7473 * src/inc.c: connection_check_cb(): fixed a bug that caused
7474 segmentation fault if connection was not established.
7475 * src/compose.c: compose_create(): even if set_autobcc or set
7476 autoreplyto is checked and the entries are empty, show them.
7480 * src/textview.c: textview_show_mime_part(): modified the messages.
7481 TEXT_INSERT(): new macro.
7483 * src/prefs_display_header.c: prefs_display_header_create():
7484 modified the text of checkbutton.
7488 * src/mimeview.c: added "Open with..." to the context menu.
7489 * src/summaryview.c: summary_print()
7490 src/inputdialog.c: input_dialog(): fixed memory leaks.
7491 * src/textview.c: textview_show_mime_part(): updated the description.
7492 * src/send.c: implemented sending progress dialog.
7493 (TODO: automaton should be used.)
7494 send_progress_dialog_create(), send_progress_dialog_destroy(),
7496 send_message_smtp(): made it update the dialog for each stage.
7497 * src/utils.[ch]: get_left_file_size(): new. Get the left bytes
7499 * src/summaryview.c: summary_show(): when open_inbox_on_inc is set,
7500 go to first unread message even if folder is same as previous.
7501 * src/prefs_common.c: made color selection dialog transient, and
7502 made escape key close the dialogs.
7508 * src/select-keys.c: delete_event_cb(): removed `;' from its end.
7509 * src/recv.c: recv_write(): changed the interval to 10msec.
7510 * src/prefs_display_header.c: modified the layout of the dialog,
7511 and made the hidden headers list insensitive when `Show other
7512 headers' is not checked.
7513 * src/textview.c: changed strcasecmp() and strncasecmp() to
7514 the corresponding glib functions.
7515 * src/inc.c: get_spool(): make a temporary file in the home
7520 * src/prefs_common.c
7532 src/sigstatus.c: fixed a bug that accidentally destroyed dialogs
7533 when closed them with delete_event (thanks to DINH).
7534 Added *_deleted() and *delete_event() which handle delete_event
7539 * src/prefs_display_header.c: merged some changes from claws branch:
7540 prefs_display_header_create(): allow reordering of headers by
7542 prefs_display_header_find_header(): new function.
7543 prefs_display_header_clist_set_row(): don't allow duplicates.
7544 * src/prefs_account.c: prefs_account_receive_create(): changed
7545 the label of the check button.
7549 * src/pop.c: pop3_getsize_list_recv(): if sscanf() failed, break
7551 * src/inc.h: removed cur_msg_bytes from Pop3State.
7552 * src/inc.c: pop3_recv_func()
7553 src/recv.[ch]: made the second arguments of RecvUIFunc current
7555 recv_write(): made it call UI func if elapsed time is greater
7557 * src/recv.c: recv_write(): changed the interval to 300 usec.
7558 * src/textview.c: textview_show_header(): if header is Subject,
7560 * src/utils.[ch]: unfold_line(): new.
7561 * src/procheader.[ch]: procheader_get_header_array(): new.
7562 * src/prefs_display_header.c: updated defaults.
7566 * some merge from the sylpheed-claws branch.
7567 It allows user to specify displayed headers in message view.
7568 (symbol names were also changed.)
7569 * src/prefs_display_header.[ch]
7570 src/displayheader.[ch]: new.
7571 * src/prefs_display_header.c:
7572 removed prefs_display_headers_other_headers_toggled().
7573 removed "(New)" row from the list.
7574 * src/defs.h: added DISPLAY_HEADER_RC.
7575 * src/prefs_common.c: prefs_message_create(): added a button for
7576 opening the display header setting dialog.
7577 * src/prefs_common.h: added show_other_header and disphdr_list
7579 * src/procheader.[ch]: procheader_get_header_list_from_file(),
7580 procheader_get_header_array_asis(): new.
7581 procheader_get_header_list(): modified so that it takes FILE
7582 pointer for its argument.
7583 procheader_header_array_destroy(), procheader_header_free(): new.
7584 * src/main.c: main(): made it call prefs_display_header_*_config().
7585 * src/textview.c: textview_scan_header(): modified so that it
7586 sorts headers according to user setting.
7587 src/textview_show_header(): made it call
7588 textview_make_clickable_parts().
7589 textview_make_clickable_parts(): added GdkFont to its arguments,
7590 and removed GtkText from them.
7594 * implemented auto-checking of new mail based on the patch from
7595 Pierric Descamps (thanks!).
7596 * src/inc.c: added inc_autocheck_timer_init(),
7597 inc_autocheck_timer_set(), inc_autocheck_timer_remove(),
7598 inc_autocheck_func() for auto-checking of new mail.
7599 * src/main.c: main(): call inc_autocheck_timer_init().
7600 * src/prefs_common.c: prefs_receive_create(): activated the
7601 auto-checking UI. Added prefs_common_cancel(), and connected
7602 some signals to that.
7603 * src/prefs_common.c
7606 src/account.c: Disabled auto-checking while opening the dialog.
7607 * src/headerview.c: headerview_show_xface(): fixed a bug that
7608 showed a warning when header pane was hidden.
7614 src/recv.c: removed non-blocking socket mode support since it
7617 src/inc.c: modified the messages of incorporation dialog.
7621 * src/utils.h: made u32 the typedef of guint32.
7622 added BIG_ENDIAN_HOST macro that is used by md5.c.
7623 * src/md5.c: renamed md5c.c. Fixed the indentation. Fixed a bug
7624 that didn't calculate MD5 correctly on big endian machines.
7630 * src/folder.c: folder_init(): added the method imap_remove_folder.
7631 * src/folderview.c: folderview_rm_imap_folder_cb(): made it
7632 actually remove folder from IMAP4 server.
7633 * src/imap.[ch]: imap_create_folder(): made it actually create
7634 folder on IMAP4 server.
7635 imap_remove_folder(): added.
7636 imap_create(), imap_delete(): added.
7637 * src/summaryview.c: summary_execute_delete(): don't check trash
7638 if folder type is not F_MH.
7639 * thanks to Ishihara for the above changes.
7641 ac/check-type.m4: better wint_t typedef detection (renamed
7642 sv_CHECK_TYPE to SYLPHEED_CHECK_TYPE).
7646 * src/recv.c: recv_bytes_write(): fixed another bug that caused
7647 infinite loop and buffer overrun.
7651 * src/socket.[ch]: renamed sock_read() and fd_read() to
7652 sock_gets() and fd_gets() for preventing confusion.
7653 Added sock_read() and fd_read() which is the wrapper of read().
7654 * src/recv.c: recv_bytes_write(): fixed a bug that caused infinite
7655 loop. Use sock_read() instead of fd_read().
7662 src/smtp.c: use sock_gets() instead of sock_read().
7663 * src/imap.c: imap_session_new(): fixed the error detection
7668 * src/inc.c: made it displays current read bytes to the dialog.
7669 * src/pop.c: recv_write(): call UI function before editing
7674 * src/progressdialog.c: progress_dialog_create(): modified the
7675 size of dialog and made it stretchable.
7677 src/esmtp.c: smtp_ok(), esmtp_ok(): fixed a bug that didn't
7678 process an error response correctly (thanks to Ohmasa).
7679 * src/pop.[ch]: added pop3_getsize_list_send(),
7680 pop3_getsize_list_recv().
7681 * src/recv.[ch]: added recv_set_ui_func() that makes recv_write()
7682 call the callback function for each sock_read().
7683 * src/inc.h: in Pop3State, renamed bytes to total_bytes, and added
7684 cur_msg_bytes, cur_total_bytes, and sizes.
7685 * src/inc.c: added inc_pop3_recv_func() that updates the progress
7686 bar for each sock_read().
7690 * src/mh.c: mh_is_maildir_one(): modified so that it uses
7693 2001-04-25 Werner Koch <wk@gnupg.org>
7695 * src/mh.c (mh_is_maildir_one, mh_is_maildir): New.
7696 (mh_scan_tree_recursive): Do not include Maildir style directories
7699 Changed the use of integers to describe sockets by an more abstract
7702 * src/automaton.h (struct _Automaton): Add help_sock.
7703 * src/automaton.c (automaton_input_cb): Changed source to be
7704 SockInfo and use wrapper for gdk_input_add.
7706 * src/send.c (SEND_EXIT_IF_ERROR): Adjusted tests and removed test
7707 for invalid socket because this is now done in sock_close. Set
7709 (SEND_EXIT_IF_NOTOK): Set closed sock to NULL.
7710 (send_smtp_open): Use only SockInfo.
7712 * src/news.c (news_session_new): Use SockInfo here.
7713 (news_session_destroy): Ditto and set sock to NULL.
7715 * src/nntp.c: Use SockInfo instead of integers
7716 * src/smtp.c: Ditto.
7718 * src/recv.c: Ditto.
7720 * src/inc.c (inc_pop3_session_do): Removed sock_sockinfo_free. Put
7721 gdk_input_add into a wrapper.
7723 * src/esmtp.c: Changed socket descriptors to use SockInfo.
7724 * src/esmtp.h: Ditto, included socket.h.
7725 * src/session.h (struct _Session): Likewise.
7726 * src/imap.c (imap_open): Return SockInfo ptr and not an integer.
7727 Removed access to internal data of SockInfo. Changed all callers
7728 and functions to take SockInfo.
7729 (imap_session_new): Use sock_close here.
7730 (imap_session_destroy): Ditto.
7732 * src/compose.c (compose_exec_ext_editor): Replaced sock_write by
7735 * src/main.c (app_will_exit): Close lock socket using fd_close.
7736 (prohibit_duplicate_launch): Use fd_xxx functions instead of sock_xxx.
7737 (lock_socket_input_cb): Ditto.
7739 * src/socket.h, src/socket.c: Prepared SockInfo structure to use
7740 glib channels. Changed all sock_xxx to use SockInfo instead of an
7742 (sock_connect_unix, sock_open_unix, sock_accept): Renamed to ..
7743 (fd_connect_unix, fd_open_unix, fd_accept): .. this and changed all
7745 (fd_read, fd_write, fd_close): New.
7746 (sock_sockinfo_free): Removed.
7747 * src/socket.c (sock_connect_nb): Use close instead sock_close here.
7748 (sock_connect): Ditto.
7752 * config.h.in: removed.
7753 * ac/Makefile.am: added gnupg-check-typedef.m4 to MACROS.
7754 * .cvsignore: added.
7756 src/progressdialog.[ch]
7757 src/pixmaps/complete.xpm
7758 src/pixmaps/continue.xpm
7759 src/pixmaps/error.xpm: applied the patch from Leandro Pereira
7760 that displays the state of message incorporation (thanks!).
7761 * src/inc.c: made the progress dialog change the text of status.
7765 * removed po/*.gmo, configure, stamp-h.in, aclocal.m4, Makefile.in
7767 * COPYING: removed RSA copyright notice.
7768 * removed po/sylpheed.pot, po/stamp-cat-id, po/cat-id-tbl.c.
7769 * configure.in: added the check of sys/utsname.h.
7771 2001-04-24 Werner Koch <wk@gnupg.org>
7773 Merged most of the changes from the W32 branch in.
7775 * configure.in: Require gpgme >= 0.2.1
7777 * acconfig.h (HAVE_U32_TYPEDEF): New.
7778 * ac/gnupg-check-typedef.m4: New.
7779 * configure.in: Check for u32 type and the size of some types.
7780 * src/utils.h: Define the u32 type and related constants.
7782 * src/about.c (about_create): Removed the note about MD5. We are
7783 not any longer using the RSA Inc. implementation.
7784 * src/md5ify.c, src/md5ify.h, src/md5global.h: Removed.
7785 * src/md5c.c, src/md5c.h: Replaced by an FSF implementation and
7786 renamed the function to standard lowercase convention. Changed all
7788 (md5_hex_digest): New.
7789 (md5_hmac): Add hmac function by Martin Schaaf with some
7791 (md5_hex_hmac): New.
7792 * src/esmtp.c, src/esmtp.h (md5_hex_hmac): Removed.
7793 (hmac_md5): Removed.
7794 * src/pop.c (pop3_getauth_apop_send): Replaced the md5_digest by
7795 the new md5_hex_digest function.
7797 * src/about.c: Include utsname.h only if available
7799 * src/utils.c, src/utils.h (get_home_dir): New to better cope with
7800 special Windoze requirements. Changed all calls to
7801 g_get_home_dir() to this function.
7803 * simple-gettext.c: New.
7805 * src/main.c (main): Issue a warning if GnuPG is not properly
7808 * src/sigstatus.c, src/sigstatus.h: New.
7809 * src/rfc2015.c (check_signature): Use the sigstatus window and
7810 get the status texts from a utility function.
7812 * src/select-keys.c: Removed the global select_keys var and
7813 pass an allocated one along all functions.
7814 (set_row): Display only keys capable of encryption.
7815 (update_progress): Replaced the progressbar by
7816 a windmill and a text showing for which key we are collecting
7817 info. Removed progressbar everywhere else and updated callers.
7819 * src/prefs_common.c (prefs_privacy_create) [__MINGW32__]: Do not
7820 display the grab button.
7824 * src/prefs_common.[ch]
7825 src/procheader.c: applied the patch from Darko Koruga that
7826 allows user to define their own format for displaying date in
7827 summary view using strftime() (thanks!).
7828 * src/prefs_common.c: prefs_quote_colors_dialog()
7829 src/mainwindow.c: main_window_reflect_prefs_all(): made it
7830 update message colors if the colors setting is changed.
7831 * src/main.[ch]: made it remember the startup directory.
7832 * src/export.c: export_mbox(): made it initially chdir to the
7834 * src/filesel.c: filesel_select_file(): made it open the startup
7839 * added option to warn about queued messages on exit [sergey]:
7841 * src/compose.c: compose_queue(): call folder_item_scan()
7842 and folderview_update_item() after queueing.
7843 * src/folderview.c: folderview_update_node(): draw the queue
7844 folder in bold font if there are queued messages.
7845 * src/mainwindow.c: queued_messages(): new function.
7846 app_exit_cb(): display warning if there are queued messages
7847 if warn_queued_on_exit is set.
7848 * prefs_common.[ch]: add warn_queued_on_exit option.
7850 * src/mainwindow.c: moved queued_messages() to main.c, and renamed
7851 it to get_queued_message_num().
7852 * src/main.c: app_will_exit(): moved warning dialog code from
7853 app_exit_cb(), and added manage_window_focus_in().
7855 * enhanced GnuPG key selection support [sergey]:
7857 * src/select-keys.c: updated to newer version from Win32
7858 branch with support for selecting arbitrary keys.
7859 * src/prefs_account.c: added the Privacy tab to the account
7861 prefs_account_privacy_create(),
7862 prefs_account_sign_key_set_data_from_radiobtn(),
7863 prefs_account_sign_key_set_radiobtn(): new functions.
7864 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
7865 * src/rfc2015.c: set_signers(): new function.
7866 pgp_sign(): add the account parameter, call set_signers().
7867 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
7868 * src/rfc2015.h: rfc2015_sign(): updated prototype.
7869 * src/compose.c: pass the current account to rfc2015_sign().
7873 * src/mbox.c: export_to_mbox(): fixed a memory leak bug.
7877 * src/mbox.[ch]: renamed export_mbox() to export_to_mbox().
7878 Fixed a memory leak bug.
7879 * src/export.[ch]: added for exporting folder to mbox.
7880 * src/import.[ch]: made import_mbox() take default folder.
7881 Added description to the dialog.
7882 * src/summaryview.c: summary_show(): fixed a bug that kept the
7883 toolbar buttons insensitive after receiving messages.
7885 src/import.c: fixed a bug that caused quitting of the program
7886 when OK or Cancel button was clicked several time.
7887 * src/prefs_common.[ch]
7888 src/addressbook.c: added "Add address to destination when
7889 double-clicked" option.
7893 * src/prefs_common.[ch]: reorganized the items of settings,
7894 and added Message tab.
7895 * src/main.c: parse_cmd_opt(): added command line option --version.
7896 * src/mh.c: made it unset MSG_DELETED flag when moved/copied to
7898 * src/prefs_common.[ch]
7899 src/headerview.[ch]: the header pane can be toggled now.
7900 * src/prefs_common.[ch]
7901 src/textview.c: page scroll step is now selectable between
7902 one page and half page.
7903 * src/mbox.[ch]: added export_mbox() that reads all messages
7904 in a folder, and store them into one mbox file.
7908 * src/prefs_filter.[ch]: separated filter setting code from
7909 prefs_common.c, and made it a separate dialog.
7915 * src/automaton.[ch]
7916 src/inc.c: fixed the bug that made Sylpheed crash when clicking
7917 Cancel button while getting new mail (thanks to Sergey Vlasov).
7918 * src/xml.c: xml_build_tree()
7919 src/addressbook.c: fixed a bug that caused infinite loop if an
7920 illegal XML file was given.
7925 src/inc.c: applied the patch from Sergey Vlasov that fixes the
7926 problem when the "Go to inbox after receiving new mail" option
7927 was turned off (thanks!).
7931 * src/xml.[ch]: modified so that it supports some characters which
7932 must be escaped, and multiple-lined tag.
7934 src/addressbook.c: modified so that it escapes some characters
7935 like '<', '>', '&', ''', '"'.
7945 src/summaryview.[ch]: applied the patch from Darko Koruga that
7946 adds copy message operation for the MH folders (thanks!).
7947 * src/imap.c: disabled slash to dot conversion.
7948 * src/imageview.c: fixed a bug that displayed an old image when
7949 loading of a image failed (thanks to Darko Koruga).
7953 * src/procmsg.c: procmsg_read_cache(): added setvbuf() to speed up
7954 cache reading (thanks to Sergey Vlasov).
7956 src/summaryview.[ch]
7957 prefs_common.[ch]: applied the patch that keeps the same folder
7958 after receiving new mail (thanks to Sergey Vlasov).
7960 src/utils.[ch]: moved get_quote_level() to utils.c.
7964 * ac/Makefile.am: added.
7966 configure.in: added ac directory.
7970 * src/summaryview.c: summary_filter(): made it move messages
7971 immediately if immediate_exec option is set.
7972 * src/prefs_common.[ch]
7974 src/gtkutils.[ch]: applied the message coloring patch from
7975 Stephen Anthony with some modification (thanks!).
7977 src/mimeview.c: modified the behavior of MimeView (thanks to
7982 * src/utils.c: copy_file()
7983 src/mh.c: applied (and modified) the patch from Darko Koruga
7984 that enables to move messages across file systems (thanks!).
7986 src/utils.[ch]: applied the patch from Jorge Van Hemelryck
7987 that converts the date of messages to the local time (thanks!).
7988 * src/utils.c: remote_tzoffset_sec(): fixed a bug that the signs
7989 of one-letter timezone were reversed.
7990 * src/folder.c: folder_item_add_msg(): put the assertion for the
7991 add_msg() method (thanks to TAKANO).
7995 * src/procmime.c: procmime_decode_content(): fixed a bug that
7996 corrupted quoted-printable encoded messages when they include
7997 `=00' (thanks to Masahiro Tomita).
8000 src/summaryview.c: modified the DnD behavior of MIME view
8001 (thanks to HIRAMATSU).
8005 * src/about.c: applied the patch from Sergey Vlasov that fixes
8006 the appearance of the about dialog (thanks!).
8007 * src/prefs_common.[ch]
8013 src/textview.[ch]: applied the GnuPG support patch which had
8014 ported from the sylpheed-win32 branch (thanks to Sergey Vlasov).
8015 * INSTALL, INSTALL.jp: updated the description about GnuPG.
8019 * src/utils.[ch]: added references_list_append() that parses
8020 References header and makes it string list.
8021 * src/compose.c: modified so that too long References header is
8022 truncated, garbage characters are removed, and header is tidied
8023 up (thanks to Matthias Intemann).
8027 * src/addr_compl.c: applied the address completion bugfix patch
8028 from Alfons Hoogervorst (thanks!).
8032 * src/gtksctree.c: modified so that the tree_select_row signal
8033 actually pass the column number.
8034 * src/summaryview.c: summary_selected(): made generic mark and
8035 unread mark can be toggled with clicking of the columns.
8036 Added summary_mark_row_as_read() and summary_mark_row_as_unread().
8037 * src/prefs_common.c
8038 src/prefs_account.c: applied the layout fix patches from Sergey
8039 Vlasov, and adjusted some widths of GtkEntry widgets.
8040 * src/prefs.c: prefs_dialog_create(): enable notebook to take focus.
8041 * src/inc.c: inc_start(): modified so that authentication dialogs
8042 show server name too (thanks to Sergey Vlasov).
8046 * src/mimeview.c: mimeview_key_pressed(): fixed a bug that caused
8047 segmentation fault when a malformed multipart message is shown
8048 (thanks to Sergey Vlasov).
8049 * src/summaryview.c: summary_display_msg(): made it focus to the
8050 summary view if the MIME list is empty.
8054 * src/pixmaps/deleted.xpm
8055 src/pixmaps/mark.xpm
8056 src/summaryview.c: added deleted and mark icon.
8057 * src/gtkutils.c: gtkut_widget_init(): changed gtk_widget_destroy()
8058 to gtk_widget_unref().
8059 * src/addr_compl.c: start_address_completion(): fixed the bug that
8060 displayed warning when the address book was empty (thanks to
8065 * src/summaryview.c: summary_show(): fixed a memory leak bug
8066 (thanks to ChiDeok Hwang).
8067 * src/pixmaps/forwarded.xpm
8068 src/pixmaps/replied.xpm
8070 src/pixmaps/unread.xpm
8075 src/summaryview.[ch]: applied the patch from Marc Hoper
8076 that adds replied and forwarded mark to replying or forwarding
8077 messages (thanks!). And new and unread mark were replaced
8078 by the icons David Mehrmann created (thanks!).
8079 * src/summaryview.c: made the width of unread and MIME column
8081 * src/prefs.c: prefs_config_parse_one_line(): made it check the
8082 '=' separator (thanks to Sergey Vlasov).
8086 * src/prefs_common.[ch]: moved smooth scroll option to the
8088 * src/textview.c: made the one-line scroll also perform smooth
8093 * src/prefs_common.[ch]
8094 src/textview.c: applied the smooth scroll patch from Setoh and
8099 * src/summaryview.c: summary_attract_by_subject(): rewritten it
8100 using hash table for speeding up.
8101 * src/prefs_account.c: made filter_on_receive TRUE by default.
8102 * src/mainwindow.c: reordered menu items.
8106 * src/gtkutils.c: gtkut_clist_bindings_add(): fixed a bug that
8107 caused address completion not to accept space and enter key.
8112 src/codeconv.c: fixed a bug that didn't encode non-ASCII headers
8114 * src/compose.c: fixed a bug that didn't decode some headers
8115 correctly when replying or reediting drafts (thanks to Sergey
8120 * src/gtkutils.[ch]: added gtkut_widget_init() that modifies the
8121 behaviors of some classes.
8122 * src/main.c: main(): made it call gtkut_widget_init() first.
8123 * src/summaryview.c: summary_create(): removed the key binding code.
8127 * src/procmsg.[ch]: modified for the sake of readability.
8131 * src/mainwindow.c: changed "Clean trash" to "Empty trash".
8132 Added new menu items for folder manipulation.
8133 allsel_cb(): made it change the target between summary view and
8134 message view according to the input focus.
8135 Removed "Select all" from Summary submenu.
8136 * src/folderview.[ch]: added functions for creating/renaming/deleting
8138 * src/procmsg.[ch]: made "marked" and "deleted" flag permanent, and
8139 removed "important" flag.
8140 * src/summaryview.c: added summary_set_row_marks() that sets style
8141 of a row according to the flags, and made some functions use it.
8142 * src/mainwindow.c: allsel_cb(): modified so that it selects
8143 summary view correctly if message view is toggled off.
8147 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a resource
8148 leak bug of socket, and rewrote the routine.
8149 * src/inc.c: inc_mail(), inc_all_account_mail(): fixed a bug that
8150 displayed the wrong unread number in the folder tree if a
8151 folder was open and new messages arrived at the folder.
8152 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug
8157 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): made it
8158 check the existence of the destination file.
8159 * src/procmsg.c: procmsg_set_flags(): made it count the last
8160 number of the message list (and fixed a bug that didn't open
8161 newly arrived message).
8165 * src/prefs_common.c: prefs_send_create(): removed EUC-JP and
8166 Shift_JIS from the outgoing codeset.
8174 * src/send.c: send_message_queue(): modified so that it finds
8175 the account from the `From' and the server name of the queued
8177 * src/account.[ch]: added account_find_from_smtp_server() that
8178 finds an account from the specified address and SMTP server.
8181 src/summaryview.[ch]
8182 src/sourcewindow.[ch]: integrated the viewing source patch from
8183 DINH V. Hoßþ(thanks!).
8187 * src/addr_compl.[ch]
8189 src/compose.c: applied the enhanced address completion patch
8190 from Alfons Hoogervorst (thanks!).
8191 * src/addr_compl.c: replaced g_assert() with g_return(_val)_if_fail().
8192 * src/folder.c: folder_init()
8193 src/folderview.c: folderview_drag_motion_cb()
8194 src/procmsg.c: procmsg_clean_trash()
8195 src/summaryview.c: summary_start_drag()
8196 src/imap.[ch]: integrated the IMAP4 move/remove function patch
8197 from Suzuki Mio (thanks!).
8201 * src/main.c: parse_cmd_opt(): made the --compose option realize
8203 * src/utils.[ch]: execute_async(): supported quoted arguments
8205 strstr_with_skip_quote(), strsplit_with_quote(): quote-supported
8206 version of g_strsplit().
8207 * src/mimeview.c: mimeview_view_file()
8208 src/prefs_common.c: added single quotation mark around the file
8220 src/utils.[ch]: applied the security fix patch from Dmitry V.
8221 Levin with some modification (thanks!). Added my_tmpfile() to
8223 * src/main.c: added --receive-all command-line option.
8227 * src/socket.c: sock_connect_thread(): fixed a bug that didn't
8228 compile if both multithread and IPv6 are enabled (thanks to
8231 src/compose.c: applied a patch from Jason McCarver that allows
8232 FIFO for signature file (thanks!).
8233 * src/textview.c: made some more refactoring.
8234 * src/socket.c: sock_accept(): changed socklen_t to gint.
8239 src/textview.c: some code cleanups.
8245 src/textview.c: integrated the patch from Alfons Hoogervorst that
8246 fixes some glitches in clickable URI and enables mail addresses
8247 clickable, and enables the --compose command line option to
8248 specify address (thanks!).
8255 src/prefs_account.[ch]
8256 src/Makefile.am: applied the SMTP AUTH patch from Martin Schaaf
8257 and fixed its a few bugs (thanks!).
8258 * src/textview.c: textview_key_pressed(): made it don't move focus
8260 * src/main.c: parse_cmd_opt(): modified the help message.
8261 * src/html.[ch]: added empty_line to HTMLParser and modified
8262 the parser routines a bit.
8266 * src/html.c: added eucjp_symbol_list, and added some characters
8267 to ascii_symbol_list.
8271 * src/codeconv.[ch]: added a member `charset' and `charset_str'
8273 * src/html.[ch]: added the symbol list for ISO-8859-1 codeset.
8274 html_parser_new(): made it change the symbol hash table
8275 according to the character set of the document.
8276 html_parse_special(): made it recognize character code number.
8280 * src/textview.c: added textview_show_html() that parses HTML and
8282 textview_show_part(): made it call textview_show_html() if
8283 the part is text/html.
8284 * src/html.[ch]: implemented HTML parser.
8288 * src/codeconv.[ch]: added CodeConverter, and its methods
8289 (conv_code_converter_new(), conv_code_converter_destroy(), and
8291 * src/textview.c: removed the branches by HAVE_LIBJCONV and
8292 rewrote them using CodeConverter.
8296 * src/mbox.c: proc_mbox(): workaround for duplicated From_ line.
8300 * src/codeconv.c: some code cleanups.
8304 * src/mainwindow.c: main_window_popup(): fixed a bug that didn't
8305 popup the main window correctly.
8306 * src/codeconv.h: fixed a bug that the definition of CS_EUC_CN and
8307 CS_EUC_TW was reversed (thanks to Sakamoto).
8314 src/socket.[ch]: applied the patch from Hiramatu that enables
8315 prohibition of multiple execution and remote control with
8316 command line option (thanks!).
8320 * src/summaryview.c: summary_button_pressed(), summary_selected():
8321 made it toggle the view if middle button is clicked while message
8323 summary_drag_data_get(): fixed a memory leaking.
8325 src/compose.c: compose_write_headers(): modified so that it uses
8326 host_alias for X-Mailer or X-Newsreader field.
8332 * src/folderview.c: fixed a bug that prevented a folder from being
8333 created if there were already folders that have the same name
8334 somewhere at another place.
8338 * src/folderview.c: folderview_update_all(): fixed a bug that
8339 caused segmentation fault when a folder was selected after
8340 updating the folder tree.
8341 * src/compose.c: compose_send(): fixed a locking bug.
8342 compose_write_headers(): fixed a bug that referred to cur_account.
8343 compose_convert_header(): made it check the arguments.
8347 * src/main.c: some cleanups and added --help option.
8351 * src/send.c: re-enabled user-defined domain name setting.
8352 * src/utils.c: is_next_mbs(): changed the size of temporary
8353 multibyte array to MB_CUR_MAX.
8354 strdup_mbstowcs(): added error check to mbstowcs().
8355 strdup_wcstombs(): added error check to wcstombs().
8356 * src/addr_compl.c: get_address_from_edit(): made it check the
8357 return value of strdup_mbstowcs().
8358 * src/codeconv.c: conv_encode_header(): added error checking
8359 to strdup_mbstowcs().
8363 * src/utils.c: log_error(): changed g_error() to g_warning() so
8364 that it doesn't abort.
8366 * src/addr_compl.c: add_address(): fixed a bug that aborted the
8367 program if the name or the address is empty.
8368 get_address_from_edit(): supported multibyte characters.
8369 * configure.in: fixed a typo.
8370 * src/send.c: re-enabled user-defined SMTP port setting.
8376 * configure.in: added --enable-gpgme option, and disabled GPGME
8378 * made GPGME related members in MimeInfo not used if disabled.
8379 * src/rfc2015.c: some cleanups for warning.
8383 INSTALL.jp: updated.
8384 * Makefile.am: modified bzip2 option.
8388 * src/procmime.[ch]: added MIME_APPLICATION_OCTET_STREAM to
8390 * src/mimeview.c: mimeview_view_file(): made it do nothing if
8391 the MIME type is application/octet-stream.
8392 * src/folderview.c: folderview_update_all(): made it show modal
8393 dialog while updating folders.
8394 * src/folderview.c: folderview_update_all(): fixed a bug that
8395 didn't remove the dialog.
8399 * src/mimeinfo.c: merged the patch from John E.P. Hynes that
8400 launches the attached file using metamail (thanks!).
8401 * src/procmime.[ch]: added procmime_get_tmp_file_name().
8403 src/addr_compl.[ch]: merged the patch from Alfons Hoogervorst
8404 that enables address completion in the address entry on the
8405 composition window (thanks!).
8406 * src/addr_compl.c: get_all_addresses(), read_address_book():
8407 modified so that it uses xml_free_tree() for freeing the address
8412 * src/utils.c: remove_dir_recursive(): fixed a bug that failed to
8413 remove the current directory (thanks to Maki).
8414 * src/summary_search.c: added `Select all matched' option to the
8415 search dialog (thanks to Takahashi).
8416 * src/pixmaps/stock_mail_attach.xpm
8417 src/pixmaps/tb_address_book.xpm
8418 src/compose.c: added some toolbar icons contributed from
8419 Leandro Pereira (thanks!).
8423 * src/rfc2015.c: passphrase_cb(): *finally* fixed a bug that caused
8424 segmentation fault when the passphrase dialog was cancelled.
8425 Hided the passphrase in the debug message.
8426 * src/about.c: about_create(): fixed a bug that failed to compile
8427 when none of the features were used.
8428 * src/foldersel.c: foldersel_set_tree(): made it display all
8430 * src/inc.c: inc_start(): fixed a bug that showed password dialog
8431 continuously if it was cancelled.
8432 * src/summaryview.c: summary_write_cache(): put an assertion after
8433 folder_item_get_cache_file() to prevent the crash.
8434 * thanks to Maki for the above four fixes.
8435 * src/utils.h: added #include <alloca.h>.
8439 * src/rfc2015.c: changed some g_message() used for error messages
8444 * src/procmsg.[ch]: modified READ_CACHE_DATA() macro so that
8445 it can handle a string data of which length >= BUFFSIZE.
8446 * src/rfc2015.c: rfc2015_encrypt(): changed return to `goto failure'.
8447 * src/pixmaps/stock_mail_receive_all.xpm
8448 src/pixmaps/stock_mail_reply_to_all.xpm
8450 src/mainwindow.c: main_window_toolbar_create(): added new toolbar
8451 icons contributed from David Mehrmann (thanks!).
8452 * src/inc.[ch]: overhauled the architecture so that it don't create
8453 and destroy progress dialog for each incorporation in `get all'
8458 * src/mh.c: mh_scan_tree_recursive(): fixed a bug that mistook
8459 sub folders named `inbox', etc. as special folders.
8460 * src/rfc2015.c: rfc2015_encrypt(): fixed a bug that didn't quote
8465 * applied the GnuPG patch from Werner Koch (thanks!).
8466 * removed Mixmaster support.
8467 * src/rfc2015.c: changed g_error() to g_warning() and modified some
8469 * src/about.c: about_create(): modified compiled-in features list.
8473 INSTALL.jp: updated.
8474 * src/select-keys.c: create_dialog(): modified the layout.
8475 * src/headerwindow.c
8477 src/logwindow.c: made it raise the window if the window is already
8479 * src/prefs_common.[ch]: added an option for immediate execution.
8480 * src/summaryview.c: made it execute immediately when messages are
8481 moved or deleted if immediate_exec option is turned on.
8482 * src/summaryview.c: summary_delete(), summary_move_selected_to():
8483 moved summary_step() before summary_execute().
8484 * src/folderview.c: folderview_update_all(): made it scan folder
8486 * src/compose.c: compose_write_headers(): made it don't add
8487 In-Reply-To header if to_list is empty.
8489 2001-01-09 Werner Koch <wk@gnupg.org>
8491 * configure.in, acconfig.h: Check for GPGME.
8492 * ac/: New directory for local autoconf macros.
8493 * src/Makefile.am: Add support for GPGME
8495 * src/main.c (idle_function_for_gpgme): New.
8496 (main): Register this function.
8498 * src/about.c: Add a note about GPGME.
8500 * src/rfc2015.c, rfc2015.h: New.
8502 * src/mimeview.c (mimeview_show_message): Check signature.
8503 * src/procmime.c (procmime_scan_message): Ditto.
8505 * src/messageview.c (messageview_show): Add decryption stuff.
8507 * src/compose.c (compose_write_to_file): Encrypt the file if requested.
8508 (compose_toggle_encrypt_cb): New
8509 (compose_toggle_mixmaster_cb): New, just to be prepared for
8511 (compose_write_headers): Suppress some headers in mixmaster mode.
8513 * src/prefs_common.c (prefs_common_create): Add Privacy notebook sheet.
8514 (prefs_privacy_create): New. Also some new structures etc.
8515 * src/compose.c (compose_create): Set encrypt button to prefs default.
8516 * src/compose.h (struct _Compose): Add use_encryption, use_mixmaster.
8518 * src/compose.c (compose_send): Add missing unlock before one return.
8522 * src/gtksctree.[ch]
8524 src/summaryview.[ch]: applied the patch from Hiramatu that enables
8525 DnD from the summary view to the folder view and fixes some other
8527 * src/mainwindow.c: scan_tree_func(): fixed a bug that caused
8529 * src/imap.c: quoted user name in LOGIN and folder name in SELECT.
8530 * src/gtksctree.c: gtk_sctree_button_press(): fixed a bug that
8531 didn't toggle expansion of node.
8535 * src/imap.c: applied the patch from Nishimura that updates the
8536 message list more precisely and reads the message flags (thanks!).
8537 * src/textview.c: textview_show_header(): made X-Newsreader field
8539 * src/summaryview.c: summary_show(): made it flush events when
8544 * src/summaryview.c: applied the patch from Alfons that enabled
8545 the horizontal scrollbar of summary view (thanks!).
8549 * src/compose.c: compose_cb(): fixed a bug that didn't open the
8550 composition window right after launching the program.
8551 * src/setup.c: scan_tree_func(): fixed a bug that caused
8558 * src/textview.c: textview_set_font(): fixed a bug that caused
8559 segmentation fault if the mode of the text widget was changed
8560 between multibyte and singlebyte while the region was selected
8566 src/summaryview.c: made it unable to delete or move messages when
8568 * src/prefs_common.c
8569 src/news.c: added the option for maximum news article number.
8573 * src/compose.c: compose_send(): changed the location of temporary
8574 file. Made it use the default account if all of tried account
8575 aren't mail one, and made it show alert dialog and abort when even
8577 * src/prefs_account.c: prefs_account_get_new_id(): made it preserve
8579 prefs_account_open(): made it fill in personal information
8580 according to the default account when creating a new account.
8581 * sylpheed.spec.in: added to autogenerate sylpheed.spec with the
8582 proper version number (thanks to BONAIM).
8584 Makefile.am: added entries for sylpheed.spec.in.
8588 * src/compose.[ch]: modified so that it can change account
8590 * src/send.[ch]: modified so that it doesn't see cur_account.
8591 * src/prefs_account.c: modified so that news setting doesn't
8592 show SMTP server entry.
8596 * src/folderview.c: fixed a bug that didn't sort special folders
8597 correctly when a new folder is created or renamed.
8601 * src/compose.[ch]: enabled to select account at composing window.
8602 * src/folderview.c: made it display unread number next to folder
8604 * src/prefs_common.[ch]: added the option for unread number display.
8608 * src/compose.[ch]: integrated news posting patch from DINH V. Ho`
8609 and made many modifications (thanks!).
8610 compose_write_headers(): made the spaces in newsgroups removed.
8611 Supported Followup-To.
8612 compose_destroy(): got the objects removed properly.
8613 * src/news.c: merged news_post_to_group() and news_post() since
8614 they doesn't have to do multiple posting.
8615 * src/import.c: import_destsel_cb(): fixed a bug that failed to
8616 import into the selected folder.
8617 * src/prefs_account.c: modified the interfaces.
8622 prefs_common.c: changed "SHIFT-JIS" to "Shift_JIS" since the
8623 string is registerd to IANA.
8624 * src/nntp.[ch]: added nntp_post().
8625 * src/news.[ch]: added news_post() and news_post_to_group().
8629 * src/account.c: account_edit_open()
8630 src/mainwindow.c: new_account_cb(): made it unable to edit
8631 accounts if some composing windows are open.
8635 * src/folder.[ch]: added folder_set_name().
8636 * src/account.c: made a folder name of IMAP4/NNTP become the same
8637 as the name of account.
8641 * src/summaryview.c: summary_filter_func(): fixed a bug that failed
8648 * src/mbox.c: fixed a bug that didn't incorporate spool file
8649 correctly. Modified so that it recognizes From_ line as separator
8650 of messages even if the previous line isn't empty line.
8651 * src/send.c: send_message_queue()
8652 src/procmsg.c: procmsg_send_queue(): Fixed a bug that printed
8653 warning when it tried to delete a sent message.
8660 src/news.[ch]: modified so that it actually gets news articles.
8661 * src/utils.[ch]: added make_dir_hier() that creates directory
8664 folder_item_get_cache_file(), folder_item_get_mark_file():
8665 made it creates cache directory if it doesn't exist.
8666 folder_add(): made it insert the added folder into the correct
8668 * src/imap.[ch]: modified so that it suits the new folder
8669 architecture. Fixed a bug that caused segmentation fault
8670 if authentication failed at imap_auth().
8671 * src/folderview.c: implemented IMAP4 folder handling routines.
8675 * src/prefs_account.[ch]: added account ID and nntp_server
8676 to PrefsAccount. And added the interface for NNTP server.
8677 * src/folderview.c: modified news folder handling routines.
8678 * src/folder.[ch]: removed cache_dir from RemoteFolder, and
8679 modified folder_item_get_path().
8683 * src/folder.[ch]: added create_folder(), rename_folder(),
8684 remove_folder() to Folder class.
8685 * src/mh.[ch]: added mh_create_folder(), mh_rename_folder(), and
8687 Implemented mh_create_tree() that creates MH directory tree.
8688 mh_rename_folder(): modified so that the paths of sub folders
8690 * src/folderview.c: modified folderview_new_folder_cb(),
8691 folderview_rename_folder_cb(), and folderview_delete_folder_cb()
8692 so that they work properly.
8693 Added folderview_remove_mailbox_cb() and the menu entry that
8694 remove mailbox from folder tree.
8695 * src/setup.[ch]: added for initial setup.
8696 * src/alertpanel.c: modified the appearance of the dialog.
8697 * src/compose.c: fixed compose_save_to_outbox() and
8698 compose_queue() so that it sets flags correctly.
8702 * src/mainwindow.c: modified the strings of toolbar labels.
8706 * src/gtkutils.[ch]: added gtkut_ctree_node_move_if_on_the_edge().
8707 * src/summaryview.c: summary_display_msg(): made it scroll the
8708 list if the message of the edge of that is displayed.
8713 src/mh.[ch]: added functions for moving messages.
8714 * src/procmsg.[ch]: moved procmsg_move_messages_with_dest()
8715 to folder.c and mh.c. Added procmsg_to_folder_hash_table().
8719 * src/utils.[ch]: added get_tmp_file().
8722 src/folder.c: fixed a bug that failed to drop messages.
8723 * src/mh.c: mh_scan_folder(): made it check new, unread, and total
8724 number of the folder.
8728 * src/folderview.c: added special folder setting routine.
8729 * src/folder.[ch]: added a method is_msg_changed().
8730 Implemented folder_find_item_from_path().
8731 * src/summaryview.c: fixed some bugs that wrongly freed FolderItem's.
8732 * autogen.sh: fixed so that the configure can take arguments.
8737 src/mainwindow.[ch]: added main_window_new_mailbox() that asks
8738 the path of mailbox and create the one.
8739 * src/folderview.c: made the folder tree and selected folder
8745 src/folder.c: implemented mh_scan_tree() that scans the folder
8746 recursively and create the tree.
8766 src/summaryview.[ch]
8768 src/Makefile.am: merged the development tree into the cvs tree.
8769 Some functions are not unimplemented yet.
8777 * src/xml.[ch]: supported omitted tag (<tag />).
8778 * src/procmsg.c: procmsg_msg_exist(): fixed a memory leak bug.
8779 * src/imap.c: imap_parse_atom(): fixed a bug that caused
8780 segmentation fault if the subject was empty (thanks to Tsutsui).
8781 * src/folder.[ch]: updated.
8785 * src/xml.[ch]: added xml_parse_file() that parses the whole XML
8786 file specified and returns the tree.
8790 * po/pt_BR.po: fixed some typos that caused segmentation fault.
8796 * src/session.h: added.
8797 * src/folder.[ch]: updated.
8798 * src/compose.c: compose_write_to_file()
8799 src/codeconv.c: conv_get_outgoing_charset_str(): fixed a bug
8800 that put a garbage to charset if the outgoing character set was
8801 specified and non-ascii characters were used in subject.
8805 * src/statusbar.c: statusbar_puts(): fixed a bug that locked the
8806 progress if the status bar was hidden.
8810 * src/folder.[ch]: added for the more object-oriented folder
8818 src/prefs_common.[ch]: made the state of status bar get preserved.
8819 * src/compose.c: compose_insert_sig(): modified so that it doesn't
8820 put a separator if a signature file doesn't exist.
8821 * src/prefs_account.[ch]
8822 src/inc.c: added the option that toggles whether to receive
8823 messages when getting from all accounts.
8825 README.jp: updated the description and added some usages.
8831 src/compose.[ch]: applied the patches from Alfons Hoogervorst
8832 that makes the ruler of composition window graphical (thanks!).
8838 src/prefs_common.c: replaced CS_WINDOWS_1251 with CS_CP1251.
8844 * src/compose.c: turned the color of quoted messages black again.
8848 * src/about.c: added a clickable URI to the Sylpheed home page,
8849 and a list of compiled-in features.
8850 * src/compose.c: made the color of quoted messages blue.
8851 * src/summaryview.c: added `Show all header' to the context menu.
8852 * src/prefs_common.c: removed the threading option from the dialog.
8853 * src/compose.c: fixed a bug that didn't parse the quotation format
8858 * src/compose.c: compose_set_ext_editor_sensitive(): modified so
8859 that it toggles linewrap menu item and tool button.
8860 * src/prefs_common.c: modified the default of the signature
8862 * src/compose.[ch]: added ruler to the compose window.
8863 * src/prefs_common.[ch]: added a member for the state of ruler
8868 * src/headerview.[ch]: added the destroy function.
8869 * src/messageview.c: messageview_destroy(): fixed a memory leak
8870 bug that didn't freed the HeaderView object.
8871 * src/prefs.c: prefs_write_open(): fixed a memory leak bug.
8872 * src/xml.c: xml_close_file(): fixed a memory leak bug (thanks
8873 to Alfons Hoogervorst for the above three memory leak bug fixes).
8882 INSTALL.jp: modified some descriptions.
8886 * src/compose.c: implemented line-wrapping functions.
8887 * src/prefs_common.[ch]: added the settings for line-wrapping.
8888 * src/codeconv.[ch]: added Windows-1251 to the codesets.
8889 conv_jistoeuc(): fixed a bug that caused segmentation fault
8890 when some half-width kana characters appeared.
8891 * src/summaryview.c: summary_select_all(): made it show message
8892 on the status bar if the number of messages is large.
8896 * src/compose.c: compose_reply(), compose_quote_parse_fmt():
8897 modified so that it parses the quotation mark too.
8898 Added %I that means the initial of sender to the format.
8899 * src/codeconv.[ch]: added GB2312 and Big5 to the codesets.
8900 Fixed a bug that set the wrong outgoing codeset.
8902 src/prefs_common.c: modified the menu item of Chinese codeset.
8907 src/prefs_common.[ch]: modified so that outgoing charset is
8908 saved as a string, not a number.
8912 * src/textview.c: textview_set_font(): changed the scheme of
8913 selecting between font and fontset. And changed the default
8915 * src/headerview.c: headerview_show_xface(): made it ignore
8917 * src/codeconv.c: conv_codeset_strdup(), conv_get_code_conv_func():
8918 modified so that it consider the source codeset as ISO-2022-JP if
8919 it is NULL and the current locale is Japanese.
8923 * src/textview.c: textview_destroy(): fixed a bug that caused
8924 segmentation fault if textview->msgfont is NULL (thanks to
8927 src/defs.h: applied the patch from Yanase that enables to
8928 save the shortcuts of the menus (thanks!).
8932 * src/mainwindow.[ch]: added main_window_set_menu_sensitive() that
8933 toggles the sensitivity of menu items.
8934 * src/summaryview.c: renamed summary_set_popup_sensitive() to
8935 summary_set_menu_sensitive(), and made it set the sensitivity of
8940 * src/textview.c: textview_init(): fixed a bug that didn't disable
8941 the theme engine of GtkText (thanks to Hiramatu).
8942 * src/compose.c: compose_quote_parse_fmt(): added %n and %N that
8943 means the full name of sender and the first name.
8944 * manual/ja/*.??ml: updated to the latest version.
8950 * src/defs.h: separated the definitions from main.h and applied the
8951 patch from TOGAWA that sets DEFAULT_SPOOL_PATH and MAXPATHLEN
8952 from the system headers (thanks!).
8953 * src/codeconv.c: conv_get_current_charset(): fixes for lt_LT and
8955 * src/textview.c: textview_set_font(): modified so that it sets
8956 the correct font when the locale is multi-byte.
8957 textview_destroy(): added proper codes for destruction.
8958 textview_show_header(): fixed the coloration of X-Mailer.
8962 * src/textview.[ch]: made TextView have single-byte and multi-byte
8963 GtkText, and switch between them according to the given codeset.
8964 * src/compose.c: compose_create(): modified the font setting
8969 * src/textview.[ch]: moved the message font variable into TextView.
8970 textview_set_font(): modified so that it uses gdk_font_load()
8971 if the given codeset is US-ASCII or ISO-8859-*.
8979 src/compose.c: workaround for the 8bit code issue (used
8980 gdk_font_load() instead of gdk_fontset_load() when the locale is
8987 * src/compose.[ch]: added `Draft' tool button.
8988 * src/imap.c: imap_parse_envelope(): fixed a parsing bug.
8989 * README, README.jp: added the explanation of the locale setting.
8993 * src/compose.c: made it overwrite the previous draft message when
8994 reedited the draft and saved it again.
8995 * src/procmsg.[ch]: added procmsg_msg_exist() that examine whether
8996 the message really exists.
8997 * src/folderview.[ch]: added folderview_scan_folder_a() and
8998 folderview_scan_folder_foreach_a() that scan the specified
8999 folders for each folderviews.
9000 * src/mainwindow.[ch]: removed main_window_scan_folder() and
9001 main_window_scan_folder_all().
9002 Added `Reedit' to the menu.
9003 * src/import.[ch]: removed MainWindow from the argument of
9005 * src/summaryview.c: removed the unnecessary items from the popup
9006 menu. Changed summary_reedit_cb() to summary_reedit(), and made
9011 * src/compose.h: added a member msginfo to Compose.
9012 * src/procmsg.[ch]: added procmsg_msginfo_copy() that duplicates
9017 * src/summaryview.c: made the the popup menu change the sensitivity
9018 according to the context. Fixed a bug that showed the `clean trash'
9019 dialog repeatedly if `D' key was pressed when the focus was on the
9021 * src/pixmaps/unread.xpm: changed the color of unread mark to blue.
9025 * src/main.c: fixed g_thread initialization.
9029 * src/codeconv.c: added pt_BR to locale_table.
9030 * src/prefs_common.c: prefs_send_create(): added `US-ASCII',
9031 `ISO-8859-1', and Japanese codeset to the option menu of outgoing
9032 codeset when not using libjconv.
9033 * src/compose.c: fixed the bug on saving draft again.
9037 * src/compose.c: compose_write_headers(): fixed a bug that failed
9038 to write headers if To: was empty when saving draft.
9044 src/headerwindow.[ch]
9046 src/messageview.[ch]
9050 src/procheader.[ch]: modified so that they can handle queue folder
9053 src/summaryview.c: implemented draft-reediting function.
9056 src/mimeview.c: replaced *(GtkWidget **) with the macro
9061 * src/procmsg.[ch]: procmsg_msginfo_free(): fixed a memory leak bug.
9062 Added MSG_QUEUED and MSG_DRAFT to MsgFlags, and made it set them
9063 if the folder is QUEUE_DIR or DRAFT_DIR.
9070 src/messageview.c: modified the border of the headerview.
9071 * src/gtkutils.h: added the macro GTK_WIDGET_PTR() that casts
9072 an Sylpheed object to GtkWidget.
9073 * src/utils.c: remove_return(), remove_space(): fixed a bug that
9074 possibly caused segmentation fault.
9077 src/summaryview.c: implemented `forward as an attachment'.
9078 * src/utils.[ch]: open_uri(): brought on URI opening function from
9079 textview.c and manual.c.
9086 src/prefs_common.[ch]: removed `Reply with quote', and added
9087 `Reply to all', and added the option that decides whether to
9088 quote message on replying.
9092 * src/folderview.c: modified so that it uses gtkut_wait_for_draw()
9093 instead of GTK_EVENTS_FLUSH() for statusbar redraw.
9096 src/prefs_common.c: added Baltic (ISO-8859-4,13) to the code sets.
9097 * src/compose.c: compose_send(): modified so that it shows error
9098 dialog when failed to send a message.
9102 * src/account.c: account_edit_close(): fixed a bug that didn't set
9103 current account when creating an account for the first time.
9104 * configure.in: added es to ALL_LINGUAS.
9108 * src/codeconv.c: conv_codeset_strdup(): made it use libkcc if
9110 conv_get_code_conv_func(): modified so that it doesn't convert
9111 codeset if it is unknown.
9112 * src/folderview.c: folderview_update_msg_num(): modified style
9117 * src/codeconv.c: conv_codeset_strdup(): modified so that it sets
9118 codesets automatically if the arguments are NULL.
9119 * src/textview.c: textview_write_line(): made it output warning
9120 message on the text view if conversion failed.
9124 * README, README.jp: modified the author of the manual.
9128 * src/headerview.[ch]
9129 src/messageview.[ch]: modified so that it uses GtkLabel widget
9131 * src/codeconv.c: conv_unmime_header(): modified so that it deletes
9132 unreadable codes if the current locale is EUC-JP and libjconv is
9140 src/textview.c: modified so that it parses MIME message more
9142 * src/imap.c: imap_parse_address(): fixed a bug.
9146 * src/procmsg.[ch]: added procmsg_get_message_file_path().
9147 * src/recv.c: recv_bytes_write(): added CR+LF -> LF conversion
9149 * src/imap.[ch]: changed the name of the member `group' in
9150 IMAPSession to `mbox'.
9151 imap_gen_send(): modified so that it doesn't output the password
9153 Modified session destroying routine.
9154 * src/folderview.c: folderview_write_cache(): made it preserve
9155 the IMAP folder list.
9156 * src/procmime.c: procmime_scan_multipart_message(): fixed a bug
9157 that showed boundary at the end of an attached RFC822 part.
9158 * src/prefs_common.c: changed the default of toolbar style to
9163 * src/imap.c: imap_get_uncached_messages(): modified so that it
9164 doesn't get the cached envelopes.
9165 imap_session_get_message_info(): made it read only the cache
9166 if the session is not established.
9167 * src/procmsg.c: procmsg_set_flags(): supported IMAP folder.
9168 * src/news.c: news_get_article_info(): made it read only the cache
9169 if the session is not established.
9173 * src/textview.c: textview_write_line(): fixed a memory leak bug.
9174 * src/folderview.[ch]: made it create IMAP4 folders from the
9175 account information.
9176 * src/imap.[ch]: imap_session_get(): modified so that it creates
9177 IMAP4 session from the account information.
9181 * src/imap.[ch]: added for IMAP4 support.
9182 * src/summaryview.[ch]
9184 src/recv.[ch]: modified for IMAP4 support.
9185 * src/folderview.c: more IMAP4 implementation.
9186 * src/procmsg.[ch]: added procmsg_get_message_file() that retrieves
9187 the specified message and return the file name.
9188 * src/gtkutils.c: gtkut_widget_wait_for_draw(): fixed a bug that
9189 locked up the process if the given widget was invisible.
9193 * src/folderview.[ch]: added IMAP4-related code.
9199 * src/main.h: added IMAP_CACHE_DIR.
9200 * src/utils.[ch]: added get_imap_cache_dir().
9201 * src/procmsg.h: added M_IMAP to MsgType, and MSG_IMAP to MsgFlags.
9202 Added macro MSG_IS_IMAP().
9203 * src/codeconv.c: added `#include <locale.h>' for setlocale().
9204 * sylpheed.spec: fixed %files section.
9210 * src/codeconv.c: conv_get_current_charset(): made it compare
9211 string with strncasecmp().
9212 * src/compose.c: comopse_reply_parse_header(): workaround for
9213 the malformed References: header generated by OE5 :(
9217 * src/prefs_common.c
9218 src/prefs_account.c: modified the layout of the widgets.
9224 * src/*.[ch]: added copyright notice to the top of the source files.
9225 * src/compose.c: compose_write_attach(): modified filename encode
9230 * src/mainwindow.c: fixed the menu entry of manual.
9232 src/codeconv.[ch]: moved compose_encode_header() into codeconv.c,
9233 and applied the libjconv patch.
9234 * src/utils.c: strdup_mbstowcs(), strdup_wcstombs(): used g_realloc()
9235 to reduce the alloc'd memory to the optimal size.
9236 * src/prefs_common.[ch]: added outgoing codeset option menu.
9237 * src/compose.c: compose_send(): added exclusive lock to prevent
9239 * configure.in: made '--enable-ipv6=no' the default.
9240 * src/compose.c: compose_write_attach(): made it encode the name
9241 of the attached file.
9242 * src/procmsg.c: procmsg_get_last_message_number(): fixed a bug that
9243 didn't check the type of file.
9244 procmsg_move_messages_with_dest(): fixed a bug that failed to
9245 move message if a directory that had the same name existed.
9246 * src/utils.c: is_ascii_str(): modified so that '\t', ' ', '\r', '\n'
9247 are included as ASCII characters.
9252 src/procmime.[ch]: modified so that it actually works when using
9254 * src/codeconv.[ch]: added conv_codeset_strdup() that converts
9255 the codeset of string according to the codeset specified in
9257 * src/utils.[ch]: added is_ascii_str() that determines whether the
9258 string is 7bit-ASCII or not.
9260 src/codeconv.[ch]: moved the character set related functions
9262 * merged the patch and the manual written by BONAIM (thanks!).
9272 src/unmime.[ch]: applied the patch from Higuchi that utilizes
9273 libjconv and enables to handle many locales, including UTF-8
9274 (Unicode) (thanks!).
9275 * src/account.c: modified so that the account isn't changed when
9276 another account is selected on account edit dialog.
9280 * src/prefs_common.[ch]
9281 src/textview.c: added an option that specifies whether to display
9282 short headers on message view.
9283 * src/codeconv.[ch]: added function conv_unmime_header() that
9284 decodes MIME-encoded header and converts the character set.
9285 And added conv_unreadable_latin(), and modified conv_latintodisp().
9286 * src/messageview.[ch]: made the window get closed when escape key
9291 * src/imageview.c: fixed a bug that caused segmentation fault if
9292 message view was in new window.
9293 * src/prefs_common.c: added `xemacs %s' to the external editor
9300 * src/summaryview.c: enabled to open a new message window with
9302 * src/prefs_common.[ch]
9303 src/messageview.c: made it preserve the window size of message
9305 * src/prefs_account.c: added `None (local)' to the option menu of
9310 * Makefile.am: added autogen.sh to EXTRA_DIST.
9314 * src/prefs_common.c: applied the patch from Paul Rolland that
9315 enables font selection dialog (thanks!).
9317 src/utils.[ch]: moved tzoffset() and compose_get_date() of
9318 compose.[ch] into utils.[ch].
9319 * src/main.[ch]: renamed the name of filter file to `filterrc'.
9324 src/utils.[ch]: modified address parsing routine so that it
9325 parses quotes correctly.
9326 * src/textview.c: textview_show_part(): modified so that it shows
9327 the simplified headers if the part is text/plain.
9331 * src/messageview.[ch]
9332 src/summaryview.[ch]
9333 src/mainwindow.c: enabled to open a message in new window.
9334 * src/messageview.[ch]
9337 src/imageview.[ch]: added destroy function, and modified the
9338 key handling routines.
9342 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug that
9343 caused segmentation fault (thanks to KUROSAWA).
9344 * src/alertpanel.c: modified so that the focused button is
9348 src/folderview.c: modified so that the order of the buttons of
9349 alert panel will be `Yes', `No'.
9353 * src/utils.[ch]: added execute_async() and execute_command_line()
9354 that execute command line using execvp().
9357 src/procmsg.c: replaced system() with execute_command_line()
9359 * src/procmsg.c: turn back to system().
9360 * src/utils.c: modified execute_command_line().
9364 * src/mainwindow.c: main_window_get_size(): modified so that it
9365 doesn't update the height of SummaryView if MessageView is
9367 * src/compose.[ch]: applied the patch from NAKAGAWA that fixes some
9368 probrems of external editor handling (thanks!).
9370 src/procmime.[ch]: applied the patch from Hiramatu that make it
9371 supports Content-Transfer-Encoding: x-uuencode (thanks!).
9376 src/prefs_common.[ch]: implemented the external editor faculty.
9377 * src/compose.c: compose_attach_property(): fixed some bugs on
9378 changing the property of attached file.
9379 * src/compose.c: fixed some bugs of external editor functions.
9386 src/prefs_common.[ch]
9387 src/summaryview.c: applied the patch from Paul Rolland that
9388 restores the size of widgets when restarting (thanks!).
9390 src/prefs_common.[ch]
9391 src/summaryview.c: applied the patch from Paul Rolland that saves
9392 the width of CTree columns (thanks!).
9396 * src/headerview.c: modified the height of HeaderView.
9397 * src/textview.c: textview_show_part(): made it process the message
9398 as normal text if it is single-part RFC822 message.
9400 src/summaryview.c: some changes around the key handling.
9401 * src/prefs_common.[ch]: substituted the word `assort' with `filter'.
9405 * src/codeconv.[ch]: added conv_latintodisp() for ISO-8859-1 support.
9406 * src/procheader.c: procheader_get_one_field(): fixed a bug that
9407 caused segmentation fault if the first line of the file is space
9408 or tab (thanks to Hiramatu).
9409 * src/mimeview.c: mimeview_drag_data_get(): modified so that the
9410 filename doesn't include G_DIR_SEPARATOR (thanks to Hiramatu).
9411 * src/prefs_account.c
9412 src/prefs_common.c: modified the dialog size.
9413 * src/prefs.c: made the dialog window growable.
9419 * configure.in: removed unnecessary AC_CHECK_FUNC(gettext) that
9420 caused the failure of the detection of libintl.
9422 src/prefs_common.c: implemented `not contain', and modified for
9424 * src/imageview.c: changed alertpanel_error() to g_warning() so that
9425 it doesn't grab mouse events.
9426 * src/compose.[ch]: added compose_list that holds the list of
9427 Compose objects, and added the function compose_get_compose_list().
9430 src/summaryview.c: made it confirm if composing message exists.
9434 * src/compose.c: compose_reply_set_entry(): fixed a bug that caused
9435 segmentation fault when trying to reply the message in the queue
9436 folder (thanks to Kotobuki).
9437 compose_attach_property(): modified the property dialog routine
9438 so that it can handle input error.
9439 * src/mimeview.c: applied the patch from Hiramatu that enables
9440 the drag 'n drop from MimeView (thanks!).
9441 * src/headerview.[ch]
9443 src/procmsg.h: applied the patches for X-Face support from
9444 HIROSHIMA (thanks!).
9448 * src/compose.c: compose_attach_property(): modified so that the
9449 property dialog can actually change the property of attached file.
9454 src/Makefile.am: updated for gdk_imlib.
9455 * added AUTHORS and NEWS.
9458 src/Makefile.am: modified so that configure auto-detects gdk-pixbuf
9459 and gdk_imlib library. And fixed a bug on IPv6 detecting.
9460 * src/imageview.c: supported gdk-pixbuf.
9464 INSTALL.jp: added the mention about built-in image view.
9465 * configure.in: modified so that configure can disable gdk-pixbuf
9466 or/and gdk_imlib library.
9470 * src/imageview.[ch]
9472 src/messageview.[ch]
9473 src/mimeview.[ch]: applied the patches from HIROSHIMA that enables
9474 to display image (thanks!).
9480 * src/summaryview.c: summary_assort_func(): modified to avoid
9481 `not receive' setting.
9485 * src/filesel.c: applied the patch from HIROSHIMA that makes it
9486 remember previous directory when opening the dialog (thanks!).
9487 * src/summaryview.[ch]: added a function summary_redisplay_msg().
9488 * src/mainwindow.c: set_charset_cb(): made it redisplay the message
9489 that is currently shown when the character set is changed.
9493 src/filter.h: applied the patch from Tanaka that enables not to
9494 receive specified messages according to the sorting rule (thanks!).
9498 * src/procmsg.[ch]: added MSG_MIME to the type MsgFlags. And modified
9499 so that it handles MSG_MIME flag, and it scans uncached messages
9500 when cache reading failed even if it is specified not to scan
9502 * src/procheader.c: procheader_parse(): added the determination of
9503 multipart MIME message.
9504 * src/main.h: increased CACHE_VERSION.
9505 * src/summaryview.[ch]: added the `MIME' column that shows whether
9506 a message is multipart or not.
9507 * src/prefs_common.[ch]: added the `MIME' column to the setting of
9509 * added src/pixmaps/clip.xpm.
9511 src/procmsg.[ch]: modified so that it prompts the print command
9516 * src/folderview.c: folderview_create()
9517 src/summaryview.c: summary_create():
9518 src/addressbook.c: addressbook_create(): set the expander style of
9519 CTree to GTK_CTREE_EXPANDER_SQUARE.
9520 * src/compose.c: modified the interface of property dialog.
9524 * src/compose.c: added property dialog for attached file.
9528 * src/procmsg.[ch]: added a function procmsg_print_message() that
9529 prints the given message.
9530 * src/summaryview.c: summary_print(): modified so that it prints
9531 all selected messages.
9532 * src/folderview.c: folderview_select_node(): fixed a bug that
9533 didn't focus on folder tree if inbox was empty when incorporating.
9539 * src/prefs_commmon.[ch]: added `Other' tab and an option for
9540 printing. And moved external browser option to there.
9542 src/summayview.[ch]: added print menu and implemented print
9547 * src/prefs_account.c: made the default value of smtp_server to
9549 * src/folderview.c: folderview_update_msg_num(): modified so that
9550 it doesn't emphasize trash folder even if it has new or unread
9555 * src/filesel.c: filesel_select_file(): (perhaps) fixed a bug that
9556 caused segmentation fault when file selection dialog was closed
9557 and other dialog was open immediately.
9561 * src/compose.c: compose_encode_header(): fixed a bug that caused
9562 infinite loop if wctomb() failed.
9568 * src/mimeview.c: enabled to open an attached file with double click
9569 and popup menu. And cleaned up the code.
9570 * src/procmime.[ch]: added a function procmime_get_part() that
9571 saves the part of multipart message.
9577 src/prefs_common.[ch]
9579 src/utils.[ch]: applied a patch that enables to launch attached
9580 image, audio, and HTML file (thanks to Hashimoto).
9581 * src/filter.c: filter_match_condition(): fixed a bug that caused
9582 segmentation fault if the body of specified filter is NULL. And
9583 made the filter considered as being matched on that case.
9587 * src/summaryview.c:
9588 summary_save_as(): fixed a bug that unabled to save news articles.
9589 summary_display_msg(): added exclusive lock to prevent it from
9590 reading another news article while it is already processing one.
9591 * src/gtkutils.[ch]: added gtkut_widget_wait_for_draw() that waits
9592 the draw signal to be emitted.
9594 main_window_cursor_wait()
9595 main_window_cursor_normal(): added gdk_flush() to change cursor
9598 libkcc/Makefile.am: added EXTRA_DIST for `make dist'. And added
9599 a target `release' to Makefile.am.
9603 * src/socket.c: supported IPv6.
9605 acconfig.h: added checking for IPv6.
9606 * prefs_common.c: changed the default of toolbar_style to icon only.
9610 * initial cvs import.
9611 * updated README and README.jp.
9617 * src/procmime.[ch]: modified the structure of MimeInfo so that it
9618 can be handled as a node of tree.
9619 Added procmime_mimeinfo_free_all() that frees all of the MimeInfo
9621 Added procmime_get_text_part() that scans a message and gets a text
9623 * src/mimeview.c: divided mimeview_scan_multipart_message() into
9624 procmime_scan_multipart_message() and mimeview_set_multipart_tree().
9625 * src/compose.c: compose_quote(), compose_forward():
9626 made it quote the text part of multipart message properly.
9627 Made it preserve the size of Compose window.
9628 * src/prefs_common.[ch]: added compose_width and compose_height to
9630 * src/textview.c: textview_show_part(): some code cleanups.
9631 * src/codeconv.[ch]: added a function conv_get_code_conv_func().
9637 * src/codeconv.[ch]: fixed a bug that showed garbage characters if
9638 the return code of the message was CR+LF. And added
9640 * src/summaryview.c: summary_attract_by_subject(): made it move
9641 the current view point to the selected row when executed.
9642 * src/textview.c: textview_show_part(): modified the character set
9643 determination routine.
9644 * src/folderview.c: folderview_update_msg_num(): fixed a bug that
9645 caused segmentation fault if boldfont was NULL.
9646 * src/compose.c: compose_create(): made it sets itself as the target
9647 of addressbook on window creation.
9651 * src/compose.c: compose_send(): fixed a bug that didn't save
9652 queued message to outbox when failed to send the message (thanks
9657 * src/inc.[ch]: modified so that it changes error message dialog
9658 depending on the results.
9662 * src/mainwindow.c: main_window_create(): set usize of account
9663 button on the status bar to 1 so that it doesn't get expanded
9664 more than necessary.
9665 * src/account.[ch]: account_foreach(): made it abort the iteration
9666 if the function returns nonzero.
9668 src/pop.c: modified so that it shows error message dialog if the
9669 message processing is failed.
9675 * src/mainwindow.c: made it popup account selection menu when
9676 account tool button or account status bar is pressed.
9678 src/prefs.c: suppressed the ENOENT perror messages.
9679 * src/pop.c: made it fall back on LAST command if UIDL failed.
9683 * src/procheader.c: procheader_parse(): fixed a bug that didn't
9684 parse References: header correctly (thanks to YAMAGUCHI).
9690 * src/compose.c: compose_reply_set_entry(): fixed a bug that didn't
9691 cc'd correctly when replying.
9693 src/summaryview.c: sorted out the main menu and the popup menu.
9699 * src/prefs_account.[ch]
9700 src/compose.c: made it be able to set Cc:, Bcc:, and Reply-To:
9701 automatically at composing (thanks to NAKAGAWA).
9705 * src/prefs_common.[ch]
9707 src/main.c: made it selectable whether to ask before cleaning
9709 * src/prefs_common.c: cleaned up the code and the interface a bit.
9710 * src/summaryview.c: modified the unthread functions for speeding
9715 * src/prefs_common.[ch]
9716 src/summaryview.c: made it display recipient on the `From' column
9717 if the address of the sender is the same as the current account
9718 (thanks to NAKAGAWA).
9719 * src/utils.[ch]: added a function extract_address() that extracts
9720 the address from `From:' header string.
9721 * src/mainwindow.c: allsel_cb(): fixed a bug that caused segmentation
9722 fault if `Edit/Select all' was selected when the message view was
9723 hidden (thanks to Tomita).
9727 * src/summaryview.c: modified execution routine so that it only
9728 unthreads nodes that are needed to be unthreaded.
9732 * src/news.c: news_session_get(): implemented the reconnection on
9734 * src/nntp.[ch]: added nntp_mode().
9738 * src/mbox.c: fixed a bug that didn't close mbox FILE pointer.
9739 And support assortment on processing mbox.
9740 * src/inc.c: inc_drop_message(): modified so that it uses hash table
9741 to store the last message number of folders.
9743 src/addressbook.c: modified the behavior of CTree at right-click.
9744 * src/pop.c: pop3_getrange_uidl_recv(): fixed a potential buffer
9745 overflow bug (thanks to Nishiyama).
9752 src/inc.[ch]: implemented management of read message on POP server
9754 * src/utils.[ch]: removed (s)list_remove_all() because it can be
9755 replaced with g_(s)list_free().
9756 * src/summaryview.c: modified the arrangement of menu a bit.
9757 * src/summaryview.c: summary_status_show(): made it doesn't display
9758 server name but newsgroup.
9759 * src/prefs_common.c
9760 src/prefs_account.c: adjusted the calculation routine of dialog
9767 * src/compose.c: compose_reply_set_entry(): modified so that it
9768 cc's to the all addresses on To: and Cc: of the replied message.
9769 And swapped the position of Subject: and To: entry.
9773 * src/procheader.c: modified so that it can handle headers that
9774 aren't separated by space.
9775 * src/socket.c: sock_connect(): added a wait after connection to
9776 prevent lockup (thanks to NINOMIYA).
9782 inc_all_account_mail(): fixed a bug that caused segmentation
9783 fault if no account exist.
9784 * src/mainwindow.[ch]: made receive button unclickable when
9786 * src/compose.c: compose_queue(): fixed a bug that didn't mark
9787 queued message properly.
9788 * src/utils.[ch]: separated code conversion functions into
9795 * src/mimeview.c: mimeview_save_as()
9796 src/summaryview.c: summary_save_as(): made it ask whether to
9797 overwrite the existing file.
9808 src/mbox.c: fixed a bug that failed to check write error when
9809 disk was full and caused the loss of the file.
9813 * src/mainwindow.c: main_window_clean_trash(): made it move focus
9814 to folder view when finished.
9815 * src/utils.[ch]: added code conversion functions for display.
9816 And added strncpy2() that doesn't do zero fill and does
9817 null-termination, unlike original strncpy().
9818 * src/textview.c: modified so that it changes the code conversion
9819 function according to charset. And supported charset=SHIFT_JIS.
9822 src/textview.c: made it possible to force character set of
9824 * src/folderview.c: folderview_select_next_unread():
9825 made it search unread folder from begin if it isn't found.
9831 * src/mainwindow.c: fixed a probrem again that main window was
9832 stretched to the width of the toolbar.
9834 src/utils.c: is_header_line(): modified so that it recognizes
9835 a header which doesn't have a space after colon (thanks to Hotta).
9836 * src/filter.c: added `#include <strings.h>'.
9837 * src/smtp.c: replaced snprintf() with g_snprintf().
9838 * src/Makefile.am: added `-I$(top_srcdir)/intl' to INCLUDES for
9840 * included sylpheed.spec.
9844 * src/prefs_common.[ch]: enabled to set the pixels of line space
9845 and decide whether to leave space on head of lines.
9846 * src/summaryview.c: modified so that it clears message view
9847 when displayed message is removed from the summary view.
9848 * src/mimeview.c: fixed a bug that caused infinite loop if
9849 terminal boundary of multipart message was not found (thanks to
9851 * src/folderview.c: folderview_scan_mailbox(): made it ignore
9853 * src/main.c: made it show warning dialog and exit if the file with
9854 the same name already exists when creating directory.
9859 src/prefs_common.[ch]: made it possible to leave space between
9860 and on head of lines.
9865 src/procmime.[ch]: made it scan /etc/mime.types and determine
9866 the MIME type of the attached file.
9867 * src/summaryview.c: made it clear message view if the summary
9868 is unselected on the execution, and made it move focus to
9869 folder view if the folder becomes empty.
9870 * src/mainwindow.c: fixed a probrem that main window was stretched
9871 to the width of the toolbar.
9872 * src/inc.c: fixed a bug that caused multiple gtk_main() event loop
9873 if `Check new mail on startup' was set.
9877 * src/compose.c: fixed a probrem that had been unable to insert
9878 a file to the current cursor position.
9884 * src/compose.[ch]: added `attach' button to the toolbar. And
9885 replaced the icon of `insert' to the new one.
9889 * src/mainwindow.[ch]: added `Execute' to the toolbar. And added
9890 a function main_window_set_toolbar_sensitive() that sets the
9891 sensitivity of the button of the toolbar.
9892 * src/compose.c: fixed a bug that output wrong header if
9893 a return code was included in the string of the text entry.
9897 * src/mainwindow.[ch]: added `Delete' to the toolbar and the menu.
9898 And added the same items in popup menu to the main menu.
9899 * src/utils.[ch]: added functions for DnD support.
9900 * src/compose.c: implemented file attachment and insertion with DnD
9901 (thanks to Hiramatu).
9907 * src/summaryview.c: fixed a bug that passed null pointer to
9912 * src/alertpanel.[ch]: added functions alertpanel_message(),
9913 alertpanel_notice(), and alertpanel_error(), and cleaned up
9919 src/summary_search.c
9921 src/foldersel.c: made them use alertpanel_error(),
9922 alertpanel_warning() or alertpanel_notice() for error message
9924 * src/summaryview.[ch]: enable sorting in reversed order.
9925 * src/inc.c: made it show error message dialog when failed to
9926 connect or authorize.
9927 * src/utils.h: added a macro FILE_OP_ERROR() and replaced many
9934 * src/compose.c: fixed a bug that didn't save a message to outbox
9936 * src/send.c: send_message_queue(): fixed a bug that included
9937 headers for queueing in the parsed data.
9938 * src/mainwindow.c: send_queue_cb(): made it pop statusbar message
9939 and update queue folder when finished.
9947 src/compose.c: suppressed the warning messages.
9948 * src/mainwindow.[ch]: added next unread message button and menu
9950 * src/summaryview.[ch]: added a function summary_select_next_unread()
9951 that selects and opens next unread message.
9955 * src/prefs_common.[ch]: added a setting to decide whether to open
9956 unread message on entering a folder.
9957 * src/summaryview.c: made it open the first unread message only if
9958 the preference is set.
9959 * src/compose.c: fixed a bug that freed the string obtained from
9964 * src/compose.c: added `Send later' to the menu and the toolbar
9965 which queues the message to send it later.
9969 * src/mainwindow.c: added an interface to resend the queued message.
9970 * src/compose.c: made it show alert dialog when a message will be
9975 * src/procmsg.[ch]: added function procmsg_send_queue() that calls
9976 send_message_queue() for each queued messages.
9980 * src/inc.c: inc_drop_message(): modified so that it drops a message
9981 to the default inbox folder if destination folder doesn't exist.
9982 * src/compose.[ch]: added imput compatible queueing header to the
9984 * src/send.[ch]: added function send_message_queue() that send
9990 acconfig.h: made it enabled to decide wheter to use multithread
9991 or not on configure.
9992 * src/summaryview.c: fixed a bug that made thread when executed
9993 despite of the setting (thanks to Hiroshima).
9994 * src/socket.[ch]: changed the return value of public
9995 sock_connect_*() function to the pointer to SockInfo object.
9996 * src/procmime.c: procmime_scan_mime_header():
9997 fixed a bug that returned NULL if the scanned part had no header
9998 (thanks to shigeri).
9999 * src/procmime.[ch]:
10000 added function procmime_scan_content_disposition() that parses
10001 Content-Disposition header field.
10002 * src/mimeview.c: made it uses filename value in Content-Disposition
10005 * src/inc.c: modified so that password is prompted if the password
10006 on preferences is empty and previous POP3 session has failed on
10011 * src/socket.[ch]: added non-blocking IO mode socket and
10012 multithreaded connection support.
10013 * src/inc.c: supported multithread connection.
10017 * src/folderview.c: made the focus of SummaryView grabbed when
10018 a folder is selected only if the messages exist.
10024 * po/ja.po: fixed a bug that head `/' of a menu label was missing
10025 and caused segmentation fault when opened Compose window.
10031 * src/utils.c: get_domain_name(): modified so that it uses
10033 * src/mimeview.c: added key binds for `Save as' and
10038 * src/recv.c: fixed a bug that failed to return error value
10039 when fputs() failed and caused the loss of received mails when
10040 disk space was not left (thanks to Tajiri).
10041 * src/compose.c: supported Reply-To.
10042 * src/mimeview.c: improved key operation interface.
10046 * src/mimeview.[ch]
10048 src/textview.[ch]: supported nested multipart message and
10049 clean up the codes.
10050 Supported encapsulated RFC822 message.
10054 * src/compose.[ch]: made it free the alloc'd memory for attach
10055 information when the compose window is destroyed.
10056 Placed the attachment list and the text widget onto the paned
10058 Enabled cut/copy/paste/select all on all of the editable widgets.
10059 Implemented removal of attached file and popup menu on attachment
10061 * src/prefs_common.[ch]: added signature separator setting.
10062 * src/alertpanel.[ch]: added a function alertpanel_warning().
10066 * src/prefs_common.[ch]
10067 src/textview.c: made open URI command customizable.
10068 * src/compose.[ch]: implemented multipart MIME message composition
10069 (attachment of file).
10071 src/compose.c: fixed a bug that didn't turn off the GTK+ theme
10078 * src/summaryview.c: added key binds for composing message
10079 (w, a, A, f). Also added other key binds (y, D, Q).
10080 * src/compose.c: made Cc entry take over the Cc of the replied
10082 * src/pixmaps/new.xpm
10083 src/pixmaps/unread.xpm: replaced pixmap image.
10084 * src/procheader.c: procheader_date_get_localtime():
10085 changed the single figures of year from four to two.
10089 * src/inc.c: made it ask password if it is not specified on account
10091 * src/prefs_account.h: added member tmp_pass to struct PrefsAccount
10092 that preserves the temporary password.
10093 * src/inputdialog.[ch]: added function input_dialog_with_invisible()
10094 that prompts input with the string hidden.
10098 * src/compose.c: fixed a bug that didn't turn off the GTK+ theme
10099 engine if message font wasn't specified.
10105 * src/summaryview.c: fixed a bug that stderr was forgotten on
10112 * src/pop.c: fixed a problem that if some POP3 commands returned
10113 error, the previous operations were all cancelled.
10115 src/textview.c: made workaround to the slow down of GtkText widget
10116 when using Pixmap theme or its derivatives.
10120 * src/inc.c: fixed a bug that caused X IO error when exec'd
10121 nonexistent program.
10125 * src/folderview.[ch]: added the member `mtime' to the struct
10127 * src/summaryview.c: made the mtime of the folder checked that is
10129 * src/procmsg.c: added filesystem unchecking mode.
10133 * src/textview.[ch]: implemented clickable URI (thanks to BONAIM).
10134 And made `X-Mailer:' header emphasized if it contains `Sylpheed'.
10138 * src/summaryview.c: summary_write_cache(): permission fix of
10145 * src/headerview.c: added headerview_clear() method.
10146 * src/messageview.c: fixed a bug that didn't clear HeaderView
10147 on messageview_clear().
10153 * src/messageview.c
10154 src/textview.c: added *_clear() method.
10155 * src/summaryview.c: made it clear MessageView when new folder
10160 * src/inc.c: fixed a bug that went to the inbox that was specified
10161 by each account when incorporating from all accounts.
10162 * src/compose.c: made it confirm whether to discard the message or
10163 not when the window will be closed.
10170 src/inc.[ch]: re-supported APOP authentication.
10171 * src/prefs_account.c: fixed a bug that had't saved protocol type.
10173 src/statusbar.h: attached G_GNUC_PRINTF() to printf() like
10175 * src/progressdialog.[ch]: changed the name of class from Progress
10180 * src/summaryview.c: fixed a bug that caused segmentation fault
10181 a news folder was selected without using ja message catalog.
10182 * src/utils.h: attached G_GNUC_PRINTF() to printf() like functions.
10183 * src/Makefile.am: added `-DG_LOG_DOMAIN=\"Sylpheed\"' to
10188 * src/automaton.[ch]
10190 src/pop.[ch]: re-implemented POP3 fetching routines using
10191 finite-state automaton model (thanks to Hiramatu).
10192 * src/inc.c: fixed a bug that caused unwilled quitting of program
10193 when connection to mail server failed. And fixed a memory leak bug.
10194 * src/summaryview.c: made the focus move to FolderView when left
10195 cursor key is pressed.
10199 * src/textview.c: textview_write_line(): modified quotation
10200 discerning routine a bit.
10206 * src/procmime.[ch]: moved MIME decorder from src/textview.c to
10208 * src/mimeview.[ch]: implemented saving of multipart message. And
10209 supported MIME encoded file name.
10210 * src/summaryview.c: implemented `Save as'.
10214 * src/prefs_common.[ch]: implemented an interface for setting the
10215 display item of SummaryView.
10216 * src/addressbook.c
10217 src/account.c: made the column titles of those don't take key
10222 * src/textview.c: implemented BASE64 decoding and display.
10226 * src/prefs_common.[ch]: added members which decide whether
10227 each item of SummaryView is displayed or not.
10228 * src/headerwindow.c
10229 src/logwindow.c: made those windows closed when escape key is
10231 * src/headerview.c: disused ScrolledWindow.
10232 * src/base64.c: from64tobits(): modified so that it recognize '\n'
10233 as the last of line as well as '\r'.
10237 * src/headerview.c: disabled word wrap and line wrap of the text
10244 * src/prefs_common.c: prefs_assort_create(): added some headers
10245 to the default headers for assortment.
10249 * src/procmsg.c: fixed a bug that caused segmentation fault if
10250 the permission of a message was denied on parsing the header
10251 (thanks to wakai@UEC univ.).
10252 * src/mimeview.c: made it pass key press event to SummaryView.
10257 src/alertpanel.c: modified font specifications so that they match
10259 * src/utils.[ch]: added wide-character functions for FreeBSD support.
10260 Added the existence check of <wchar.h>.
10262 configure.in: added wint_t and libxpg4 check for FreeBSD support.
10263 * src/unmime.c: modified so that it checks the existence of
10265 Above three are a contribution from Sasaki. Thanks!
10269 * src/main.h: decreased default height of window.
10273 * src/procmime.c: fixed a bug that eliminated the parenthesis in
10274 attribute value that was double-quoted.
10280 * src/mimeview: implemented multipart message parser and display.
10281 * src/procmime.c: procmime_scan_content_type():
10282 supported multiple elements.
10283 * src/textview.c: supported multipart message and clean up the code.
10287 * src/summaryview.c: added size column and sorting by size.
10288 * src/mainwindow.c: added `Sort by size' to sort menu.
10289 * src/procmime.c: fixed a bug that caused buffer overrun and
10290 segmentation fault.
10291 * src/procmime.c: generalized Content-Type parsing.
10297 * src/textview.c: supported MIME headers and
10298 Content-Transfer-Encoding: quoted-printable.
10302 * src/messageview.[ch]
10303 src/textview.[ch]: separated MessageView into two classes.
10304 * src/procmime.[ch]: added for MIME message handling.
10308 * src/mimeview.[ch]: added for MIME message handling.
10309 * configure.in: added wctype.h and wchar.h existence check.
10314 src/procheader.[ch]: some code cleanups.
10315 * src/messageview.[ch]: integrated HeaderView.
10323 * src/addressbook.c: Made the tree sorted when folder/group is
10325 * src/xml.c: xml_compare_tag(): fixed a bug that caused segmentation
10326 fault if the current tag was empty.
10327 * src/mainwindow.c: made the state of MainWindow saved.
10331 * version 0.3.0pre1
10333 * src/addressbook.c: fully implemented address group editing.
10334 Fixed a bug that wrongly confirmed deletion of address when
10335 escape key was pressed on alert dialog.
10339 * src/addressbook.c: added menu bar. And enabled hierarchical
10341 * src/prefs_account.c: modified so that it allows not to specify
10343 * src/inc.c: inc_account_mail(): modified so that if receiving
10344 server isn't specified, it does nothing.
10350 * src/addressbook.c: almost fully implemented addressbook functions.
10354 * src/compose.c: fixed a bug that caused segmentation fault when
10355 `File->Insert file' was selected more than twice.
10359 * version 0.2.9pre4
10361 * src/addressbook.[ch]: implemented creation of new folder and group,
10362 and deletion of folder and group. And fully implemented
10363 addressbook_delete_object() which deletes the specified object
10368 * src/addressbook.c: implemented registration of address and multiple
10369 appending to Compose address entry.
10370 * src/menu.[ch]: added a function menu_set_insensitive_all() that
10371 turn all menu items insensitive.
10372 * src/folderview.c: some code cleanup.
10377 src/prefs_common.c: fixed a bug on getting the number of CList
10382 * version 0.2.9pre3
10384 * src/folderview.c: fixed a bug that caused warnings when tree was
10385 expanded/collapsed on the first operation.
10389 * src/addressbook.c: addressbook_list_selected(): made it be able
10390 to handle multiple address.
10391 * src/compose.c: modified so that when Bcc: is toggled, corresponding
10392 AddressBook also toggle it.
10393 * src/mainwindow.c:
10394 main_window_create(): moved gtk_widget_set_uposition() before
10395 gtk_widget_show() so as not to cause window flickering.
10396 main_window_get_position(): replaced gdk_window_get_position()
10397 with gdk_window_get_root_origin() to acquire correct window
10398 position (Thanks to shigeri for these modifications).
10402 * src/filesel.c: made it selects home directory on the first time
10407 * src/utils.c: conv_mb_alnum(): modified so that it uses character
10409 * src/foldersel.c: made the folder tree take focus when the dialog
10414 * version 0.2.9pre2
10416 * src/addressbook.c: implemented addressbook_export_to_file() and
10422 src/addressbook.c: fixed the variable name for attribute.
10423 * src/prefs_common.[ch]: added a member `conv_mb_alnum'.
10424 * src/utils.[ch]: added conv_mb_alnum() that converts multi-byte
10425 alphabet and numeric into single-byte one.
10426 * src/messageview.c: messageview_show(): made it pass conv_mb_alnum()
10427 when conv_mb_alnum flag is on.
10431 * version 0.2.9pre1
10433 * src/compose.c: modified so that when Addressbook is open by a
10434 Compose and it is closed, target of Addressbook is reset.
10435 * src/addressbook.c: made it work with Compose.
10439 * configure.in: AM_PATH_{GLIB, GTK}: raised the required version of
10440 GTK+ and GLIB to 1.2.6.
10441 * src/xml.[ch]: more implementation of XML parser.
10442 * src/addressbook.c: implemented addressbook parsing and displaying
10447 * src/folderview.c: folderview_scan_folder(): modified so that if
10448 a folder's message number is zero, set new, unread and total number
10453 * src/xml.[ch]: added for XML handling used by addressbook.
10454 * src/folderview.c: modified so that Trash folder is skipped
10455 when an unread folder is selected automatically by space key.
10459 * src/summaryview.c: fixed a bug that cursor was turned into watch
10460 forever when a newsgroup was selected.
10468 * src/mainwindow.[ch]: implemented counting on setting cursor
10469 type. And modified the menu of `thread view' and `unthread view'.
10470 * src/summaryview.c: enabled thread-toggling on opening folder.
10471 * src/prefs_common.[ch]: added a member `enable_thread' to determine
10472 whether summary view builds thread or not when a folder is open.
10476 * src/summaryview.c: modified popup sensitivity function a bit.
10482 * src/addressbook.[ch]: more implementation of the interface of
10484 * src/compose.c: connected to addressbook object.
10485 * src/folderview.[ch]: folderview_compare_path():
10486 modified so that absolute path is correctly compared.
10487 And added folderview_select_node().
10488 And modified folderview_scan_folder() so that it update the summary
10490 * src/import.c: made it update folder tree when imported mbox.
10491 * src/summaryview.c: modified according to the changes of
10492 folderview.c. And modified so that it display alert dialog if
10493 source folder is identical to destination.
10494 added summary_set_popup_sensitive() that set the sensitivity of
10495 popup menu according to the context. And made all of the items of
10496 popup menu insensitive when summary is cleared.
10497 * src/procmsg.c: procmsg_move_messages_with_dest():
10498 modified so that if source folder is identical to destination,
10500 * src/summary_search.c
10501 src/manage_window.c: modified so as not to print warning to console
10502 when alert dialog appeared twice.
10503 * src/filesel.c: made file selection dialog transient.
10507 * src/manage_window.[ch]: added callback function
10508 manage_window_focus_out().
10512 src/prefs_account.c
10514 src/summary_search.c: added focus_out_event signal handler.
10515 * src/addressbook.[ch]: added preliminary addressbook code.
10519 * src/utils.h: added a macro Xalloca() that does alloca() and
10520 handles the exception.
10521 * src/import.c: made the import dialog transient window and enabled
10522 cancelling by escape key.
10528 * src/compose.c: fixed a bug that caused memory leak when compose
10533 * src/nntp.h: increased NNTP message buffer size for XOVER strings
10538 * src/summaryview.c: binded step-forward and step-backward to each
10539 Control-n and Control-p.
10540 * src/filter.c: filter_read_str(): fixed a memory leak bug and
10541 replaced g_malloc() for allocating the buffer with alloca().
10542 * src/procheader.c: procheader_get_fromname(),
10543 procheader_date_get_localtime()
10544 src/utils.c: conv_euctojis()
10545 src/compose.c: compose_quote_parse_fmt()
10546 src/prefs.c: prefs_set_data_from_text()
10547 prefs_set_text(): replaced g_malloc() with alloca().
10553 * src/logwindow.c: improved log_window_append() so that it shows
10554 warning, error and normal message with different colors.
10555 * src/utils.[ch]: added functions log_message(), log_warning(), and
10556 log_error() that show normal message, warning, and error for each.
10557 And modified many warning messages to use these.
10558 * src/messageview.c: messageview_init(): made it set colors of
10559 quotation and URI to black when failed to allocate colors.
10560 * src/news.c: news_parse_xover(): replaced g_malloc() for allocating
10561 the buffer with alloca().
10565 * src/folderview.c: fixed a bug that didn't put previously selected
10566 folder name in text entry. In addition to that, made some
10573 * src/logwindow.[ch]: added log window that displays protocol log.
10574 * src/about.c: adjusted the size of dialog.
10575 * src/folderview.c: made it select a folder when double-clicked.
10579 * src/prefs_common.[ch]: added an item `translate_header' that
10580 decides whether header name like `From:' or `Subject:' is
10582 * src/compose.c: made it show alert dialog when receiptor isn't
10584 * src/inc.c: some code cleanups.
10590 * src/compose.c: made header entries move those focus to next
10591 entry or text widget when activated. And sorted out the menu items.
10592 * src/mainwindow.[ch]
10593 src/prefs_common.[ch]
10594 src/main.c: made it save the sizes of widgets and the position of
10595 window when quitting.
10596 * src/prefs_common.c: set a14, k14 fontset as default message font.
10597 * src/about.c: changed the appearance of about dialog using text
10599 * src/recv.c: modified recv_write() so that it converts an escaped
10606 * src/compose.[ch]: supported Bcc.
10612 * src/utils.[ch]: added function to_number() that examines string
10613 and if that is a number string, return its value.
10614 * src/procmsg.c: fixed a bug that caused malfunction when non-digit
10615 character was included in file name.
10621 * src/folderview.c: fixed a bug that caused segmentation fault
10622 when opened folder node was deleted (thanks to Hiramatu).
10623 And implemented folderview_rm_server_cb() which removes news server.
10624 * src/mbox.c: modified a warning message.
10628 * version 0.2.0alpha-pre8
10630 * src/mainwindow.c: inc_all_account_mail_cb(): made it select inbox
10631 folder to prevent the probrem when current folder is updated.
10632 * src/summaryview.c: summary_execute(): made it write to summary
10633 cache when executed.
10637 * version 0.2.0alpha-pre7
10639 * src/utils.[ch]: added path_cmp() that compares two paths ignoring
10640 trailing directory separator.
10641 * src/folderview.[ch]
10642 src/summaryview.[ch]: modified so that folder tree is updated
10643 when messages are moved or deleted.
10644 * src/inc.c: some code cleanup.
10648 * version 0.2.0alpha-pre6
10650 * src/utils.[ch]: added get_domain_name() that return domain
10651 name as a static string.
10652 * src/compose.c: compose_generate_msgid(): modified so that even
10653 if current address doesn't contain '@', it generates a decent
10655 * src/send.c: some code cleanup.
10659 * src/folderview.c: modified the behavior of folder tree when
10660 the folder is right-clicked.
10661 * src/compose.c: compose_encode_header(): added irresponsible
10662 buffer overrun check.
10666 * version 0.2.0alpha-pre5
10668 * updated gettext and libtool.
10669 * configure.in: modified localedir definition so that message
10670 catalogs are installed into correct directories.
10672 src/mainwindow.c: modified them so that a folder can be reopen
10673 even if it is currently open.
10674 * src/prefs_common.[ch]
10675 src/messageview.c: added an option that toggle the coloration of
10680 * version 0.2.0alpha-pre4
10683 src/messageview.c: fixed a bug that broke memory on allocating
10688 * src/folderview.c: some bug fixes on selecting folder.
10692 * version 0.2.0alpha-pre3
10695 * src/summaryview.[ch]: some code cleanups.
10696 * src/messageview.c: fixed a color allocating bug (maybe).
10700 * version 0.2.0alpha-pre2
10702 * src/folderview.[ch]: made folder view not open selected folder
10703 unless return or space key is pressed, or clicked by mouse
10705 * src/inc.c: some code cleanups.
10706 * TODO.jp: added some items.
10710 * version 0.2.0alpha-pre1
10712 * src/summaryview.[ch]: fixed a bug that broke summary thread
10713 when deleted duplicated messages (thanks to BONAIM).
10714 And some code cleanup.
10715 * src/procmsg.[ch]: renamed procmsg_move_messages() to
10716 procmsg_move_messages_with_dest(), and replaced former with
10717 new function which doesn't specify destination.
10718 * src/prefs_common.c
10719 src/gtkutils.c: some memory leak fixes of linked lists.
10720 * src/utils.[ch]: added list_remove_all() to remove all elements
10721 of doubly-linked list.
10722 * src/inc.[ch]: added inc_all_account_mail() that incorporates
10723 new messages of all accounts.
10724 * src/account.[ch]: added account_foreach() to process each accounts.
10729 * version 0.1.23alpha
10731 * src/inc.c: made the folder tree update the message number
10732 when incorporated new messages.
10733 * src/folderview.[ch]: added a function folderview_scan_folder()
10734 to scan one folder on the view, which is specified by folder name.
10738 * version 0.1.22alpha
10740 * src/prefs_account.[ch]: added the setting of assorting on
10742 * src/inc.c: supported assorting on receiving.
10743 * src/procmsg.c: cleaned up the code.
10744 * src/news.c: fixed a bug that locked up when failed to get xover.
10745 * src/compose.c: made a message unmark that is put into specific
10750 * version 0.1.21alpha
10753 src/summaryview.c: implemented the function 'go to next folder
10754 when no unread message found.'
10755 * src/summaryview.c: made connection state displayed on the
10756 status bar when connecting to a news server.
10757 * src/compose.c: changed X-Mailer: header field string a bit.
10758 * src/prefs_common.c: implemented residual functions of assortment.
10762 * version 0.1.20alpha
10764 * src/prefs_common.c: implemented reading/writing/register/deletion
10765 of assortment setting.
10766 * src/mainwindow.c: slightly modified the appearance of statusbar.
10767 * src/account.c: account_delete(): fixed a bug that didn't assigned
10768 the pointer to GList when an account was deleted.
10772 * src/procmsg.c: procmsg_get_mark_sum(): fixed a bug that failed
10773 to read mark file (thanks to BONAIM).
10774 * src/prefs_common.c: added the interface of assortment setting.
10778 * src/summaryview.c: fixed a bug that didn't redraw marking properly
10779 when displaying an unread message with left-click (thanks to
10784 * src/summaryview.[ch]: added functions for assortment.
10785 * src/about.c: added a button to close window.
10789 * src/procmsg.c: fixed a bug that didn't add news flag correctly.
10790 * src/compose.c: fixed a bug that can't reply to a news article.
10791 * src/filter.[ch]: added for message filtering.
10792 * src/procheader.[ch]: added procheader_get_unfolded_line()
10793 to process filtering. And added procheader_get_header_list()
10794 that reads headers of a message and store them on the memory,
10795 and procheader_header_list_destroy() that removes all headers
10796 read by procheader_get_header_list().
10800 * version 0.1.19alpha
10802 * src/news.c: modified so that it retrieves only overview information
10803 that is not yet cached.
10804 * src/procmsg.[ch]: modified for news handling.
10808 * src/news.c: supported xover.
10809 * src/mbox.c: fixed a bug that didn't handle empty line correctly
10810 (Thanks to shigeri).
10814 * version 0.1.18alpha
10816 * src/procmsg.[ch]: modified some functions so that they can
10817 handle news folder.
10818 * src/news.c: added header cache routine.
10819 * src/procheader.c: fixed a bug that caused memory leak when some
10820 header was duplicated.
10821 And added Newsgroups: in parsing headers.
10822 * src/summaryview.c: added news article cache routine.
10823 * src/compose.c: made it be able to reply/forward news article.
10827 * src/compose.c: fixed a bug that failed to parse To: header
10828 if a comma is included in double quotation (Thanks to shigeri).
10829 * src/mbox.c: modified the code for processing mbox so that it
10830 can handle unescaped From_ line correctly.
10834 * version 0.1.17alpha
10836 * src/foldersel.c: fixed a bug that didn't display folder tree.
10837 And added the register routine for news server and group setting.
10841 * version 0.1.16alpha
10843 * src/statusbar.[ch]: added statusbar_puts_all().
10844 statusbar_puts(): made it truncate a string that is too long.
10845 * src/folderview.[ch]: changed CTree's row data from string
10846 to FolderInfo structure.
10847 And implemented popup menu that registers news server and group.
10848 * src/messageview.c: modified short header display routine.
10852 * added src/news.[ch] for NetNews session management.
10853 * src/summaryview.[ch]: added NetNews reading codes.
10858 src/prefs_common.[ch]: made them preserve toolbar style.
10859 * src/main.c: made it save configuration before exiting.
10860 * src/summaryview.c: modified summary status display routine.
10861 * added src/nntp.[ch] for handling low level NNTP session.
10865 * added src/progress.[ch] for displaying progress.
10866 * src/inc.c: modified progress dialog routines to use
10868 * src/folderview.[ch]: added preliminary NetNews supporting code.
10872 * version 0.1.15alpha
10875 src/folderview.c: some permission fixes.
10876 * src/folderview.c: implemented folder creation/renaming/removing.
10877 * src/utils.[ch]: added remove_dir_recursive() that removes
10878 a directory recursively.
10882 * src/mainwindow.[ch]: added toolbar style selection.
10883 * added src/inputdialog.[ch] to prompt user to enter a string.
10884 * src/summaryview.[ch]: modified the behavior of view on
10886 * src/mbox.c: fixed a bug that couldn't lock file when
10887 lockf() was used (Thanks to shigeri).
10891 * version 0.1.14alpha
10893 * src/mainwindow.[ch]: changed the appearance of toolbar.
10894 And fixed window handling.
10895 * src/summaryview.c: modified the messages displayed on status bar.
10896 * src/compose.[ch]: added toolbar.
10897 * src/*.xpm: borrowed some icons from gnome-libs (temporary).
10901 * version 0.1.13alpha
10903 * src/summaryview.c: fixed a bug of threading. And some code
10904 cleanups. And rewrote the routine of deleting duplicated messages
10906 * src/mainwindow.[ch]: added toolbar.
10910 * version 0.1.12alpha
10912 * src/summary_search.c: if the OS don't have wcsstr(), use wcswcs()
10914 * src/summaryview.c: changed CTree creating routine as it creates
10915 thread on the fly for speeding up.
10916 * src/procmsg.c: rewrote message processing routines using hash
10917 table for speeding up. It should be considerably faster than
10922 * version 0.1.11alpha
10924 * po/ja.po: modified msgstr for Solaris standard gettext.
10925 * src/main.c: added config.h inclusion.
10926 * src/compose.c: changed to add replied message's In-Reply-To
10927 message id to References header if it don't have References header.
10928 * src/summaryview.c: changed threading routine to use hash table
10933 * version 0.1.10alpha
10935 * po/ja.po: modified msgstr so as not to core dump on Solaris.
10936 * src/main.c: added inclusion of locale.h.
10937 (Thanks to Sato for above.)
10939 * src/socket.c: applied Solaris patch by shigeri with some
10940 modification. (Thanks!)
10944 * version 0.1.9alpha
10946 * src/compose.c: compose_encode_header(): fixed some bugs.
10947 And modified header generating routines to support proper
10948 References header, and supported Organization header.
10950 src/procheader.c: removed Cc: and Reply-To: from cache data.
10951 * src/procheader.[ch]: renamed header list structure to HeaderEntry.
10952 * src/summaryview.[ch]: summary_thread_func(): some optimization.
10953 And added summary_pass_key_press_event() to pass key press event
10954 from other widgets.
10955 * src/messageview.c: messageview_key_pressed(): modified so that
10956 key event is passed to summary view even if message view is
10957 separated. (Thanks to wakai@UEC univ. for pointing this out.)
10961 * version 0.1.8alpha
10963 * src/compose.c: implemented RFC1522, RFC2407 (loosely) compliant
10964 header MIME encoding.
10965 * src/procheader.c: some bug fixes of folded header line processing.
10966 * src/headerview.c: headerview_show(): some bug fixes.
10970 * version 0.1.7alpha
10972 * src/utils.c: conv_euctojis(): fixed a bug that didn't add
10973 kanji-out sequence [ \033 ( B ] when input string was ended
10974 with kanji. (Thanks to Nozomu Kobayashi for pointing this out.)
10975 * src/compose.c: compose_encode_header(): changed as it outputs
10976 encoded string to another buffer.
10977 And implemented a faculty to save sent message to outbox and
10978 to queue message that failed to send (preliminary).
10979 And, finally implemented proper To: and Cc: processing :)
10980 * src/folderview.c: added preliminary right-clicking popup menu
10981 for operating folders.
10982 * some permission fixes at creating or copying file.
10986 * version 0.1.6alpha
10988 * src/procheader.c: fixed a bug that didn't null-terminate
10989 header list and caused segmentation fault.
10993 * version 0.1.5alpha
10995 * src/procheader.[ch]: added function procheader_get_one_field()
10996 that gets one header field that matches the header list.
10997 And removed procheader_get_unfolded_line(), which is less generic.
10998 And rewrote procheader_get_header_fields() using
10999 procheader_get_one_field().
11000 * src/summaryview.c: some bug fixes of key input scan routine.
11001 * README, README.jp: modified documents a bit.
11005 * src/menu.c: menu_set_sensitive(): fixed a bug that if a menu item
11006 had a submenu, set sensitivity of the submenu, not the item.
11010 * version 0.1.4alpha
11012 * src/summaryview.c: fixed a bug that caused segmentation fault
11013 when empty summary view was center-clicked.
11014 And fixed a bug that freed moving folder strings when marked
11016 If current folder is trash, don't delete message.
11017 * src/summaryview.[ch]
11019 * src/procmsg.[ch]: added update-cache mode (discards previous cache).
11023 * src/procheader.[ch]: more optimization of header processing
11024 routine. And added a new function procheader_get_header_fields()
11025 that receives an array of header name as a parameter and
11027 * src/utils.[ch]: added remove_return() for removing return code.
11028 * src/unmime.c: added remove_return() on the last of UnMimeHeader().
11032 * src/compose.c: if message body is ascii only, set US-ASCII as
11033 charset in Content-Type.
11036 * src/prefs_common.c
11037 * src/prefs_account.c
11038 * src/account.c: changed the location of rc files.
11039 * src/account.c: enabled closing window when escape key is pressed.
11043 * version 0.1.3alpha
11045 * src/compose.c: fixed a bug that caused segmentation fault
11046 when sending failed.
11047 And relocated header-generation routines from src/send.c.
11048 * src/send.c: moved header-generation routines to src/compose.c.
11049 * src/prefs.c: added '~' to home directory expansion.
11050 * src/prefs_account.[ch]: added signature file path configuration.
11051 * src/prefs_common.[ch]: added spool path configuration.
11052 * src/inc.c: changed the method of user name acquisition to use
11057 * version 0.1.2alpha
11059 * added ChangeLog (this file), ChangeLog.jp.
11060 * some code cleanups.
11061 * added manage_window.[ch] for transient window management.
11062 * src/procheader.c: optimized header processing routine a bit.
11063 * src/send.c: fixed exception handling on connection.
11064 * src/inc.c: added exception handling on getting user name.
11068 * version 0.1.1alpha
11070 * src/send.c: fixed a bug that didn't add Content-Type: header.
11074 * version 0.1.0alpha