7 * src/codeconv.[ch]: removed conv_unmime_header_overwrite() because
8 it had introduced buffer overflow.
9 * src/compose.c: compose_parse_header(): don't use
10 conv_unmime_header_overwrite() which introduced buffer overflow.
14 * src/compose.c: compose_destroy(): destroy paned only if it's not
15 attached to window. Fixed memory leak of popup menu.
23 * src/compose.c: compose_parse_header(): generate References: from
24 In-Reply-To: even if the parent message doesn't have Message-Id:
29 * src/compose.c: compose_write_attach(): force transfer encoding to
30 protect trailing spaces for PGP signing.
34 * src/compose.c: compose_write_file(): force transfer encoding to
35 protect trailing spaces for PGP signing (fixes incompatibility
36 between gnupg 1.2 and 1.4) (thanks to Thorsten Maerz).
40 * INSTALL, INSTALL.jp: modified description about gpgme.
48 * src/select-keys.c: use_untrusted(): modified to use alertpanel().
52 * supported gpgme-1.0 (thanks to Toshio Kuratomi).
56 * src/passphrase.c: gpgmegtk_passphrase_cb(): Removed unused variables:
57 passphrase_cb_info_s *info and gpgme_ctx_t ctx. The
58 passphrase_cb_info_s * was just to get the ctx. The ctx is no longer
59 needed as gpgme1.0 returns a blank line as the passphrase when an
60 action is cancelled instead of calling gpgme_cancel on the context.
62 - sig_status_full(): Get rid of gpgme_error_t err as we no longer
63 invoke ant gpgme functions that can return an error.
64 - check_signature(): Initialize verifyresult to NULL and be sure it
65 has been set when using it to get a result string.
66 - rfc2015_create_signers_list(): gpg_error_t is not directly
67 comparable to the error types. Use gpgme_err_code(err) to get the
68 type of error we are dealing with.
69 - pgp_sign(): Initialize result to NULL. Catches potential bug on
70 error condition later in the function.
72 + Initialize bytesRW to -1 which may prevent potential bugs on
74 + Remove siginfo. It was replaced by micalg.
76 - set_row(): When creating the string for the algorithm type, use a
77 normal int rather than a long int.
78 - fill_clist(): Use gpgme_err_code(err) to get type of error as
79 gpg_error_t is not directly comparable to GPG_ERR_* constants.
80 - select_btn_cb(): Remove char *s that temporarily holds the key
81 fingerprint as keylists are now built without using this.
82 - cmp_email(): Remove an extraneous return statement that was left in
83 accidentally when the new code went in above it.
89 - use_untrusted(): New function that creates a dialog to ask the user
90 whether to encrypt with an untrusted key.
91 - trust_key_cb(): Callback to use if the user wants to encrypt with
93 - do_not_trust_key_cb(): Callback to use if the user doesn't want to
94 encrypt with an untrusted key.
95 - select_btn_cb(): Utilize the use_untrusted function to make sure
96 the user wants to encrypt with an untrusted key.
97 * src/rfc2015.c: pgp_encrypt(): Use GPGME_ENCRYPT_ALWAYS_TRUST when
98 encrypting. It is the responsibility of gpgmegtk_recipient_selection
99 to make sure the user knows if recipients are untrusted.
104 - Add a new color entry for untrusted but valid signatures.
105 - textview_add_part(): Color untrusted signatures.
107 - Move sigstatus_to_string() and sig_status_with_name() functionality
108 into sigstatus.c: gpgmegtk_sig_status_to_string().
110 - gpgmegtk_sig_status_to_string(): Add a boolean name argument that
111 allows us to specify the output should display name information
112 or just a status string.
113 + Check if a signature was created by a trusted key and add that
114 information to the output of the function.
115 - Switch to the new gpgmegtk_sig_status_to_string function.
117 - Change the interface to gpgmegtk_sig_status_to_string().
122 - rfc2015_find_signature(): Changed to return an array of two
123 MimeInfo structs. The first has the multipart/signed MimeInfo.
124 The second has the signature part of the MimeInfo. This allows
125 us to work with messages that contain some mime information that
126 was signed and some that was not (as generated by mailman
128 - rfc2015_find_signature(): If the toplevel Content-Type is
129 multipart/mixed, recursively scan through the subparts for a
130 multipart/signed block.
131 - rfc2015_check_signature(): Use the new interface to
132 rfc2015_find_signature and free the data returned to us from it.
133 * src/rfc2015.h: Change the signature for rfc2015_find_signature().
134 * src/mimeview.c: Use the new interface to rfc2015_find_signature()
135 and free the data returned from it.
139 * src/rfc2015.c: sig_status_for_key(): Fix a segfault when the key is
140 not found in the user's keyring.
144 * Ported the code to gpgme-1.0.
145 - Many types have had their names changed to conform to GNU
146 standards. For example, instances of GpgmeCtx have been changed to
147 gpgme_ctx_t. These cosmetic alterations are not noted below.
148 * configure.in: Enable large file support because the gpgme library is
150 - Update to require gpgme 0.4.5 or above.
151 * src/main.c: main(): replaced gpgme_check_engine with
152 several calls that do the equivalent in gpgme 0.4.5 and above:
153 gpgme_check_version, gpgme_set_locale, gpgme_get_engine_info,
154 and gpgme_get_protocol_name are used.
155 - Remove gpgme_register_idle callback. The gpgme library will now
156 block while processing instead of periodically allowing the gtk
157 mainloop to run. This can be fixed by interfacing to the gpgme
158 io callback interface if anyone has the ambition.
159 * src/passphrase.c: passphrase_mbox(), create_description(), and
160 gpgmegtk_passphrase_cb now take an exploded description of the
161 passphrase to look for since the gpgme library hands us the
162 description in seperate pieces.
163 - gpgmegtk_passphrase_cb(): has been changed to the new gpgme
164 passphrase callback signature -- notably writing the passphrase
165 to a file descriptor and returning a gpgme_error_t to indicate
167 * src/passphrase.h: Change to the signature of
168 gpgmegtk_passphrase_cb().
171 - Use gpgme_data_seek calls instead of deprecated gpgme_data_rewind.
172 - gpgme_data_read and gpgme_data_write have changed signature to be
173 more like fread/fwrite. Adapted code to use this.
174 - Convert to gpgme_key_t array from removed GpgmeRecipients.
175 - Use gpgme_signature_t's directly instead of GpgmeSigStat.
176 - sig_status_to_string() and sig_status_with_name(): changed to
177 use a gpgme_error_t instead of removed GpgmeSigStat.
178 - pgp_sign(): Calculate the micalg directly from knowledge of the
179 hash as it's no longer returned from a gpgme library function.
180 This obsoletes find_xml_tag() and extract_micalg() so they've
182 * src/select-keys.c: Adapt struct select_key_s to an array of
183 gpgme_key_t and the length of the array rather than a
184 GpgmeRecipients struct (which is removed.)
185 - gpgmegtk_recipient_selection now returns a gpgme_key_t NULL
186 terminated array instead of a GpgmeRecipients struct.
187 - Use values stored in the gpgme_key_t instead of looking up ATTRs
188 on the key as the ATTR methods are deprecated.
189 - Implement cmp_name() and cmp_email() as wholly separate functions
190 instead of using a common subfunction, cmp_attr() as there's no
191 longer a generic way of combining these two. Removed cmp_attr()
192 as ATTRs are deprecated.
193 * src/select-keys.h: gpgmegtk_recipient_selection signature changed.
194 * src/sigstatus.c: Get status information directly from the
196 - gpgmegtk_sig_status_to_string(): Uses a gpgme_error_t instead of
197 Removed GpgmeSigStat.
198 * src/sigstatus.h: gpgmegtk_sig_status_to_string signature has changed
203 * src/template.c: template_write_config(): fixed a memory leak.
207 * src/inc.c: inc_finished(): removed warning when updating a
208 folder item while no folder is selected.
214 src/procmsg.c: ignore 0-numbered message file. Don't use symbol
215 'fileno' used in stdio.h.
216 * src/messageview.c: messageview_show(): check if
217 procmsg_msginfo_get_full_info() succeeds (fixes crash when
218 opening 0-numbered message) (thanks to WAKAI Kazunao).
222 * src/template.c: template_write_config(): fixed potential memory
227 * src/pop.[ch]: added POP3_DONE to Pop3State (it is set when logout
229 pop3_write_uidl_list(): force output of UIDLs of deleted messages
230 when POP3 session is aborted (thanks to Masahiro Tomita).
234 * src/Makefile.am: use AM_CPPFLAGS and AM_YFLAGS instead of CPPFLAGS
235 and YFLAGS (they are reserved for users).
243 * src/account.c: account_delete(): fixed the crash on deleting a
244 remote account if the corresponding folder was selected (Debian BTS
249 * NEWS, TODO, TODO.jp: updated.
250 * manual/ja/sylpheed.sgml: updated.
254 * src/action.c: parse_append_filename(): escape all special characters
255 without quote (thanks to IWAMOTO Kouichi and Yoichi Imai).
261 INSTALL.jp: updated the confirmation list.
269 * src/compose.c: compose_wrap_line_all_full(): fixed the logic of
274 * manual/ja/sylpheed.sgml: updated.
284 src/vcard.c: removed '... defined but not used' warnings.
288 * src/compose.c: compose_wrap_line_all_full(): only insert space
289 when joining lines if the first character of the next line is not
290 space, or it's a boundary between multi- and single-byte characters.
294 * src/action.c: parse_append_filename(): escape special characters
295 (thanks to IWAMOTO Kouichi).
296 * src/utils.c: subst_for_filename(): also substitute single quote.
300 * src/compose.c: compose_wrap_line_all_full(): fixed joining line
301 problem when the first character of the next line is not
306 * src/main.c: send_queue()
307 src/mainwindow.c: send_queue_cb()
308 src/compose.c: compose_send(), compose_send_later_cb(): ask user
309 to switch to online if in offline mode when sending.
313 * src/imap.c: applied bitlength_clean_up.imap.c.patch that fixes the
314 integer length problem on 64-bit platforms (thanks to Alfons).
322 * src/pixmaps/regular.xpm: removed unused icon.
328 * src/pop.c: pop3_write_msg_to_file(): don't convert single CRs to
329 LFs (thanks to Alfons).
330 * src/utils.[ch]: my_memmem(): original implementation of memmem().
334 * manual/ja/sylpheed.sgml: updated for the latest version.
338 * src/pixmaps/unread.xpm: adjusted the hue of image.
342 * src/filter.c: removed C99 '//' comments.
346 * src/pixmaps/dir-close.xpm
347 src/pixmaps/dir-open.xpm
348 src/pixmaps/dir-noselect.xpm
349 src/pixmaps/group.xpm: adjusted the hue of images.
353 * src/pixmaps/dir-close.xpm
354 src/pixmaps/dir-open.xpm
355 src/pixmaps/dir-noselect.xpm
356 src/pixmaps/group.xpm: replaced with new images.
360 * src/pixmaps/folder.xpm: removed.
364 * src/summaryview.c: changed one-letter column titles to icons.
365 * src/pixmaps/mail.xpm: new.
369 * src/summaryview.c: summary_execute(): pop summary statusbar message.
373 * src/prefs_common.c: added Web browser commands.
377 * manual/ja/sylpheed.sgml: updated for the latest version.
378 * manual/ja/Makefile.am: added target 'update-html'.
383 INSTALL.jp: updated the confirmation list.
387 * src/jpilot.c: unify the coding style.
388 * src/mainwindow.c: fixed duplicated accelerator.
392 * src/procmsg.c: write_mark_func(): fixed bad cast on the system that
393 sizeof(gpointer) != guint.
397 * src/mainwindow.c: fixed English (trashes -> trash).
398 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menu
403 * src/mainwindow.c: changed the menu label "Empty trash" to
412 * src/pixmaps/error.xpm: made them smaller size to fit CList row.
416 * src/jpilot.c: applied the JPilot addressbook Japanese support
417 patch (thanks to IWAMOTO, Kouichi).
422 src/procmime.[ch]: use BASE64 encoding if the ratio of 8bit
423 characters in attaching text files is greater than 20%, otherwise
424 use quoted-printable (or 7bit if not at all).
428 * src/compose.c: compose_write_attach()
429 src/procmime.c: procmime_decode_content():
430 canonicalize text files before encoding to BASE64, and
431 uncanonicalize after decoding to conform with RFC 2045
432 (thanks to Nicolas Degory).
436 * src/pixmaps/complete.xpm
437 src/pixmaps/continue.xpm: made them smaller size to fit CList
442 * src/statusbar.c: statusbar_create(): set the width of widget to 1
443 not to expand automatically.
444 * src/utils.[ch]: trim_string_before(): trim beginning characters
445 longer than the specified length and add "...".
447 src/summaryview.c: use trim_string_before() to display folder name.
452 src/prefs_common.c: made mozilla-firefox as default browser.
456 * src/summaryview.c: summary_key_pressed()
457 src/textview.c: textview_key_pressed(): back scroll when Shift or
458 Alt and Space key is pressed. Also back scroll when Shift and Enter
463 * src/foldersel.c: foldersel_new_folder(): select newly created
476 src/prefs_account.[ch]: obsoleted RecvProtocol::A_APOP and made an
478 prefs_account_protocol_set_optmenu(): refactored.
482 * src/folderview.c: folderview_empty_trash_cb(): removed unused
487 * src/summary_search.c: use C string instead of wide character string.
488 Enabled AND/OR matching.
492 * src/folderview.[ch]
493 src/mainwindow.c: change menu sensitivity of File/Folder and
494 File/Mailbox according to selected folder.
495 Enabled newsgroups subscription from 'File/Folder/Create new folder'.
499 * src/folderview.[ch]
500 src/mainwindow.c: reorganized folder/mailbox menus.
501 Enabled 'Remove mailbox', 'Check for new messages' and
502 'Rebuild folder tree' on main menu.
503 Removed 'Remove mailbox' from the folder context menu.
509 src/procmsg.[ch]: added 'Empty trash' to the folder context menu.
514 src/summaryview.c: don't move/delete immediately when
515 immediate_execution is off.
523 * upgraded to gettext-0.14.1.
527 * src/compose.c: reorganized the menu.
528 * src/mh.c: removed g_print() for debug.
534 src/template.[ch]: added Cc: to template parameter.
538 * src/prefs_filter_edit.c: fixed condition menu switching problem
539 on editing existing rules.
543 * src/filter.c: filter_action_exec(): update counters of FolderItem
544 on local filtering (fixes wrong folderview message count).
548 * src/mbox.c: proc_mbox(): check if folder_table is NULL (fix
553 * src/pixmaps/stock_add_16.xpm
554 src/pixmaps/stock_remove_16.xpm: converted from stock icons in
556 * src/prefs_filter_edit.c: use icons for add/remove button.
557 * src/stock_pixmap.[ch]: added add/remove icons.
561 * src/pixmaps/stock_dialog_error_48.xpm
562 src/pixmaps/stock_dialog_info_48.xpm
563 src/pixmaps/stock_dialog_question_48.xpm
564 src/pixmaps/stock_dialog_warning_48.xpm: converted dialog icons from
565 stock icons in gtk-2.4.
566 * src/alertpanel.[ch]: added icons to the alert dialog.
567 alertpanel_message(): Added AlertType.
568 * src/stock_pixmaps.[ch]: added dialog icons.
573 * src/procmsg.c: removed verbose debug prints.
581 * src/procmsg.c: procmsg_send_queue()
582 src/send_message.c: send_queue_info_free(): fixed segmentation fault
583 when trying to send an invalid queued message.
587 * src/mainwindow.c: added separators to the File menu.
588 * src/prefs_filter_edit.c: removed some debug prints.
592 * src/inputdialog.c: input_dialog_open(): don't start auto-checking
593 mail while opening the input dialog.
597 * src/mh.c: mh_remove_all_msg()
598 src/procmsg.c: procmsg_empty_trash(): fixed wrong message count
599 after emptying trash.
603 * src/prefs_filter.c: fixed a bug that didn't add an auto-created
605 * src/prefs_filter_edit.c: prefs_filter_edit_dialog_to_rule(): check
610 * src/filter.c: filter_apply_msginfo(): don't apply filter if
611 FilterRule::enabled == FALSE.
612 * src/prefs_filter.c: implemented Enabled column.
613 * src/account.c: account_selected(): modified the behavior of
618 * src/colorlabel.c: modified the menu label size. Removed "None" from
621 src/prefs_filter_edit.c: implemented color label action.
622 * src/summaryview.c: summary_filter_func(): update summary flags
623 when flag action is performed.
627 * src/prefs_filter_edit.c: added color label.
628 * src/colorlabel.c: modified the menu label size and border.
633 src/prefs_filter_edit.c: improved error handling when creating a
638 * src/prefs_common.c: adjusted the default size of views.
643 src/prefs_filter_edit.c: implemented size/age condition.
644 * src/menu.[ch]: menu_get_option_menu_active_user_data(): new.
648 * src/prefs_filter_edit.c: select previous item when editing header
653 * src/prefs_filter.[ch]
654 src/prefs_filter_edit.c
655 src/procheader.[ch]: implemented user-defined header dialog.
660 filter_action_exec(): modified local filtering.
661 strmatch_regex(): use case-insensitive regex.
662 * src/summaryview.[ch]: display filtering result to the status bar.
666 * src/filter.[ch]: implemented filter rule application timing.
667 * src/prefs_fil_er_edit.c: prefs_filter_edit_action_hbox_set():
668 fixed a bug that didn't display parameter of PF_ACTION_EXEC.
672 * src/prefs_filter.c: prefs_filter_write_user_header_list(): use
673 prefs_file_open() instead of fopen().
678 src/prefs_filter.c: implemented load/save of user-defined
683 * src/inc.c: inc_spool()
684 src/prefs_common.c: modified spool path config so that users can
685 specify both file and directory.
689 * src/prefs_filter.[ch]
690 src/prefs_filter_edit.[ch]: implemented creating filter rule by
695 * src/mimeview.c: mimeview_drag_data_get()
696 src/summaryview.c: summary_drag_data_get(): fixed broken URI in
702 src/summaryview.c: fixed local filtering.
703 * src/mh.c: mh_copy_msgs(): restored missing 'else'.
707 * src/foldersel.c: foldersel_new_folder(): fixed possible memory
708 corruption, and write folder list data after appending.
709 * src/summaryview.c: summary_show(): up FolderItem::opened flag
710 after reading message list.
719 src/summaryview.c: properly handle 'new' flags by using
720 FolderItem::mark_queue.
725 src/inc.c: modified 'new' flags management.
729 * src/prefs_filter.c: don't move to the last row when opening the
730 dialog. Clear CList when closing.
737 src/prefs_filter_edit.c
738 src/summaryview.c: implemented FLT_ACTION_EXEC and FLT_ACTION_DELETE.
742 * src/prefs_filter.c: auto-scroll when a new rule is added.
743 open edit dialog when a rule is double-clicked.
744 prefs_filter_copy_cb(): implemented.
745 * src/prefs_filter_edit.c: implemented action "Stop rule evaluation".
752 src/prefs_filter_edit.c
753 src/summaryview.c: renamed FilterResult to FilterInfo, and added
754 account to its members.
755 Implemented command test, size, age, account, and on-receive
758 src/procheader.c: procheader_parse_file(): also get file size and
763 execute_command_line(): return exit status.
768 src/inc.c: save all types of performed actions.
769 filter_rule_rename_dest_path(): modified for the new system.
770 filter_rule_delete_action_by_dest_path(): delete actions that
772 * src/mbox.c: proc_mbox(): ignore FLT_ACTION_NOT_RECEIVE.
773 * src/prefs_filter.c: prefs_filter_delete_path(): modified for the new
777 summary_filter_func(): modified for the new system.
781 * src/filter.[ch]: implemented message body match.
783 procmime_find_string_part()
784 procmime_find_string(): take function pointer for matching.
785 * src/procmsg.[ch]: added file_path (which is only used for temporary
786 messages) to MsgInfo.
787 procmsg_msginfo_copy()
788 procmsg_msginfo_free(): handle extra members.
789 * src/summary_search.c: modified for procmime_find_string().
790 * src/summaryview.c: filter_apply_local() -> filter_apply_msginfo().
791 * src/utils.[ch]: added function for string match.
793 src/undo.c: removed redundant debug messages.
797 * implemented the new filtering system (still in progress).
799 src/filter.[ch]: implemented reading/writing of filter XML data.
800 * src/prefs_filter.[ch]
801 src/prefs_filter_edit.[ch]: implemented UI for the new filtering
807 src/summaryview.c: modified for the new filtering system.
808 * src/menu.h: MENUITEM_ADD(): create separator if label is NULL.
809 * src/procheader.[ch]: added some utility functions.
810 * src/utils.c: open_uri(): modified warning message.
814 * src/main.c: removed parsing of "./gtkrc".
820 ssl_peek(): check SSL before reading data (fixes freeze when
822 * src/session.[ch]: session_set_access_time(): new.
825 src/nntp.c: only update last_access_time when successfully
826 receiving a server response.
827 * thanks to Cedric Pradalier for above.
831 * src/xml.[ch]: code cleanup and added some functions.
835 * src/pop.[ch]: pop3_getrange_uidl_recv(): relaxed invalid UIDL
843 src/prefs_account.[ch]
844 src/prefs_common.[ch]: unified *_{save,write}_config() to
850 procheader_get_one_field()
851 procheader_get_unfolded_line(): fixed a bug that unfolding was
852 broken if the sequence 'SP CR LF' appeared (thanks to NOGUCHI,
857 * src/prefs_common.c: made the default of confirm_on_exit FALSE.
861 * src/menu.[ch]: added menu_set_active().
862 * src/compose.c: don't change 'View/Auto wrapping' mode when selecting
867 * src/compose.[ch]: autowrap can be switched on/off from the compose
876 * src/session.c: session_set_timeout(): fixed a bug that didn't
877 reset timeout_tag when interval is 0.
881 * src/gtkstext.c: gtk_stext_update_text(): added null checking for
882 cache (thanks to Jim Hranicky).
886 * src/defs.h: increased CACHE_VERSION to work around the
887 incompatibility of the cache on some platforms (ex. FreeBSD).
888 * src/procmsg.c: procmsg_read_cache(): discard all read cache data
889 if an error occurred.
893 * src/summaryview.[ch]: hide 'Re-edit' menu when it's unusable.
899 src/session.[ch]: implemented session timeout.
900 * src/pop.h: removed unused values from Pop3ErrorValue.
904 * src/inc.c: inc_all_account_mail(): code cleanup.
908 * src/procmsg.c: procmsg_read_cache_data_str(): changed gint32 to
909 guint32 for some platforms.
910 * src/summaryview.c: restored 'Print' menu.
914 * src/about.c: modified copyright year.
922 * src/smtp.c: comply with RFC 2821 (thanks to Alfons).
926 * src/folderview.[ch]: implemented spring-loaded folder.
930 * src/folderview.c: folderview_button_pressed(): enable menu item
931 'Search messages...' only when opened folder is selected.
936 src/prefs_common.[ch]: removed the option "Queue messages that fail
941 * src/summaryview.c: cleaned up the context menu.
942 * src/mainwindow.c: changed the position of '/Message/Re-edit'
947 * src/procmsg.[ch]: fixed the type of integer value in cache data
952 * src/nntp.c: nntp_get_article(): ignore the protocol error of
953 response for some broken news servers (thanks to Davide Scola).
957 * src/gtkutils.[ch]: added gtkut_editable_disable_im().
958 * src/passphrase.c: disable XIM on entering passphrase.
965 src/prefs_display_header.c
966 src/procmsg.h: fixed for AMD64 (and other 64-bit platforms)
967 (thanks to Hiroyuki Ikezoe).
971 * src/inc.[ch]: don't use gtk_timeout_add(), instead use
972 gettimeofday() (to prevent infrequent lockup).
977 src/inc.[ch]: changed the method of updating the progress dialog
978 to reduce the overhead on a fast network.
982 * src/nntp.c: nntp_session_new(): attempt to authenticate at the
983 beginning of a session (thanks to Shiino Yuki and IWAMOTO, Kouichi).
985 src/nntp.c: destroy session when socket error occurred.
990 src/summaryview.[ch]: added a function to filter selected
996 src/prefs_filter.c: rewrote the filtering system (the UI is not
1001 * src/filter.c: fixed the matching algorithm of "not contain" flag
1002 (also match if a header not exist, and handle same multiple
1004 * src/imageview.c: get_resized_size(): fixed a typo that caused
1010 src/mh.c: only update FolderItem::last_num when removing the last
1011 number of message in MH folders, and don't scan in other case
1012 (fixes wrong message count on moving).
1017 src/summaryview.c: always move messages by default when using DnD
1018 (except for News folder). Copy messages if Ctrl-key is pressed.
1019 * src/mainwindow.c: main_window_empty_trash()
1020 src/summaryview.c: summary_execute(): added missing
1021 statusbar_pop_all().
1029 * src/prefs_common.c: made the default of "inc_local" FALSE.
1034 src/folderview.c: toggle online mode when checking IMAP4 accounts.
1035 Pop status bar after that.
1036 * src/inc.c: code cleanup.
1037 * src/mainwindow.[ch]: added main_window_get() and
1038 main_window_toggle_online_if_offline().
1039 * src/prefs_common.c: prefs_common_read_config(): fixed a bug that
1040 made it offline mode on first execution.
1044 * src/imageview.c: enabled automatic resize on window resize.
1045 restrict the minimum size to 16 pixels to prevent crash.
1046 imageview_init(): don't cache images when using imlib.
1047 imageview_show_image(): fixed memory leak.
1048 * src/mimeview.c: mimeview_init(): call imageview_init().
1052 * src/codeconv.[ch]: added ISO-2022-JP-3 encoding.
1058 src/messageview.c: added KOI8-U encoding.
1059 * src/prefs_common.c: prefs_message_create(): modified the string
1060 of resizing image option.
1064 * src/addressbook.c: addressbook_list_selected(): corrected its
1066 * src/imageview.[ch]: keep original image data in ImageView, and
1067 enabled the toggle of resizing.
1068 * src/messageview.[ch]
1069 src/mimeview.[ch]: handle ImageView in MimeView instead of
1076 src/summaryview.c: removed statusbar_pop_all() from imap.c and
1077 news.c (do it in summaryview.c).
1082 src/pop.[ch]: made inc_drop_message() the virtual function of
1083 Pop3Session and removed the dependency of pop.c on inc.h.
1088 src/messageview.[ch]
1089 src/textview.c: added statusbar to the message view with new window.
1093 * src/inc.[ch]: use hash table for progressive update.
1094 changed update interval to 2 sec.
1098 src/summaryview.c: added FolderItem::unmarked_num to correct the
1099 folder message counting.
1103 * src/inc.[ch]: update folderview progressively.
1104 * src/foldersel.c: display full id for selected item.
1108 * src/folderview.[ch]: code cleanup.
1109 folderview_append_item(): new. It appends the folder to the folder
1111 * src/foldersel.c: foldersel_new_folder(): use
1112 folderview_append_item().
1116 * src/foldersel.c: implemented 'create new folder' function.
1117 * src/folder.[ch]: folder_find_child_item_by_name(): new.
1118 * src/utils.h: AUTORELEASE_STR(): convert malloc'd string into
1119 auto-release (alloca'd) one.
1123 * src/folderview.c: put together folderview_new_imap_folder_cb() into
1124 folderview_new_folder_cb().
1128 * src/compose.c: compose_write_to_file(): removed redundant strlen()
1130 * src/textview.c: textview_button_pressed(): select correct account
1131 when address is clicked.
1139 * src/folder.c: folder_item_fetch_all_msg()
1140 src/folderview.c: folderview_download_cb(): show progress with
1142 * src/mainwindow.[ch]: added new functions for progressbar.
1146 * src/summaryview.c: summary_key_pressed(): GDK_Left should only
1147 switch to folderview when summaryview hscrollbar is at the leftmost
1148 position (thanks to Alfons).
1152 * src/codeconv.c: conv_euctojis(): made JIS X 0201 Kana conversion
1154 * src/prefs_common.[ch]: added PrefsCommon::allow_jisx0201_kana
1159 * src/codeconv.c: conv_euctojis(): force JIS X 0201 Kana to JIS X 0208
1164 * src/imap.c: imap_get_msginfo(): fixed wrong counting.
1177 src/quote_fmt_parse.y
1178 src/quoted-printable.c
1183 src/xml.c: fixed wrong type of argument for ctype functions (char
1184 had been passed instead of unsigned char).
1189 * src/mainwindow.[ch]: added MainWindow::messageview_cid.
1190 Clear messageview when it is hidden.
1191 * src/textview.c: show URL to the statusbar when its link is clicked.
1192 textview_uri_security_check(): compare real URL and apparent one
1193 and show warning if it seems to be a fake URL.
1195 is_uri_string(): return TRUE if the string seems like a URL.
1196 get_uri_path(): return URL except for its scheme part.
1200 * src/folder.[ch]: folder_item_fetch_all_msg(): new. It fetches all
1201 messages in a folder.
1202 * src/folderview.c: implemented 'Download' feature.
1206 * src/gtkutils.[ch]: implemented ComboButton which adds an arrow
1207 menu button to a button.
1208 * src/mainwindow.[ch]: main_window_toolbar_create(): added combo
1209 button to reply and forward button.
1213 * src/mainwindow.c: fixed automatic expansion of window size because
1218 * src/addr_compl.[ch]
1219 src/gtkshruler.[ch]: changed the copyright notice.
1223 * src/gtkstext.c: find_line_params(): also break between mutlibyte
1224 and single-byte characters.
1228 * src/gtkstext.c: find_line_params(): break lines between multibyte
1229 characters on word wrap mode.
1233 * src/codeconv.c: conv_iconv_strdup(): fixed crashes on LP64
1234 environments (thanks to James Noyes).
1235 * src/compose.c: compose_select_account(): don't turn off the sign/
1236 encrypt option automatically.
1240 * src/inc.[ch]: made inc_account_mail() public.
1241 * src/mainwindow.c: moved receive menus into submenu, and added
1242 dynamic menus for receiving from each account.
1250 * src/procmsg.c: procmsg_open_data_file(): set buffer if DATA_READ
1251 is specified and a buffer is given.
1252 procmsg_open_cache_file_with_buffer(): new.
1253 procmsg_read_cache(): fixed a bug that called setvbuf() after an
1254 file I/O which caused buffer read error.
1262 * configure.in: enable IPv6 support by default.
1266 * src/inc.c: inc_mail(), inc_all_account_mail(): ask user to switch
1267 to online when in offline mode.
1268 * src/mainwindow.h: added main_window_toggle_online().
1275 src/stock_pixmap.[ch]
1276 src/pixmap/dir-noselect.xpm: made no-select folders display with
1277 dim icon and string.
1278 * src/Makefile.am: added offline.xpm, online.xpm, and
1279 dir-noselect.xpm to EXTRA_DIST.
1283 * src/folder.h: added macro FOLDER_ITEM_CAN_ADD().
1284 * src/folderview.c: folderview_drag_motion_cb(): code cleanup.
1285 folderview_drag_received_cb(): don't accept at no_select folder or
1287 * src/foldersel.c: made folders on which no_select flag is set not
1292 * src/imap.c: imap_do_copy_msgs(), imap_remove_msgs(): code cleanup.
1293 set MSG_INVALID flag when messages are deleted.
1294 * src/mh.c: mh_do_move_msgs(), mh_remove_msg(): set MSG_INVALID flag
1295 when messages are deleted.
1297 procmsg_move_messages()
1298 procmsg_copy_messages(): return error status.
1299 Added MSG_INVALID to MsgTmpFlags.
1300 * src/summaryview.c: summary_execute(): detect errors and only remove
1301 nodes that are invalidated.
1302 summary_unthread_for_exec(): fixed a bug that didn't remove nodes
1307 * src/mainwindow.[ch]: added online switch button to the statusbar,
1308 and "/File/Work offline" in the menu.
1309 * src/pixmaps/offline.xpm
1310 src/pixmaps/online.xpm: new (borrowed from
1311 themes/classic/communicator/icons/ in Mozilla).
1312 * src/stock_pixmap.[ch]: added online.xpm and offline.xpm.
1313 * src/textview.[ch]: textview_show_error(): new.
1314 * src/summaryview.c: summary_display_msg_full(): update marks only
1315 if messages are displayed.
1316 * src/prefs_common.[ch]: added PrefsCommon::online_mode.
1317 * src/news.c: news_session_get()
1318 src/imap.c: imap_session_get(): return NULL when in offline mode.
1319 * src/messageview.[ch]: messageview_show(): return status whether
1320 messages are successfully displayed. Display error messages in
1321 the view when failed.
1323 procmsg_get_message_file()
1324 procmsg_open_message(): don't output warnings when fetch failed.
1328 * src/html.c: html_get_tag(): support attributes which don't have
1333 * src/codeconv.c: conv_get_code_conv_func(): return conv_latintodisp
1334 only if src_charset and current charset is identical or current
1335 one is multibyte (fixes display of ISO-8859-5 on KOI8-R locale etc.).
1339 * autogen.sh: don't include m4 directory in aclocal.
1340 * intl/libgnuintl.h: removed from cvs.
1341 * po/.cvsignore: added stamp-po and remove-potcdate.sed.
1345 * upgraded to gettext-0.12.1.
1347 2003-11-24 gettextize <bug-gnu-gettext@gnu.org>
1349 * Makefile.am (SUBDIRS): Add m4.
1350 (ACLOCAL_AMFLAGS): New variable.
1351 (EXTRA_DIST): Add config.rpath.
1352 * configure.in (AC_OUTPUT): Add m4/Makefile.
1356 * configure.in: added check for d_type member in struct dirent.
1357 * src/mh.c: mh_scan_folder(): use d->d_type if available.
1358 mh_get_uncached_msgs(): removed redundant stat().
1359 mh_parse_msg(): return NULL if not a regular file.
1360 mh_scan_tree_recursive(): use d->d_type if available.
1362 dirent_is_regular_file()
1363 dirent_is_directory(): new. Use d->d_type to determine the type
1364 of entry if available.
1365 remove_dir_recursive(): use dirent_is_directory().
1369 * src/folder.h: added 'updated' flag to FolderItem.
1370 * src/folderview.[ch]: folderview_update_all_updated(): new. It
1371 updates all updated folders.
1372 * src/imap.c: set FolderView::update flag on changes of contents.
1373 * src/main.c: send_queue()
1374 src/mainwindow.c: send_queue_cb(): code cleanup.
1375 * src/mh.c: code cleanup.
1376 mh_scan_folder(): correctly count new messages.
1377 * src/procmsg.[ch]: code cleanup.
1378 procmsg_open_cache_file(): new.
1379 procmsg_open_mark_file(): enable read/write/append.
1380 procmsg_send_queue(): correctly choose outbox for accounts.
1381 * src/send_message.[ch]: send_get_queue_info(): get a queue
1382 information from queued messages.
1383 send_queue_info_free(): free QueueInfo.
1384 send_message_queue(): take QueueInfo as an argument instead of file.
1385 * src/summaryview.c: summary_write_cache(): code cleanup.
1389 * src/compose.c: compose_redirect_write_headers(): correctly add
1394 * src/imap.c: imap_get_msg_list(): fallback to FETCH command if SEARCH
1395 command to get flags failed.
1396 imap_search_flags(): returns UID array and flags hash table using
1398 imap_fetch_flags(): returns UID array and flags hash table using
1403 * src/summary_search.c: summary_search_execute(): fixed 'Select all
1404 matched' when backward search is enabled.
1405 Made the backward search button insensitive when 'select all
1406 matched' is enabled.
1414 * src/imap.c: imap_scan_tree(): check the existence of root directory
1415 with LIST instead of STATUS.
1419 * src/send_message.c: fixed format string bug (exploitable by
1420 malicious SMTP server) when calling alertpanel_error()
1421 (thanks to Georgi Guninski).
1428 src/news.[ch]: refactoring of the folder system (based on the claws'
1437 src/summaryview.c: use FOLDER_TYPE() macro at every place.
1445 * src/addressbook.c:
1446 addressbook_folder_load_person()
1447 addressbook_folder_load_group(): sort the ctree after the end of
1448 the loop (fixes performance issue when many addresses are in one
1449 folder) (thanks to christian mock).
1453 * src/folderview.c: folder_init(): code cleanup.
1454 * src/summaryview.c: summary_init(): check if boldfont is
1455 successfully loaded.
1456 * src/grouplistdialog.c: use proper callback for delete_event (thanks
1458 * src/imap.c: allow zero-length messages.
1459 * src/recv.c: recv_bytes_write(): return immediately if size == 0.
1463 * src/folderview.c: folderview_init(): if font can't be loaded, fall
1464 back to gtk default (fixes crashes on startup). Also removed the
1469 * src/compose.c: compose_insert_sig(): insert signature at the
1470 current cursor position on manual operation.
1474 * src/summaryview.c: summary_key_pressed(): don't ignore delete key
1475 even if the main window is locked.
1479 * src/action.c: improved synchronous action exit code (fixes long
1480 delay after action exit on RH9) (thanks to Melvin).
1481 * src/stringtable.[ch]: string_table_insert_string(): modified the
1482 code to remove the warning "dereferencing type-punned pointer will
1483 break strict-aliasing rules".
1484 Use const gchar * instead of gchar * for arguments.
1488 * src/utils.[ch]: generate_mime_boundary(): a new function to create
1489 MIME boundary (moved from rfc2015.c).
1490 Removed more special characters.
1491 Use random() instead of lrand48() which is obsolete.
1492 Added an argument for prefix to prevent duplication.
1493 Always add "=_" as a counter-QP sequence to simplify the code.
1495 rfc2015_decrypt_message()
1497 rfc2015_sign(): fixed a bug that didn't handle continuous content
1500 src/rfc2015.c: use generate_mime_boundary().
1505 folderview_delete_folder_cb()
1506 folderview_remove_mailbox_cb(): close currently displayed folder
1507 before removing FolderItem (fixes crash on deleting folder).
1509 src/imap.[ch]: imap_scan_tree()
1510 src/mh.[ch]: mh_scan_tree(): return -1 when scanning failed.
1511 * src/summaryview.c: summary_clear_all(): also clear the message view.
1512 * src/imap.c: imap_close(): fail if the specified folder is not
1514 imap_scan_tree(): check if the specified root directory exist, and
1515 try creating it if not.
1516 imap_parse_list(): output warning if a server returns error.
1517 imap_find_namespace_from_list(): support not slash-delimited path.
1518 imap_status(): don't return values if they're not specified.
1522 * sylpheed.spec.in: fixed a typo.
1533 src/prefs_common.[ch]: added the receive dialog's option to
1534 display the dialog only on manual receiving, and the
1535 RECV_DIALOG_ACTIVE option was removed.
1539 * src/compose.c: compose_write_headers(): also replace ':' in the
1540 MIME boundary with '_' (as a workaround for broken servers).
1544 * src/imap.c: imap_scan_tree_recursive(): fixed compile error.
1548 * src/prefs_filter.c: added 'Top' and 'Bottom' button.
1552 * src/folder.[ch]: folder_item_remove_children(): new. It removes
1553 all children under a FolderItem.
1554 * src/folderview.c: folderview_rescan_tree(): modified the message.
1555 * src/imap.c: imap_scan_tree(), imap_scan_tree_recursive(): reuse
1556 the previous FolderItem objects.
1560 * src/folder.[ch]: added a reference to its own GNode in FolderItem.
1561 folder_item_remove(): free all FolderItem's.
1562 folder_tree_destroy(): use folder_item_remove().
1563 * src/folderview.c: folderview_sort_folders(): keep the order even
1564 if special folders' parents are different.
1565 * src/imap.c: imap_scan_tree_recursive(): fixed a memory leak.
1566 * src/mh.c: mh_scan_tree(): preserve the previous FolderItem's.
1567 mh_remove_missing_folder_items(): scan the directories and remove
1569 mh_scan_tree_recursive(): reuse the previous FolderItem objects.
1573 * src/mainwindow.c: always reflect window size changes.
1574 * src/folderview.c: folderview_init()
1575 src/summaryview.c: summary_init(): realize the widget before
1577 * src/prefs_common.[ch]: remember the folder and mesage view's
1583 src/prefs_common.[ch]: remember the size and position of
1585 main_window_set_widgets(): fixed a bug that the hidden items on
1586 the header view were shown when changing the view type.
1587 Instead of setting the window size, set the each view's size.
1591 * src/compose.c: compose_select_account(): don't append signature
1593 compose_insert_sig(): don't insert "\n\n" if signature string
1594 doesn't exist. Always insert signature at the end of message.
1598 * improved sylpheed.spec.in (thanks to Andre Oliveira da Costa).
1602 * minor code cleanups for the folder system.
1603 * src/compose.c: compose_queue(), compose_draft_cb(): code cleanup.
1604 * src/folder.c: code cleanups.
1606 src/mh.c: calculate message numbers inside the functions.
1607 * src/procmsg.c: procmsg_set_flags(): calculate message numbers.
1608 * src/summaryview.[ch]: don't calculate and preserve message numbers
1617 src/summaryview.c: renamed *_msgs_with_dest() to *_msgs().
1621 * src/imap.[ch]: use CAPABILITY to use protocol extentions.
1622 imap_greeting(): parse initial server greeting. Also support
1625 imap_cmd_append(): use APPENDUID responses if UIDPLUS is supported.
1629 * src/imap.c: imap_get_flag_str(): fixed a buffer overrun.
1637 * src/main.c: main(): don't save config files on startup.
1642 imap_get_msg_list(): removed redundant UID SEARCH ALL when not
1644 Unset MSG_NEW flag if \Seen is set.
1645 imap_get_uncached_messages(): fetch all messages if both first_uid
1650 * src/imap.c: revamped the implementation so that it always
1651 exactly reflects the state of IMAP4 servers.
1652 imap_get_msg_list(): examine the state of messages using
1653 UID SEARCH commands.
1654 imap_delete_cached_message(): removes single message cache.
1655 imap_get_uid(): removed.
1656 imap_cmd_search(): new. It issues UID SEARCH command and returns
1658 imap_cmd_gen_recv(): made the length of strings unrestricted.
1659 imap_get_uid_table(): returns a hash table from UID array.
1666 src/news.[ch]: added Folder::close() method.
1667 * src/summaryview.c: summary_clear_list(): call folder_item_close().
1671 * flags are now taken over when copying messages into IMAP folders
1678 mh_add_msgs(): flags can be also specified when adding files.
1679 * src/folder.[ch]: added assertions for virtual functions.
1680 * src/procmsg.[ch]: procmsg_get_message_file_list(): return the list
1682 procmsg_message_file_list_free(): new.
1686 * src/procmsg.h: changed MsgPermFlags and MsgTmpFlags from enum to
1687 guint32 for portability (thanks to Alfons).
1688 * src/imap.c: imap_add_msgs(): removed redundant unlink().
1693 session_read_msg_cb()
1694 session_read_data_cb(): fixed a bug that ran into infinite loop
1695 if connection was closed by remote host (thanks to Yoichi Imai).
1696 Added SESSION_EOF state to SessionState.
1697 session_is_connected(): new.
1698 * src/inc.[ch]: inc_put_error()
1699 src/send_message.c: send_put_error(): also put log messages.
1703 * more optimization of IMAP4.
1704 * src/folder.[ch]: added a method add_msgs() that adds multiple files
1706 Removed redundant scan() for the operations of FolderItem.
1707 * src/imap.[ch]: implemented Folder::add_msgs() and optimized move
1708 and copy from other Folder instances.
1709 * src/mh.[ch]: implemented Folder::add_msgs() and cleaned up the code.
1710 mh_fetch_msg(): scan folder if required.
1711 * src/procmsg.[ch]: procmsg_get_message_file_list(): returns file
1712 list from message list.
1713 * src/summaryview.c: don't remove MSG_MARKED flags on
1714 delete/move/copy operation.
1715 summary_display_msg_full(): removed redundant message fetching.
1719 * optimized move/copy/delete/mark operations of IMAP4 by using
1720 sequence set when issuing commands (adopted claws' implementation
1721 with cleaning it up).
1723 imap_set_message_flags()
1726 imap_cmd_store(): take sequence set string instead of UID number.
1727 imap_do_copy_msgs_with_dest(): optimized by using sequence set.
1728 imap_cmd_fetch(): use BODY.PEEK instead of BODY.
1729 imap_remove_all_msg()
1730 imap_set_message_flags(): use FLAGS.SILENT instead of FLAGS.
1732 src/summaryview.c: use imap_msg_list_{set,unset}_perm_flags()
1733 instead of issuing commands for each message.
1738 src/prefs_account.[ch]
1740 src/session.[ch]: added an option to enable/disable non-blocking
1745 * src/compose.c: compose_attach_append(): display message's subject
1746 when attaching message/rfc822 file.
1753 session_read_msg_cb()
1754 session_read_data_cb(): optimized by removing sock_peek() and
1755 buffering received data in user space (correctly implemented
1760 * src/session.c: reverted the previous change because it couldn't
1761 handle data receiving after messages correctly.
1767 session_read_msg_cb(): optimized by removing sock_peek() and
1768 buffering messages in user space.
1772 * src/imap.[ch]: refactored.
1773 Changed all functions that have SockInfo arguments to take
1775 Made imap_cmd_count an instance variable: IMAPSession::cmd_count.
1776 imap_open(): only establish TCP (or SSL) connection.
1777 imap_session_new(): process greeting and authentication here.
1781 * src/imap.[ch]: implemented CRAM-MD5 authentication, and made code
1783 * src/prefs_account.[ch]: added option menu for IMAP4 authentication
1784 type in Receive tab, and hide other protocols' frames.
1788 * src/mainwindow.c: send_queue_cb(): don't scan folder twice if
1790 * src/procmsg.c: procmsg_send_queue(): return number of sent
1796 main_window_set_toolbar_sensitive()
1797 main_window_set_menu_sensitive(): removed the locking of file
1798 operations while receiving mail.
1802 * src/folder.[ch]: folder_item_remove_msg(): take MsgInfo as an
1803 argument instead of message number.
1804 * src/imap.[ch]: imap_remove_msg(): reimplemented using
1806 * src/mh.[ch]: mh_do_move(): reimplemented using
1807 mh_do_move_msgs_with_dest().
1808 mh_copy_msg(): reimplemented using mh_copy_msgs_with_dest().
1809 * src/procmsg.c: procmsg_send_queue(): modified to use message list.
1813 * src/rfc2015.c: rfc2015_is_encrypted(): check MimeInfo::mime_type
1814 to suppress some warnings.
1815 * src/logwindow.c: log_window_append(): don't scroll up when trimming
1820 * src/compose.c: add 'Content-Disposition: inline' to a text/plain
1821 part when using PGP/MIME signing.
1829 * src/defs.h: changed UI_REFRESH_INTERVAL from 40msec to 50msec.
1830 * src/session.c: session_read_msg_cb(): make it always fail if
1831 sock_read() returns by error.
1832 * src/socket.[ch]: sock_check(): handle exceptional SSL condition.
1833 sock_has_pending_data(): removed.
1834 Removed debug output.
1835 * src/send_message.c: send_recv_message(): display messages to
1840 * src/inc.[ch]: update received message number on CList while
1842 * src/session.c: session_read_data_cb(): optimized by removing
1843 g_malloc() and memcpy().
1847 * src/socket.[ch]: sock_add_watch(): new. It monitors SSL by original
1848 watch functions (otherwise uses g_io_add_watch()).
1849 * src/session.[ch]: removed previous workarounds, and replaced
1850 g_io_add_watch() with sock_add_watch().
1854 * src/socket.[ch]: added sock_has_pending_data() which returns TRUE
1855 if socket has pending data.
1856 * src/session.c: session_recv_msg(), session_recv_data(): check if
1857 socket has pending data and call the callbacks immediately in that
1858 case (fixes the hang at ESMTP EHLO on SSL).
1862 * src/socket.c: check return value in SSL functions.
1866 * src/mimeview.c: mimeview_init(): initialize TextView to prevent
1867 slowdown caused by GTK+ themes (thanks to Yuri Arapov).
1871 * src/session.c: session_read_data_cb(): clear Session::read_data_buf
1872 before calling callbacks.
1876 * src/socket.c: made socket connection protocol independent.
1877 * src/session.c: removed debug g_print().
1878 * src/inc.c: made status bar output less verbose, and show counter
1879 on main window's progressbar.
1883 * src/session.c: added missing #include <errno.h>.
1887 * src/session.[ch]: reimplemented the Session system with non-blocking
1888 I/O to solve the performance and the code design issue.
1889 * src/socket.[ch]: added sock_connect_async() and
1890 sock_connect_async_cancel() to enable asynchronous connection.
1891 sock_peek(): modified the implementation.
1892 * src/pop.c: optimized the receiving of the responses of
1897 * src/procmsg.c: procmsg_get_thread_tree(): prevent threading problems
1898 when a node is an ancestor (parent / great parent), which mostly
1899 happens with circular references (thanks to Phillipe Gramoulle
1900 for finding an sample set of messages, and Alfons for the patch).
1904 * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
1905 UIDL list is not found (fixes inability of initial retrieval).
1909 * src/main.c: added the option '--status-full' which shows the status
1910 of each folder specified. The option '--status' also takes
1911 following arguments for folders (thanks to Yuri Arapov).
1912 * src/folder.[ch]: folder_get_status(): new. it takes the array of
1913 folders as the argument and returns their status.
1914 folder_count_total_msgs(): removed.
1924 src/inputdialog.c: use gtk_main_iteration() instead of gtk_main()
1925 to prevent abort when a button is double-clicked.
1929 * src/addr_compl.c: invalidate_address_completion(): check if
1930 g_completion_list is NULL (thanks to Kazuhiro NISHIYAMA).
1934 * src/pop.c: pop3_session_recv_data_finished(): fixed a bug that
1935 deleted messages that is to be kept on server (thanks to Tristan
1945 sock_set_io_timeout(): new. It sets the timeout interval.
1946 sock_gdk_input_add(): removed since it's not used anymore.
1947 * src/prefs_common.[ch]: added an option to set the timeout parameter.
1951 * src/action.c: fixed a bug that didn't hide user string in
1952 create_io_dialog() (thanks to Markus Amersdorfer).
1953 Removed ChildInfo::type and added Children::action_type.
1957 * src/inc.c: inc_start(): ask every password before retrieving.
1958 Don't popup the redundant error dialog.
1960 inc_all_account_mail()
1961 inc_progress_dialog_set_list(): separated account list display
1962 into a new function.
1963 inc_progress_dialog_set_label()
1964 inc_recv_data_finished()
1965 inc_recv_message(): properly update the dialog when RETR finished.
1970 imap_modified_utf7_to_locale()
1971 imap_locale_to_modified_utf7(): fixed compilation failure when not
1976 * src/procmime.c: procmime_scan_multipart_message(): fixed parsing
1977 of message/rfc822 parts.
1981 * src/pop.c: pop3_ok(): detect timeout error.
1985 * src/imap.c: imap_locale_to_modified_utf7(): fixed the encoding bug
1986 when locale strings include '+'.
1987 imap_modified_utf7_to_locale()
1988 imap_locale_to_modified_utf7(): at least escape/unescape '&' even
1989 if iconv() is not supported.
1994 compose_insert_sig()
1995 compose_get_signature_str(): include separator in signature string.
1996 Don't insert separator if signature file is not found.
1997 Disabled use of implicit default signature path (~/.signature) when
2007 src/quote_fmt_parse.y
2008 src/smtp.c: suppress warnings that gcc-3.3 issues.
2009 src/stringtable.c: use string_entry_free().
2013 * src/compose.c: compose_insert_sig(): fixed the bug that always
2014 appended signature separator if signature file was not found.
2015 compose_get_signature_str(): fixed the bug that caused crash if
2016 signature file cannot be opened.
2024 * src/session.c: session_recv_msg(): removed debug print.
2031 imap_cmd_fetch(): check for data size that servers return (fixes
2032 vulnerability found in BugTraq).
2036 * src/addr_compl.c: get_complete_address()
2037 src/addressbook.c: addressbook_format_address()
2038 src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
2039 characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
2040 * src/main.c: main(): set colormap and visual to solve color problem
2041 in Solaris (thanks to Markus Schwarzenberg).
2049 * src/prefs_account.c: temporarily removed POP before SMTP option.
2053 * src/prefs_common.[ch]: changed the description of "Open message when
2054 cursor keys are pressed on summary".
2055 * src/summaryview.c: summary_show(): open message when always_show_msg
2060 * src/logwindow.[ch]: restrict the maximum lines of the log messages
2061 to reduce the memory usage.
2065 * src/compose.c: compose_insert_sig(): fixed a crash when signature
2066 string contains illegal sequence.
2067 * src/utils.[ch]: changed get_wcs_len() to get_mbs_len() for accuracy.
2071 * major refactoring of MIME structure.
2072 * src/procmime.c: procmime_scan_message(): decrypt message if
2073 gpgme is enabled. Create multipart tree only if content-type is
2074 multipart/* or message/rfc822.
2075 procmime_scan_multipart_message(): fixed the scanning of
2076 message/rfc822 part.
2077 * src/action.c: parse_append_msgpart()
2078 src/messageview.c: messageview_show()
2079 src/mimeview.c: mimeview_show_message(): use procmime_scan_message()
2080 instead of procmsg_open_message() and procmime_scan_mime_header().
2081 mimeview_set_multipart_tree(): conform to the new MIME structure.
2082 * src/textview.c: textview_show_part(): removed unnecessary check.
2083 * src/procmsg.c: procmsg_open_message_decrypted(): fixed the file
2084 pointer when decryption failed.
2088 * src/ssl.c: ssl_init_socket_with_method(): replaced log_warning()
2089 by g_warning(), and log_print() by debug_print().
2090 * src/pop.[ch]: added an error code PS_NOTSUPPORTED, and retry with
2091 LAST if UIDL is not supported.
2095 * src/codeconv.c: conv_get_code_conv_func(): convert to EUC-JP only
2096 if it is the current locale encoding when dest_charset_str is NULL.
2100 * src/action.c: execute_actions(): fixed crash when no text widget
2101 is selected (thanks to Paul and Melvin).
2103 src/prefs_actions.c: added missing reference to Claws team in the
2110 session_send_data(): fixed a memory leak and data sending bug.
2111 * src/send_message.c:
2112 send_message_smtp(): fixed focus management.
2116 * src/smtp.[ch]: set the response string to SMTPSession::error_msg
2118 * src/send_message.c: show error dialog if error occurred.
2119 * src/main.c: send_queue()
2120 src/mainwindow.c: send_queue_cb(): don't show error dialog here.
2124 * src/session.c: session_close(): kill child process only if
2125 state is not SESSION_DISCONNECTED.
2126 * src/send_message.c: send_cancel_button_cb()
2127 src/inc.c: inc_cancel(): don't set Session::state to
2128 SESSION_DISCONNECTED.
2129 * src/prefs.[ch]: modified the names of prefs_write_*().
2130 * src/address.[ch]: removed.
2134 * src/compose.c: compose_template_apply(): overwrite recipients.
2138 * src/procheader.c: procheader_date_parse(): removed debug print.
2139 * src/session.c: changed every g_print to debug_print.
2140 session_child_input(): removed unrequired session_close() (it'll
2141 be closed anyway after returning FALSE).
2142 * src/send_message.c: send_message_smtp(): changed g_print to
2147 * src/procheader.c: procheader_procheader_date_parse(): don't add
2148 local timezone offset if timezone is unknown.
2149 Made the Y2K workaround code to follow RFC 2822.
2150 procheader_scan_date_string(): workaround for date strings which
2151 don't have timezone specification.
2152 * src/utils.c: remote_tzoffset_sec(): return -1 if timezone is
2157 * src/action.[ch]: refactored. Also fixed a bug on MIME mode, and
2158 some memory leaks on error.
2159 action_update_msgview_menu(): new.
2160 * src/messageview.[ch]: added "Tools/Actions" menu. Keep window list.
2161 messageview_get_selected_mime_part(): returns MimeInfo of selected
2162 part when MessageView is in MIME mode.
2163 * src/mimeview.[ch]: mimeview_get_selected_part(): returns MimeInfo
2165 * src/summaryview.[ch]: summary_get_selected_msg_list(): returns
2166 MsgInfo list of selected messages.
2170 * src/prefs_filter.[ch]: include original message's headers as
2171 the preset keywords. Modified the sizes of the widgets.
2172 * src/utils.[ch]: added str_case_equal() and str_case_hash() for
2173 case-insensitive hash.
2177 * src/procmsg.c: procmsg_get_filter_keyword(): added X-Sequence to
2178 auto-detected headers.
2182 src/mainwindow.c: modified function names.
2183 get_user_string(): Use input_dialog() instead of its own
2188 * src/codeconv.[ch]: conv_encode_header(): don't include '(' and ')'
2189 in encoded strings if addr_field is TRUE.
2190 * src/compose.c: compose_convert_header(): added a flag 'addr_field'.
2194 * src/prefs_actions.[ch]: separated action execution routine into
2199 * src/prefs_actions.c: minor code cleanup.
2203 * src/codeconv.[ch]: conv_iconv_strdup(): fixed the handling of
2209 inc_recv_data_progressive()
2210 inc_recv_data_finished()
2213 send_send_data_progressive()
2214 send_send_data_finished(): added assertion.
2218 * src/codeconv.[ch]: conv_iconv_strdup(): fixed potential memory
2223 * src/codeconv.[ch]: conv_iconv_strdup(): don't include nul character
2224 in source buffer since it messed up some encoding conversion (like
2229 * src/procmsg.c: procmsg_get_filter_keyword(): unfold headers and
2230 extract ID from List-Id header.
2231 * src/utils.[ch]: extract_one_parenthesis_with_skip_quote(): removed.
2232 extract_list_id_str(): extract ID string from List-Id header.
2236 * src/prefs_actions.c: merged from the claws branch. Fixes several
2237 bugs and adds some features.
2241 * src/compose.c: compose_parse_header(): fixed a bug that unnecessary
2242 linebreaks were included on reediting.
2244 src/pop.c: fixed typos: 'occured'.
2248 * src/compose.[ch]: implemented auto signature replacement on
2250 compose_insert_sig(): added a flag to replace current signature.
2251 compose_get_signature_str(): new. It returns signature string.
2252 compose_insert_command_output(): removed.
2253 compose_select_account(): call compose_insert_sig() on account
2255 compose_destroy(): fixed a memory leak of UndoMain object.
2256 Compose::sig_str: new. It stores current signature string.
2257 * src/gtkutils.[ch]: gtkut_stext_find(): new.
2258 Renamed gtk_stext_clear() to gtkut_stext_clear().
2259 * src/utils.[ch]: get_wcs_len(): returns wide-character length of
2261 normalize_newlines(): converts CR+LF and CR into LF.
2262 get_command_output(): returns command output.
2266 * src/procmsg.[ch]: procmsg_get_filter_keyword(): new. It returns
2267 filter keyword for messages.
2268 * src/summaryview.c: summary_filter_open(): use
2269 procmsg_get_filter_keyword().
2270 * src/messageview.c: create_filter_cb(): implemented.
2276 inc_put_error(): display server responses on error.
2277 * src/pop.[ch]: added Pop3Session::error_msg, and set server responses
2282 * src/messageview.[ch]: separated the forced charset of message view
2283 in separate window from the main window.
2285 textview_show_message()
2286 textview_show_part()
2287 textview_add_part(): use MessageView::forced_charset if specified.
2291 * src/mainwindow.c: modified File menu a bit.
2292 * src/menu.[ch]: added functions to handle item factory rc strings.
2293 * src/messageview.[ch]: added a menu, and made it take over main
2294 window's menu shortcuts.
2295 added msginfo which is duplicated on display to MessageView.
2296 * src/prefs_common.c: prefs_keybind_apply_clicked(): use
2297 menu_factory_clear_rc().
2301 * send_message.c: send_message_smtp():
2302 re-enabled forcing of SMTP AUTH method.
2303 Clear temporary password if authentication failed.
2304 * smtp.c: output warning to log and set SMTPSession::error_val
2306 * smtp.h: changed error value to enum. Added SMTPSession::error_val.
2307 * src/mbox.c: proc_mbox(): force updating of folder.
2311 * src/pop.h: changed error value to enum.
2312 * src/pop.c: pop3_retr_recv(): return PS_IOERR when inc_drop_message()
2314 pop3_ok(): return appropriate error value based on current state.
2315 Output warning to log if error occurs.
2320 src/news.[ch]: refactored. Remove NNTPSockInfo and use NNTPSession
2325 * src/inc.c: inc_pop3_session_do(): retrun appropriate error if
2326 Session::state == SESSION_ERROR.
2327 * po/POTFILES.in: removed src/automaton.c and src/send.c.
2328 Added src/send_message.c.
2333 src/session.c: fixed breakage of POP3 retrieval.
2334 session_recv_data_from_sock_unescape(): read until terminator
2335 appears and also return the actual size.
2339 * src/automaton.[ch]: removed.
2340 * src/session.c: removed some of the debug output.
2341 * src/smtp.c: smtp_session_recv_msg(): workaround in case server
2342 returns EHLO-style response to HELO command.
2343 Ignore all multiline responses except for EHLO since they are
2344 allowed for any command.
2349 src/pop.c: fixed retrieval of messages which contain dot-escaped
2351 session_recv_data(): added a flag for unescape.
2352 session_recv_data_from_sock_unescape(): new. It receives message
2353 for each line and unescapes dot-escaped lines.
2354 Removed the previous workaround.
2355 * src/defs.h: decreased UI_REFRESH_INTERVAL to 40 msec.
2359 * src/pop.[ch]: workaround for brekage of retrieval when given size
2360 and actual one is different.
2364 * src/pop.c: pop3_retr_eom_recv(): ignore invalid end of message
2365 since some servers sometimes return incorrect message size.
2366 * src/news.c: news_session_new(): zero clear NNTPSession object.
2367 Don't initialize Session::sock with nntp_sock->sock to prevent
2368 double-free of SockInfo.
2369 * src/imap.c: zero clear IMAPSession object.
2370 imap_cmd_append(): don't close SockInfo.
2374 * src/pop.c: pop3_session_recv_msg(): fixed STLS.
2379 src/pop.[ch]: reimplemented using new I/O system.
2380 * src/session.[ch]: session_recv_data(): new.
2381 session_send_data_to_sock()
2382 session_recv_data_from_sock(): decreased the frequency of progress
2387 * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
2391 * src/session.[ch]: session_start_tls(): new.
2392 session_recv_msg(): made it static.
2396 * implemented asynchronous network I/O.
2397 * src/session.[ch]: the interface to communicate with servers through
2400 src/send_message.[ch]: rewrote using new I/O system.
2401 * src/socket.[ch]: renamed *_write() to *_write_all(), and made
2402 *_write() as just a simple wrapper for write().
2403 * src/utils.c: get_outgoing_rfc2822_str(): new. It modifies the
2404 message to send with SMTP or NNTP.
2405 file_read_stream_to_str(): new.
2409 * src/textview.c: textview_button_pressed(): corrected the range of
2411 * src/compose.c: compose_wrap_line_all_full(): treat UTF-8 characters
2412 represented with more than 2 bytes as 2 character width and 2 bytes
2413 one as a single character width as a workaround for wrapping problem.
2417 * src/utils.c: subject_compare_for_sort(): allow null strings (fixes
2422 * implemented HTML link correctly.
2423 * src/html.[ch]: HTMLAttr, HTMLTag: new structure for attributes /
2425 html_get_tag(): new. It parses tag and returns HTMLTag object.
2426 html_parse_tag(): also parses <a> tags and 'href' attributes.
2427 * src/textview.c: textview_write_link(): new. It creates link string.
2431 * src/compose.c: compose_wrap_line_all_full(): fixed an infinite
2432 loop / crash bug (thanks to Darko Koruga).
2433 compose_write_to_file(): put correct charset element when
2434 conversion failed but want to send anyway.
2438 * src/headerview.c: headerview_show()
2439 src/textview.c: textview_write_line(): remove unreadable characters
2440 from displayed strings to prevent crashes on multi-byte
2442 * src/codeconv.[ch]: conv_unreadable_locale(): new. It was separated
2443 from conv_localetodisp().
2447 * src/procmsg.c: procmsg_cmp_by_subject()
2448 src/summaryview.c: summary_cmp_by_subject(): ignore Re: when
2451 subject_compare_for_sort()
2452 trim_subject_for_sort(): new.
2460 * src/defs.h: added -i option to the default sendmail command.
2464 * src/codeconv.[ch]: added missing character encodings and locales.
2469 procmsg_get_mark_sum()
2470 procmsg_open_mark_file()
2471 procmsg_read_mark_file(): take FolderItem instead of directory
2476 * src/codeconv.c: conv_encode_header(): fixed a bug that spaces
2477 which is on the wrap boundary would be lost when encoding long
2478 non-ascii strings (thanks to Sergey Vlasov).
2479 Don't force wrapping within a long word until it reaches hard line
2480 length limit (998 characters) (workaround for the breakage of
2481 long address list with no spaces).
2485 * src/prefs_account.c: fixed compile failure when using neither
2490 * src/codeconv.c: fixed UTF-8 locale support.
2491 conv_get_code_conv_func(): return conv_noconv if locale encoding
2492 is UTF-8. Return conv_latintodisp on ISO-8859-* to locale encoding
2494 conv_convert(): call conv_iconv_strdup() instead of
2495 conv_codeset_strdup().
2496 conv_codeset_strdup(): moved some codes into conv_iconv_strdup().
2500 * src/prefs_account.[ch]: added an option to use command output for
2502 * src/compose.c: compose_insert_sig(): use command output if
2504 compose_insert_command_output(): new.
2508 * src/main.c: main(): remove lock socket if sylpheed is not running
2509 when --status command is executed.
2510 lock_socket_remove(): new.
2514 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
2515 codeset is US-ASCII (or POSIX).
2519 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
2520 and continue conversion.
2524 * src/summaryview.c: summary_selected(): always update widget
2529 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
2530 date in timezones more than GMT+12 or less than GMT-12.
2534 * src/prefs_common.[ch]
2535 src/sourcewindow.c: remember the size of source window.
2536 * src/md5.c: fixed a compile problem with gcc 3.3.
2540 * src/about.c: about_create(): modified the copyright notice.
2544 * src/colorlabel.c: don't use pixmaps for label color rect but draw
2545 rectangles so we can respect the color map of palette based visuals
2546 (fixes the long time crashes on Solaris - thanks to Alfons
2551 * src/procheader.c: procheader_date_parse(): made month string case
2553 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
2554 selection list is empty.
2558 * src/quote_fmt_parse.y: removed gettext translatable strings.
2559 * src/unmime.c: unmime_header(): remove broken characters when
2560 code conversion failed.
2561 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
2562 headers if long words more than 75 characters are entered.
2566 * src/prefs_account.c: prefs_account_receive_create()
2567 src/utils.c: to_human_readable(): made units translatable.
2571 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
2572 at first byte (fixes abort() problem of glibc).
2573 * src/html.c: html_read_line(): remove characters which can't be
2574 displayed on the current locale.
2579 trim_subject_for_compare(): renamed from trim_subject().
2580 trim_subject(): new. It removes [...] or (...) at the beginning
2582 * src/prefs_folder_item.c
2584 added options for trimming summary / compose subject.
2585 * src/summaryview.c: summary_set_header(): trim subject if the folder
2587 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
2593 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
2594 X-Face header problem).
2595 conv_encode_header(): allow up to 97 characters for one word.
2599 * src/filter.c: filter_match_condition(): fixed the bug that
2600 second condition ignored regex.
2601 * src/news.h: NewsGroupInfo: use guint for message numbers
2602 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
2606 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
2607 on code conversion failure.
2608 conv_get_charset_str()
2609 conv_get_charset_from_str(): optimized using hash table.
2613 * src/quote_fmt_parse.y:
2614 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
2615 treat only "\n-- \n" as a signature separator.
2619 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
2620 * src/summary_search.c: summary_search_execute(): search collapsed
2626 conv_unreadable_latin(): include 0x7f as an unreadable character.
2627 conv_localetodisp(): don't remove 8bit characters by default.
2628 conv_get_current_charset()
2629 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
2630 appended at the last of locale name.
2631 * src/compose.c: compose_write_to_file(): show from and to encoding
2632 when code conversion failed.
2640 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
2641 (thanks to Colin Leroy).
2642 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
2647 * src/textview.c: textview_write_line(): don't convert if conv is
2652 * src/codeconv.[ch]:
2653 renamed conv_guess_encoding() to conv_guess_ja_encoding().
2654 conv_localetodisp(): new. It removes unreadable characters from
2655 (assumed) current locale string.
2656 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
2657 NULL and current locale encoding is US-ASCII.
2658 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
2659 specified for destination charset.
2660 * src/textview.c: textview_write_line(): use conv_localetodisp()
2661 instead of strncpy2() if conversion failed.
2665 * src/codeconv.c: conv_iconv_strdup()
2667 imap_modified_utf7_to_locale()
2668 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
2669 a warning on some systems.
2670 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
2672 Return NULL instead of incomplete string if conversion failed.
2676 * src/summaryview.c: summary_execute(): select appropriate node
2677 if currently selected node is to be deleted.
2678 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
2679 TRUE if the specified node is selected.
2683 * src/summaryview.c: summary_status_show(): fixed a occasional crash
2684 on deleting or moving.
2688 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
2689 of EUC-JP more accurate.
2690 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
2702 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
2703 duplication bug if the source string has CRLF.
2705 canonicalize_str(): new. Returns newly allocated canonicalized
2707 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
2708 uncanonicalize_file_replace(): new.
2709 * src/compose.c: always canonicalize body before processing, and
2710 uncanonicalize before returning.
2714 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
2715 ENC_8BIT for Russian charsets.
2716 * src/compose.c: compose_write_to_file(): use base64 when signing
2721 * src/prefs_common.c: prefs_send_create(): added a description for
2722 the setting of Content-Transfer-Encoding.
2726 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
2728 * src/procmime.c: procmime_get_encoding_for_charset(): return
2729 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
2730 * src/compose.c: compose_attach_append(): set correct Content-
2731 Transfer-Encoding for message/rfc822.
2732 compose_write_to_file(): enabled user-definable Content-Transfer-
2734 * src/prefs_common.[ch]: added an option for user-defined Content-
2739 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
2740 line doesn't end with linebreak.
2744 * implemented quoted-printable encoding.
2745 * src/quoted-printable.[ch]: qp_encode_line(): new.
2747 compose_write_to_file()
2748 compose_write_attach(): implemented quoted-printable encoding.
2749 compose_attach_property_create(): enabled quoted-printable menu
2751 * src/procmime.c: procmime_get_encoding_for_charset(): return
2752 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
2753 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
2760 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
2761 of abbreviation of newsgroup name.
2765 * configure.in: show the result of iconv detection.
2769 * src/codeconv.[ch]: made the transition from libjconv to iconv().
2770 conv_iconv_strdup(): new.
2774 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
2780 src/prefs_folder_item.c: English fix (property -> properties).
2781 * src/prefs_filter.c: alert if entry is not saved.
2782 prefs_filter_dialog_to_filter(): new.
2786 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
2787 strings after linefeed.
2792 * src/codeconv.[ch]: code cleanup and optimization.
2793 conv_code_converter_new()
2794 conv_convert(): use functions obtained by conv_get_code_conv_func()
2795 when using libjconv.
2796 conv_codeset_strdup(): code cleanup.
2797 conv_get_code_conv_func(): added an argument for destination
2798 character set, and generalized.
2802 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
2804 * src/compose.c: compose_convert_header(): remove trailing spaces.
2805 * src/customheader.c: custom_header_read_str(): strip the spaces
2807 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
2808 strip the spaces of name and value.
2816 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
2817 into infinite loop when encountering invalid characters.
2821 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
2823 * src/summaryview.c: summary_show(): removed summary_sort() because
2824 it is done inside folder_item_get_msg_list(). This will improve
2825 the performance of summary display.
2826 Sorted out the summary sort functions using macros.
2830 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
2831 list if FolderItem::sort_key is set.
2832 Added SORT_BY_TO to FolderSortKey enum.
2833 * src/mainwindow.c: added "View/Sort/by recipient".
2841 * src/codeconv.c: conv_encode_header(): fix for redundant space on
2843 * src/compose.c: compose_convert_header(): always pass string to
2844 conv_encode_header() for line-breaking.
2848 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
2849 parsing of email addresses.
2853 * src/defs.h: added DEFAULT_BROWSER_CMD.
2854 * src/mimeview.c: mimeview_view_file()
2855 src/prefs_common.c: prefs_other_create()
2856 src/utils.c: open_uri(): changed the default web browser to
2857 mozilla, and changed 'raise' command (which is undocumented)
2858 to 'new-window' in 'netscape -remote'.
2862 * src/compose.c: compose_send_control_enter(): fixed crash on
2863 Ctrl-Enter when Message/Send has no accelerator key (thanks to
2871 sort_summary_type_cb(): prevent unwanted processing on unchecking
2876 * src/main.c: process command line option before gtk_init() to
2877 enable remote operation without X (thanks to Ruslan N. Balkin).
2878 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
2883 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
2884 (the spec of autotools seems to be changed).
2888 * src/imap.c: get path separator using LIST command if server
2889 doesn't support NAMESPACE (based on the patch by Brian Sammon).
2890 imap_parse_list(): added an argument to return path separator.
2891 imap_get_namespace_by_list(): new.
2895 * src/addr_compl.c: add_address(): removed the debug print.
2896 * src/gtkutils.[ch]: gtkut_window_popup()
2897 src/mainwindow.c: main_window_popup(): applied the patch to fix
2898 the behavior of window popup from Sergey Vlasov (thanks!)
2899 * src/account.c: account_edit_create(): use signal_connect_after
2900 for row_move signal to fix the row position bug.
2901 account_row_moved(): scroll the CList half page.
2902 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
2904 * src/summaryview.c: summary_reply(): use selection text only if
2905 the displayed message is selected (thanks to Sergey Vlasov).
2909 * src/codeconv.c: conv_encode_header(): reimplemented the routine
2910 of MIME header encoding. And use Q-encoding method if the current
2911 locale is single-byte one.
2912 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
2913 of wide-character string. Consider control codes as non-ASCII.
2914 get_next_word_len(): new. It returns the length of next word.
2915 is_next_mbs(), find_wspace(): removed.
2916 * src/quoted-printable.[ch]: new.
2917 qp_decode_line(): decodes one QP line.
2918 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
2919 qp_get_q_encoding_len(): returns the length when a string is
2921 qp_q_encode(): Q-encode a string (RFC 2047).
2922 * src/unmime.c: moved the functions for quoted-printable to
2927 * src/send.c: send_message_local(): escape line that only have one
2928 dot character (postfix's sendmail command will stop there).
2932 * src/send.c: send_message_local(): don't escape first-dot line
2933 (thanks to Sergey Vlasov).
2937 * autogen.sh: added 'libtoolize --force --copy' to override the
2939 * acconfig.h: removed.
2940 * configure.in: increased minimal version of GPGME to 0.3.10.
2941 Fixed checking of XIM.
2943 ac/gnupg-check-typedef.m4: added an argument for comment.
2947 * src/imageview.[ch]: fixed conflicting declarations of
2948 imageview_show_image() (thanks to Thorsten Maerz).
2952 * src/compose.c: compose_entry_append(): don't add ", " on subject
2954 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
2955 charset from the table (currently disabled for non-Japanese locales).
2956 conv_get_current_locale(): also refer to LC_CTYPE.
2960 * README: added a description about hidden settings.
2964 * src/prefs_common.[ch]: reorganized the common prefs dialog.
2965 Made enable_hscrollbar and bold_unread hidden options.
2969 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
2974 account_find_from_message_file()
2975 account_find_from_msginfo(): new. They find an account from the
2976 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
2979 compose_reedit(): restore messages' previous account on composition.
2980 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
2985 * src/compose.c: cleaned up the code using compose_entry_set()
2986 (don't use gtk_entry_set_text() directly).
2990 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
2994 * updated autotools and libtool to the latest version.
2995 * configure.in: added AC_PREREQ(2.50).
2999 * src/textview.c: textview_set_font(): fix for message display in
3000 UTF-8 locales (thanks to Sergey Vlasov).
3004 * src/imageview.[ch]: imageview_show_image(): resize images to fit
3005 the window size if specified.
3006 * src/prefs_common.[ch]: added an option 'Resize attached images'.
3010 * refactoring for SMTP implementation.
3011 * src/session.h: added ui_func to Session.
3012 * src/smtp.[ch]: separated the connection routine from
3013 smtp_session_new() to smtp_connect().
3014 Changed the argument of every function other than smtp_ok() from
3015 SockInfo to SMTPSession.
3016 Call UI callback from each functions.
3017 * src/send.c: send_message_smtp(): separated the code for UI update
3018 into send_progress_dialog_update().
3022 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
3023 * src/send.c: send_message_smtp(): call smtp_auth() and display
3024 the state to the dialog.
3028 * src/filter.c: strmatch_regex(): use extended regex (thanks to
3030 * src/main.c: main(): removed the code for assortrc -> filterrc
3032 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
3033 current locale is C or POSIX.
3034 gtkut_stext_is_uri_string(): include "www." for URI string.
3035 * src/textview.c: textview_make_clickable_parts(): include "www."
3044 * src/textview.c: textview_add_part(): indicate signature status
3045 using different colors.
3049 * src/folder.c: folder_write_list_recursive(): escape
3050 To/Cc/Bcc/Reply-To strings.
3054 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
3055 headers on locales other than Japanese when not using libjconv.
3059 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
3060 corresponding error message.
3061 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
3066 * src/prefs_account.[ch]: removed prefs_account_save_config() since
3068 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
3069 procmime_mimeinfo_free_all() can be used in every case.
3073 * src/account.c: account_get_special_folder(): support F_INBOX, and
3078 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
3079 COMPOSE_ENTRY_*, and added
3080 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
3083 compose_redirect(): added FolderItem to the arguments, and reflect
3084 settings in the item.
3085 compose_entry_set(): new.
3086 compose_entry_append(): code cleanup.
3087 compose_entries_set_from_item(): take ComposeMode in its arguments,
3088 and enabled FolderItem::use_auto_to_on_reply.
3089 * src/summaryview.c: summary_reply(): pass folder_item to
3090 compose_{reply,forward,redirect}().
3094 * src/gtkutils.[ch]:
3095 gtkut_font_load(): new. It automatically choose font or fontset
3097 gtkut_font_load_from_fontset(): new. It tries to load single font
3098 instead of fontset from a fontset string.
3102 src/summaryview.c: workaround for the problem that couldn't display
3103 8-bit characters in C or POSIX locale (use font instead of fontset).
3106 src/textview.c: made code cleanup using gtkut_font_load*().
3110 * src/mh.c: mh_get_msginfo(): set correct message number.
3114 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
3115 It returns a new MsgInfo associated to a message number.
3116 folder_item_get_msginfo(): new.
3117 * src/imap.[ch]: imap_get_msginfo(): new.
3118 * src/mh.[ch]: mh_get_msginfo(): new.
3119 * src/news.[ch]: news_get_msginfo(): new.
3123 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
3124 infinite loop if an invalid code appeared.
3128 * src/codeconv.c: conv_codeset_strdup()
3129 src/html.[ch]: html_read_line(): don't output conversion failure
3131 Added HTML_CONV_FAILED to the enum HTMLState.
3135 * implemented per-folder auto-set address (still in progress).
3136 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
3137 and set entries from it (if mailto is empty).
3138 compose_entry_append(): activate menu if required.
3139 compose_entries_set_from_item(): new.
3140 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
3141 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
3143 folder_build_tree(), folder_read_folder_func(),
3144 folder_write_list_recursive(): added the above members.
3145 * src/prefs_folder_item.[ch]: added auto-set addresses.
3146 * src/pop.[ch]: removed Pop3State::prev_folder.
3150 * src/compose.c: allow dropping files by also "moving" files from a
3151 file manager (thanks to Alfons).
3155 * compose_reply_set_entry(): made Reply-To have priority over
3156 List-Post on ML reply.
3160 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
3161 * src/summaryview.c: summary_step(): fixed a bug that lost the
3162 correct selection anchor.
3163 summary_key_pressed(): use gtk_sctree_select() instead of
3167 src/recv.c: differentiate disk full and socket errors
3168 (thanks to Colin Leroy).
3172 * src/account.c: account_edit_prefs(): removed unused variables.
3173 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
3176 compose_reply_set_entry(): receive reply type with one argument.
3177 * src/summaryview.c: summary_reply(): reduced conditional branches.
3181 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
3182 from line ends (thanks to Sergey Vlasov).
3183 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
3188 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
3189 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
3190 messages all at once.
3194 * src/account.[ch]: account_open(): new. It opens account prefs
3195 dialog and reflects to UI when finished.
3197 folderview_button_pressed()
3198 folderview_property_cb(): open account prefs dialog when the
3199 property of the root folder of remote account is requested.
3203 * src/account.c: account_destroy(): unref account information in
3205 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
3206 specified account information in all folders.
3208 folderview_rm_imap_server_cb()
3209 folderview_rm_news_server_cb(): destroy Folder first because
3210 folder_destroy() refers to account information.
3214 * src/account.c: account_find_from_item(): fixed a bug which didn't
3215 select the correct account.
3216 * inc_pop3_session_do():
3217 fixed the resource leak when SSL initialization failed.
3218 Immediately break from temporary event loop if cancelled.
3222 * src/account.[ch]: account_find_from_item(): new.
3224 compose_reply(), compose_forward(), compose_redirect()
3225 src/mainwindow.c: compose_cb(): select optimal account when
3227 * src/folder.[ch]: added FolderItem::apply_sub.
3228 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
3229 index of option menu which contains the specified data.
3230 * src/prefs_folder_item(): added Compose tab, and the setting of
3235 * configure.in: added $LDAP_LIBS for lber library detection.
3243 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
3244 leak, and added error checking.
3248 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
3249 removed Compose::orig_account.
3250 compose_check_for_valid_recipient(): check only enabled entries.
3251 compose_write_headers()
3252 compose_redirect_write_headers(): add Newsgroups header only
3253 when the entry is enabled.
3254 compose_send(): modified the method of finding a mail account
3255 from a news account so that it tries to match the From address.
3256 * src/send.c: send_message_queue(): enabled the queueing of news
3258 * src/news.[ch]: news_post_stream(): new.
3262 * configure.in: check lber first and use $LDAP_LIBS on the check
3267 * po/*.po: fixed many typos of format strings which will lead to
3268 crash (thanks to Sergey Vlasov).
3272 * src/procheader.c: procheader_parse_stream(): added Cc header
3273 to the target for full parsing.
3274 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
3275 returns the full message information from the given information.
3276 * src/compose.c: compose_reply(), compose_forward(): get full
3277 message information for Cc header.
3281 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
3282 IMAP4 and NNTP folder summary after checking those accounts.
3290 * src/prefs_common.c: prefs_compose_create(): modified the label
3291 of the option for Reply button.
3292 * configure.in: add -lldap and -llber to the 5th argument of
3293 AC_CHECK_LIB() for LDAP library detection.
3298 INSTALL.jp: updated.
3302 * src/mainwindow.c: toggle the behavior of Reply button between
3303 normal reply and reply-to-list.
3304 * src/prefs_common.[ch]: added an option to switch the function
3309 * src/compose.c: compose_new(): removed the workaround for XIM
3310 because it doesn't have any effect and only seems to cause
3315 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
3316 compose_parse_header(): parse also List-Post header.
3317 compose_reply_set_entry(): support reply-to-ML (fall back to
3318 normal reply if ML address is not found).
3321 src/summaryview.c: reorganized Reply menu and added 'Reply to
3323 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
3324 returns newly allocated parameters.
3328 * src/account.c: account_read_config_all(): set account information
3329 to default before initializing with configuration file.
3330 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
3331 newly created account information structure initialized by
3332 the default settings.
3337 replace_address_in_edit(): check if newtext is NULL.
3338 completion_window_button_press(): fixed a memory leak.
3339 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
3340 recv_time is RECV_TIME_KEEP.
3341 pop3_getrange_uidl_recv(): only set get_all flag if
3342 ac_prefs->getall is set.
3343 pop3_retr_recv(): don't delete messages which are not received
3344 by filter, and set recv_time to RECV_TIME_KEEP in the case.
3345 * src/pop.h: added an enum RecvTime.
3346 * src/inc.c: inc_drop_message(): unlink temporary message file if
3347 not received by filter.
3351 * src/mainwindow.c: added 'Edit/Select thread' menu.
3352 * src/summaryview.[ch]: added 'Select thread' to the context menu.
3353 summary_select_thread(): new. It selects all messages of current
3358 * src/rfc2015.c: check_signature(): corrected error handling and
3363 * src/rfc2015.c: check_signature(): correctly remove the last empty
3364 line, and canonicalize the file part before verifying (this should
3365 fix incompatibility with Evolution or some other MUAs).
3366 * src/utils.[ch]: copy_file_part(): new. It copies the specified
3367 range of file stream to another file.
3371 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
3372 8-bit text when signing (thanks to Colin Leroy).
3376 * src/prefs_common.c: prefs_send_create(): fixed the charset string
3377 for Cyrillic (Windows-1251).
3385 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
3386 Windows-1251. Added bg_BG locale.
3390 * src/compose.c: account_activated(): change the state of menu items
3391 and entries according to the selected account.
3392 compose_select_account(): new. It changes the state of title bar,
3393 menu items and entries.
3397 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
3399 Don't refresh summary view on fetching when open_inbox_on_inc is
3404 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
3405 is set (to avoid summary refresh problem).
3406 * src/imap.c: removed warnings by checking the existence of directory
3407 before calling remove*_numbered_files().
3411 * src/prefs_common.c: corrected English.
3415 * src/prefs_common.[ch]: added an option: "Mark messages as read
3416 only when opened in new window".
3421 folder_tree_destroy()
3422 folder_write_list_recursive(): added sanity check.
3423 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
3424 can't get session, create empty folder node (based on the
3425 Alfons' suggestion).
3429 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
3431 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
3436 * src/news.c: news_scan_group(): fixed wrong message number
3441 * major refactoring for POP3.
3442 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
3443 inc_pop3_state_destroy(), inc_get_uidl_table(), and
3444 inc_write_uidl_list() into pop.c.
3445 Moved Pop3State::folder_table and Pop3State::inc_state into
3448 inc_put_error(): added lockbusy state.
3449 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
3450 inc_cancel(): don't terminate the automaton here but just set
3451 the flags to prevent crash.
3453 pop3_getauth_pass_recv()
3454 pop3_getauth_apop_recv(): check lockbusy state.
3455 pop3_retr_recv(): check Pop3State::cancelled flag.
3456 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
3457 automaton_input_cb(): terminate if cancelled flag is true.
3458 * sylpheed.desktop: changed Type=Internet to Type=Application.
3459 Added Categories=Application;Network;.
3465 src/progressdialog.c: show detailed information to the status
3467 Added cur_total_recv_bytes to Pop3State.
3468 * src/prefs_common.[ch]: added an option to specify whether to
3469 close receive dialog when finished.
3473 * src/folder.[ch]: folder_get_path(): new. It returns the root path
3477 imap_folder_destroy()
3479 imap_remove_all_msg()
3480 news_folder_destroy(): remove cache directories / files when
3481 deleting Folder / messages.
3485 is_file_entry_exist(): check if the argument is NULL.
3487 remove_numbered_files()
3488 remove_expired_files(): fixed memory leaks on error.
3497 src/smtp.[ch]: made Folder and Session destructor virtual method.
3501 * src/compose.c: do joining of normal lines only when auto-wrapping.
3502 * src/main.c: modified the warning message for GnuPG.
3503 * src/about.c: about_create(): modified the compiled-in features
3505 * configure.in: improved LDAP library checking (thanks to Alfons).
3515 compose_wrap_line_all(): backed out the change to join lines that
3520 * configure.in: require at least gpgme-0.3.5.
3524 * src/alertpanel.c: alertpanel_create(): minor modification.
3533 * src/alertpanel.c: alertpanel_create(): modified the layout.
3534 * src/rfc2015.c: check_signature(): don't abort on error.
3538 * src/compose.c: compose_wrap_line_all(): freeze widget only if
3539 required to repress flickers.
3543 * src/compose.c: improved line wrapping.
3545 compose_wrap_line_all(): also join lines that are not indented.
3546 dump_text(): handle multi-byte strings correctly.
3550 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
3551 (go to next line when space is entered at line limit).
3555 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
3560 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
3561 checking to prevent confusion.
3565 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
3566 method Folder::get_msg_list().
3567 * src/account.c: account_edit_prefs(), account_delete(): use
3568 folderview_set_all() instead of folderview_rescan_all().
3569 * src/folderview.[ch]:
3570 folderview_check_new_all(): new. Updates all folders.
3571 folderview_rescan_tree(): confirm before executing.
3572 folderview_rescan_all(): commented out since it's not used anymore.
3573 folderview_update_item_foreach(): added a flag for summary update.
3574 * src/inc.c: inc_finished(): update summary only when
3575 prefs_common.scan_all_after_inc is set.
3576 inc_drop_message(): set mtime of target folder to 0 to force
3577 the updating of summary.
3578 inc_start(), get_spool(): update also summary when updating
3580 * src/mainwindow.c: changed 'File - Rescan folder tree' to
3581 'File - Check for new messages in all folders'.
3585 * src/compose.c: compose_write_to_file(): clearsign message body
3587 compose_clearsign_text(): new. Replaces the string with clearsigned
3589 * src/prefs_account.c: added an option for clearsign.
3590 * src/rfc2015.c: rfc2015_clearsign(): new.
3591 pgp_sign(): added a flag for clearsign.
3592 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
3593 name (needs to be freed by caller).
3594 str_write_to_file(), file_read_to_str(): new.
3598 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
3599 to avoid memory leak.
3603 * src/base64.c: include string.h for memcpy().
3604 * src/gtksctree.c: use macro ABS() instead of function abs().
3605 * src/prefs_account.c
3606 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
3607 conflict with the function send() in sys/socket.h.
3608 * src/mainwindow.c: commented out the unnecessary functions.
3609 * src/utils.c: canonicalize_file_replace(): correct warning message.
3613 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
3614 temporary files in ~/.sylpheed/.
3615 * src/main.c: create temporary directory in ~/.sylpheed/.
3617 src/inc.c: create temporary files in ~/.sylpheed/, and modified
3619 compose_exec_ext_editor(): fixed a bug that failed to create the
3620 temporary file if g_get_tmp_dir() returned directory other than
3625 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
3629 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
3630 to replace the file when the given file and temporary file are not
3631 on the same filesystem.
3632 copy_file(): added a flag whether to keep backup.
3633 move_file(): added a flag whether to overwrite the destination file.
3637 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
3638 * src/select-keys.c: modified key selection dialog.
3642 * src/socket.[ch]: my_gethostbyname(): new.
3643 * src/utils.c: get_domain_name(): return FQDN instead of short
3644 hostname (thanks to Bob Woodside).
3645 * src/template.c: made the debug messages less verbose.
3649 * src/prefs_common.[ch]: removed obsolete default sign key setting.
3650 * src/utils.c: canonicalize_file(): correct the error check of
3655 * src/compose.c: compose_write_to_file():
3656 canonicalize line endings before encrypting/signing (this will fix
3657 interoperability with other MUAs).
3658 Removed unnecessary strdup.
3659 Don't encrypt/sign draft message.
3661 canonicalize_file(), canonicalize_file_replace(): new.
3663 src/select-keys.c: changed g_message() to debug_print() and
3665 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
3666 MIME structure scanning.
3667 * src/textview.c: textview_add_part(): show signature status in
3670 src/sigstatus.c: modified translatable strings and some MIME
3675 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
3676 the temporary file when saving from queue.
3682 src/prefs_account.[ch]
3683 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
3684 Modified some messages.
3688 * src/textview.c: textview_scan_header(): fixed a memory leak
3693 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
3694 in right conditional block.
3698 * src/compose.c: compose_wrap_line_all(): fixed character buffer
3704 log_error(): add time stamp to log messages.
3709 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
3713 * src/socket.c: implemented socket I/O timeout.
3715 * src/pop.c: check errors and return error value correctly.
3719 * src/prefs_actions.c: made the action's input/output dialog display
3720 without delay. Made the dialog modal instead of making window
3721 insensitive. Also cleaned up its UI.
3725 * implemented --attach command line option.
3727 Cmd::attach_files: new member to store file paths.
3728 parse_cmd_opt(): added --attach option. --compose option is implied.
3729 prohibit_duplicate_launch()
3730 lock_socket_input_cb(): added "compose_attach" message.
3733 src/textview.c: renamed compose_new_with_recipient() to
3734 compose_new(), and added an argument for attachment files.
3738 * src/logwindow.c: freeze GtkText widget while hidden.
3739 log_window_append(): changed the header for message and warning.
3743 * src/news.c: implement automatic cache expiration.
3744 news_delete_expired_caches(): new.
3745 news_get_article_list(): fixed a bug that nonexistent messages
3746 were not removed from list.
3747 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
3748 procmsg_get_last_num_in_cache().
3749 * src/utils.[ch]: remove_expired_files(): new.
3754 inc_mail(): force summary refresh when using external command for
3756 inc_all_account_mail(): fixed a bug on spool checking failure.
3767 src/editldap_basedn.c
3769 src/prefs_common.c: fixed memory leaks which didn't free strings
3770 gtk_editable_get_chars() returned. And minor code cleanups.
3772 src/vcard.h: removed C++-style comments.
3776 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
3777 strings which include both multi-byte and us-ascii characters.
3781 * src/utils.c: remove_numbered_files(): don't try to unlink()
3784 conv_get_code_conv_func(): return conv_anytodisp() if charset is
3786 conv_unmime_header_overwrite()
3787 conv_unmime_header(): do conv_anytodisp() before decoding header.
3795 * src/compose.c: added 'Tools/Actions' menu.
3799 * src/base64.c: a minor fix for BASE64VAL() macro.
3803 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
3811 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
3812 base64_encode(), base64_decode(): new.
3813 * src/rfc822.[ch]: removed.
3815 src/about.c: removed the copyright notice for fetchmail.
3821 src/unmime.[ch]: rewrote the MIME decode routines.
3823 unmime_quoted_printable_line(): new.
3825 procheader_get_one_field()
3826 procheader_get_unfolded_line(): remove also CR.
3830 * libkcc: removed from the source tree.
3832 src/about.c: removed the copyright notice for libkcc.
3833 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
3835 * src/prefs_actions.c: removed unnecessary spaces/tabs.
3839 * src/prefs_actions.c: comply with the coding style.
3840 Modified the UI design.
3841 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
3842 menu when multiple messages are selected.
3846 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
3847 update_actions_menu(): simplified the menu deletion.
3848 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
3852 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
3853 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
3858 * configure.in: added check for strchr.
3862 * src/prefs_common.[ch]
3863 src/inc.c: added an option to inhibit receive error dialog.
3867 * src/account.c: account_find_from_address(): support multiple
3868 addresses in header.
3872 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
3873 GtkCTreeNode* so that it won't become invalid after the row move.
3874 Removed dependency to gtkutils.c.
3875 * src/prefs_common.[ch]
3876 src/summaryview.c: summary_selected(): added an option to show
3877 message when cursor keys are pressed on summary view.
3883 src/compose.c: changed "host_alias" to "target_alias" so that it
3884 shows the correct system name on cross-compiling (thanks to
3889 * src/prefs_account.[ch]: added the option menu to force an
3890 authentication method for SMTP AUTH.
3892 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
3893 specify the authentication method for SMTP AUTH.
3894 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
3898 * src/prefs_common.[ch]
3899 src/compose.c: enabled "Wrap on input".
3903 * src/summaryview.[ch]
3904 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
3905 Made some code cleanups.
3910 src/prefs_common.[ch]: added the hidden option to specify the
3911 policy of the vertical scrollbar on folder view.
3915 * src/messageview.[ch]:
3916 messageview_copy_clipboard(): fixed a bug that couldn't copy text
3918 messageview_get_current_textview(): new.
3919 messageview_get_text_widget(): removed.
3920 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
3921 * src/compose.[ch]: implemented the "Paste as quotation" feature.
3922 text_inserted(): new callback for "insert_text" signal.
3923 Add quote mark to the pasted text if Compose::paste_as_quotation
3928 * src/compose.c: if the Content-Type of a file is text/*, check
3929 its content and set the optimal Content-Transfer-Encoding (thanks
3934 * src/textview.c: textview_key_pressed(): pass key press event to
3935 main window to activate menu shortcuts (thanks to Alfons).
3939 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
3940 for mtime to prevent flooring.
3943 imap_move_msgs_with_dest()
3944 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
3946 imap_parse_envelope()
3947 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
3948 full information of messages and simplify the parser. Also fixed
3949 the bug that References header was ignored on threading.
3950 imap_parse_one_address()
3951 imap_parse_address(): removed.
3952 imap_get_header(): new. It reads the RFC822 header and returns
3953 a newly allocated string.
3954 * src/procheader.[ch]: changed procheader_parse() to
3955 procheader_parse_stream() and added different interfaces for it.
3959 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
3967 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
3968 could be inserted into the hash table.
3969 inc_write_uidl_list(): a minor code cleanup.
3970 * src/mainwindow.c: main_window_get_current_state():
3971 make the state unexecutable on an empty folder.
3972 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
3973 * src/pop.c: minor code cleanups.
3977 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
3978 corrected the behavior of the radio buttons.
3982 * implemented 'Delete messages after N days' feature for POP3.
3984 inc_get_uidl_table()
3985 inc_write_uidl_list(): moved the location of UIDL list file from
3986 RC_DIR/uidl-* to RC_DIR/uidl/*.
3987 Added received time for each UIDLs.
3988 src/main.c: main(): create RC_DIR/uidl/ directory.
3989 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
3990 Added recv_time to Pop3MsgInfo.
3991 src/prefs_account.[ch]: added an option for the number of days for
4000 * src/folder.c: folder_set_missing_folders(): fixed a bug that
4001 caused multiplication of special folders on startup if their
4003 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
4008 * src/compose.c: compose_reply(), compose_forward(): reverted the
4009 last change since it causes lockup problem.
4013 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
4015 compose_new_with_recipient(): workaround for initial XIM problem.
4019 * src/mainwindow.c: sort ascending / descending order can be
4020 specified with separated menu items.
4021 Added "View/Sort/Don't sort" menu item.
4022 * src/summaryview.[ch]: summary_sort(): added an argument for
4027 * implemented persistent sort order.
4029 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
4030 folder_write_list_recursive(): write sorting state.
4032 src/summaryview.[ch]: summary_show(): sort if required.
4033 select the top node on descending sort.
4034 Removed SummarySortType and sorting state variables from
4042 src/prefs_account.[ch]: enabled NNTP over SSL.
4043 * src/nntp.c: nntp_group(): issue MODE READER command and retry
4044 when GROUP command once failed (this seems to avoid problems on
4045 some broken news servers).
4049 * faq/it/*.html: corrected DOS linebreaks.
4050 * faq/*/*.html: changed ">" to ".
4054 * src/prefs_account.c: prefs_account_protocol_activated(): hide
4055 unnecessary frames in SSL tab.
4061 src/prefs_account.[ch]: enabled STLS command in POP3.
4062 * src/account.c: account_clist_set_row(): display TLS setting.
4066 * src/compose.c: compose_send_later_cb(): support redirect function.
4069 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
4071 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
4075 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
4076 * src/compose.c: compose_create(): removed unrequired lines.
4080 * src/news.c: news_scan_group(): fixed a bug that set the wrong
4081 values in some cases.
4082 * src/prefs_account.c: corrected English in Advanced - Folder
4087 * src/textview.c: textview_show_message(), textview_show_part():
4088 fixed a bug that GtkSText *text pointed the incorrect object.
4089 textview_add_part(): freeze GtkSText while adding RFC822 headers.
4090 textview_show_part(): fixed a bug that couldn't display single
4091 part MIME message as text.
4095 * src/compose.c: compose_redirect_write_to_file(): correct the target
4096 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
4097 incomplete file when an error occured.
4102 compose_create(): disable menus for draft on redirection mode.
4103 compose_redirect_write_to_file(): correct the error handling of
4105 * src/prefs_common.c: turned off the "Display recipient on `From'
4106 column if sender is yourself" option by default.
4110 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
4111 Based on the implementation of the claws branch.
4112 compose_redirect(): create a new window and make it uneditable.
4113 compose_redirect_write_to_file(): copy headers and body of
4114 original message except for some.
4115 compose_redirect_write_headers(): add extra "Resent-*" headers.
4116 compose_create(): set menu sensitivity for redirection mode.
4120 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
4121 space is inserted between encoded string and the following folded
4122 one (thanks to Masahiro Tomita).
4126 * src/mainwindow.[ch]: some refactoring has been made.
4127 main_window_toggle_message_view(): moved summary_toggle_view_real()
4129 * src/messageview.[ch]: messageview_is_visible(): new.
4130 * src/summary_search.c
4131 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
4132 Instead use messageview_is_visible().
4136 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
4137 * src/summaryview.[ch]:
4138 summary_expand_threads(), summary_collapse_threads(): new.
4142 * src/mainwindow.c: Fixed the behavior of
4143 '/View/Show or hide/Folder tree' and
4144 '/View/Show or hide/Message view' toggle menu.
4145 Removed '/View/Toggle summary view' menu and integrated the
4146 function into '/View/Show or hide/Message view'.
4147 main_window_set_widgets(): change the state of toggle menu items.
4148 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
4153 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
4154 MIME contents other than text as children of message/rfc822 part.
4156 procmime_mimeinfo_next(): modified for message/rfc822 part which
4157 content-type is single part MIME.
4158 procmime_scan_multipart_message(): fix for nested message/rfc822
4159 part. Corrected the size of the contents of message/rfc822.
4160 * src/textview.c: textview_show_part(): extract the contents of
4161 multipart/* and message/rfc822. Some code cleanups.
4162 textview_add_parts(): new. It adds the all parts under a part to
4164 textview_clear(): reset body_pos and cur_pos.
4168 * src/addr_compl.c: modified so that it behaves better.
4169 get_address_from_edit(): ignore comma inside of brackets.
4170 completion_window_apply_selection(): new. Only apply the current
4172 completion_window_accept_selection(): removed.
4173 address_completion_complete_address_in_entry(): minor code cleanup.
4174 don't replace address in entry here.
4175 completion_window_select_row(): always apply clist selection to
4177 completion_window_key_press(): don't apply selection here.
4181 * src/imap.c: imap_create_folder(): keep trailing directory separator
4182 to create a folder that contains sub folder.
4186 * src/foldersel.c: sort tree with case insensitive.
4187 * src/mainwindow.c: allsel_cb()
4188 src/messageview.c: messageview_select_all(): fixed 'Select all'
4190 * src/mainwindow.c: removed common and account prefs button from
4195 * src/compose.c: compose_account_option_menu_create(): check if
4204 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
4205 manual/en/*: updated the English manual.
4207 faq/it/*: added German and Italian FAQ.
4210 faq/fr/*: updated FAQs.
4212 src/mainwindow.c: added German and Italian language.
4216 * src/prefs_account.c: turn off "receive at get all" option by default
4217 when creating an IMAP or News account.
4221 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
4222 * src/prefs_folder_item.c: show also identifier path.
4223 Made layout using table. Show uneditable entry using background
4225 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
4230 * src/automaton.[ch]: added UI callback to Automaton.
4232 src/pop.c: use callback instead of calling inc_progress_update()
4234 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
4239 * src/folderview.c: properly sort abbreviated newsgroups.
4244 src/prefs_common.[ch]
4245 src/summaryview.c: added an option to specify the minimum length
4246 for abbreviated newsgroups name.
4250 * src/folderview.c: folderview_check_new(): skip unselectable folders.
4251 * src/summaryview.c: added 'Create filter rule' to the context menu.
4252 * src/imap.c: some code cleanups.
4253 imap_scan_tree_recursive(): get path separator for each calls.
4254 imap_get_path_separator(): new.
4258 * src/imap.[ch]: supported namespace for others/shared folders
4260 imap_parse_namespace(): parse also others/shared namespace.
4261 imap_find_namespace(): search also others/shared namespace.
4263 strchr_parenthesis_close(): return pointer to closing parenthesis.
4264 strsplit_parenthesis(): split parenthetic list into array of
4269 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
4270 parse date string like "Mon,6 May 2002 20:31:12 +0800".
4271 procheader_scan_date_string(): new. Separated string scanning
4272 part from procheader_date_parse().
4276 * src/summary_search.c: summary_search_execute(): unlock while
4277 selecting summary row (thanks to Martin Schaaf).
4278 * src/summaryview.c: summary_set_column_titles(): reversed the
4279 direction of the arrow so that it matches with Win/Mac style.
4283 * src/compose.c: compose_write_headers(): quote self address name
4284 if required. Some code cleanups. Don't override Newsgroups and
4285 Cc with custom headers.
4286 * src/imap.c: imap_add_msg(): return UID for appended message.
4287 * src/compose.c: compose_queue(): check if queue folder exists.
4288 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
4290 imap_open(): removed an unrequired argument.
4294 * src/utils.[ch]: trim_string(): new. It trim characters longer than
4295 the specified length and adds "...".
4296 * src/folderview.c: trim folder name when displaying dialog.
4300 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
4302 * src/folderview.c: folderview_select()
4303 src/summary_search.c: summary_search_execute(): lock summary view
4304 while searching (thanks to Martin Schaaf).
4312 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
4316 * src/summaryview.c: summary_show(): fixed a bug that didn't process
4318 * src/account.c: account_edit_prefs(): fixed a crash bug when account
4320 * src/prefs_account.c: prefs_account_apply(): display error dialog
4321 if account name is empty.
4322 * src/imap.c: changed some log_print() to debug_print() to reduce
4327 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
4331 mh_do_move_msgs_with_dest()
4333 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
4334 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
4335 if stat() succeeded.
4337 imap_fetch_msg(): SELECT mailbox before FETCH if required.
4338 imap_scan_folder(): set last_num using the value of UIDNEXT.
4339 imap_select(): return immediately if there is no need for SELECT.
4340 preserve the path of currently selected mailbox.
4341 imap_status(): added UIDNEXT.
4345 * src/folder.c: folder_item_scan(): removed the warning.
4346 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
4347 setting case sensitivity.
4351 * src/mainwindow.c: main_window_create(): restrict the minimum size.
4355 * src/compose.c: merged the new line-wrapping routine.
4356 join_next_line(): fixed a bug that didn't join multibyte
4358 get_indent_length(): modified enums and variable names.
4359 INDENT_CHARS: don't indent ':'.
4361 folderview_rename_folder_cb()
4362 folderview_delete_folder_cb(): support folder identifier.
4363 folderview_rm_imap_folder_cb(): integrated with
4364 folderview_delete_folder_cb().
4368 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
4369 * src/folderview.c: folderview_check_new(): abort checking if
4370 folder_item_scan() failed.
4374 * src/imap.c: imap_create_missing_folders(): create only INBOX and
4376 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
4377 type of news folders unchangeable.
4378 prefs_folder_item_destroy(): use prefs_dialog_destroy().
4379 * src/prefs.[ch]: prefs_dialog_destroy(): new.
4383 * src/prefs_account.[ch]: added special folder setting to Advanced
4384 tab. Also moved "IMAP server directory" setting to there.
4385 * src/account.[ch]: account_get_special_folder(): new. It returns
4386 the optimal special folder for accounts.
4387 * src/compose.c: use account_get_special_folder().
4388 * src/prefs_folder_item.[ch]: new. Implemented folder property
4389 dialog, and the special folder settings (most of the functions in
4390 claws are not integrated yet, and the structure is slightly
4392 * src/folderview.c: enabled Property menu.
4396 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
4397 scanning when encountering separators ',' and ';'.
4401 * src/mainwindow.c: reorderd the menu a bit.
4402 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
4403 compose_reply_set_entry(): made 'Reply to sender' work for
4408 * src/compose.c: compose_create(): set geometry hints to restrict
4409 the maximum size of window.
4410 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
4411 imap_get_uncached_messages()
4412 imap_cmd_fetch(): ignore responses which don't include FETCH.
4416 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
4417 the clause for OpenSSL).
4421 * src/prefs_account.c
4422 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
4428 src/session.[ch]: first reorganization of SMTP protocol handling.
4429 SMTPSession: new class which is a sub class of Session.
4430 smtp_session_new(): moved send_smtp_open() into this function.
4431 smtp_from(): moved SMTP AUTH calls into smtp_auth().
4432 smtp_auth(): use server response for SMTP AUTH method.
4433 smtp_ehlo(): read server response and set auth type flags.
4434 smtp_helo(): separated EHLO command.
4435 smtp_ok(): return the last server response if the buffer is
4437 * src/esmtp.[ch]: merged into smtp.[ch].
4438 * src/imap.c: imap_session_destroy_all(): use session_destroy().
4442 * src/imap.c: imap_open(): show warning message if IMAP4 session
4443 can't be established.
4447 * src/compose.c: made template able to be inserted into the current
4449 * src/mainwindow.c: moved some menu items under the submenu
4450 '/View/Show or hide'.
4455 src/inc.c: changed folder_find_item_from_path() to
4456 folder_find_item_from_identifier().
4458 src/prefs_filter.c: use folder_item_get_identifier() to specify
4463 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
4464 existed in claws' implementation).
4465 folder_find_from_name(): find Folder from name and type.
4466 folder_get_identifier(): return Folder id.
4467 folder_item_get_identifier(): return FolderItem id.
4468 folder_find_item_from_identifier(): find FolderItem from id.
4469 folder_get_type_string(): return folder type string.
4470 folder_get_type_from_string(): return FolderType from string
4471 (and fixed the wrong g_strcasecmp() usage).
4473 src/import.c: use folder_item_get_identifier() and
4474 folder_find_item_from_identifier().
4478 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
4479 point the correct address after reading the continuous line.
4480 imap_scan_folder(): set new number to 0 if unseen number is 0.
4481 imap_parse_flags(): don't add new and unread flag if \Seen flag
4483 * ac/Makefile.am: removed gpgme.m4 from MACROS.
4487 * fixed the old problem that couldn't add flags to currently opened
4490 compose_send(): update outbox after saving.
4492 compose_draft_cb(): use procmsg_add_flags().
4493 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
4495 * src/main.c: send_queue(): send from all queue folders.
4496 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
4498 procmsg_flush_mark_queue(): new. Write all queued flags into file.
4499 procmsg_add_flags(): new. Add specified flags to the folder.
4500 procmsg_send_queue(): added an argument to specify queue folder.
4501 procmsg_save_to_outbox(): use procmsg_add_flags().
4502 * src/summaryview.c:
4503 summary_show(): up the opened flag of FolderItem.
4504 summary_clear_list(): down the opened flag of FolderItem.
4505 summary_write_cache(): call procmsg_flush_mark_queue().
4509 * src/summaryview.[ch]: trim the tail of folder name and selected
4510 number on the status label if the space is not enough.
4514 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
4515 set SpecialFolderItemType when creating special folders under
4517 * ac/gpgme.m4: removed.
4519 * ac/missing/gdk-pixbuf.m4
4520 ac/missing/gettext.m4
4522 ac/missing/imlib.m4: added for convenience.
4526 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
4527 shown after the decoded challenge string. Fixed a memory leak.
4529 * src/compose.c: compose_draft_cb(): mark draft messages as read.
4530 * src/folderview.c: folderview_update_node(): disable emphasis
4531 for Outbox and Draft folders.
4535 * src/messageview.c: messageview_show(): fixed a memory leak.
4536 * src/summaryview.c: summary_save_as(): show error dialog if copy
4538 * src/about.c: about_show(): make the window active if it is already
4543 * src/compose.c: show confirmation dialog before sending if Subject
4545 compose_check_entries(): new.
4547 compose_send_later_cb(): use compose_check_entries().
4548 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
4552 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
4553 responses with continuous line correctly, and fixed a memory leak.
4557 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
4559 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
4560 after pasting with middle button to prevent the selection growth.
4565 folderview_rename_folder_cb()
4566 folderview_delete_folder_cb(): modify filter rules only if the
4567 target folder is in the default mailbox.
4568 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
4575 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
4576 Moved 'Delete duplicated messages' under 'Tools'.
4580 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
4582 * src/imap.c: imap_create_special_folder(): fixed a crash bug
4583 when folder creation failed, and re-try to create folders under
4585 imap_scan_tree_recursive(): don't automatically add namespace
4586 prefix if it's INBOX. Search also under the INBOX for special
4588 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
4593 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
4594 abbreviated newsgroup name.
4595 * src/folderview.c: folderview_update_node(): display newsgroups
4596 with abbreviated name if name and path is the same.
4597 * src/summaryview.c: summary_status_show(): show the newsgroup with
4603 src/folderview.c: changed the label 'Draft' to 'Drafts'.
4604 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
4605 imap_create_missing_folders(): fixed the wrong assignment of
4606 Queue folder to draft.
4610 * enabled Sent / Draft / Queue folders on IMAP server.
4611 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
4612 queue and draft folder if they exist.
4614 imap_create_trash(): removed.
4615 imap_create_special_folder(): new. Generalized imap_create_trash().
4616 imap_create_missing_folders(): automatically create missing folders.
4617 imap_is_msg_changed(): added the dummy method.
4618 imap_scan_tree_recursive(): search also Sent, Draft and Queue
4619 folders. Minor code cleanups.
4620 imap_parse_envelope(): check for null strings.
4621 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
4622 for messages on IMAP folder.
4626 * src/compose.c: compose_send(): use account's outbox folder
4628 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
4629 that the outbox can be specified.
4633 * src/compose.c: don't save to outbox when messages are queued.
4634 compose_save_to_outbox(): moved to procmsg.c.
4635 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
4637 procmsg_save_to_outbox(): new. Removes the queueing headers if
4638 needed, and adds the given file to the outbox.
4642 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
4643 get_indent_length(): treat ':' and '#' also as quote char, and
4644 cleaned up using strchr().
4648 * src/mainwindow.c: modified some menu items.
4652 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
4653 (current "outbox" will be kept until rescan).
4654 * src/folder.c: folder_set_missing_folders(): create the missing
4657 src/folderview.c: changed 'Outbox' to 'Sent'.
4658 * src/main.c: call folder_set_missing_folders().
4659 * src/mh.c: mh_scan_tree(): create missing folders.
4660 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
4661 didn't set the menu sensitivity correctly.
4666 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
4667 folderview_rename_folder_cb(): reopen the current folder when
4668 the ancestor is renamed.
4669 imap_rename_folder(): new method implementation.
4671 imap_rename_folder_func(): new.
4672 imap_remove_folder(): remove also the cache directory.
4676 * src/imap.c: implemented locale encoding <-> modified utf-7
4677 conversion, and supported i18n of folder name (thanks to Suzuki
4679 imap_path_separator_subst(): handle the escape characters of
4681 imap_modified_utf7_to_locale()
4682 imap_locale_to_modified_utf7(): new.
4683 imap_create_trash(): modified so that it create the Trash folder
4684 to the correct location when imap directory is specified.
4685 imap_get_real_path(): removed debug print.
4689 * src/socket.c: implemented timeout for DNS lookup and connect().
4690 sock_connect_by_hostname(): timeout support and code cleanup.
4691 sock_connect_with_timeout(): new.
4692 sock_peek(): implemented SSL peek.
4696 * src/messageview.c: messageview_show(): display single-part
4697 text/html messages with the normal text view.
4711 src/prefs_customheader.c
4712 src/prefs_display_header.c
4727 src/xml.c: added 'b' to the option of all fopen().
4735 * src/ssl.[ch]: match its coding style.
4736 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
4740 faq/en/sylpheed-faq*.html
4742 faq/es/sylpheed-faq*.html
4744 faq/fr/sylpheed-faq*.html
4750 src/manual.[ch]: added FAQs in English, Spanish and French.
4754 * manual/en/sylpheed*.html: updated to the latest version.
4759 src/mgutils.c: include string.h to remove warning about strlen()
4773 src/summaryview.c: added break to the last label of switch to
4774 prevent the 'deprecated use of label at end of compound statement'
4776 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
4780 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
4782 inc_cancel_all(): new. It cancels the all current incorporation.
4783 * src/mainwindow.c: added 'Cancel receiving' menu.
4784 * src/textview.c: a minor fix for single-part MIME messages, and
4785 a bit of cleanup for textview_write_body().
4789 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
4790 information if any errors occured before issuing UIDL command.
4791 src/inc.h: added uidl_is_valid to Pop3State.
4792 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
4800 * src/mimeview.c: mimeview_create(): set the initial notebook page
4802 * src/folderview.c: folderview_selected(): scroll the view if the
4803 selected row is hidden.
4804 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
4805 and select the added row.
4806 * src/summaryview.c: fix threading for null message ids.
4810 * src/textview.c: textview_show_message(): follow message/rfc822
4812 textview_add_part(): add a caption before the attached text files.
4813 textview_show_header(): don't add the newline.
4814 * src/messageview.c: enabled message search also in MIME mode.
4818 * src/messageview.c: messageview_show(): set header state of
4819 MimeView's TextView, too.
4820 * src/mimeview.c: mimeview_show_message(): call
4821 textview_show_message() to display message.
4822 * src/textview.c: textview_add_part(): new. It adds the content
4823 of message part without clearing the view.
4824 textview_show_message(): display all parts with appropriate
4826 textview_write_body(): separated from textview_show_part().
4831 src/prefs_common.c: added ISO-8859-15 to the codesets for
4832 displaying and sending.
4833 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
4834 conversion failed, and made caller deal with it.
4835 * src/compose.c: compose_write_to_file(): show error dialog when
4836 code conversion failed, and let user select whether to send it
4838 * src/textview.c: textview_write_line(): show the original string
4839 if code conversion failed.
4843 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
4844 if copy_mbox() failed (thanks to Alexander Kabaev).
4845 * src/prefs_account.[ch]: added separate user ID / password setting
4847 * src/send.c: send_message_smtp(): use separate user ID / password
4848 for SMTP AUTH if it is specified.
4853 src/pop.[ch]: refactored the UIDL management.
4854 store the information of messages into the array of Pop3MsgInfo
4855 structure, and do full scanning of not retrieved messages.
4861 src/mainwindow.c: set WMCLASS for window/dialog.
4862 * src/codeconv.c: conv_codeset_strdup(): return source string
4863 when jconv_alloc_conv() failed.
4867 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
4874 src/summaryview.c: implemented the new notebook tab interface for
4876 * src/textview.[ch]: fixed line space related glitches.
4880 * src/prefs_filter.c:
4881 prefs_filter_rename_path()
4882 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
4886 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
4887 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
4889 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
4890 cancelled, and fixed potential crash bug.
4891 * src/grouplistdialog.c: enabled cancelling of data receiving.
4892 * src/news.c: news_get_group_list(): destroy current session if
4897 * src/manage_window.[ch]: fixed a bug that caused crash when
4898 the main window was hidden.
4899 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
4900 Monitor "unmap_event", "destroy" events.
4907 src/grouplistdialog.c
4911 src/message_search.c
4915 src/prefs_customheader.c
4916 src/prefs_display_header.c
4918 src/prefs_template.c
4919 src/summary_search.c
4920 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
4921 connect signals for window management.
4925 * src/prefs_account.[ch]: added receive size limit option.
4926 * src/pop.c: skip messages larger than the limit size.
4927 LOOKUP_NEXT_MSG(): new macro.
4928 * src/compose.c: compose_attach_append(): check whether the file
4933 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
4934 changed g_message()'s to debug_print() and g_warning().
4935 rfc2015_decrypt_message(): fixed a bug that duplicated message
4936 parts when decryption was failed/cancelled. And made some code
4938 * src/passphrase.c: made the dialog transient.
4939 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
4944 src/procmsg.[ch]: fixed a bug that failed to parse multipart
4945 messages if GPGME was enabled.
4946 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
4948 * src/prefs_account.c: prefs_account_privacy_create(): modified
4949 the vertical spacing.
4953 * src/menu.[ch]: menu_set_sensitive_all(): new.
4954 menu_set_insensitive_all(): made it a wrapper for
4955 menu_set_sensitive_all().
4956 * src/prefs_account.c:
4957 prefs_account_open()
4958 prefs_account_protocol_set_optmenu(): made the protocol type
4959 unchangeable after creating an account.
4960 * src/compose.c: compose_attach_parts(): traverse MIME tree to
4961 extract all attathed files from nested multipart MIME message.
4965 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
4966 obtain minimum/maximum number, and to specify first number
4969 src/inc.c: enabled new message checking on news folder.
4970 * src/news.c: news_scan_group(): implemented. Guess new/unread
4971 message number from the response of GROUP command and the mark
4973 news_select_group(): return the total/first/last number.
4974 * src/prefs_account.c: prefs_account_receive_create(): modified
4975 the text of the 'Get all' check button.
4979 * src/account.c: made 'Get all' checkbox available for IMAP4 and
4981 * src/inc.c: corrected the argument of folderview_check_new().
4982 * src/prefs_account.c: modification for the "`Get all' checks for
4983 new mail on this account" checkbox.
4987 * src/folderview.[ch]:
4988 folderview_rescan_tree(), folderview_rescan_all(): renamed from
4989 folderview_update_tree() and folderview_update_all().
4990 folderview_update_all_node(): removed.
4991 folderview_check_new(): new. If the argument is NULL, it checks
4992 all local folders. If the arguments is specified, it checks
4993 the (local and remote) folder.
4996 inc_all_account_mail(): check also IMAP4 account.
5001 folderview_rename_folder_cb()
5002 folderview_delete_folder_cb(): modify the filter rules when folder
5004 * src/prefs_filter.[ch]:
5005 prefs_filter_rename_path(): new. It renames the destination paths
5007 prefs_filter_delete_path(): new. It deletes the filter rules if
5008 the destination paths matched.
5009 * thanks to Neill Miller for above.
5013 * src/compose.c: inherit attached files when forwarding or reediting
5014 (rewrote the code in claws branch).
5015 compose_attach_parts(): new. It extracts and attaches the files
5016 in the given message.
5017 compose_attach_append(): chnaged the types of arguments.
5018 * src/messageview.c: messageview_show(): moved the GPG decryption
5020 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
5028 * src/summary_search(): summary_search_execute(): scroll the view
5029 when message view is hidden.
5033 * src/foldersel.c: foldersel_set_tree(): made different type of
5034 folders selectable in moving mode.
5035 * src/folderview.[ch]: folderview_update_msg_num(): compare the
5036 numbers with the CTree's labels, and don't update folder_item here.
5037 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
5038 implemented moving between different type of folders.
5039 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
5040 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
5041 mh_move_msg() and mh_move_msgs_with_dest()).
5042 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
5043 moving between different type of folders.
5044 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
5045 * src/summaryview.c: summary_status_show(): update folder_item
5047 * po/POTFILES.in: removed reference to headerwindow.c.
5048 * src/summaryview.c: summary_step(): fixed the behavior on the
5049 head and tail of the list.
5053 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
5054 all header' toggle state from the property of the TextView.
5055 * src/summaryview.[ch]: made 'All header' toggle switch.
5056 Prohibited unnecessary menu update.
5057 summary_select_node(): added the argument 'do_refresh'.
5062 * src/utils.c: strsplit_with_quote(): remove quotation characters
5063 in the function (fix composer's external editor problem) (thanks
5064 to Stefaan A Eeckels).
5065 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
5066 main_window_menu_callback_block()
5067 main_window_menu_callback_unblock(): new.
5068 main_window_set_menu_sensitive(): set the toggle status of
5070 show_all_header_cb(): read the status of toggle menu item.
5071 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
5072 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
5077 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
5078 the path separator (thanks to Sergey Vlasov).
5079 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
5080 if the length of selection is zero.
5081 Fixed the assertion.
5082 * src/utils.c: str_open_as_stream(): return immediately if
5083 the length of str is zero.
5084 * src/headerwindow.[ch]: removed.
5086 src/inc.c: removed stale thread support codes.
5090 * src/procmsg.c: procmsg_open_message(): modified so that it
5091 returns the stream of decrypted message file if it exists
5092 (this fixes the failure of gpg decryption in messageview.c).
5102 src/prefs_template.c
5104 src/quote_fmt_parse.y
5106 src/utils.[ch]: if the part of the message text is selected, use
5107 it for quoted text instead of the entire message body (thanks to
5109 src/utils.[ch]: str_open_as_stream(): new. It returns an
5110 temporary stream for the given string.
5111 * src/main.c: added "--send" command line option.
5112 * src/compose.c: compose_reply_set_entry(): add From address to
5113 Cc if Reply-To and to_all are both specified.
5114 * Makefile.am: correct the Source: line in the RPM spec file in
5119 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
5121 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
5122 that specifies the folder selection type.
5133 src/prefs_customheader.c
5135 src/summaryview.c: made it compile with C compilers other than gcc
5136 (thanks to Shawn Houston).
5140 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
5142 * src/prefs_common.c: made the key binding setting separate dialog.
5143 * src/addressbook.c: addressbook_format_address(): add "" around
5144 the display name if it contains comma (thanks to Satoshi Watanabe).
5145 * src/addr_compl.c: get_complete_address(): add "" around the
5146 display name if it contains comma.
5147 get_address_from_edit(): handle the quotation character correctly.
5148 * src/addr_compl.c: get_complete_address()
5149 src/addressbook.c: addressbook_format_address(): fixed a bug that
5150 caused wrong text processing if the display name is empty.
5155 * src/compose.c: compose_exec_ext_editor_real(): replaced
5156 g_strsplit() with strsplit_with_quote().
5158 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
5160 folderview_drag_motion_cb()
5161 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
5162 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
5166 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
5167 of the message is different from the current mailbox.
5168 Return the correct value.
5169 imap_cmd_append(): properly implemented the APPEND command.
5174 src/messageview.[ch]
5175 src/summaryview.[ch]
5176 src/textview.[ch]: show all headers in the message view, and don't
5177 use the header window anymore.
5179 src/prefs_common.c: changed the default shortcut of 'compose new
5182 src/summaryview.[ch]: summary_display_msg_selected(): new.
5183 Show the selected message if 'Show all header' is selected.
5185 src/sourcewindow.c: changed some procmsg_get_message_file_path()
5186 to procmsg_get_message_file() to be sure the message is
5188 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
5189 any folder to MH folder.
5190 folderview_drag_received_cb(): copy messages instead of moving
5191 if the source folder is news or IMAP.
5193 src/summaryview.c: allow copy from news folder.
5197 * src/prefs_common.c: prefs_other_create(): modified the design
5198 of the external command settings.
5199 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
5200 preset closer to the original.
5201 Added Mutt keybind preset.
5202 Also change the compose keybinds.
5203 * src/compose.c: modified some menu shortcuts.
5204 * src/codeconv.c: modified the locale_table for Thai encoding.
5208 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
5209 * src/prefs_common.c: prefs_interface_create(): modified the
5210 description for menu shortcut.
5214 * src/gtkutils.[ch]: added gtk_stext_clear().
5217 src/summaryview.[ch]: enabled multiple forwarding.
5218 * src/summaryview.c:
5219 summary_set_marks_selected(): set marks for all selected row.
5220 summary_reply(): moved from summary_reply_cb().
5221 * compose.[ch]: compose_forward(): modified so that it receives
5223 * src/mainwindow.c: cleanup for reply processing.
5224 * src/summaryview.c: summary_reply(): fixed a memory leak.
5225 summary_key_pressed(): removed hardcoded mark / mark as unread
5228 src/prefs_common.c: added mark / mark as unread shortcuts to
5233 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
5234 if prefs_common.linewrap_quote is not set (it is only for
5235 auto-wrapping on reply).
5236 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
5237 when creating a new account.
5238 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
5240 * src/prefs_common.c: prefs_interface_create(): modified the
5241 description of key binds selector.
5245 * src/mimeview.c: fixed multiple dialog / moving by correcting
5246 button / key event processing.
5248 src/textview.c: pass some key press events to MimeView in MIME
5250 * src/prefs_filter.c: fixed a bug that didn't set the order of
5252 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
5253 empty_menurc string.
5258 src/prefs_common.c: reorganized the menu shortcuts.
5259 Added 'View - Toggle summary view'.
5260 * src/summaryview.[ch]: summary_toggle_view(): made it public
5262 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
5264 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
5265 closing the dialog with window manager (in more appropriate way).
5266 * src/imageview.[ch]
5268 src/mimeview.c: fixed wrong scrolling position when switching
5269 between text and image parts. Also free the unrequired image
5270 (thanks to Sergey Vlasov).
5271 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
5276 * src/prefs_common.c: implemented shortcut quick changer.
5277 * src/folderview.c: folderview_key_pressed()
5278 src/summaryview.c: summary_key_pressed(): removed some hardcoded
5284 procmime_get_mime_type()
5285 procmime_get_mime_type_table(): made the MIME type search case
5288 gtk_stext_delete_line(): delete newline on empty line.
5289 gtk_stext_delete_to_line_end(): delete newline if cursor is on
5291 (thanks to Yasuzaki Masayoshi.)
5296 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
5297 and made them customizable.
5298 * src/utils.[ch]: added get_file_size_as_crlf() which returns
5299 the file size when converting LF to CR+LF.
5303 * src/compose.c: enabled 'Ctrl-Enter' or
5304 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
5306 * src/gtkstext.c: disabled some Emacs key bindings.
5307 gtk_stext_key_press(): don't extend selection when Shift-Enter
5308 is pressed to prevent the disapperance of cursor.
5309 * src/summaryview.c: summary_select_next_unread(): added the button
5310 to search unread message again from the beginning to the dialog.
5311 * src/folderview.c: folderview_key_pressed(): go to next unread
5312 folder if space key is pressed on the empty folder.
5313 Move CTree focus before selecting row.
5317 * src/defs.h: modified the XLFD of default fonts.
5318 * src/textview.c: textview_create(): fixed a bug that caused
5319 segfault if font couldn't be loaded.
5321 src/grouplistdialog.c: compare subscribed groups with path.
5322 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
5326 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
5327 when URL is wider than wrapping margin.
5329 src/prefs_filter.[ch]
5330 src/summaryview.[ch]: added "Create filter rule" function based
5331 on the patch from Luca Rosellini.
5332 * src/summaryview.c: summary_filter_open(): added X-List and
5333 X-Mailing-list to the automatically detected headers.
5337 * configure.in: support Mac OS X (Darwin).
5341 * src/prefs_filter.c: use inc_(un)lock() instead of
5342 inc_autocheck_timer_{remove|set}().
5343 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
5344 instead of gtk_ctree_sort_node() so that messages within threads
5346 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
5347 target of sizeof was wrong and caused crash on Alpha architecture
5348 (thanks to Motonobu Ichimura).
5353 foldersel_gnode_func(): made the names of special folders
5355 foldersel_set_tree(): move the special folder to the top.
5356 * src/inputdialog.[ch]: input_dialog_query_password(): new.
5360 src/send.c: use input_dialog_query_password() instead of their
5361 own query functions.
5365 * src/defs.h: modified the default font.
5369 src/news.[ch]: moved the class definition and some methods to
5370 the proper location.
5374 * src/mimeview.c: mimeview_save_as()
5375 src/summaryview.c: summary_save_as(): put the default filename
5376 based on the subject.
5377 * src/utils.[ch]: added subst_chars() and subst_for_filename()
5378 which substitute some special characters with underscore.
5379 * src/filesel.c: filesel_select_file(): select the default filename.
5384 INSTALL.jp: added the description and the URL for libjconv.
5385 * src/mainwindow.c: menu entries cleanup.
5391 src/about.c: modified the copyright year.
5392 * src/gtkstext.h: added the notice for modification by the Sylpheed
5398 INSTALL.jp: added the URL for compface.
5406 * src/headerwindow.c
5409 src/sourcewindow.c: set wmclass when creating windows.
5413 * src/compose.c: compose_wrap_line_all(): fixed the bug that
5414 caused infinite loop when wrapping certain patterns of quoted text.
5418 * src/imap.c: imap_parse_envelope(): put the assertion after
5419 imap_parse_address() to prevent segmentation fault.
5424 src/mainwindow.c: modified some labels of menu items.
5425 * src/ldif.c: put the return value of fgetc() in a gint.
5426 * src/importldif.c: don't brace null strings with _().
5427 * src/compose.c: moved the position of Subject entry to the last.
5428 Reorganized the menu.
5429 compose_draft_cb(): added 'keep editing after saving to draft'
5434 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
5435 menu. Moved 'Help' menu to just the right of 'Configuration'.
5436 Removed 'File - Close' menu item.
5440 * src/mainwindow.c: some menu reorganization.
5441 * AUTHORS: updated. Added more contributors.
5442 * src/account.c: account_row_moved(): new. Moves displayed row to
5443 the appropriate position when up / down button are pressed.
5444 account_clist_set(): move displayed row to the appropriate position.
5446 src/mainwindow.c: set title and wmclass when creating windows.
5450 * src/gtkstext.c: fixed a bug that didn't show block cursor
5451 correctly. Removed unnecessary GdkGC copy. Fixed cursor
5456 src/undo.c: modified to use GtkSText.
5457 * src/menu.h: added #include <gtk/gtkmenu.h>.
5462 configure.in: added XIM checking for GTK+.
5463 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
5467 * src/filter.c: added #include <sys/types.h>.
5471 * src/template.c: template_write_config(): fixed a typo.
5472 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
5474 src/prefs_filter.c: supported regular expression (thanks to
5476 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
5477 undo state when pasted clipboard was empty.
5478 undo_check_size(): use g_list_last().
5480 undo_redo(): fixed NULL checking and made a bit of optimization.
5482 * src/prefs_common.c: changed the default value of linewrap length
5487 * reorganization of pixmap management.
5488 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
5489 * modified every files which directly use pixmaps data to use
5491 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
5492 undo_set_change_state_func(), and changed its argument from
5493 GtkWidget* to gpointer.
5494 undo_merge(): code cleanup.
5495 * src/compose.c: renamed compose_set_undo() to
5496 compose_undo_state_changed().
5500 * src/account.c: account_find_from_address(): made it case
5502 * src/addressbook.c: addressbook_create(): set wmclass.
5503 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
5506 src/ldif.[ch]: merged from the claws branch.
5507 * src/importldif.c: removed some warnings.
5508 imp_ldif_field_list_toggle(): fixed button checking.
5509 imp_ldif_dialog_create(): minor layout fix.
5510 * src/ldif.c: removed some warnings.
5512 INSTALL.jp: updated confirmation list.
5515 vcard_test_read_file(): fixed a memory leak of tagtemp.
5516 Some code cleanups (decreasing the indent level).
5519 src/syldap.[ch]: disabled runtime library checking because JPilot
5520 and LDAP libraries are linked on the build time, and the program
5521 doesn't execute without them anyway.
5523 src/addrindex.c: changed "J-Pilot" to "JPilot".
5524 Removed warning for atoi().
5528 * src/procmsg.c: procmsg_empty_trash()
5529 src/mainwindow.c: main_window_empty_trash(): empty trash only if
5530 it contains some messages.
5531 * src/imap.c: search_array_str(): new.
5532 imap_status(): fixed a bug that didn't parse the command response
5537 * merged undo function (by Jens Oberender).
5538 * src/undo.[ch]: new.
5539 undo_insert_text_cb(): fix for multibyte characters (obtain the
5540 number of letters instead of bytes).
5541 * src/compose.[ch]: added the code for undo.
5542 * src/prefs_common.[ch]: added the interface for setting undo level.
5546 * src/compose.c: compose_template_apply()
5547 src/prefs_template.c: prefs_template_clist_set_row()
5548 src/template.c: template_write_config(): don't replace To: and
5549 Subject: entry in composition window if they are empty.
5557 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
5558 * src/ldif.c: ldif_get_line(): ignore CR.
5559 * src/mimeview.c: mimeview_show_message(): search also text/html
5560 for first text part.
5564 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
5565 that didn't update accountrc if account_list == NULL (thanks to
5570 * src/utils.h: added the macro Xstrcat_a() that concatenates
5571 two strings and return alloca'd string.
5572 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
5573 handle folder name which includes some spaces correctly
5574 (based on the patch from Willem van Engen (thanks!)).
5575 * src/compose.c: compose_wrap_line_all(): fixed the crash when
5576 wrapping long lines if linewrap quotation is disabled and
5577 a word spanning more than one line.
5581 * applied the Tobias' patch with modification (thanks!).
5583 imap_msg_set_perm_flags()
5584 imap_msg_unset_perm_flags(): new. They set permanent flags to
5587 src/summaryview.c: set flags on IMAP server when flags are changed.
5591 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
5592 of gtk_container_remove() for workaround of a bug in
5593 Gtk{Text,Entry} (thanks to Sergey Vlasov).
5599 src/textview.c: replaced gtk_container_remove() with
5600 gtkut_container_remove(), and removed previous partial fix.
5604 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
5605 checked user ID on "local", but didn't on IMAP4.
5606 * src/imap.c: imap_session_get(): fixed a crash bug when
5607 rfolder->session == NULL.
5608 * Makefile.am: changed the arguments of tar from 'chojf' to
5610 * src/summaryview.c: summary_toggle_view(): disclaim the selection
5611 of textview before removing vpaned.
5615 * src/messageview.c: messageview_change_view_type(): disclaim the
5616 selection before removing textview. This solves the mysterious
5617 copy-paste disability (thanks to Melvin Hadasht).
5618 * src/textview.c: textview_set_font(): use
5619 gtk_editable_claim_selection() instead of
5620 gtk_editable_select_region().
5624 * src/prefs_template.c: prefs_template_window_create(): supported
5625 address completion on the To: entry.
5630 folder_count_total_msgs()
5631 folder_count_total_msgs_func(): use g_node_traverse() to traverse
5636 * src/compose.c: fixed a bug that empty body was refused.
5637 * src/prefs_template.c: fixed a bug that didn't set To: entry
5638 correctly. Display error dialog if format is illegal.
5639 * src/prefs_common.c
5641 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
5642 "{ }" to prevent confusion on using parenthesis.
5643 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
5647 * src/prefs_template.c: added colon to the header labels.
5652 src/prefs_template.c
5653 src/template.[ch]: added To field to the template.
5657 * src/textview.c: textview_show_part(): use first found
5658 message/rfc822 header.
5659 * src/folderview.c: added "Search messages..." to the context menu.
5660 * src/prefs_common.c: prefs_quote_description_create(): added
5661 description for characters which need to be escaped.
5665 * src/compose.c: compose_wrap_line_all(): more merging from claws.
5666 GET_CHAR(): renamed GET_TEXT() and made it more generic.
5667 Modified compose_wrap_line() and compose_wrap_line_all() to use
5669 * src/textview.c: textview_show_part(): show the header of nested
5670 RFC822 attachment correctly.
5675 src/main.c: added --status option to get new, unread and total
5676 message count from a running Sylpheed (merged from claws).
5677 prohibit_duplicate_launch(): output '\n' only once.
5682 src/gtkutils.[ch]: merged the new wrapping function.
5683 gtkut_text_str_compare_n()
5684 gtkut_text_str_compare()
5685 gtkut_text_is_uri_string(): backport from the GtkSText in the
5686 claws branch, and made modification.
5687 * src/prefs_template.c
5688 src/template.[ch]: added Subject to the template.
5692 * src/compose.c: compose_write_headers(): added missing parenthesis
5693 that generated invalid custom header (thanks to Masaaki Noro).
5694 Allow Sender: custom header.
5698 * src/procheader.c: procheader_date_parse(): workaround for
5699 RFC-incompliant Date header.
5703 * src/addrbook.c: removed redundant functions, and fixed generation
5704 of spurious address book file names.
5705 * src/addrindex.c: V-Card -> vCard.
5709 * src/textview.c: get_email_part(): replaced isalnum() with
5710 the macro IS_ASCII_ALNUM() which restricts the range of
5711 characters to 7bit ASCII (thanks to Shimamoto).
5712 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
5717 * src/textview.c: textview_show_part(): show headers on nested
5722 * src/imap.c: imap_session_get()
5723 src/news.c: news_session_get(): fixed segfault when reconnection
5725 * src/grouplistdialog.c: removed redundant code, and expand nodes
5726 that doesn't match the pattern.
5730 * src/compose.c: modified so that it sends message when any of
5731 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
5732 compose_check_for_valid_recipient(): new.
5733 * src/grouplistdialog.c: improved the UI.
5734 Added appropriate description and search button.
5735 Search doesn't get group list again.
5739 * src/news.[ch]: news_session_get(): update the last access time
5741 news_group_list_free(): new.
5742 * src/grouplistdialog.c: free resources correctly.
5747 src/grouplistdialog.[ch]: more merging of new newsgroup
5748 subscription dialog.
5749 * src/news.[ch]: renamed news_remove_group_list() to
5750 news_remove_group_list_cache().
5754 * src/defs.h: added MAX_ENTRY_LENGTH definition.
5755 * src/compose.c: compose_add_entry_field(): create new entry with
5760 * src/grouplistdialog.c: made non-leaf node selectable.
5761 Give the complete newsgroup name for each nodes.
5765 * src/grouplistdialog.c
5766 src/news.[ch]: merging of new newsgroup subscription dialog
5767 (still in progress. Don't use it yet!).
5771 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
5772 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
5774 compose_entries_set(): new. It parses mailto URL and put each
5775 values into the entries.
5779 * src/compose.c: compose_forward(): fixed a bug that forward
5780 quote mark wasn't used (thanks to Hironori IWANE).
5783 src/prefs_common.c: added Thai encodings (thanks to Manrat
5788 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
5792 src/news.c: added last_access_time to Session.
5793 imap_session_get(): check connection only when access interval
5802 * src/socket.c: ssl_gets(): use SSL_peek.
5803 * updated NEWS and AUTHORS.
5804 * Makefile.am: fixed release target.
5808 * src/template.c: changed the format of template file to
5810 * src/compose.c: compose_template_apply(): freeze the text widget
5811 while inserting strings.
5815 * po/POTFILES.in: removed src/template_select.c.
5816 * src/summaryview.c: summary_set_header()
5817 src/address.c: address_parse_str()
5818 src/filter.c: filter_read_str()
5819 src/news.c: news_parse_xover()
5820 src/procheader.c: procheader_get_fromname()
5821 src/utils.c: subject_compare():
5822 replaced Xalloca() + strcpy() with Xstrdup_a().
5823 * src/inputdialog.[ch]: added combo mode.
5824 input_dialog_combo(): new.
5825 * src/prefs_common.[ch]: added MIME open command setting.
5826 prefs_common_{read, save}_config(): read / write command history.
5827 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
5828 * src/utils.[ch]: add_history(): history list management function.
5832 * src/compose.c: select templates from the menu.
5833 compose_set_template_menu(): new.
5834 compose_reflect_prefs_all(): new.
5835 compose_template_apply(): new. Use dummy MsgInfo for parsing.
5836 * src/template.[ch]: store template list to the static heap.
5837 template_get_config(): new.
5838 template_set_config(): new.
5839 * src/prefs_template.c: don't store template list to the global area.
5840 * src/template_select.[ch]: removed.
5841 * src/quote_fmt_parse.y: check folderitem when quoting messages.
5842 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
5843 (thanks to OSHIRO Naoki).
5847 * src/utils.[ch]: get_template_dir(): new.
5848 * src/template.c: use get_template_dir().
5852 * src/prefs_template.c: modified the dialog layout.
5853 Added symbol description button.
5854 * src/summaryview.c: show an arrow mark to the column of the sort
5856 summary_set_column_titles(): new.
5862 TODO.jp: updated the documents.
5866 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
5867 * src/textview.c: textview_key_pressed()
5868 src/mimeview.c: mimeview_key_pressed()
5869 src/summaryview.c: summary_key_pressed(): delete messages with
5874 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
5875 when SSL_read() returned 0.
5876 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
5878 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
5879 Add prototype of yylex() to suppress the warning.
5880 * merged the template function.
5881 * src/prefs_template.[ch]
5883 src/template_select.[ch]: new.
5884 Renamed prefs_templates_* -> prefs_template_*.
5885 * src/compose.c: added template menu. Added replyinfo to Compose.
5886 * src/mainwindow.c: added template setting menu.
5887 * src/quote_fmt_lex.l: output literal tab and return as is.
5888 * src/prefs_common.c: changed the pref. name of quote format to
5889 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
5893 * src/prefs_common.[ch]: added Quote tab, and moved the quote
5894 setting from Compose tab.
5895 * merged the new quote format parser.
5896 * src/quote_fmt_lex.h
5899 src/quote_fmt_parse.y: new files for quote format parser.
5900 * configure.in: added checks for lex and yacc.
5901 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
5903 compose_quote_fmt(): new.
5904 * src/prefs_common.[ch]: added forward format setting to the
5905 Quote tab. Updated the quote description dialog.
5906 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
5907 if they couldn't get text part.
5911 * src/pixmaps/checkbox_off.xpm
5912 src/pixmaps/checkbox_on.xpm: new.
5913 * src/account.c: display `get all' status with the checkbox pixmaps.
5917 * src/send.c: code cleanup. Pass account prefs structure instead
5919 Query password for SMTP AUTH if not specified (thanks to Mio).
5923 * src/procheader.c: procheader_parse(): fixed a bug that didn't
5924 parse multiple message-id in In-Reply-To: header correctly
5925 (thanks to KAJIWARA).
5929 * src/account.c: enabled 'Get all' setting by clicking the 'G'
5930 column of account list, and added some description.
5931 * src/prefs_common.c: prefs_send_create(): added a description
5932 for outgoing codeset.
5936 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
5937 and added select button and short description.
5938 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
5940 procmime_get_mime_type_table()
5941 procmime_get_mime_type_list(): modified so that
5942 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
5943 $(HOME)/.sylpheed/mime.types are read.
5947 * src/prefs_account.c: moved the address auto-setting to the compose
5949 prefs_account_create(): removed gtk_widget_show_all() for proper
5951 * src/prefs_common.c: changed "Program path" to "Command".
5955 * src/textview.c: textview_set_font(): support Russian charset
5957 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
5961 prefs_summary_column.c: minor improvements to the English.
5962 * src/main.c: get_queued_message_num(): don't output the warning
5963 when queueing folder is not found.
5971 * src/prefs_summary_column.[ch]:
5972 made prefs_summary_column_get_config() public.
5973 * src/summaryview.c: summary_ctree_create(): some code cleanup.
5974 * configure.in: moved the position of SSL checking after LDAP
5975 for linking problem.
5980 src/summaryview.c: allowed reedit in the outbox.
5981 * src/prefs_summary_column.[ch]: new. UI for setting summary
5983 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
5984 It calls summary_set_column_order().
5985 * src/summaryview.[ch]:
5986 summary_ctree_create(): new. separated from summary_create().
5987 summary_set_column_order(): new. It destroys the current
5988 CTree and replaces it with the new one.
5992 * src/smtp.[ch]: smtp_from(): abort if auth failed.
5993 * changed C++-style comments into C-style in some files, and
5994 removed unnecessary commented out codes.
5995 * src/addrcache.[ch]
5999 src/syldap.[ch]: updated the addressbook code, and fixed the
6002 src/importldif.[ch]: new.
6006 * src/about.c: added some items to compiled-in features.
6007 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
6008 * src/addressbook.c: changed "V-Card" to "vCard".
6009 addressbook_edit_address_cb(): added
6010 invalidate_address_completion() to the point address is changed.
6011 * src/codeconv.c: changed C++-style comments into C-style.
6015 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
6019 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
6024 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
6026 * src/summaryview.c:
6027 summary_thread_init(): separated from summary_thread_build().
6028 summary_thread_build(): removed the codes for initialization.
6029 summary_set_ctree_from_list(): call summary_thread_init() instead
6030 of summary_thread_build().
6031 summary_filter(): fixed a bug that didn't moved messages despite
6032 of immediate execution setting.
6036 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
6037 reversed thread tree from message list.
6038 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
6039 node to the head instead of appending to the tail. This prevents
6040 the traverse of node list inside of the GtkCTree, and considerably
6041 speeds up the summary display (the order is O(n^2) -> O(n)).
6045 * src/prefs_common.c
6046 src/summaryview.[ch]: initial modification for reorderable columns.
6050 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a
6052 * src/folderview.c: folderview_button_pressed(): code cleanup, and
6053 turn sensitivity off if main window is locked.
6054 * src/syldap.c: syldap_read_data(): removed unnecessary and
6055 unportable sched_yield().
6059 * src/folderview.c: renamed "Update folder tree" context menu to
6060 "Rescan folder tree", and made "Update folder tree" only updates
6062 folderview_update_all_node(): don't show message dialog.
6063 * src/gtkutils.c: gtkut_widget_get_uposition()
6064 src/mainwindow.c: main_window_popup(): clip the coordinate to
6069 * src/utils.c: to_human_readable(): made a bit of optimization.
6070 * src/summaryview.c: summary_delete(): fixed a focus problem.
6071 summary_find_{prev,next}_msg(): new. They find previous/next
6072 message that is not deleted.
6073 * src/prefs_filter.c: scroll CList automatically if moved row
6074 becomes not fully visible.
6078 * updated some autotool scripts.
6079 * src/codeconv.c: conv_encode_header(): fixed a bug that caused
6080 infinite loop when failed to convert encoding.
6081 * src/codeconv.[ch]: a fix for older version of libjconv
6082 (jconv_info_get_current_codeset() returned "EUCJP" instead of
6091 * src/compose.c: compose_write_to_file()
6092 src/codeconv.c: conv_codeset_strdup(): more workaround for
6093 libjconv problem on C locale.
6094 * src/editldap_basedn.c: fixed segfault when opening dialog.
6095 * src/utils.c: is_next_mbs()
6096 src/compose.c: compose_wrap_line(), compose_wrap_line_all():
6097 changed MB_CUR_MAX to MB_LEN_MAX for compliance to ANSI C.
6098 * configure.in: increased the reqired version of GPGME to 0.2.3.
6099 * src/pop.c: pop3_getauth_user_recv(): fixed a bug that closed
6100 the receive dialog when POP3 server refused normal authentication.
6104 * src/prefs_common.c: prefs_receive_create(): correction to English.
6105 * src/compose.c: compose_set_ext_editor_sensitive(): fixed a bug
6106 that didn't set the menu sensitivity correctly (thanks to
6108 * src/summaryview.c: delete messages permanently if the current
6109 folder is trash and 'delete' operation is executed.
6110 Fixed the bug that didn't select the last row correctly (thanks
6111 to Alfons Hoogervorst).
6112 * src/folder.[ch]: folder_item_remove_msgs(): new. It removes
6113 all messages given in the list.
6117 * src/summaryview.c: summary_show(): fixed a bug that didn't show
6118 message even if the 'open unread message on entering folder'
6119 option was turned on.
6123 * src/procmime.c: procmime_get_text_content(): supported HTML.
6127 * src/summaryview.[ch]: implemented new locking mechanism, and
6128 replaced every static locks with summary_lock(), summary_unlock(),
6129 and added locks to some extra functions.
6130 This fixes a bug that caused segfault when 'd' (delete) key
6135 * src/addressbook.c: addressbook_folder_load_person(): fixed a bug
6136 that caused segfault (thanks to Stefaan A Eeckels).
6140 * src/textview.[ch]: added textview_set_position().
6141 * src/messageview.[ch]: added messageview_set_position().
6153 src/editldap_basedn.c
6158 src/vcard.c: converted C++-style comments into C-style one.
6159 * src/imap.c: QUOTE_IF_REQUIRED(): new macro. Copy string into
6160 new buffer and quote with double quotes if required.
6161 imap_status(), imap_cmd_login(), imap_cmd_list(),
6162 imap_cmd_do_select(), imap_cmd_create(), imap_cmd_delete(),
6163 imap_cmd_copy(): use QUOTE_IF_REQUIRED().
6164 * compose.c: compose_write_to_file(): workaround for the problem
6165 when using libjconv and 8bit codes cannot be converted on C
6167 * codeconv.[ch]: added "ANSI_X3.4-1968" to encoding strings.
6168 conv_codeset_strdup(): don't convert if source and destination
6169 codeset are identical.
6173 * src/textview.[ch]: textview_search_string_backward(): new.
6174 Add the new member cur_pos to TextView.
6175 Connect button_press_event with gtk_signal_connect_after() to
6176 obtain the correct editable position.
6180 * src/folder.c: folder_write_list_recursive(): preserve unthreaded
6185 * src/summaryview.c: modified the layout of popup menu.
6192 src/summaryview.c: applied the patch from Alfons that allows
6193 threading setting for each folders (tnanks!).
6197 * src/message_search.[ch]: new. A Dialog for searching in current
6199 * src/gtkutils.[ch]: gtkut_text_match_string(): new. Compare the
6200 text in current position of GtkText and given wide-character
6202 * src/messageview.[ch]: messageview_search_string()
6203 src/textview.[ch]: textview_search_string(): return TRUE if
6205 * src/textview.[ch]: remember the beginning of body.
6209 * src/procmime.c: procmime_get_first_text_content(): modified so
6210 that it search entire MIME structure.
6211 * src/summary_search.c: summary_search_execute(): use
6212 strdup_mbstowcs() instead of macro. Display matched message.
6216 * src/inc.c: fix for background POP3 hangs and crashes (thanks to
6218 * src/summary_search.c: added body searching function.
6219 * src/procmime.[ch]: procmime_find_string(): changed arguments
6220 and return value. Added case sensitivity option.
6224 * src/procmime.[ch]:
6225 procmime_find_string()
6226 procmime_find_string_part(): new. It searchs the string from
6228 Renamed procmime_get_text_part() to
6229 procmime_get_first_text_content().
6230 procmime_get_text_content(): new. It returns the text contents
6231 of the specified MIME part.
6232 procmime_mimeinfo_next(): new. It returns the next node of
6237 * src/procmime.c: procmime_get_text_part(): modified so that it
6238 finds a text part in nested multipart message correctly.
6239 * src/procmime.h: added an example of MimeInfo structure.
6240 * src/mimeview.c: mimeview_show_message(): search the first text
6245 * src/mainwindow.c: ac_menu_popup_closed(): fixed the bug that
6246 caused segfault. Changed 'Preferences per account...' menu item.
6254 * src/addrindex.c: translate the "Common address" and "Personal
6255 address" from old addressbook.
6259 * src/utils.c: get_quote_level(): some optimization and bugfixes.
6260 * src/codeconv.[ch]: conv_get_current_locale(): new.
6261 * src/editaddress.c: edit_person_page_basic(): reverse the order
6262 of first and last name on some locales.
6266 * src/compose.c: applied the patch from Yasumatsu that reformats
6267 the current paragraph (thanks!). Modified so that it doesn't
6268 reformat quoted paragraphs.
6269 compose_create(): don't fill the entry automatically on reedit
6272 src/summaryview.[ch]: added the "Mark all read" option.
6273 summary_mark_all_read(): new.
6281 src/editldap_basedn.c
6283 src/editjpilot.c: removed all warnings.
6285 src/jpilot.[ch]: fixed the problem that failed to detect JPilot
6286 header files on the Debian system.
6288 src/summaryview.[ch]: enabled sorting by mark, unread, attachment,
6289 and color label. Enabled moving to next/prev flagged messages.
6293 * src/pixmaps/dir-close.xpm
6294 src/pixmaps/dir-open.xpm
6296 src/pixmaps/unread.xpm: modified the color balance.
6297 * src/utils.[ch]: execute_sync(): new.
6298 execute_command_line(): added the arg for async mode.
6299 * src/inc.c: inc_mail(): use execute_command_line().
6304 src/prefs_common.[ch]
6305 src/prefs_account.c: modified the layout. Added the option to
6306 launch the external editor automatically.
6307 * src/compose.c: launch the external editor automatically if the
6312 * src/Makefile.am: added extra xpm's.
6316 * src/addressbook.c: fixed a compilation problem when enabling
6318 addressbook_open(): fixed a missing 'else'.
6322 * src/pixmaps/dir-close.xpm
6323 src/pixmaps/dir-open.xpm
6324 src/pixmaps/trash.xpm: replaced with the new blue icons.
6325 * merged Match Grun's new addressbook code.
6326 * src/pixmaps/address.xpm
6327 src/pixmaps/book.xpm
6328 src/pixmaps/category.xpm
6329 src/pixmaps/interface.xpm
6330 src/pixmaps/jpilot.xpm
6331 src/pixmaps/ldap.xpm
6332 src/pixmaps/vcard.xpm: new icons.
6336 src/addressitem.[ch]
6339 src/editaddress.[ch]
6344 src/editldap_basedn.[ch]
6349 src/vcard.[ch]: new. Many fixes to remove the huge amount of
6351 addrbook_build_avail_email_vis(): fixed a memory leak.
6355 * NEWS: brought in the all of the changes previously put on the web.
6360 src/summaryview.c: modified the layout of menus.
6361 * src/mainwindow.c: ac_menu_popup_closed(): fixed a bug that didn't
6362 return a focus to the main window after selecting the account menu.
6370 * src/send.c: send_message_data(): fixed a bug that didn't process
6371 body part correctly.
6375 * src/inc.[ch]: changed inc_autocheck_(un)lock() to inc_(un)lock().
6376 inc_mail(), inc_all_account_mail(): return immediately if locked.
6379 src/prefs_account.c: use inc_lock() and inc_unlock() instead of
6380 inc_autocheck_timer_{remove,set}().
6381 * src/summaryview.c: summary_set_colorlabel_color(): get the average
6382 of label color and selected fg color for visibility.
6386 * src/inc.[ch]: inc_autocheck_lock(), inc_autocheck_unlock(): new.
6387 They increase/decrease the lock count.
6388 inc_autocheck_func(): if locked, delay the autochecking 1 second.
6389 inc_autocheck_timer_set_interval(): set interval by its argument.
6390 * src/summaryview.c: summary_show(): lock the autochecking while
6392 * src/main.c: app_will_exit(): remove autocheck timer.
6394 src/defs.h: removed the definitions of PACKAGE and VERSION to
6395 prevent unnecessary compilation.
6396 * configure.in: changed AC_DEFINE_UNQUOTED of PACKAGE and VERSION
6397 to AC_SUBST, and added src/version.h to AC_OUTPUT.
6398 * src/version.h.in: new.
6399 * src/intl.h: changed dgettext() to gettext().
6403 * po/ja.po: fixed a typo that crashed Sylpheed with older version
6405 * configure.in: fixed a bug that didn't show results correctly.
6406 Fixed a bug that --enable-compface and --enable-jconv disabled
6408 * src/procmsg.c: procmsg_send_queue(): don't abort when sending
6410 * src/compose.c: compose_write_headers(): add Bcc: header to the
6412 * src/send.c: send_message_data(): new. Separated from
6413 send_message_smtp(). Remove Bcc: header before sending.
6421 * src/send.c: implemented sending with local sendmail command.
6422 send_message_local(): new. It executes command with popen()
6423 and send the contents of RFC822 message to the command.
6424 * src/prefs_common.[ch]: enabled the external sending command option.
6425 * src/defs.h: #define DEFAULT_SENDMAIL_CMD /usr/sbin/sendmail -t
6426 * src/account.c: account_edit_create(): widened the protocol column.
6427 * src/summaryview.c: summary_set_colorlabel_color(): cleanup of
6432 * src/folder.c: folder_item_remove_msg(): scan the folder again
6433 if the last message is removed.
6434 * src/compose.c: compose_queue(), compose_draft_cb(): remove the
6435 old reedited message after adding the new message.
6439 * src/compose.c: compose_queue(): added AID: to the queueing header.
6440 * src/send.c: send_message_queue(): look for AID: header, and use
6441 the server specified in the account instead of SSV: header.
6443 src/compose.[ch]: queued messages can be reedited now.
6444 compose_remove_reedit_target(): new. It removes the old reedited
6446 compose_send(), compose_queue(), compose_draft_cb(): if reedit
6447 mode, remove the old message.
6448 * src/procmsg.c: procmsg_msg_exist(): fixed a bug that output
6453 * applied the XML string table patch from Alfons Hoogervorst that
6454 stores strings in a hash table and minimizes memory allocations
6456 * src/stringtable.[ch]: new.
6457 removed all G and g_ prefix from type and function names since
6458 they're not official GLib symbol names.
6459 string_table_insert_string(): fixed a bug that might refer to an
6460 invalid pointer on lookup, and also made a bit of optimization.
6464 * merged the color label feature from the claws branch (thanks to
6465 Satoshi Nagayasu and Alfons Hoogervoost).
6466 * src/colorlabel.[ch]: new. Renamed from labelcolors.[ch].
6467 Renamed labelcolors_*() to colorlabel_*().
6468 * src/summaryview.[ch]: added color label support.
6469 * src/procmsg.h: added color label flags to the permanent flags.
6470 * updated to gettext 0.10.39.
6471 * src/summaryview.[ch]: put the color label menu item to ItemFactory.
6472 * sylpheed.desktop: added for GNOME.
6473 * configure.in: added AC_MSG_CHECKING() for some options.
6474 Output the configuration results when configure is finished.
6478 * src/account.c: account_clist_set_row(): fixed a bug that failed
6479 to compile if SSL was not enabled.
6483 * merged the SSL support from the claws branch (thanks to Christoph
6485 * src/ssl.[ch]: new.
6486 * src/socket.[ch]: added ssl_read(), ssl_write(), ssl_gets(), and
6488 sock_close(): call ssl_done_socket() if SSL is active.
6489 * src/md5.[ch]: removed MD5_CTX typedef and use MD5_CONTEXT to
6490 prevent type confliction.
6491 * src/prefs_account.[ch]: added SSL tab, and modified the expression.
6492 * src/esmtp.[ch]: added esmtp_ehlo(), and esmtp_starttls().
6493 Removed SSL initialization and HELO from esmtp_starttls().
6494 esmtp_auth(): removed use_smtp_auth from its arguments.
6495 * src/send.c: send_smtp_open(): added SSL support.
6496 * src/smtp.c: smtp_helo(): call esmtp_ehlo() if esmtp is true.
6500 * src/mimeview.c: mimeview_open_with(): braced '%s' with single
6505 * src/main.c: open new account dialog if no account is set.
6506 * src/utils.[ch]: log_verbosity_set(): new. It increase/decrease
6507 the verbosity count.
6508 log_print(): put to statusbar only if log_verbosity_count > 0.
6509 log_message(): put to statusbar.
6510 * src/inc.c: inc_pop3_session_do(): set log verbosity.
6511 * src/mainwindow.c: main_window_set_menu_sensitive(): added the
6512 "Compose new message" item.
6513 main_window_show_cur_account(): removed "Current account: " string.
6514 * src/summaryview.c: summary_show(): ignore the current marks if
6515 main window is locked.
6516 * src/compose.c: compose_attach_property(): fixed a bug that caused
6521 * src/mainwindow.c: main_window_get_current_state(): new. It returns
6522 the current state for the sensitivity of UI.
6523 main_window_set_toolbar_sensitive(): use table like
6524 main_window_set_menu_sensitive().
6528 * src/mainwindow.[ch]: added progressbar and status label to the
6530 main_window_close_cb(): don't exit if locked.
6531 * src/inc.c: update the progressbar of main window, too.
6535 * src/mainwindow.[ch]: main_window_set_toolbar_sensitive(): removed
6536 the second argument, and determine the sensitivity with the
6537 state of summary view.
6541 * src/pop.c: pop3_getsize_list_recv(), pop3_retr_recv(),
6542 pop3_delete_recv(): don't try to receive messages which are not
6547 * src/mainwindow.c: main_window_lock(), main_window_unlock():
6548 removed the whole menubar locking.
6549 main_window_set_menu_sensitive(): process the sensitivity change
6550 with a table, and deal with locking.
6554 * src/summaryview.[ch]: summary_get_selection_type(): new.
6555 It returns the current selection state of summary view.
6556 summary_key_pressed(): abort on some commands if main window
6558 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
6559 increase/decrease the lock count.
6563 * src/prefs_filter.c: prefs_filter_create(): added List-Id to the
6564 default header list.
6565 * src/prefs_common.[ch]: added the option for receive dialog mode
6566 to the Interface tab.
6567 * src/inc.[ch]: inc_progress_dialog_create(): don't make the dialog
6568 transient, and show dialog only if the setting is
6569 RECV_DIALOG_ALWAYS, or RECV_DIALOG_ACTIVE and a window is active.
6570 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
6571 new. Lock / unlock the user-interface.
6572 * src/progressdialog.c: progress_dialog_create(): don't make the
6577 * src/folderview.c: folderview_update_node(): suppressed unnecessary
6579 * src/menu.[ch]: menu_button_position(): new. It calculates the
6580 position of popup menu.
6581 * src/mainwindow.c: toolbar_account_button_pressed(),
6582 ac_label_button_pressed(): put the popup menu to the correct
6583 position. Change the style of the button while opening the menu.
6584 ac_menu_popup_closed(): new function called on selection_done
6586 * src/gtkutils.c: gtkut_ctree_node_next(): fixed a crash bug when
6588 * src/summaryview.c: applied the summary fix patch from Sergey Vlasov
6590 Fixed the bug that didn't select previous message in refresh mode
6591 if threads were not expanded.
6592 summary_select_node(): new.
6593 * src/inc.c: applied the summary view update optimization patch from
6594 Sergey Vlasov (thanks!).
6595 If no new messages are received, don't perform summary refreshing.
6596 In addition to the Vlasov's patch, POP3 receive information is
6598 * src/inc.h: added a new member cur_total_num to Pop3State.
6599 * src/pop.c: pop3_retr_recv(): increase state->cur_total_num.
6607 * src/summaryview.c: summary_set_row_marks(): got the color of
6608 unread row set properly.
6609 * src/folderview.c: foldreview_update_node(): don't use
6610 gtk_style_copy(), and reuse previously allocated styles.
6611 * README, README.jp: modified.
6615 * src/pop.c: pop3_getsize_list_recv(): fixed a remotly exploitable
6616 memory corruption bug (thanks to David Looney).
6617 * src/inc.c: inc_all_account_mail(): call inc_finished() even if
6618 there are no enabled accounts, or local spool only.
6619 * src/summaryview.c: applied the summary update improvement patch
6620 from Sergey Vlasov (thanks!). It keeps the position of the
6621 message displayed. Selected and displayed message are also kept.
6622 summary_get_msgnum(): new.
6623 summary_get_current_msgnum(): removed.
6624 summary_select_by_msgnum(): don't display the message.
6625 * src/account.c: added "Get all" column.
6626 account_clist_set_row(): show default and get-all flags with the
6628 * src/utils.c: to_human_readable(): increased the number of decimals
6633 * implemented the long-awaited :) "Add sender to address book" feature.
6634 * src/address.[ch]: added the argument for remarks to
6636 address_get_folder_list(): new. It traverses the address tree and
6637 returns the folder list.
6638 address_delete_object(): modified so that it removes the node
6640 * src/addressbook.[ch]: addressbook_add_submenu(): new. It creates
6641 a address folder menu and attaches it to the menu item.
6642 addressbook_refresh(): reload the address book folder tree.
6643 * src/summaryview.c: summary_set_add_sender_menu(): new. It attaches
6644 the menu to add sender to address book.
6645 summary_button_pressed(): call summary_set_add_sender_menu()
6646 before popup the menu.
6650 * src/summaryview.c: summary_thread_build(): fixed a bug that locked
6651 up the process. Optimized the initial thread build.
6655 * src/summaryview.c: made many code cleanups.
6656 summary_show(): block/unblock the signal handlers instead of
6657 disconnect/connect them.
6658 summary_set_row_marks(): made the font of collapsed node bold if
6659 it has cnildren marked as unread.
6660 summary_thread_build(): block tree_expand signals while processing.
6661 Use loop instead of the recursive function. Mark collapsed nodes
6663 summary_unthread(): block tree_collapse signals while processing.
6664 Use loop instead of the recursive function.
6665 summary_thread_func(), summary_unthread_func(): removed.
6666 summary_tree_expanded(), summary_tree_collapsed(): new callback
6668 * src/inc.[ch]: inc_pop3_session_do(): don't show alert panel when
6669 failed to connect. Show more detailed status on the dialog.
6673 * src/folderview.c: folderview_update_all_node(): new. It updates
6675 * src/inc.c: update all local folders after incorporation if
6676 scan_all_after_inc option is set.
6677 * src/prefs_common.[ch]: added scan_all_after_inc option.
6678 * src/folder.h: FOLDER_IS_LOCAL(): new macro.
6687 src/prefs_common.h: made bold and small font configurable.
6688 src/summaryview.c: display unread messages with bold font.
6689 * src/prefs_common.c
6691 src/summaryview.c: added an option to enable/disable the
6692 emphasis of unread messages.
6696 * src/pixmaps/mark.xpm: modified.
6697 * src/gtkutils.[ch]: gtkut_ctree_expand_parent_all(): new.
6698 * src/summaryview.c: summary_set_ctree_from_list(): don't expand
6699 the root messages of threads for performance improvement.
6701 summary_select_next_unread()
6702 summary_step(): expand threads when opening messages.
6703 summary_thread_build(): expand threads if the option is turned on.
6704 * src/prefs_common.[ch]: added "Expand threads" option.
6708 * src/prefs_common.c: removed "Emulate the behavior of mouse
6709 operation of Emacs-based mailer".
6710 * src/prefs_common.c
6711 src/prefs_account.c: changed the value of VSPACING_NARROW to 3.
6712 * src/pixmaps/new.xpm
6713 src/pixmaps/unread.xpm: reverted.
6718 address_folder_new()
6720 address_item_new(): changed the return value to AddressObject.
6721 address_build_tree(): don't put assertion for file.
6722 * src/pixmaps/new.xpm
6723 src/pixmaps/unread.xpm: modified a bit.
6727 * src/addressbook.c: fixed some bugs.
6731 * separated the logic part of addressbook into another module
6732 (still in progress).
6733 * src/address.[ch]: new. It contains the logic part of addressbook.
6734 * src/addressbook.[ch]: removed the logic part.
6738 * src/textview.c: textview_show_header(): fixed a bug that a garbage
6739 character was shown after header names.
6743 * src/inc.c: inc_start(): don't abort with non-fatal error.
6751 * src/mimeview.c: mimeview_view_file(): added -x option to the
6752 metamail to prevent the suspention of the main process.
6753 mimeview_button_pressed(): deactivate `Open' menu item if
6754 content-type is application/octet-stream.
6758 * src/imap.c: imap_parse_atom(): parse escaped characters properly.
6759 get_quoted(): new. It handles the escape character '\'.
6760 * src/folder.c: folder_read_list(): don't output warning if
6761 folderlist.xml doesn't exist.
6762 * src/main.c: main(): write folder list after setup.
6763 * src/textview.c: textview_create()
6764 src/compose.c: compose_create(): set default tab width to 8.
6768 * src/prefs_common.c: date_format_select_row(): fixed a bug that
6769 caused segfault when selecting the list with key.
6773 * src/mainwindow.c: main_window_popup(): deiconize the window
6774 when popup (thanks to Henrik Carlqvist).
6775 * src/procmime.c: procmime_scan_mime_type(): new.
6776 procmime_scan_content_type(): use procmime_scan_mime_type().
6777 procmime_scan_mime_header(): scan the extension of attached files
6778 and add the correct MIME type if the Content-Type is
6779 "application/octet-stream" (thanks to Don Quijote).
6780 * src/compose.c: compose_toolbar_create(): added a new "Send later"
6781 icon (thanks to Leandro Pereira).
6785 * src/prefs_common.c: date_format_create(): modified the layout of
6790 * src/account.c: account_find_from_address(): fixed a minor bug.
6791 * src/prefs_common.c: incorporated the user-interface for setting
6792 date format from the claws branch, and made some modification to
6797 * src/account.[ch]: account_edit_create(): modified the text of
6799 account_find_from_address(): new.
6801 procmime_scan_content_type(), procmime_scan_content_disposition():
6802 fixed ESC code detection.
6803 * src/compose.c: compose_reply(): automatically select account
6804 according to the message header.
6805 * src/prefs_common.[ch]: added member "reply_account_autosel".
6809 * src/progressdialog.c: made the CList scrollable.
6810 * src/inc.c: inc_start(): don't abort with non-fatal error.
6814 * added English Sylpheed User's Manual by Paul Kater
6815 (paul@nlpagan.net) (thanks!).
6818 src/mainwindow.c: added support for English manual.
6819 * manual/en/sylpheed*.html: added English documentation.
6824 * src/nntp.c: nntp_ok(): fixed the bug that didn't handle a response
6825 that didn't have any trailing messages.
6826 * src/smtp.c: smtp_ok(): ditto.
6827 * src/compose.c: compose_account_option_menu_create(): modified
6828 the style of the account option menu.
6832 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
6833 remove return code from strings automatically.
6834 prefs_custom_header_create(): added "X-Face" to the default
6836 * src/news.c: news_fetch_msg(), news_get_group_list()
6837 src/imap.c: imap_fetch_msg(): create the cache directory before
6840 procmime_scan_content_type()
6841 procmime_scan_content_disposition(): convert JIS into EUC-JP
6843 * src/codeconv.c: conv_unmime_header(): cleaned up a bit.
6844 * src/compose.c: don't append attachment headers if the attach
6845 pane is visible but the list is empty.
6846 * src/recv.c: recv_bytes_write(): use g_malloc() instead of alloca().
6854 * src/compose.c: compose_quote_parse_fmt()
6855 src/prefs_common.c: prefs_quote_description_create(): added the
6856 symbol `%c' that allows to include Cc in reply format (thanks
6859 src/procmime.c: procmime_decode_content(): applied the patch
6860 from Sergey Vlasov that allows to decode base64 data with
6861 unusual line length (not a multiple of 4) (thanks!).
6865 * src/procmsg.[ch]: separated the permanent flags and temporary
6866 flags into two variables, and made MsgFlags a structure that
6868 MSG_SET_PERM_FLAGS()
6870 MSG_UNSET_PERM_FLAGS()
6871 MSG_UNSET_TMP_FLAGS(): new macros.
6879 src/summaryview.c: modified for the new MsgFlags.
6880 * src/utils.[ch]: hash_free_value_mem(): new. It frees the values
6885 * src/inc.c: inc_pop3_recv_func(), inc_progress_update():
6886 display current size with human-readable format.
6887 * src/grouplistdialog.c: grouplist_recv_func(): ditto.
6894 conv_unmime_header(), conv_unmime_header_overwrite(): workaround
6895 for raw-JIS code in header fields.
6897 folder_get_default_folder()
6898 folder_get_default_inbox()
6899 folder_get_default_outbox()
6900 folder_get_default_draft()
6901 folder_get_default_queue()
6902 folder_get_default_trash(): fixed a bug that caused segfault
6903 if folder_list is NULL.
6913 * src/grouplistdialog.c: grouplist_dialog_set_list(): update UI
6914 while retrieving newsgroup list.
6915 grouplist_dialog_create(): added entry widget and status label.
6916 grouplist_recv_func(): new.
6917 refresh_clicked(): added exclusive lock variable.
6918 clist_selected(): set text entry when the CList is selected.
6919 renamed from group_clist_select().
6920 entry_activated(): new.
6921 grouplist_clear(): renamed from grouplist_free(). Also clears
6922 list and entry widget.
6923 * src/news.c: news_get_group_list(): sped up the list appending
6924 (g_slist_append() becomes very slow if list size is large).
6925 * src/defs.h: added UI_REFRESH_INTERVAL definition.
6926 Changed the definition of NEWSGROUP_LIST.
6927 * src/recv.c: recv_write()
6928 src/send.c: send_message_smtp(): changed the UI refresh interval
6929 to UI_REFRESH_INTERVAL (50msec).
6930 * src/account.c: account_add(): fixed a bug that didn't update
6931 folder tree when a news account was added.
6932 * src/grouplistdialog.c: made exclusive lock variable global, and
6933 lock at grouplist_dialog_set_list().
6934 * src/textview.c: fixed a bug that disabled clickable URI if
6935 message color was disabled.
6939 * src/grouplistdialog.c: ok_clicked(), cancel_clicked(): don't
6940 quit main loop if gtk_main_level() is 1.
6941 grouplist_dialog_set_list(): freeze CList while appending the list.
6942 grouplist_dialog(): show dialog before updating the list.
6946 * src/folder.c: folder_write_list_recursive(): add the attribute
6947 `collapsed' if a node have some children.
6948 * src/grouplistdialog.[ch]: new. Newsgroups can be selected from
6951 news_get_group_list(): new. It returns newsgroup list.
6952 news_remove_group_list(): new. It removes newsgroup list cache.
6953 * src/folderview.c: folderview_new_news_group_cb(): call
6954 grouplist_dialog() instead of input_dialog().
6958 * autogen.sh: modified.
6960 src/folderview.c: made expand/collapse state of folders persistent
6969 * src/imap.c: imap_remove_folder(): select INBOX with EXAMINE before
6971 imap_cmd_do_select(): new. It toggles between SELECT and EXAMINE
6972 according to the argument.
6973 imap_cmd_select(): use imap_cmd_do_select().
6974 imap_cmd_examine(): new.
6975 * src/folderview.c: folderview_rm_imap_folder_cb(): select current
6976 folder again when removing failed.
6982 * manual/ja/sylpheed.sgml
6983 manual/ja/*.html: updated the Japanese manual (thanks to Imai).
6984 * src/summaryview.c: summary_set_row_marks(): fixed a bug that
6985 didn't set foreground correctly.
6987 src/summaryview.h: removed the member color_normal from FolderView
6989 * src/mainwindow.c: main_window_create(): removed color_normal.
6993 * src/prefs_account.[ch]: the port numbers of IMAP4 and NNTP
6995 * src/imap.c: imap_session_get()
6996 src/news.c: news_session_new_for_folder(), news_session_get():
6997 use user-defined port number if specified.
7001 * src/imap.c: imap_scan_tree_recursive(): get mailbox status when
7003 imap_scan_folder(): implemented. It updates the numbers of new,
7004 unread and total messages.
7005 imap_status(): new. It parses the response of STATUS command.
7006 imap_status_uidnext(): removed.
7007 imap_cmd_status(): removed.
7008 * src/textview.c: textview_show_part(): fixed potential memory leaks.
7012 * src/alertpanel.c: alertpanel_create(): fixed truncated message.
7013 * src/rfc2015.c: rfc2015_decrypt_message(): fixed the case problem
7014 of content-type (thanks to Ren?Rebe for the patch).
7015 * src/codeconv.c: code_get_code_conv_func(): fixed the ISO-8859-1
7017 * src/prefs_common.c: prefs_send_create(): made some more character
7018 sets specifiable when not using libjconv.
7019 * configure.in: disabled --enable-threads option temporarily.
7021 INSTALL.jp: deleted the description about --enable-threads option.
7025 * updated gettext to 0.10.38.
7031 * src/folderview.[ch]: folderview_set_all(): new.
7032 * src/account.c: account_add(): call folderview_set_all() after
7033 creating IMAP4 tree.
7034 account_edit_create(): account preferences dialog can be opened
7035 with double clicking of the list.
7036 account_selected(): new.
7037 account_clist_set(): made the CList focus set correctly.
7041 * src/imap.c: imap_scan_tree(): call imap_create_trash() if trash
7043 imap_scan_tree_recursive(): search the sub folders of INBOX.
7044 recognize Trash folder.
7045 imap_create_tree(): separated the part of creating trash.
7046 imap_create_trash(): new.
7047 * src/folder.c: folder_build_tree(), folder_write_list_recursive():
7048 preserve no_sub and no_select.
7049 * src/summaryview.c: summary_show(): don't proceed if item->no_select
7054 * src/imap.c: imap_scan_tree(): fixed a bug that didn't set the
7055 root folder correctly.
7059 * src/folderview.[ch]:
7060 folderview_update_tree(): new. It updates one folder tree.
7061 folderview_update_tree_cb(): new.
7062 Added "Update folder tree" to the popup menu, and modified some
7067 * src/imap.c: implemented the autoscan of IMAP4 folder list.
7068 imap_scan_tree(): new. It scans the whole IMAP4 folder.
7069 imap_scan_tree_recursive(): new. It traverses the IMAP4 folder tree.
7070 imap_parse_list(): new. It parses the LIST response.
7071 imap_get_real_path(): new. It converts local path into IMAP4 path.
7072 * src/folder.h: added no_sub and no_select to FolderItem.
7073 * src/folder.c: folder_tree_destroy(): reset some variables.
7074 * src/folderview.c: folderview_scan_tree_func(): supported IMAP4.
7078 * src/imap.c: imap_parse_envelope(): fixed a bug that didn't
7079 parse the FETCH response that continues to the next line.
7080 imap_parse_fetch_element(): removed.
7081 imap_parse_atom(), imap_parse_one_address(), imap_parse_address(),
7082 imap_parse_envelope(), imap_get_uncached_messages(): use GString
7083 and sock_getline() to parse the FETCH response.
7084 imap_remove_all_msg(): fixed a bug that didn't delete messages
7086 imap_parse_address(): fixed a bug that didn't concaternate
7087 addresses correctly, using GString.
7088 * src/socket.[ch]: sock_getline(), fd_getline(): new. They read
7089 the whole line and return the newly allocated string.
7090 * src/prefs_account.[ch]: added `IMAP server directory' entry.
7096 * src/imap.c: imap_create_tree(): pass the path that is separated
7097 by the local filesystem separator to imap_create_folder().
7098 imap_create_folder(): examine the existence of folders using
7099 LIST command instead of STATUS.
7100 imap_cmd_list(): new.
7101 imap_query_password(): new.
7102 imap_session_new(): query password if it is not set.
7106 * src/imap.c: imap_parse_envelope(): FETCH results can be parsed
7107 with arbitrary order.
7108 imap_parse_fetch_element(): new. it parses one pair of name and
7109 value of FETCH results.
7110 imap_parse_flags(): modified for more flexibility.
7111 * src/utils.[ch]: set_log_file(): new. it opens a new file for
7113 close_log_file(): new. it closes the opened log file.
7114 log_print(), log_message(), log_warning(), log_error(): also
7119 * src/imap.c: imap_cmd_status(): check the pointer to "value"
7120 before the assignment (thanks to NISHIJIMA).
7124 * src/folderview.c: folderview_drag_motion_cb(): don't allow DnD
7125 across MH and IMAP4 folder (for now) (thanks to Hiramatu).
7126 * src/foldersel.[ch]: don't show folders which can't be targets
7138 imap_cmd_store(): use UID instead of sequential number.
7139 Renamed imap_set_article_flags() to imap_set_message_flags().
7140 * src/summaryview.c: summary_execute(): don't update summary
7141 even if current folder is IMAP4.
7142 * src/utils.[ch]: remove_numbered_files(): changed the type of
7143 arguments from gint to guint.
7147 * src/imap.c: imap_cmd_login(), imap_cmd_select(), imap_cmd_status(),
7148 imap_cmd_create(), imap_cmd_delete(), imap_cmd_copy(): don't
7149 enclose with double quotation if string doesn't have space
7150 (workaround for old Cyrus IMAP4 server).
7151 imap_create_folder(): fixed a bug of separator substitution.
7152 renamed imap_session_connect_if_not() to imap_session_get().
7153 imap_get_msg_list(): delete all cached messages if use_cache
7155 imap_delete_cached_messages(): remove cached files in between
7156 the specified range by reading directory entry.
7157 imap_parse_one_address(): set fromname same as the from address
7159 * src/utils.[ch]: remove_numbered_files(): new. The range is
7161 * src/summaryview.c: summary_execute(): update summary if current
7163 KEY_PRESS_EVENT_STOP(): new macro.
7164 summary_key_pressed(): stop signal emission when calling
7166 summary_select_by_msgnum(): show message only if
7167 msg_is_toggled_on is TRUE. Move current page to the selected
7169 * src/news.c; news_delete_old_articles(): remove cached files in
7170 between the specified range by reading directory entry.
7172 folderview_selected(), folderview_button_released(): fixed a bug
7173 that didn't select folder correctly.
7179 src/prefs_common.c: improvements to the English (thanks to Paul
7181 * src/mainwindow.c: compose_cb()
7182 src/summaryview.c: summary_key_pressed()
7183 src/compose.c: compose_new_with_recipient(): newsgroups entry
7184 is automatically filled when composing a new article.
7188 * src/procmsg.c: procmsg_msg_list_free(): fixed a bug that didn't
7189 free list correctly.
7195 * src/imap.c: imap_find_namespace(): replace namespace path
7196 separator with slash before comparison.
7197 imap_remove_folder(): use namespace.
7198 imap_create_tree(): use namespece when creating Trash.
7199 imap_get_msg_list(): fixed a bug that returned old list and caused
7200 memory leak if exists == 0.
7201 imap_select(): new. It's a wrapper for imap_cmd_select().
7202 * src/foldersel.c: foldersel_set_tree(): show IMAP4 folder too.
7207 folderview_new_folder_cb()
7208 folderview_new_imap_folder_cb(): show error dialog when creation
7209 or deletion of folder failed.
7210 Made it allow users to create a folder which contains subfolders.
7211 folderview_button_pressed(): disabled delete menu on the special
7213 * AUTHORS: incorporated from claws branch. It now contains all
7215 * src/send.c: enabled cancellation.
7216 EXIT_IF_CANCELLED(): new macro.
7217 Added cancelled flag to SendProgressDialog.
7218 * src/utils.[ch]: strtailchomp(): new. It removes the trailing
7219 specified character.
7220 * src/imap.c: imap_cmd_fetch(): a fix for MS Exchange 2000 server.
7224 * src/imap.c: imap_create_tree(): new. It creates required
7225 folders such as INBOX and Trash.
7226 imap_do_copy(), imap_do_copy_msgs_with_dest(): don't expunge
7228 imap_remove_all_msg(): return immediately if exists == 0.
7229 * src/account.c: account_add(), account_set_missing_folder():
7230 made them use folder->create_tree().
7234 * src/imap.c: more namespace implementation.
7235 imap_find_namespace(), imap_path_separator_subst(): new.
7239 * src/imap.c: imap_parse_namespace(), imap_cmd_namespace(): new.
7243 * src/summaryview.c: summary_show(): fixed a glitch in folder view.
7247 * src/imap.[ch]: added imap_add_msg(), and imap_append_message(),
7248 which appends file into IMAP4 folder.
7250 imap_create_folder(): check the existence of a folder before
7252 renamed the prefix of low-level IMAP4rev1 functions to imap_cmd.
7253 * src/account.c: account_add(), account_set_missing_folder():
7254 create INBOX automatically when creating IMAP4 account.
7258 * src/utils.[ch]: added itos_buf() that takes the buffer for its
7260 * src/imap.[ch]: imap_copy_msg(), imap_copy_msgs_with_dest(): new.
7261 * src/folder.c: added copy_msg and copy_msgs_with_dest methods
7266 * src/utils.[ch]: move_file(): new.
7267 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): modified to
7268 use move_file(), and fixed a bug that didn't close file when
7273 * src/imap.c: renamed imap_delete_messages() and
7274 imap_delete_all_messages() to imap_delete_cached_messages() and
7275 imap_delete_all_cached_messages(). Some code cleanups.
7276 * src/utils.[ch]: added a function remove_all_numbered_files().
7277 * src/mh.c: mh_remove_all_msg()
7278 src/imap.c: imap_delete_all_cached_messages():
7279 use remove_all_numbered_files().
7282 src/compose.[ch]: added `Reply to sender'.
7284 compose_reply_set_entry(): added an argument `ignore_replyto'.
7288 * src/folderview.c: folderview_selected()
7289 src/summaryview.c: summary_show(): fixed a bug that updated wrong
7290 folder when remaining marks were processed.
7294 * src/headerwindow.c: headerwindow_show_cb(): always try to show
7295 msginfo, and use the selected message, not the displayed one.
7296 * src/smtp.c: smtp_ok(): fixed sock_gets() error handling.
7300 * src/folderview.c: folderview_selected()
7301 src/mimeview.c: mimeview_selected(): ungrab the mouse event.
7302 * src/summaryview.c: summary_show(): process the left marks if any.
7306 * src/passphrase.c: enclosed with #if USE_GPGME.
7307 * src/prefs_account.c: added NNTP AUTH check button.
7308 * src/alertpanel.[ch]: alertpanel_create(): added new argument
7309 `can_disable', all existing callers changed to pass FALSE;
7310 created a check button to disable the message.
7311 alertpanel_message_with_disable(): new.
7312 alertpanel_show(): mask value with G_ALERT_VALUE_MASK.
7313 alertpanel_button_toggled(): new.
7314 alertpanel_button_clicked(), alertpanel_close(): set value using
7316 * src/prefs_common.[ch]: added option to toggle GnuPG signature
7317 check popup window, and GnuPG warning.
7318 * src/rfc2015.c: check_signature(): show signature check dialog
7319 only if it is enabled.
7320 * src/main.c: modified GnuPG checking.
7322 src/prefs_common.c: fixed some compilation bugs when enabled
7327 * src/codeconv.c: conv_get_code_conv_func(): fix for ISO-8859-*
7328 encodings with libjconv.
7329 conv_encode_header(): fixed an endless loop bug when encountering
7330 an invalid wide character (thanks to Alte).
7331 * src/headerview.c: SET_FONT_STYLE(): fixed segfault with invalid
7333 * src/imap.c: imap_create_folder(): don't create folder if the
7335 * src/mainwindow.c: main_window_reflect_prefs_all(): hide the
7336 execute button when immediate execution is enabled.
7341 README.jp: added the "How to run" section.
7345 * merged NNTP AUTH from the claws branch.
7346 * src/news.[ch]: supported NNTP AUTH.
7347 * src/nntp.[ch]: wrapped SockInfo with NNTPSockInfo for NNTP AUTH.
7349 INSTALL.jp: modified the confirmation list and the warning about
7354 * src/gtkutils.[ch]: moved folderview_find_collapsed_parent() to
7355 gtkut_ctree_find_collapsed_parent().
7356 * src/folderview.c: folderview_select_node(): automatically expand
7357 the parent folders when selected.
7358 * configure.in: made the version number to 0.4.99 (0.5pre)
7359 * src/main.c: main(): moved parse_cmd_opt() before gtk_init()
7360 so that X is not necessary for --help and --version.
7361 parse_cmd_opt(): changed g_get_prgname() to g_basename(argv[0]).
7362 * src/folderview.c: folderview_update_node(): a fix for collapsed
7367 * src/main.c: lock_socket_input_cb(): changed fd_read() to fd_gets().
7368 It caused garbages in --compose option.
7369 * src/socket.[ch]: made fd_gets() public.
7373 * src/gtkutils.[ch]: gtkut_ctree_node_next(): new.
7374 * src/folderview.c: folderview_find_next_unread(): new.
7375 folderview_select_next_unread(): modified so that it can find
7380 * src/compose.c: compose_write_headers(): excluded also From, To,
7381 Sender because they could be used for SPAM.
7382 * src/folderview.c: add '+' mark to the collapsed folder that have
7383 some unread folders.
7384 folderview_search_new_recursive(),
7385 folderview_have_new_children(),
7386 folderview_search_unread_recursive(),
7387 folderview_have_unread_children(),
7388 folderview_find_collapsed_parent(): new.
7389 folderview_update_node(): display the number of queued messages.
7394 src/mh.[ch]: modified *_add_msg() to use link(). Added the
7395 argument to switch whether to remove the source file or not.
7398 src/mbox.c: modified the argument of folder_item_add_msg() and
7399 removed some unlink()'s.
7403 * src/prefs_customheader.[ch]: renamed prefs_headers_* to
7404 prefs_custom_header_*. Removed `(New)' row and `Substitute'
7405 button. Supported empty value.
7406 prefs_custom_header_row_moved(): new. Connected "row_move" signal
7407 to the function, and made it set header list.
7408 * src/customheader.c: custom_header_get_str()
7409 src/compose.c: compose_write_headers(): supported empty value.
7410 * src/prefs_display_header.c: prefs_display_header_row_moved(): new.
7411 Connected "row_move" signal to the function, and made it set
7413 * src/compose.c: compose_write_headers(): modified the order of
7414 headers, and made it encode the custom headers.
7415 * src/prefs_customheader.c: prefs_custom_header_delete_cb()
7416 src/prefs_filter.c: prefs_filter_delete_cb(): treat closing the
7417 alert panel by ESC as "No".
7421 * merged the custom header stuff from claws branch:
7422 * src/customheader.[ch]
7423 src/prefs_customheader.[ch]: new.
7424 * src/customheader.c: custom_header_read_str(): use strtol() instead
7425 of atoi() and check errors.
7426 custom_header_find(): new function.
7427 * src/compose.c: IS_IN_CUSTOM_HEADER(): new macro.
7428 compose_write_headers(): made it replace headers with user-defined
7429 headers except for some automatically generated headers.
7433 * src/inc.c: connection_check_cb(): fixed a bug that caused
7434 segmentation fault if connection was not established.
7435 * src/compose.c: compose_create(): even if set_autobcc or set
7436 autoreplyto is checked and the entries are empty, show them.
7440 * src/textview.c: textview_show_mime_part(): modified the messages.
7441 TEXT_INSERT(): new macro.
7443 * src/prefs_display_header.c: prefs_display_header_create():
7444 modified the text of checkbutton.
7448 * src/mimeview.c: added "Open with..." to the context menu.
7449 * src/summaryview.c: summary_print()
7450 src/inputdialog.c: input_dialog(): fixed memory leaks.
7451 * src/textview.c: textview_show_mime_part(): updated the description.
7452 * src/send.c: implemented sending progress dialog.
7453 (TODO: automaton should be used.)
7454 send_progress_dialog_create(), send_progress_dialog_destroy(),
7456 send_message_smtp(): made it update the dialog for each stage.
7457 * src/utils.[ch]: get_left_file_size(): new. Get the left bytes
7459 * src/summaryview.c: summary_show(): when open_inbox_on_inc is set,
7460 go to first unread message even if folder is same as previous.
7461 * src/prefs_common.c: made color selection dialog transient, and
7462 made escape key close the dialogs.
7468 * src/select-keys.c: delete_event_cb(): removed `;' from its end.
7469 * src/recv.c: recv_write(): changed the interval to 10msec.
7470 * src/prefs_display_header.c: modified the layout of the dialog,
7471 and made the hidden headers list insensitive when `Show other
7472 headers' is not checked.
7473 * src/textview.c: changed strcasecmp() and strncasecmp() to
7474 the corresponding glib functions.
7475 * src/inc.c: get_spool(): make a temporary file in the home
7480 * src/prefs_common.c
7492 src/sigstatus.c: fixed a bug that accidentally destroyed dialogs
7493 when closed them with delete_event (thanks to DINH).
7494 Added *_deleted() and *delete_event() which handle delete_event
7499 * src/prefs_display_header.c: merged some changes from claws branch:
7500 prefs_display_header_create(): allow reordering of headers by
7502 prefs_display_header_find_header(): new function.
7503 prefs_display_header_clist_set_row(): don't allow duplicates.
7504 * src/prefs_account.c: prefs_account_receive_create(): changed
7505 the label of the check button.
7509 * src/pop.c: pop3_getsize_list_recv(): if sscanf() failed, break
7511 * src/inc.h: removed cur_msg_bytes from Pop3State.
7512 * src/inc.c: pop3_recv_func()
7513 src/recv.[ch]: made the second arguments of RecvUIFunc current
7515 recv_write(): made it call UI func if elapsed time is greater
7517 * src/recv.c: recv_write(): changed the interval to 300 usec.
7518 * src/textview.c: textview_show_header(): if header is Subject,
7520 * src/utils.[ch]: unfold_line(): new.
7521 * src/procheader.[ch]: procheader_get_header_array(): new.
7522 * src/prefs_display_header.c: updated defaults.
7526 * some merge from the sylpheed-claws branch.
7527 It allows user to specify displayed headers in message view.
7528 (symbol names were also changed.)
7529 * src/prefs_display_header.[ch]
7530 src/displayheader.[ch]: new.
7531 * src/prefs_display_header.c:
7532 removed prefs_display_headers_other_headers_toggled().
7533 removed "(New)" row from the list.
7534 * src/defs.h: added DISPLAY_HEADER_RC.
7535 * src/prefs_common.c: prefs_message_create(): added a button for
7536 opening the display header setting dialog.
7537 * src/prefs_common.h: added show_other_header and disphdr_list
7539 * src/procheader.[ch]: procheader_get_header_list_from_file(),
7540 procheader_get_header_array_asis(): new.
7541 procheader_get_header_list(): modified so that it takes FILE
7542 pointer for its argument.
7543 procheader_header_array_destroy(), procheader_header_free(): new.
7544 * src/main.c: main(): made it call prefs_display_header_*_config().
7545 * src/textview.c: textview_scan_header(): modified so that it
7546 sorts headers according to user setting.
7547 src/textview_show_header(): made it call
7548 textview_make_clickable_parts().
7549 textview_make_clickable_parts(): added GdkFont to its arguments,
7550 and removed GtkText from them.
7554 * implemented auto-checking of new mail based on the patch from
7555 Pierric Descamps (thanks!).
7556 * src/inc.c: added inc_autocheck_timer_init(),
7557 inc_autocheck_timer_set(), inc_autocheck_timer_remove(),
7558 inc_autocheck_func() for auto-checking of new mail.
7559 * src/main.c: main(): call inc_autocheck_timer_init().
7560 * src/prefs_common.c: prefs_receive_create(): activated the
7561 auto-checking UI. Added prefs_common_cancel(), and connected
7562 some signals to that.
7563 * src/prefs_common.c
7566 src/account.c: Disabled auto-checking while opening the dialog.
7567 * src/headerview.c: headerview_show_xface(): fixed a bug that
7568 showed a warning when header pane was hidden.
7574 src/recv.c: removed non-blocking socket mode support since it
7577 src/inc.c: modified the messages of incorporation dialog.
7581 * src/utils.h: made u32 the typedef of guint32.
7582 added BIG_ENDIAN_HOST macro that is used by md5.c.
7583 * src/md5.c: renamed md5c.c. Fixed the indentation. Fixed a bug
7584 that didn't calculate MD5 correctly on big endian machines.
7590 * src/folder.c: folder_init(): added the method imap_remove_folder.
7591 * src/folderview.c: folderview_rm_imap_folder_cb(): made it
7592 actually remove folder from IMAP4 server.
7593 * src/imap.[ch]: imap_create_folder(): made it actually create
7594 folder on IMAP4 server.
7595 imap_remove_folder(): added.
7596 imap_create(), imap_delete(): added.
7597 * src/summaryview.c: summary_execute_delete(): don't check trash
7598 if folder type is not F_MH.
7599 * thanks to Ishihara for the above changes.
7601 ac/check-type.m4: better wint_t typedef detection (renamed
7602 sv_CHECK_TYPE to SYLPHEED_CHECK_TYPE).
7606 * src/recv.c: recv_bytes_write(): fixed another bug that caused
7607 infinite loop and buffer overrun.
7611 * src/socket.[ch]: renamed sock_read() and fd_read() to
7612 sock_gets() and fd_gets() for preventing confusion.
7613 Added sock_read() and fd_read() which is the wrapper of read().
7614 * src/recv.c: recv_bytes_write(): fixed a bug that caused infinite
7615 loop. Use sock_read() instead of fd_read().
7622 src/smtp.c: use sock_gets() instead of sock_read().
7623 * src/imap.c: imap_session_new(): fixed the error detection
7628 * src/inc.c: made it displays current read bytes to the dialog.
7629 * src/pop.c: recv_write(): call UI function before editing
7634 * src/progressdialog.c: progress_dialog_create(): modified the
7635 size of dialog and made it stretchable.
7637 src/esmtp.c: smtp_ok(), esmtp_ok(): fixed a bug that didn't
7638 process an error response correctly (thanks to Ohmasa).
7639 * src/pop.[ch]: added pop3_getsize_list_send(),
7640 pop3_getsize_list_recv().
7641 * src/recv.[ch]: added recv_set_ui_func() that makes recv_write()
7642 call the callback function for each sock_read().
7643 * src/inc.h: in Pop3State, renamed bytes to total_bytes, and added
7644 cur_msg_bytes, cur_total_bytes, and sizes.
7645 * src/inc.c: added inc_pop3_recv_func() that updates the progress
7646 bar for each sock_read().
7650 * src/mh.c: mh_is_maildir_one(): modified so that it uses
7653 2001-04-25 Werner Koch <wk@gnupg.org>
7655 * src/mh.c (mh_is_maildir_one, mh_is_maildir): New.
7656 (mh_scan_tree_recursive): Do not include Maildir style directories
7659 Changed the use of integers to describe sockets by an more abstract
7662 * src/automaton.h (struct _Automaton): Add help_sock.
7663 * src/automaton.c (automaton_input_cb): Changed source to be
7664 SockInfo and use wrapper for gdk_input_add.
7666 * src/send.c (SEND_EXIT_IF_ERROR): Adjusted tests and removed test
7667 for invalid socket because this is now done in sock_close. Set
7669 (SEND_EXIT_IF_NOTOK): Set closed sock to NULL.
7670 (send_smtp_open): Use only SockInfo.
7672 * src/news.c (news_session_new): Use SockInfo here.
7673 (news_session_destroy): Ditto and set sock to NULL.
7675 * src/nntp.c: Use SockInfo instead of integers
7676 * src/smtp.c: Ditto.
7678 * src/recv.c: Ditto.
7680 * src/inc.c (inc_pop3_session_do): Removed sock_sockinfo_free. Put
7681 gdk_input_add into a wrapper.
7683 * src/esmtp.c: Changed socket descriptors to use SockInfo.
7684 * src/esmtp.h: Ditto, included socket.h.
7685 * src/session.h (struct _Session): Likewise.
7686 * src/imap.c (imap_open): Return SockInfo ptr and not an integer.
7687 Removed access to internal data of SockInfo. Changed all callers
7688 and functions to take SockInfo.
7689 (imap_session_new): Use sock_close here.
7690 (imap_session_destroy): Ditto.
7692 * src/compose.c (compose_exec_ext_editor): Replaced sock_write by
7695 * src/main.c (app_will_exit): Close lock socket using fd_close.
7696 (prohibit_duplicate_launch): Use fd_xxx functions instead of sock_xxx.
7697 (lock_socket_input_cb): Ditto.
7699 * src/socket.h, src/socket.c: Prepared SockInfo structure to use
7700 glib channels. Changed all sock_xxx to use SockInfo instead of an
7702 (sock_connect_unix, sock_open_unix, sock_accept): Renamed to ..
7703 (fd_connect_unix, fd_open_unix, fd_accept): .. this and changed all
7705 (fd_read, fd_write, fd_close): New.
7706 (sock_sockinfo_free): Removed.
7707 * src/socket.c (sock_connect_nb): Use close instead sock_close here.
7708 (sock_connect): Ditto.
7712 * config.h.in: removed.
7713 * ac/Makefile.am: added gnupg-check-typedef.m4 to MACROS.
7714 * .cvsignore: added.
7716 src/progressdialog.[ch]
7717 src/pixmaps/complete.xpm
7718 src/pixmaps/continue.xpm
7719 src/pixmaps/error.xpm: applied the patch from Leandro Pereira
7720 that displays the state of message incorporation (thanks!).
7721 * src/inc.c: made the progress dialog change the text of status.
7725 * removed po/*.gmo, configure, stamp-h.in, aclocal.m4, Makefile.in
7727 * COPYING: removed RSA copyright notice.
7728 * removed po/sylpheed.pot, po/stamp-cat-id, po/cat-id-tbl.c.
7729 * configure.in: added the check of sys/utsname.h.
7731 2001-04-24 Werner Koch <wk@gnupg.org>
7733 Merged most of the changes from the W32 branch in.
7735 * configure.in: Require gpgme >= 0.2.1
7737 * acconfig.h (HAVE_U32_TYPEDEF): New.
7738 * ac/gnupg-check-typedef.m4: New.
7739 * configure.in: Check for u32 type and the size of some types.
7740 * src/utils.h: Define the u32 type and related constants.
7742 * src/about.c (about_create): Removed the note about MD5. We are
7743 not any longer using the RSA Inc. implementation.
7744 * src/md5ify.c, src/md5ify.h, src/md5global.h: Removed.
7745 * src/md5c.c, src/md5c.h: Replaced by an FSF implementation and
7746 renamed the function to standard lowercase convention. Changed all
7748 (md5_hex_digest): New.
7749 (md5_hmac): Add hmac function by Martin Schaaf with some
7751 (md5_hex_hmac): New.
7752 * src/esmtp.c, src/esmtp.h (md5_hex_hmac): Removed.
7753 (hmac_md5): Removed.
7754 * src/pop.c (pop3_getauth_apop_send): Replaced the md5_digest by
7755 the new md5_hex_digest function.
7757 * src/about.c: Include utsname.h only if available
7759 * src/utils.c, src/utils.h (get_home_dir): New to better cope with
7760 special Windoze requirements. Changed all calls to
7761 g_get_home_dir() to this function.
7763 * simple-gettext.c: New.
7765 * src/main.c (main): Issue a warning if GnuPG is not properly
7768 * src/sigstatus.c, src/sigstatus.h: New.
7769 * src/rfc2015.c (check_signature): Use the sigstatus window and
7770 get the status texts from a utility function.
7772 * src/select-keys.c: Removed the global select_keys var and
7773 pass an allocated one along all functions.
7774 (set_row): Display only keys capable of encryption.
7775 (update_progress): Replaced the progressbar by
7776 a windmill and a text showing for which key we are collecting
7777 info. Removed progressbar everywhere else and updated callers.
7779 * src/prefs_common.c (prefs_privacy_create) [__MINGW32__]: Do not
7780 display the grab button.
7784 * src/prefs_common.[ch]
7785 src/procheader.c: applied the patch from Darko Koruga that
7786 allows user to define their own format for displaying date in
7787 summary view using strftime() (thanks!).
7788 * src/prefs_common.c: prefs_quote_colors_dialog()
7789 src/mainwindow.c: main_window_reflect_prefs_all(): made it
7790 update message colors if the colors setting is changed.
7791 * src/main.[ch]: made it remember the startup directory.
7792 * src/export.c: export_mbox(): made it initially chdir to the
7794 * src/filesel.c: filesel_select_file(): made it open the startup
7799 * added option to warn about queued messages on exit [sergey]:
7801 * src/compose.c: compose_queue(): call folder_item_scan()
7802 and folderview_update_item() after queueing.
7803 * src/folderview.c: folderview_update_node(): draw the queue
7804 folder in bold font if there are queued messages.
7805 * src/mainwindow.c: queued_messages(): new function.
7806 app_exit_cb(): display warning if there are queued messages
7807 if warn_queued_on_exit is set.
7808 * prefs_common.[ch]: add warn_queued_on_exit option.
7810 * src/mainwindow.c: moved queued_messages() to main.c, and renamed
7811 it to get_queued_message_num().
7812 * src/main.c: app_will_exit(): moved warning dialog code from
7813 app_exit_cb(), and added manage_window_focus_in().
7815 * enhanced GnuPG key selection support [sergey]:
7817 * src/select-keys.c: updated to newer version from Win32
7818 branch with support for selecting arbitrary keys.
7819 * src/prefs_account.c: added the Privacy tab to the account
7821 prefs_account_privacy_create(),
7822 prefs_account_sign_key_set_data_from_radiobtn(),
7823 prefs_account_sign_key_set_radiobtn(): new functions.
7824 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
7825 * src/rfc2015.c: set_signers(): new function.
7826 pgp_sign(): add the account parameter, call set_signers().
7827 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
7828 * src/rfc2015.h: rfc2015_sign(): updated prototype.
7829 * src/compose.c: pass the current account to rfc2015_sign().
7833 * src/mbox.c: export_to_mbox(): fixed a memory leak bug.
7837 * src/mbox.[ch]: renamed export_mbox() to export_to_mbox().
7838 Fixed a memory leak bug.
7839 * src/export.[ch]: added for exporting folder to mbox.
7840 * src/import.[ch]: made import_mbox() take default folder.
7841 Added description to the dialog.
7842 * src/summaryview.c: summary_show(): fixed a bug that kept the
7843 toolbar buttons insensitive after receiving messages.
7845 src/import.c: fixed a bug that caused quitting of the program
7846 when OK or Cancel button was clicked several time.
7847 * src/prefs_common.[ch]
7848 src/addressbook.c: added "Add address to destination when
7849 double-clicked" option.
7853 * src/prefs_common.[ch]: reorganized the items of settings,
7854 and added Message tab.
7855 * src/main.c: parse_cmd_opt(): added command line option --version.
7856 * src/mh.c: made it unset MSG_DELETED flag when moved/copied to
7858 * src/prefs_common.[ch]
7859 src/headerview.[ch]: the header pane can be toggled now.
7860 * src/prefs_common.[ch]
7861 src/textview.c: page scroll step is now selectable between
7862 one page and half page.
7863 * src/mbox.[ch]: added export_mbox() that reads all messages
7864 in a folder, and store them into one mbox file.
7868 * src/prefs_filter.[ch]: separated filter setting code from
7869 prefs_common.c, and made it a separate dialog.
7875 * src/automaton.[ch]
7876 src/inc.c: fixed the bug that made Sylpheed crash when clicking
7877 Cancel button while getting new mail (thanks to Sergey Vlasov).
7878 * src/xml.c: xml_build_tree()
7879 src/addressbook.c: fixed a bug that caused infinite loop if an
7880 illegal XML file was given.
7885 src/inc.c: applied the patch from Sergey Vlasov that fixes the
7886 problem when the "Go to inbox after receiving new mail" option
7887 was turned off (thanks!).
7891 * src/xml.[ch]: modified so that it supports some characters which
7892 must be escaped, and multiple-lined tag.
7894 src/addressbook.c: modified so that it escapes some characters
7895 like '<', '>', '&', ''', '"'.
7905 src/summaryview.[ch]: applied the patch from Darko Koruga that
7906 adds copy message operation for the MH folders (thanks!).
7907 * src/imap.c: disabled slash to dot conversion.
7908 * src/imageview.c: fixed a bug that displayed an old image when
7909 loading of a image failed (thanks to Darko Koruga).
7913 * src/procmsg.c: procmsg_read_cache(): added setvbuf() to speed up
7914 cache reading (thanks to Sergey Vlasov).
7916 src/summaryview.[ch]
7917 prefs_common.[ch]: applied the patch that keeps the same folder
7918 after receiving new mail (thanks to Sergey Vlasov).
7920 src/utils.[ch]: moved get_quote_level() to utils.c.
7924 * ac/Makefile.am: added.
7926 configure.in: added ac directory.
7930 * src/summaryview.c: summary_filter(): made it move messages
7931 immediately if immediate_exec option is set.
7932 * src/prefs_common.[ch]
7934 src/gtkutils.[ch]: applied the message coloring patch from
7935 Stephen Anthony with some modification (thanks!).
7937 src/mimeview.c: modified the behavior of MimeView (thanks to
7942 * src/utils.c: copy_file()
7943 src/mh.c: applied (and modified) the patch from Darko Koruga
7944 that enables to move messages across file systems (thanks!).
7946 src/utils.[ch]: applied the patch from Jorge Van Hemelryck
7947 that converts the date of messages to the local time (thanks!).
7948 * src/utils.c: remote_tzoffset_sec(): fixed a bug that the signs
7949 of one-letter timezone were reversed.
7950 * src/folder.c: folder_item_add_msg(): put the assertion for the
7951 add_msg() method (thanks to TAKANO).
7955 * src/procmime.c: procmime_decode_content(): fixed a bug that
7956 corrupted quoted-printable encoded messages when they include
7957 `=00' (thanks to Masahiro Tomita).
7960 src/summaryview.c: modified the DnD behavior of MIME view
7961 (thanks to HIRAMATSU).
7965 * src/about.c: applied the patch from Sergey Vlasov that fixes
7966 the appearance of the about dialog (thanks!).
7967 * src/prefs_common.[ch]
7973 src/textview.[ch]: applied the GnuPG support patch which had
7974 ported from the sylpheed-win32 branch (thanks to Sergey Vlasov).
7975 * INSTALL, INSTALL.jp: updated the description about GnuPG.
7979 * src/utils.[ch]: added references_list_append() that parses
7980 References header and makes it string list.
7981 * src/compose.c: modified so that too long References header is
7982 truncated, garbage characters are removed, and header is tidied
7983 up (thanks to Matthias Intemann).
7987 * src/addr_compl.c: applied the address completion bugfix patch
7988 from Alfons Hoogervorst (thanks!).
7992 * src/gtksctree.c: modified so that the tree_select_row signal
7993 actually pass the column number.
7994 * src/summaryview.c: summary_selected(): made generic mark and
7995 unread mark can be toggled with clicking of the columns.
7996 Added summary_mark_row_as_read() and summary_mark_row_as_unread().
7997 * src/prefs_common.c
7998 src/prefs_account.c: applied the layout fix patches from Sergey
7999 Vlasov, and adjusted some widths of GtkEntry widgets.
8000 * src/prefs.c: prefs_dialog_create(): enable notebook to take focus.
8001 * src/inc.c: inc_start(): modified so that authentication dialogs
8002 show server name too (thanks to Sergey Vlasov).
8006 * src/mimeview.c: mimeview_key_pressed(): fixed a bug that caused
8007 segmentation fault when a malformed multipart message is shown
8008 (thanks to Sergey Vlasov).
8009 * src/summaryview.c: summary_display_msg(): made it focus to the
8010 summary view if the MIME list is empty.
8014 * src/pixmaps/deleted.xpm
8015 src/pixmaps/mark.xpm
8016 src/summaryview.c: added deleted and mark icon.
8017 * src/gtkutils.c: gtkut_widget_init(): changed gtk_widget_destroy()
8018 to gtk_widget_unref().
8019 * src/addr_compl.c: start_address_completion(): fixed the bug that
8020 displayed warning when the address book was empty (thanks to
8025 * src/summaryview.c: summary_show(): fixed a memory leak bug
8026 (thanks to ChiDeok Hwang).
8027 * src/pixmaps/forwarded.xpm
8028 src/pixmaps/replied.xpm
8030 src/pixmaps/unread.xpm
8035 src/summaryview.[ch]: applied the patch from Marc Hoper
8036 that adds replied and forwarded mark to replying or forwarding
8037 messages (thanks!). And new and unread mark were replaced
8038 by the icons David Mehrmann created (thanks!).
8039 * src/summaryview.c: made the width of unread and MIME column
8041 * src/prefs.c: prefs_config_parse_one_line(): made it check the
8042 '=' separator (thanks to Sergey Vlasov).
8046 * src/prefs_common.[ch]: moved smooth scroll option to the
8048 * src/textview.c: made the one-line scroll also perform smooth
8053 * src/prefs_common.[ch]
8054 src/textview.c: applied the smooth scroll patch from Setoh and
8059 * src/summaryview.c: summary_attract_by_subject(): rewritten it
8060 using hash table for speeding up.
8061 * src/prefs_account.c: made filter_on_receive TRUE by default.
8062 * src/mainwindow.c: reordered menu items.
8066 * src/gtkutils.c: gtkut_clist_bindings_add(): fixed a bug that
8067 caused address completion not to accept space and enter key.
8072 src/codeconv.c: fixed a bug that didn't encode non-ASCII headers
8074 * src/compose.c: fixed a bug that didn't decode some headers
8075 correctly when replying or reediting drafts (thanks to Sergey
8080 * src/gtkutils.[ch]: added gtkut_widget_init() that modifies the
8081 behaviors of some classes.
8082 * src/main.c: main(): made it call gtkut_widget_init() first.
8083 * src/summaryview.c: summary_create(): removed the key binding code.
8087 * src/procmsg.[ch]: modified for the sake of readability.
8091 * src/mainwindow.c: changed "Clean trash" to "Empty trash".
8092 Added new menu items for folder manipulation.
8093 allsel_cb(): made it change the target between summary view and
8094 message view according to the input focus.
8095 Removed "Select all" from Summary submenu.
8096 * src/folderview.[ch]: added functions for creating/renaming/deleting
8098 * src/procmsg.[ch]: made "marked" and "deleted" flag permanent, and
8099 removed "important" flag.
8100 * src/summaryview.c: added summary_set_row_marks() that sets style
8101 of a row according to the flags, and made some functions use it.
8102 * src/mainwindow.c: allsel_cb(): modified so that it selects
8103 summary view correctly if message view is toggled off.
8107 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a resource
8108 leak bug of socket, and rewrote the routine.
8109 * src/inc.c: inc_mail(), inc_all_account_mail(): fixed a bug that
8110 displayed the wrong unread number in the folder tree if a
8111 folder was open and new messages arrived at the folder.
8112 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug
8117 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): made it
8118 check the existence of the destination file.
8119 * src/procmsg.c: procmsg_set_flags(): made it count the last
8120 number of the message list (and fixed a bug that didn't open
8121 newly arrived message).
8125 * src/prefs_common.c: prefs_send_create(): removed EUC-JP and
8126 Shift_JIS from the outgoing codeset.
8134 * src/send.c: send_message_queue(): modified so that it finds
8135 the account from the `From' and the server name of the queued
8137 * src/account.[ch]: added account_find_from_smtp_server() that
8138 finds an account from the specified address and SMTP server.
8141 src/summaryview.[ch]
8142 src/sourcewindow.[ch]: integrated the viewing source patch from
8143 DINH V. Hoßþ(thanks!).
8147 * src/addr_compl.[ch]
8149 src/compose.c: applied the enhanced address completion patch
8150 from Alfons Hoogervorst (thanks!).
8151 * src/addr_compl.c: replaced g_assert() with g_return(_val)_if_fail().
8152 * src/folder.c: folder_init()
8153 src/folderview.c: folderview_drag_motion_cb()
8154 src/procmsg.c: procmsg_clean_trash()
8155 src/summaryview.c: summary_start_drag()
8156 src/imap.[ch]: integrated the IMAP4 move/remove function patch
8157 from Suzuki Mio (thanks!).
8161 * src/main.c: parse_cmd_opt(): made the --compose option realize
8163 * src/utils.[ch]: execute_async(): supported quoted arguments
8165 strstr_with_skip_quote(), strsplit_with_quote(): quote-supported
8166 version of g_strsplit().
8167 * src/mimeview.c: mimeview_view_file()
8168 src/prefs_common.c: added single quotation mark around the file
8180 src/utils.[ch]: applied the security fix patch from Dmitry V.
8181 Levin with some modification (thanks!). Added my_tmpfile() to
8183 * src/main.c: added --receive-all command-line option.
8187 * src/socket.c: sock_connect_thread(): fixed a bug that didn't
8188 compile if both multithread and IPv6 are enabled (thanks to
8191 src/compose.c: applied a patch from Jason McCarver that allows
8192 FIFO for signature file (thanks!).
8193 * src/textview.c: made some more refactoring.
8194 * src/socket.c: sock_accept(): changed socklen_t to gint.
8199 src/textview.c: some code cleanups.
8205 src/textview.c: integrated the patch from Alfons Hoogervorst that
8206 fixes some glitches in clickable URI and enables mail addresses
8207 clickable, and enables the --compose command line option to
8208 specify address (thanks!).
8215 src/prefs_account.[ch]
8216 src/Makefile.am: applied the SMTP AUTH patch from Martin Schaaf
8217 and fixed its a few bugs (thanks!).
8218 * src/textview.c: textview_key_pressed(): made it don't move focus
8220 * src/main.c: parse_cmd_opt(): modified the help message.
8221 * src/html.[ch]: added empty_line to HTMLParser and modified
8222 the parser routines a bit.
8226 * src/html.c: added eucjp_symbol_list, and added some characters
8227 to ascii_symbol_list.
8231 * src/codeconv.[ch]: added a member `charset' and `charset_str'
8233 * src/html.[ch]: added the symbol list for ISO-8859-1 codeset.
8234 html_parser_new(): made it change the symbol hash table
8235 according to the character set of the document.
8236 html_parse_special(): made it recognize character code number.
8240 * src/textview.c: added textview_show_html() that parses HTML and
8242 textview_show_part(): made it call textview_show_html() if
8243 the part is text/html.
8244 * src/html.[ch]: implemented HTML parser.
8248 * src/codeconv.[ch]: added CodeConverter, and its methods
8249 (conv_code_converter_new(), conv_code_converter_destroy(), and
8251 * src/textview.c: removed the branches by HAVE_LIBJCONV and
8252 rewrote them using CodeConverter.
8256 * src/mbox.c: proc_mbox(): workaround for duplicated From_ line.
8260 * src/codeconv.c: some code cleanups.
8264 * src/mainwindow.c: main_window_popup(): fixed a bug that didn't
8265 popup the main window correctly.
8266 * src/codeconv.h: fixed a bug that the definition of CS_EUC_CN and
8267 CS_EUC_TW was reversed (thanks to Sakamoto).
8274 src/socket.[ch]: applied the patch from Hiramatu that enables
8275 prohibition of multiple execution and remote control with
8276 command line option (thanks!).
8280 * src/summaryview.c: summary_button_pressed(), summary_selected():
8281 made it toggle the view if middle button is clicked while message
8283 summary_drag_data_get(): fixed a memory leaking.
8285 src/compose.c: compose_write_headers(): modified so that it uses
8286 host_alias for X-Mailer or X-Newsreader field.
8292 * src/folderview.c: fixed a bug that prevented a folder from being
8293 created if there were already folders that have the same name
8294 somewhere at another place.
8298 * src/folderview.c: folderview_update_all(): fixed a bug that
8299 caused segmentation fault when a folder was selected after
8300 updating the folder tree.
8301 * src/compose.c: compose_send(): fixed a locking bug.
8302 compose_write_headers(): fixed a bug that referred to cur_account.
8303 compose_convert_header(): made it check the arguments.
8307 * src/main.c: some cleanups and added --help option.
8311 * src/send.c: re-enabled user-defined domain name setting.
8312 * src/utils.c: is_next_mbs(): changed the size of temporary
8313 multibyte array to MB_CUR_MAX.
8314 strdup_mbstowcs(): added error check to mbstowcs().
8315 strdup_wcstombs(): added error check to wcstombs().
8316 * src/addr_compl.c: get_address_from_edit(): made it check the
8317 return value of strdup_mbstowcs().
8318 * src/codeconv.c: conv_encode_header(): added error checking
8319 to strdup_mbstowcs().
8323 * src/utils.c: log_error(): changed g_error() to g_warning() so
8324 that it doesn't abort.
8326 * src/addr_compl.c: add_address(): fixed a bug that aborted the
8327 program if the name or the address is empty.
8328 get_address_from_edit(): supported multibyte characters.
8329 * configure.in: fixed a typo.
8330 * src/send.c: re-enabled user-defined SMTP port setting.
8336 * configure.in: added --enable-gpgme option, and disabled GPGME
8338 * made GPGME related members in MimeInfo not used if disabled.
8339 * src/rfc2015.c: some cleanups for warning.
8343 INSTALL.jp: updated.
8344 * Makefile.am: modified bzip2 option.
8348 * src/procmime.[ch]: added MIME_APPLICATION_OCTET_STREAM to
8350 * src/mimeview.c: mimeview_view_file(): made it do nothing if
8351 the MIME type is application/octet-stream.
8352 * src/folderview.c: folderview_update_all(): made it show modal
8353 dialog while updating folders.
8354 * src/folderview.c: folderview_update_all(): fixed a bug that
8355 didn't remove the dialog.
8359 * src/mimeinfo.c: merged the patch from John E.P. Hynes that
8360 launches the attached file using metamail (thanks!).
8361 * src/procmime.[ch]: added procmime_get_tmp_file_name().
8363 src/addr_compl.[ch]: merged the patch from Alfons Hoogervorst
8364 that enables address completion in the address entry on the
8365 composition window (thanks!).
8366 * src/addr_compl.c: get_all_addresses(), read_address_book():
8367 modified so that it uses xml_free_tree() for freeing the address
8372 * src/utils.c: remove_dir_recursive(): fixed a bug that failed to
8373 remove the current directory (thanks to Maki).
8374 * src/summary_search.c: added `Select all matched' option to the
8375 search dialog (thanks to Takahashi).
8376 * src/pixmaps/stock_mail_attach.xpm
8377 src/pixmaps/tb_address_book.xpm
8378 src/compose.c: added some toolbar icons contributed from
8379 Leandro Pereira (thanks!).
8383 * src/rfc2015.c: passphrase_cb(): *finally* fixed a bug that caused
8384 segmentation fault when the passphrase dialog was cancelled.
8385 Hided the passphrase in the debug message.
8386 * src/about.c: about_create(): fixed a bug that failed to compile
8387 when none of the features were used.
8388 * src/foldersel.c: foldersel_set_tree(): made it display all
8390 * src/inc.c: inc_start(): fixed a bug that showed password dialog
8391 continuously if it was cancelled.
8392 * src/summaryview.c: summary_write_cache(): put an assertion after
8393 folder_item_get_cache_file() to prevent the crash.
8394 * thanks to Maki for the above four fixes.
8395 * src/utils.h: added #include <alloca.h>.
8399 * src/rfc2015.c: changed some g_message() used for error messages
8404 * src/procmsg.[ch]: modified READ_CACHE_DATA() macro so that
8405 it can handle a string data of which length >= BUFFSIZE.
8406 * src/rfc2015.c: rfc2015_encrypt(): changed return to `goto failure'.
8407 * src/pixmaps/stock_mail_receive_all.xpm
8408 src/pixmaps/stock_mail_reply_to_all.xpm
8410 src/mainwindow.c: main_window_toolbar_create(): added new toolbar
8411 icons contributed from David Mehrmann (thanks!).
8412 * src/inc.[ch]: overhauled the architecture so that it don't create
8413 and destroy progress dialog for each incorporation in `get all'
8418 * src/mh.c: mh_scan_tree_recursive(): fixed a bug that mistook
8419 sub folders named `inbox', etc. as special folders.
8420 * src/rfc2015.c: rfc2015_encrypt(): fixed a bug that didn't quote
8425 * applied the GnuPG patch from Werner Koch (thanks!).
8426 * removed Mixmaster support.
8427 * src/rfc2015.c: changed g_error() to g_warning() and modified some
8429 * src/about.c: about_create(): modified compiled-in features list.
8433 INSTALL.jp: updated.
8434 * src/select-keys.c: create_dialog(): modified the layout.
8435 * src/headerwindow.c
8437 src/logwindow.c: made it raise the window if the window is already
8439 * src/prefs_common.[ch]: added an option for immediate execution.
8440 * src/summaryview.c: made it execute immediately when messages are
8441 moved or deleted if immediate_exec option is turned on.
8442 * src/summaryview.c: summary_delete(), summary_move_selected_to():
8443 moved summary_step() before summary_execute().
8444 * src/folderview.c: folderview_update_all(): made it scan folder
8446 * src/compose.c: compose_write_headers(): made it don't add
8447 In-Reply-To header if to_list is empty.
8449 2001-01-09 Werner Koch <wk@gnupg.org>
8451 * configure.in, acconfig.h: Check for GPGME.
8452 * ac/: New directory for local autoconf macros.
8453 * src/Makefile.am: Add support for GPGME
8455 * src/main.c (idle_function_for_gpgme): New.
8456 (main): Register this function.
8458 * src/about.c: Add a note about GPGME.
8460 * src/rfc2015.c, rfc2015.h: New.
8462 * src/mimeview.c (mimeview_show_message): Check signature.
8463 * src/procmime.c (procmime_scan_message): Ditto.
8465 * src/messageview.c (messageview_show): Add decryption stuff.
8467 * src/compose.c (compose_write_to_file): Encrypt the file if requested.
8468 (compose_toggle_encrypt_cb): New
8469 (compose_toggle_mixmaster_cb): New, just to be prepared for
8471 (compose_write_headers): Suppress some headers in mixmaster mode.
8473 * src/prefs_common.c (prefs_common_create): Add Privacy notebook sheet.
8474 (prefs_privacy_create): New. Also some new structures etc.
8475 * src/compose.c (compose_create): Set encrypt button to prefs default.
8476 * src/compose.h (struct _Compose): Add use_encryption, use_mixmaster.
8478 * src/compose.c (compose_send): Add missing unlock before one return.
8482 * src/gtksctree.[ch]
8484 src/summaryview.[ch]: applied the patch from Hiramatu that enables
8485 DnD from the summary view to the folder view and fixes some other
8487 * src/mainwindow.c: scan_tree_func(): fixed a bug that caused
8489 * src/imap.c: quoted user name in LOGIN and folder name in SELECT.
8490 * src/gtksctree.c: gtk_sctree_button_press(): fixed a bug that
8491 didn't toggle expansion of node.
8495 * src/imap.c: applied the patch from Nishimura that updates the
8496 message list more precisely and reads the message flags (thanks!).
8497 * src/textview.c: textview_show_header(): made X-Newsreader field
8499 * src/summaryview.c: summary_show(): made it flush events when
8504 * src/summaryview.c: applied the patch from Alfons that enabled
8505 the horizontal scrollbar of summary view (thanks!).
8509 * src/compose.c: compose_cb(): fixed a bug that didn't open the
8510 composition window right after launching the program.
8511 * src/setup.c: scan_tree_func(): fixed a bug that caused
8518 * src/textview.c: textview_set_font(): fixed a bug that caused
8519 segmentation fault if the mode of the text widget was changed
8520 between multibyte and singlebyte while the region was selected
8526 src/summaryview.c: made it unable to delete or move messages when
8528 * src/prefs_common.c
8529 src/news.c: added the option for maximum news article number.
8533 * src/compose.c: compose_send(): changed the location of temporary
8534 file. Made it use the default account if all of tried account
8535 aren't mail one, and made it show alert dialog and abort when even
8537 * src/prefs_account.c: prefs_account_get_new_id(): made it preserve
8539 prefs_account_open(): made it fill in personal information
8540 according to the default account when creating a new account.
8541 * sylpheed.spec.in: added to autogenerate sylpheed.spec with the
8542 proper version number (thanks to BONAIM).
8544 Makefile.am: added entries for sylpheed.spec.in.
8548 * src/compose.[ch]: modified so that it can change account
8550 * src/send.[ch]: modified so that it doesn't see cur_account.
8551 * src/prefs_account.c: modified so that news setting doesn't
8552 show SMTP server entry.
8556 * src/folderview.c: fixed a bug that didn't sort special folders
8557 correctly when a new folder is created or renamed.
8561 * src/compose.[ch]: enabled to select account at composing window.
8562 * src/folderview.c: made it display unread number next to folder
8564 * src/prefs_common.[ch]: added the option for unread number display.
8568 * src/compose.[ch]: integrated news posting patch from DINH V. Ho`
8569 and made many modifications (thanks!).
8570 compose_write_headers(): made the spaces in newsgroups removed.
8571 Supported Followup-To.
8572 compose_destroy(): got the objects removed properly.
8573 * src/news.c: merged news_post_to_group() and news_post() since
8574 they doesn't have to do multiple posting.
8575 * src/import.c: import_destsel_cb(): fixed a bug that failed to
8576 import into the selected folder.
8577 * src/prefs_account.c: modified the interfaces.
8582 prefs_common.c: changed "SHIFT-JIS" to "Shift_JIS" since the
8583 string is registerd to IANA.
8584 * src/nntp.[ch]: added nntp_post().
8585 * src/news.[ch]: added news_post() and news_post_to_group().
8589 * src/account.c: account_edit_open()
8590 src/mainwindow.c: new_account_cb(): made it unable to edit
8591 accounts if some composing windows are open.
8595 * src/folder.[ch]: added folder_set_name().
8596 * src/account.c: made a folder name of IMAP4/NNTP become the same
8597 as the name of account.
8601 * src/summaryview.c: summary_filter_func(): fixed a bug that failed
8608 * src/mbox.c: fixed a bug that didn't incorporate spool file
8609 correctly. Modified so that it recognizes From_ line as separator
8610 of messages even if the previous line isn't empty line.
8611 * src/send.c: send_message_queue()
8612 src/procmsg.c: procmsg_send_queue(): Fixed a bug that printed
8613 warning when it tried to delete a sent message.
8620 src/news.[ch]: modified so that it actually gets news articles.
8621 * src/utils.[ch]: added make_dir_hier() that creates directory
8624 folder_item_get_cache_file(), folder_item_get_mark_file():
8625 made it creates cache directory if it doesn't exist.
8626 folder_add(): made it insert the added folder into the correct
8628 * src/imap.[ch]: modified so that it suits the new folder
8629 architecture. Fixed a bug that caused segmentation fault
8630 if authentication failed at imap_auth().
8631 * src/folderview.c: implemented IMAP4 folder handling routines.
8635 * src/prefs_account.[ch]: added account ID and nntp_server
8636 to PrefsAccount. And added the interface for NNTP server.
8637 * src/folderview.c: modified news folder handling routines.
8638 * src/folder.[ch]: removed cache_dir from RemoteFolder, and
8639 modified folder_item_get_path().
8643 * src/folder.[ch]: added create_folder(), rename_folder(),
8644 remove_folder() to Folder class.
8645 * src/mh.[ch]: added mh_create_folder(), mh_rename_folder(), and
8647 Implemented mh_create_tree() that creates MH directory tree.
8648 mh_rename_folder(): modified so that the paths of sub folders
8650 * src/folderview.c: modified folderview_new_folder_cb(),
8651 folderview_rename_folder_cb(), and folderview_delete_folder_cb()
8652 so that they work properly.
8653 Added folderview_remove_mailbox_cb() and the menu entry that
8654 remove mailbox from folder tree.
8655 * src/setup.[ch]: added for initial setup.
8656 * src/alertpanel.c: modified the appearance of the dialog.
8657 * src/compose.c: fixed compose_save_to_outbox() and
8658 compose_queue() so that it sets flags correctly.
8662 * src/mainwindow.c: modified the strings of toolbar labels.
8666 * src/gtkutils.[ch]: added gtkut_ctree_node_move_if_on_the_edge().
8667 * src/summaryview.c: summary_display_msg(): made it scroll the
8668 list if the message of the edge of that is displayed.
8673 src/mh.[ch]: added functions for moving messages.
8674 * src/procmsg.[ch]: moved procmsg_move_messages_with_dest()
8675 to folder.c and mh.c. Added procmsg_to_folder_hash_table().
8679 * src/utils.[ch]: added get_tmp_file().
8682 src/folder.c: fixed a bug that failed to drop messages.
8683 * src/mh.c: mh_scan_folder(): made it check new, unread, and total
8684 number of the folder.
8688 * src/folderview.c: added special folder setting routine.
8689 * src/folder.[ch]: added a method is_msg_changed().
8690 Implemented folder_find_item_from_path().
8691 * src/summaryview.c: fixed some bugs that wrongly freed FolderItem's.
8692 * autogen.sh: fixed so that the configure can take arguments.
8697 src/mainwindow.[ch]: added main_window_new_mailbox() that asks
8698 the path of mailbox and create the one.
8699 * src/folderview.c: made the folder tree and selected folder
8705 src/folder.c: implemented mh_scan_tree() that scans the folder
8706 recursively and create the tree.
8726 src/summaryview.[ch]
8728 src/Makefile.am: merged the development tree into the cvs tree.
8729 Some functions are not unimplemented yet.
8737 * src/xml.[ch]: supported omitted tag (<tag />).
8738 * src/procmsg.c: procmsg_msg_exist(): fixed a memory leak bug.
8739 * src/imap.c: imap_parse_atom(): fixed a bug that caused
8740 segmentation fault if the subject was empty (thanks to Tsutsui).
8741 * src/folder.[ch]: updated.
8745 * src/xml.[ch]: added xml_parse_file() that parses the whole XML
8746 file specified and returns the tree.
8750 * po/pt_BR.po: fixed some typos that caused segmentation fault.
8756 * src/session.h: added.
8757 * src/folder.[ch]: updated.
8758 * src/compose.c: compose_write_to_file()
8759 src/codeconv.c: conv_get_outgoing_charset_str(): fixed a bug
8760 that put a garbage to charset if the outgoing character set was
8761 specified and non-ascii characters were used in subject.
8765 * src/statusbar.c: statusbar_puts(): fixed a bug that locked the
8766 progress if the status bar was hidden.
8770 * src/folder.[ch]: added for the more object-oriented folder
8778 src/prefs_common.[ch]: made the state of status bar get preserved.
8779 * src/compose.c: compose_insert_sig(): modified so that it doesn't
8780 put a separator if a signature file doesn't exist.
8781 * src/prefs_account.[ch]
8782 src/inc.c: added the option that toggles whether to receive
8783 messages when getting from all accounts.
8785 README.jp: updated the description and added some usages.
8791 src/compose.[ch]: applied the patches from Alfons Hoogervorst
8792 that makes the ruler of composition window graphical (thanks!).
8798 src/prefs_common.c: replaced CS_WINDOWS_1251 with CS_CP1251.
8804 * src/compose.c: turned the color of quoted messages black again.
8808 * src/about.c: added a clickable URI to the Sylpheed home page,
8809 and a list of compiled-in features.
8810 * src/compose.c: made the color of quoted messages blue.
8811 * src/summaryview.c: added `Show all header' to the context menu.
8812 * src/prefs_common.c: removed the threading option from the dialog.
8813 * src/compose.c: fixed a bug that didn't parse the quotation format
8818 * src/compose.c: compose_set_ext_editor_sensitive(): modified so
8819 that it toggles linewrap menu item and tool button.
8820 * src/prefs_common.c: modified the default of the signature
8822 * src/compose.[ch]: added ruler to the compose window.
8823 * src/prefs_common.[ch]: added a member for the state of ruler
8828 * src/headerview.[ch]: added the destroy function.
8829 * src/messageview.c: messageview_destroy(): fixed a memory leak
8830 bug that didn't freed the HeaderView object.
8831 * src/prefs.c: prefs_write_open(): fixed a memory leak bug.
8832 * src/xml.c: xml_close_file(): fixed a memory leak bug (thanks
8833 to Alfons Hoogervorst for the above three memory leak bug fixes).
8842 INSTALL.jp: modified some descriptions.
8846 * src/compose.c: implemented line-wrapping functions.
8847 * src/prefs_common.[ch]: added the settings for line-wrapping.
8848 * src/codeconv.[ch]: added Windows-1251 to the codesets.
8849 conv_jistoeuc(): fixed a bug that caused segmentation fault
8850 when some half-width kana characters appeared.
8851 * src/summaryview.c: summary_select_all(): made it show message
8852 on the status bar if the number of messages is large.
8856 * src/compose.c: compose_reply(), compose_quote_parse_fmt():
8857 modified so that it parses the quotation mark too.
8858 Added %I that means the initial of sender to the format.
8859 * src/codeconv.[ch]: added GB2312 and Big5 to the codesets.
8860 Fixed a bug that set the wrong outgoing codeset.
8862 src/prefs_common.c: modified the menu item of Chinese codeset.
8867 src/prefs_common.[ch]: modified so that outgoing charset is
8868 saved as a string, not a number.
8872 * src/textview.c: textview_set_font(): changed the scheme of
8873 selecting between font and fontset. And changed the default
8875 * src/headerview.c: headerview_show_xface(): made it ignore
8877 * src/codeconv.c: conv_codeset_strdup(), conv_get_code_conv_func():
8878 modified so that it consider the source codeset as ISO-2022-JP if
8879 it is NULL and the current locale is Japanese.
8883 * src/textview.c: textview_destroy(): fixed a bug that caused
8884 segmentation fault if textview->msgfont is NULL (thanks to
8887 src/defs.h: applied the patch from Yanase that enables to
8888 save the shortcuts of the menus (thanks!).
8892 * src/mainwindow.[ch]: added main_window_set_menu_sensitive() that
8893 toggles the sensitivity of menu items.
8894 * src/summaryview.c: renamed summary_set_popup_sensitive() to
8895 summary_set_menu_sensitive(), and made it set the sensitivity of
8900 * src/textview.c: textview_init(): fixed a bug that didn't disable
8901 the theme engine of GtkText (thanks to Hiramatu).
8902 * src/compose.c: compose_quote_parse_fmt(): added %n and %N that
8903 means the full name of sender and the first name.
8904 * manual/ja/*.??ml: updated to the latest version.
8910 * src/defs.h: separated the definitions from main.h and applied the
8911 patch from TOGAWA that sets DEFAULT_SPOOL_PATH and MAXPATHLEN
8912 from the system headers (thanks!).
8913 * src/codeconv.c: conv_get_current_charset(): fixes for lt_LT and
8915 * src/textview.c: textview_set_font(): modified so that it sets
8916 the correct font when the locale is multi-byte.
8917 textview_destroy(): added proper codes for destruction.
8918 textview_show_header(): fixed the coloration of X-Mailer.
8922 * src/textview.[ch]: made TextView have single-byte and multi-byte
8923 GtkText, and switch between them according to the given codeset.
8924 * src/compose.c: compose_create(): modified the font setting
8929 * src/textview.[ch]: moved the message font variable into TextView.
8930 textview_set_font(): modified so that it uses gdk_font_load()
8931 if the given codeset is US-ASCII or ISO-8859-*.
8939 src/compose.c: workaround for the 8bit code issue (used
8940 gdk_font_load() instead of gdk_fontset_load() when the locale is
8947 * src/compose.[ch]: added `Draft' tool button.
8948 * src/imap.c: imap_parse_envelope(): fixed a parsing bug.
8949 * README, README.jp: added the explanation of the locale setting.
8953 * src/compose.c: made it overwrite the previous draft message when
8954 reedited the draft and saved it again.
8955 * src/procmsg.[ch]: added procmsg_msg_exist() that examine whether
8956 the message really exists.
8957 * src/folderview.[ch]: added folderview_scan_folder_a() and
8958 folderview_scan_folder_foreach_a() that scan the specified
8959 folders for each folderviews.
8960 * src/mainwindow.[ch]: removed main_window_scan_folder() and
8961 main_window_scan_folder_all().
8962 Added `Reedit' to the menu.
8963 * src/import.[ch]: removed MainWindow from the argument of
8965 * src/summaryview.c: removed the unnecessary items from the popup
8966 menu. Changed summary_reedit_cb() to summary_reedit(), and made
8971 * src/compose.h: added a member msginfo to Compose.
8972 * src/procmsg.[ch]: added procmsg_msginfo_copy() that duplicates
8977 * src/summaryview.c: made the the popup menu change the sensitivity
8978 according to the context. Fixed a bug that showed the `clean trash'
8979 dialog repeatedly if `D' key was pressed when the focus was on the
8981 * src/pixmaps/unread.xpm: changed the color of unread mark to blue.
8985 * src/main.c: fixed g_thread initialization.
8989 * src/codeconv.c: added pt_BR to locale_table.
8990 * src/prefs_common.c: prefs_send_create(): added `US-ASCII',
8991 `ISO-8859-1', and Japanese codeset to the option menu of outgoing
8992 codeset when not using libjconv.
8993 * src/compose.c: fixed the bug on saving draft again.
8997 * src/compose.c: compose_write_headers(): fixed a bug that failed
8998 to write headers if To: was empty when saving draft.
9004 src/headerwindow.[ch]
9006 src/messageview.[ch]
9010 src/procheader.[ch]: modified so that they can handle queue folder
9013 src/summaryview.c: implemented draft-reediting function.
9016 src/mimeview.c: replaced *(GtkWidget **) with the macro
9021 * src/procmsg.[ch]: procmsg_msginfo_free(): fixed a memory leak bug.
9022 Added MSG_QUEUED and MSG_DRAFT to MsgFlags, and made it set them
9023 if the folder is QUEUE_DIR or DRAFT_DIR.
9030 src/messageview.c: modified the border of the headerview.
9031 * src/gtkutils.h: added the macro GTK_WIDGET_PTR() that casts
9032 an Sylpheed object to GtkWidget.
9033 * src/utils.c: remove_return(), remove_space(): fixed a bug that
9034 possibly caused segmentation fault.
9037 src/summaryview.c: implemented `forward as an attachment'.
9038 * src/utils.[ch]: open_uri(): brought on URI opening function from
9039 textview.c and manual.c.
9046 src/prefs_common.[ch]: removed `Reply with quote', and added
9047 `Reply to all', and added the option that decides whether to
9048 quote message on replying.
9052 * src/folderview.c: modified so that it uses gtkut_wait_for_draw()
9053 instead of GTK_EVENTS_FLUSH() for statusbar redraw.
9056 src/prefs_common.c: added Baltic (ISO-8859-4,13) to the code sets.
9057 * src/compose.c: compose_send(): modified so that it shows error
9058 dialog when failed to send a message.
9062 * src/account.c: account_edit_close(): fixed a bug that didn't set
9063 current account when creating an account for the first time.
9064 * configure.in: added es to ALL_LINGUAS.
9068 * src/codeconv.c: conv_codeset_strdup(): made it use libkcc if
9070 conv_get_code_conv_func(): modified so that it doesn't convert
9071 codeset if it is unknown.
9072 * src/folderview.c: folderview_update_msg_num(): modified style
9077 * src/codeconv.c: conv_codeset_strdup(): modified so that it sets
9078 codesets automatically if the arguments are NULL.
9079 * src/textview.c: textview_write_line(): made it output warning
9080 message on the text view if conversion failed.
9084 * README, README.jp: modified the author of the manual.
9088 * src/headerview.[ch]
9089 src/messageview.[ch]: modified so that it uses GtkLabel widget
9091 * src/codeconv.c: conv_unmime_header(): modified so that it deletes
9092 unreadable codes if the current locale is EUC-JP and libjconv is
9100 src/textview.c: modified so that it parses MIME message more
9102 * src/imap.c: imap_parse_address(): fixed a bug.
9106 * src/procmsg.[ch]: added procmsg_get_message_file_path().
9107 * src/recv.c: recv_bytes_write(): added CR+LF -> LF conversion
9109 * src/imap.[ch]: changed the name of the member `group' in
9110 IMAPSession to `mbox'.
9111 imap_gen_send(): modified so that it doesn't output the password
9113 Modified session destroying routine.
9114 * src/folderview.c: folderview_write_cache(): made it preserve
9115 the IMAP folder list.
9116 * src/procmime.c: procmime_scan_multipart_message(): fixed a bug
9117 that showed boundary at the end of an attached RFC822 part.
9118 * src/prefs_common.c: changed the default of toolbar style to
9123 * src/imap.c: imap_get_uncached_messages(): modified so that it
9124 doesn't get the cached envelopes.
9125 imap_session_get_message_info(): made it read only the cache
9126 if the session is not established.
9127 * src/procmsg.c: procmsg_set_flags(): supported IMAP folder.
9128 * src/news.c: news_get_article_info(): made it read only the cache
9129 if the session is not established.
9133 * src/textview.c: textview_write_line(): fixed a memory leak bug.
9134 * src/folderview.[ch]: made it create IMAP4 folders from the
9135 account information.
9136 * src/imap.[ch]: imap_session_get(): modified so that it creates
9137 IMAP4 session from the account information.
9141 * src/imap.[ch]: added for IMAP4 support.
9142 * src/summaryview.[ch]
9144 src/recv.[ch]: modified for IMAP4 support.
9145 * src/folderview.c: more IMAP4 implementation.
9146 * src/procmsg.[ch]: added procmsg_get_message_file() that retrieves
9147 the specified message and return the file name.
9148 * src/gtkutils.c: gtkut_widget_wait_for_draw(): fixed a bug that
9149 locked up the process if the given widget was invisible.
9153 * src/folderview.[ch]: added IMAP4-related code.
9159 * src/main.h: added IMAP_CACHE_DIR.
9160 * src/utils.[ch]: added get_imap_cache_dir().
9161 * src/procmsg.h: added M_IMAP to MsgType, and MSG_IMAP to MsgFlags.
9162 Added macro MSG_IS_IMAP().
9163 * src/codeconv.c: added `#include <locale.h>' for setlocale().
9164 * sylpheed.spec: fixed %files section.
9170 * src/codeconv.c: conv_get_current_charset(): made it compare
9171 string with strncasecmp().
9172 * src/compose.c: comopse_reply_parse_header(): workaround for
9173 the malformed References: header generated by OE5 :(
9177 * src/prefs_common.c
9178 src/prefs_account.c: modified the layout of the widgets.
9184 * src/*.[ch]: added copyright notice to the top of the source files.
9185 * src/compose.c: compose_write_attach(): modified filename encode
9190 * src/mainwindow.c: fixed the menu entry of manual.
9192 src/codeconv.[ch]: moved compose_encode_header() into codeconv.c,
9193 and applied the libjconv patch.
9194 * src/utils.c: strdup_mbstowcs(), strdup_wcstombs(): used g_realloc()
9195 to reduce the alloc'd memory to the optimal size.
9196 * src/prefs_common.[ch]: added outgoing codeset option menu.
9197 * src/compose.c: compose_send(): added exclusive lock to prevent
9199 * configure.in: made '--enable-ipv6=no' the default.
9200 * src/compose.c: compose_write_attach(): made it encode the name
9201 of the attached file.
9202 * src/procmsg.c: procmsg_get_last_message_number(): fixed a bug that
9203 didn't check the type of file.
9204 procmsg_move_messages_with_dest(): fixed a bug that failed to
9205 move message if a directory that had the same name existed.
9206 * src/utils.c: is_ascii_str(): modified so that '\t', ' ', '\r', '\n'
9207 are included as ASCII characters.
9212 src/procmime.[ch]: modified so that it actually works when using
9214 * src/codeconv.[ch]: added conv_codeset_strdup() that converts
9215 the codeset of string according to the codeset specified in
9217 * src/utils.[ch]: added is_ascii_str() that determines whether the
9218 string is 7bit-ASCII or not.
9220 src/codeconv.[ch]: moved the character set related functions
9222 * merged the patch and the manual written by BONAIM (thanks!).
9232 src/unmime.[ch]: applied the patch from Higuchi that utilizes
9233 libjconv and enables to handle many locales, including UTF-8
9234 (Unicode) (thanks!).
9235 * src/account.c: modified so that the account isn't changed when
9236 another account is selected on account edit dialog.
9240 * src/prefs_common.[ch]
9241 src/textview.c: added an option that specifies whether to display
9242 short headers on message view.
9243 * src/codeconv.[ch]: added function conv_unmime_header() that
9244 decodes MIME-encoded header and converts the character set.
9245 And added conv_unreadable_latin(), and modified conv_latintodisp().
9246 * src/messageview.[ch]: made the window get closed when escape key
9251 * src/imageview.c: fixed a bug that caused segmentation fault if
9252 message view was in new window.
9253 * src/prefs_common.c: added `xemacs %s' to the external editor
9260 * src/summaryview.c: enabled to open a new message window with
9262 * src/prefs_common.[ch]
9263 src/messageview.c: made it preserve the window size of message
9265 * src/prefs_account.c: added `None (local)' to the option menu of
9270 * Makefile.am: added autogen.sh to EXTRA_DIST.
9274 * src/prefs_common.c: applied the patch from Paul Rolland that
9275 enables font selection dialog (thanks!).
9277 src/utils.[ch]: moved tzoffset() and compose_get_date() of
9278 compose.[ch] into utils.[ch].
9279 * src/main.[ch]: renamed the name of filter file to `filterrc'.
9284 src/utils.[ch]: modified address parsing routine so that it
9285 parses quotes correctly.
9286 * src/textview.c: textview_show_part(): modified so that it shows
9287 the simplified headers if the part is text/plain.
9291 * src/messageview.[ch]
9292 src/summaryview.[ch]
9293 src/mainwindow.c: enabled to open a message in new window.
9294 * src/messageview.[ch]
9297 src/imageview.[ch]: added destroy function, and modified the
9298 key handling routines.
9302 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug that
9303 caused segmentation fault (thanks to KUROSAWA).
9304 * src/alertpanel.c: modified so that the focused button is
9308 src/folderview.c: modified so that the order of the buttons of
9309 alert panel will be `Yes', `No'.
9313 * src/utils.[ch]: added execute_async() and execute_command_line()
9314 that execute command line using execvp().
9317 src/procmsg.c: replaced system() with execute_command_line()
9319 * src/procmsg.c: turn back to system().
9320 * src/utils.c: modified execute_command_line().
9324 * src/mainwindow.c: main_window_get_size(): modified so that it
9325 doesn't update the height of SummaryView if MessageView is
9327 * src/compose.[ch]: applied the patch from NAKAGAWA that fixes some
9328 probrems of external editor handling (thanks!).
9330 src/procmime.[ch]: applied the patch from Hiramatu that make it
9331 supports Content-Transfer-Encoding: x-uuencode (thanks!).
9336 src/prefs_common.[ch]: implemented the external editor faculty.
9337 * src/compose.c: compose_attach_property(): fixed some bugs on
9338 changing the property of attached file.
9339 * src/compose.c: fixed some bugs of external editor functions.
9346 src/prefs_common.[ch]
9347 src/summaryview.c: applied the patch from Paul Rolland that
9348 restores the size of widgets when restarting (thanks!).
9350 src/prefs_common.[ch]
9351 src/summaryview.c: applied the patch from Paul Rolland that saves
9352 the width of CTree columns (thanks!).
9356 * src/headerview.c: modified the height of HeaderView.
9357 * src/textview.c: textview_show_part(): made it process the message
9358 as normal text if it is single-part RFC822 message.
9360 src/summaryview.c: some changes around the key handling.
9361 * src/prefs_common.[ch]: substituted the word `assort' with `filter'.
9365 * src/codeconv.[ch]: added conv_latintodisp() for ISO-8859-1 support.
9366 * src/procheader.c: procheader_get_one_field(): fixed a bug that
9367 caused segmentation fault if the first line of the file is space
9368 or tab (thanks to Hiramatu).
9369 * src/mimeview.c: mimeview_drag_data_get(): modified so that the
9370 filename doesn't include G_DIR_SEPARATOR (thanks to Hiramatu).
9371 * src/prefs_account.c
9372 src/prefs_common.c: modified the dialog size.
9373 * src/prefs.c: made the dialog window growable.
9379 * configure.in: removed unnecessary AC_CHECK_FUNC(gettext) that
9380 caused the failure of the detection of libintl.
9382 src/prefs_common.c: implemented `not contain', and modified for
9384 * src/imageview.c: changed alertpanel_error() to g_warning() so that
9385 it doesn't grab mouse events.
9386 * src/compose.[ch]: added compose_list that holds the list of
9387 Compose objects, and added the function compose_get_compose_list().
9390 src/summaryview.c: made it confirm if composing message exists.
9394 * src/compose.c: compose_reply_set_entry(): fixed a bug that caused
9395 segmentation fault when trying to reply the message in the queue
9396 folder (thanks to Kotobuki).
9397 compose_attach_property(): modified the property dialog routine
9398 so that it can handle input error.
9399 * src/mimeview.c: applied the patch from Hiramatu that enables
9400 the drag 'n drop from MimeView (thanks!).
9401 * src/headerview.[ch]
9403 src/procmsg.h: applied the patches for X-Face support from
9404 HIROSHIMA (thanks!).
9408 * src/compose.c: compose_attach_property(): modified so that the
9409 property dialog can actually change the property of attached file.
9414 src/Makefile.am: updated for gdk_imlib.
9415 * added AUTHORS and NEWS.
9418 src/Makefile.am: modified so that configure auto-detects gdk-pixbuf
9419 and gdk_imlib library. And fixed a bug on IPv6 detecting.
9420 * src/imageview.c: supported gdk-pixbuf.
9424 INSTALL.jp: added the mention about built-in image view.
9425 * configure.in: modified so that configure can disable gdk-pixbuf
9426 or/and gdk_imlib library.
9430 * src/imageview.[ch]
9432 src/messageview.[ch]
9433 src/mimeview.[ch]: applied the patches from HIROSHIMA that enables
9434 to display image (thanks!).
9440 * src/summaryview.c: summary_assort_func(): modified to avoid
9441 `not receive' setting.
9445 * src/filesel.c: applied the patch from HIROSHIMA that makes it
9446 remember previous directory when opening the dialog (thanks!).
9447 * src/summaryview.[ch]: added a function summary_redisplay_msg().
9448 * src/mainwindow.c: set_charset_cb(): made it redisplay the message
9449 that is currently shown when the character set is changed.
9453 src/filter.h: applied the patch from Tanaka that enables not to
9454 receive specified messages according to the sorting rule (thanks!).
9458 * src/procmsg.[ch]: added MSG_MIME to the type MsgFlags. And modified
9459 so that it handles MSG_MIME flag, and it scans uncached messages
9460 when cache reading failed even if it is specified not to scan
9462 * src/procheader.c: procheader_parse(): added the determination of
9463 multipart MIME message.
9464 * src/main.h: increased CACHE_VERSION.
9465 * src/summaryview.[ch]: added the `MIME' column that shows whether
9466 a message is multipart or not.
9467 * src/prefs_common.[ch]: added the `MIME' column to the setting of
9469 * added src/pixmaps/clip.xpm.
9471 src/procmsg.[ch]: modified so that it prompts the print command
9476 * src/folderview.c: folderview_create()
9477 src/summaryview.c: summary_create():
9478 src/addressbook.c: addressbook_create(): set the expander style of
9479 CTree to GTK_CTREE_EXPANDER_SQUARE.
9480 * src/compose.c: modified the interface of property dialog.
9484 * src/compose.c: added property dialog for attached file.
9488 * src/procmsg.[ch]: added a function procmsg_print_message() that
9489 prints the given message.
9490 * src/summaryview.c: summary_print(): modified so that it prints
9491 all selected messages.
9492 * src/folderview.c: folderview_select_node(): fixed a bug that
9493 didn't focus on folder tree if inbox was empty when incorporating.
9499 * src/prefs_commmon.[ch]: added `Other' tab and an option for
9500 printing. And moved external browser option to there.
9502 src/summayview.[ch]: added print menu and implemented print
9507 * src/prefs_account.c: made the default value of smtp_server to
9509 * src/folderview.c: folderview_update_msg_num(): modified so that
9510 it doesn't emphasize trash folder even if it has new or unread
9515 * src/filesel.c: filesel_select_file(): (perhaps) fixed a bug that
9516 caused segmentation fault when file selection dialog was closed
9517 and other dialog was open immediately.
9521 * src/compose.c: compose_encode_header(): fixed a bug that caused
9522 infinite loop if wctomb() failed.
9528 * src/mimeview.c: enabled to open an attached file with double click
9529 and popup menu. And cleaned up the code.
9530 * src/procmime.[ch]: added a function procmime_get_part() that
9531 saves the part of multipart message.
9537 src/prefs_common.[ch]
9539 src/utils.[ch]: applied a patch that enables to launch attached
9540 image, audio, and HTML file (thanks to Hashimoto).
9541 * src/filter.c: filter_match_condition(): fixed a bug that caused
9542 segmentation fault if the body of specified filter is NULL. And
9543 made the filter considered as being matched on that case.
9547 * src/summaryview.c:
9548 summary_save_as(): fixed a bug that unabled to save news articles.
9549 summary_display_msg(): added exclusive lock to prevent it from
9550 reading another news article while it is already processing one.
9551 * src/gtkutils.[ch]: added gtkut_widget_wait_for_draw() that waits
9552 the draw signal to be emitted.
9554 main_window_cursor_wait()
9555 main_window_cursor_normal(): added gdk_flush() to change cursor
9558 libkcc/Makefile.am: added EXTRA_DIST for `make dist'. And added
9559 a target `release' to Makefile.am.
9563 * src/socket.c: supported IPv6.
9565 acconfig.h: added checking for IPv6.
9566 * prefs_common.c: changed the default of toolbar_style to icon only.
9570 * initial cvs import.
9571 * updated README and README.jp.
9577 * src/procmime.[ch]: modified the structure of MimeInfo so that it
9578 can be handled as a node of tree.
9579 Added procmime_mimeinfo_free_all() that frees all of the MimeInfo
9581 Added procmime_get_text_part() that scans a message and gets a text
9583 * src/mimeview.c: divided mimeview_scan_multipart_message() into
9584 procmime_scan_multipart_message() and mimeview_set_multipart_tree().
9585 * src/compose.c: compose_quote(), compose_forward():
9586 made it quote the text part of multipart message properly.
9587 Made it preserve the size of Compose window.
9588 * src/prefs_common.[ch]: added compose_width and compose_height to
9590 * src/textview.c: textview_show_part(): some code cleanups.
9591 * src/codeconv.[ch]: added a function conv_get_code_conv_func().
9597 * src/codeconv.[ch]: fixed a bug that showed garbage characters if
9598 the return code of the message was CR+LF. And added
9600 * src/summaryview.c: summary_attract_by_subject(): made it move
9601 the current view point to the selected row when executed.
9602 * src/textview.c: textview_show_part(): modified the character set
9603 determination routine.
9604 * src/folderview.c: folderview_update_msg_num(): fixed a bug that
9605 caused segmentation fault if boldfont was NULL.
9606 * src/compose.c: compose_create(): made it sets itself as the target
9607 of addressbook on window creation.
9611 * src/compose.c: compose_send(): fixed a bug that didn't save
9612 queued message to outbox when failed to send the message (thanks
9617 * src/inc.[ch]: modified so that it changes error message dialog
9618 depending on the results.
9622 * src/mainwindow.c: main_window_create(): set usize of account
9623 button on the status bar to 1 so that it doesn't get expanded
9624 more than necessary.
9625 * src/account.[ch]: account_foreach(): made it abort the iteration
9626 if the function returns nonzero.
9628 src/pop.c: modified so that it shows error message dialog if the
9629 message processing is failed.
9635 * src/mainwindow.c: made it popup account selection menu when
9636 account tool button or account status bar is pressed.
9638 src/prefs.c: suppressed the ENOENT perror messages.
9639 * src/pop.c: made it fall back on LAST command if UIDL failed.
9643 * src/procheader.c: procheader_parse(): fixed a bug that didn't
9644 parse References: header correctly (thanks to YAMAGUCHI).
9650 * src/compose.c: compose_reply_set_entry(): fixed a bug that didn't
9651 cc'd correctly when replying.
9653 src/summaryview.c: sorted out the main menu and the popup menu.
9659 * src/prefs_account.[ch]
9660 src/compose.c: made it be able to set Cc:, Bcc:, and Reply-To:
9661 automatically at composing (thanks to NAKAGAWA).
9665 * src/prefs_common.[ch]
9667 src/main.c: made it selectable whether to ask before cleaning
9669 * src/prefs_common.c: cleaned up the code and the interface a bit.
9670 * src/summaryview.c: modified the unthread functions for speeding
9675 * src/prefs_common.[ch]
9676 src/summaryview.c: made it display recipient on the `From' column
9677 if the address of the sender is the same as the current account
9678 (thanks to NAKAGAWA).
9679 * src/utils.[ch]: added a function extract_address() that extracts
9680 the address from `From:' header string.
9681 * src/mainwindow.c: allsel_cb(): fixed a bug that caused segmentation
9682 fault if `Edit/Select all' was selected when the message view was
9683 hidden (thanks to Tomita).
9687 * src/summaryview.c: modified execution routine so that it only
9688 unthreads nodes that are needed to be unthreaded.
9692 * src/news.c: news_session_get(): implemented the reconnection on
9694 * src/nntp.[ch]: added nntp_mode().
9698 * src/mbox.c: fixed a bug that didn't close mbox FILE pointer.
9699 And support assortment on processing mbox.
9700 * src/inc.c: inc_drop_message(): modified so that it uses hash table
9701 to store the last message number of folders.
9703 src/addressbook.c: modified the behavior of CTree at right-click.
9704 * src/pop.c: pop3_getrange_uidl_recv(): fixed a potential buffer
9705 overflow bug (thanks to Nishiyama).
9712 src/inc.[ch]: implemented management of read message on POP server
9714 * src/utils.[ch]: removed (s)list_remove_all() because it can be
9715 replaced with g_(s)list_free().
9716 * src/summaryview.c: modified the arrangement of menu a bit.
9717 * src/summaryview.c: summary_status_show(): made it doesn't display
9718 server name but newsgroup.
9719 * src/prefs_common.c
9720 src/prefs_account.c: adjusted the calculation routine of dialog
9727 * src/compose.c: compose_reply_set_entry(): modified so that it
9728 cc's to the all addresses on To: and Cc: of the replied message.
9729 And swapped the position of Subject: and To: entry.
9733 * src/procheader.c: modified so that it can handle headers that
9734 aren't separated by space.
9735 * src/socket.c: sock_connect(): added a wait after connection to
9736 prevent lockup (thanks to NINOMIYA).
9742 inc_all_account_mail(): fixed a bug that caused segmentation
9743 fault if no account exist.
9744 * src/mainwindow.[ch]: made receive button unclickable when
9746 * src/compose.c: compose_queue(): fixed a bug that didn't mark
9747 queued message properly.
9748 * src/utils.[ch]: separated code conversion functions into
9755 * src/mimeview.c: mimeview_save_as()
9756 src/summaryview.c: summary_save_as(): made it ask whether to
9757 overwrite the existing file.
9768 src/mbox.c: fixed a bug that failed to check write error when
9769 disk was full and caused the loss of the file.
9773 * src/mainwindow.c: main_window_clean_trash(): made it move focus
9774 to folder view when finished.
9775 * src/utils.[ch]: added code conversion functions for display.
9776 And added strncpy2() that doesn't do zero fill and does
9777 null-termination, unlike original strncpy().
9778 * src/textview.c: modified so that it changes the code conversion
9779 function according to charset. And supported charset=SHIFT_JIS.
9782 src/textview.c: made it possible to force character set of
9784 * src/folderview.c: folderview_select_next_unread():
9785 made it search unread folder from begin if it isn't found.
9791 * src/mainwindow.c: fixed a probrem again that main window was
9792 stretched to the width of the toolbar.
9794 src/utils.c: is_header_line(): modified so that it recognizes
9795 a header which doesn't have a space after colon (thanks to Hotta).
9796 * src/filter.c: added `#include <strings.h>'.
9797 * src/smtp.c: replaced snprintf() with g_snprintf().
9798 * src/Makefile.am: added `-I$(top_srcdir)/intl' to INCLUDES for
9800 * included sylpheed.spec.
9804 * src/prefs_common.[ch]: enabled to set the pixels of line space
9805 and decide whether to leave space on head of lines.
9806 * src/summaryview.c: modified so that it clears message view
9807 when displayed message is removed from the summary view.
9808 * src/mimeview.c: fixed a bug that caused infinite loop if
9809 terminal boundary of multipart message was not found (thanks to
9811 * src/folderview.c: folderview_scan_mailbox(): made it ignore
9813 * src/main.c: made it show warning dialog and exit if the file with
9814 the same name already exists when creating directory.
9819 src/prefs_common.[ch]: made it possible to leave space between
9820 and on head of lines.
9825 src/procmime.[ch]: made it scan /etc/mime.types and determine
9826 the MIME type of the attached file.
9827 * src/summaryview.c: made it clear message view if the summary
9828 is unselected on the execution, and made it move focus to
9829 folder view if the folder becomes empty.
9830 * src/mainwindow.c: fixed a probrem that main window was stretched
9831 to the width of the toolbar.
9832 * src/inc.c: fixed a bug that caused multiple gtk_main() event loop
9833 if `Check new mail on startup' was set.
9837 * src/compose.c: fixed a probrem that had been unable to insert
9838 a file to the current cursor position.
9844 * src/compose.[ch]: added `attach' button to the toolbar. And
9845 replaced the icon of `insert' to the new one.
9849 * src/mainwindow.[ch]: added `Execute' to the toolbar. And added
9850 a function main_window_set_toolbar_sensitive() that sets the
9851 sensitivity of the button of the toolbar.
9852 * src/compose.c: fixed a bug that output wrong header if
9853 a return code was included in the string of the text entry.
9857 * src/mainwindow.[ch]: added `Delete' to the toolbar and the menu.
9858 And added the same items in popup menu to the main menu.
9859 * src/utils.[ch]: added functions for DnD support.
9860 * src/compose.c: implemented file attachment and insertion with DnD
9861 (thanks to Hiramatu).
9867 * src/summaryview.c: fixed a bug that passed null pointer to
9872 * src/alertpanel.[ch]: added functions alertpanel_message(),
9873 alertpanel_notice(), and alertpanel_error(), and cleaned up
9879 src/summary_search.c
9881 src/foldersel.c: made them use alertpanel_error(),
9882 alertpanel_warning() or alertpanel_notice() for error message
9884 * src/summaryview.[ch]: enable sorting in reversed order.
9885 * src/inc.c: made it show error message dialog when failed to
9886 connect or authorize.
9887 * src/utils.h: added a macro FILE_OP_ERROR() and replaced many
9894 * src/compose.c: fixed a bug that didn't save a message to outbox
9896 * src/send.c: send_message_queue(): fixed a bug that included
9897 headers for queueing in the parsed data.
9898 * src/mainwindow.c: send_queue_cb(): made it pop statusbar message
9899 and update queue folder when finished.
9907 src/compose.c: suppressed the warning messages.
9908 * src/mainwindow.[ch]: added next unread message button and menu
9910 * src/summaryview.[ch]: added a function summary_select_next_unread()
9911 that selects and opens next unread message.
9915 * src/prefs_common.[ch]: added a setting to decide whether to open
9916 unread message on entering a folder.
9917 * src/summaryview.c: made it open the first unread message only if
9918 the preference is set.
9919 * src/compose.c: fixed a bug that freed the string obtained from
9924 * src/compose.c: added `Send later' to the menu and the toolbar
9925 which queues the message to send it later.
9929 * src/mainwindow.c: added an interface to resend the queued message.
9930 * src/compose.c: made it show alert dialog when a message will be
9935 * src/procmsg.[ch]: added function procmsg_send_queue() that calls
9936 send_message_queue() for each queued messages.
9940 * src/inc.c: inc_drop_message(): modified so that it drops a message
9941 to the default inbox folder if destination folder doesn't exist.
9942 * src/compose.[ch]: added imput compatible queueing header to the
9944 * src/send.[ch]: added function send_message_queue() that send
9950 acconfig.h: made it enabled to decide wheter to use multithread
9951 or not on configure.
9952 * src/summaryview.c: fixed a bug that made thread when executed
9953 despite of the setting (thanks to Hiroshima).
9954 * src/socket.[ch]: changed the return value of public
9955 sock_connect_*() function to the pointer to SockInfo object.
9956 * src/procmime.c: procmime_scan_mime_header():
9957 fixed a bug that returned NULL if the scanned part had no header
9958 (thanks to shigeri).
9959 * src/procmime.[ch]:
9960 added function procmime_scan_content_disposition() that parses
9961 Content-Disposition header field.
9962 * src/mimeview.c: made it uses filename value in Content-Disposition
9965 * src/inc.c: modified so that password is prompted if the password
9966 on preferences is empty and previous POP3 session has failed on
9971 * src/socket.[ch]: added non-blocking IO mode socket and
9972 multithreaded connection support.
9973 * src/inc.c: supported multithread connection.
9977 * src/folderview.c: made the focus of SummaryView grabbed when
9978 a folder is selected only if the messages exist.
9984 * po/ja.po: fixed a bug that head `/' of a menu label was missing
9985 and caused segmentation fault when opened Compose window.
9991 * src/utils.c: get_domain_name(): modified so that it uses
9993 * src/mimeview.c: added key binds for `Save as' and
9998 * src/recv.c: fixed a bug that failed to return error value
9999 when fputs() failed and caused the loss of received mails when
10000 disk space was not left (thanks to Tajiri).
10001 * src/compose.c: supported Reply-To.
10002 * src/mimeview.c: improved key operation interface.
10006 * src/mimeview.[ch]
10008 src/textview.[ch]: supported nested multipart message and
10009 clean up the codes.
10010 Supported encapsulated RFC822 message.
10014 * src/compose.[ch]: made it free the alloc'd memory for attach
10015 information when the compose window is destroyed.
10016 Placed the attachment list and the text widget onto the paned
10018 Enabled cut/copy/paste/select all on all of the editable widgets.
10019 Implemented removal of attached file and popup menu on attachment
10021 * src/prefs_common.[ch]: added signature separator setting.
10022 * src/alertpanel.[ch]: added a function alertpanel_warning().
10026 * src/prefs_common.[ch]
10027 src/textview.c: made open URI command customizable.
10028 * src/compose.[ch]: implemented multipart MIME message composition
10029 (attachment of file).
10031 src/compose.c: fixed a bug that didn't turn off the GTK+ theme
10038 * src/summaryview.c: added key binds for composing message
10039 (w, a, A, f). Also added other key binds (y, D, Q).
10040 * src/compose.c: made Cc entry take over the Cc of the replied
10042 * src/pixmaps/new.xpm
10043 src/pixmaps/unread.xpm: replaced pixmap image.
10044 * src/procheader.c: procheader_date_get_localtime():
10045 changed the single figures of year from four to two.
10049 * src/inc.c: made it ask password if it is not specified on account
10051 * src/prefs_account.h: added member tmp_pass to struct PrefsAccount
10052 that preserves the temporary password.
10053 * src/inputdialog.[ch]: added function input_dialog_with_invisible()
10054 that prompts input with the string hidden.
10058 * src/compose.c: fixed a bug that didn't turn off the GTK+ theme
10059 engine if message font wasn't specified.
10065 * src/summaryview.c: fixed a bug that stderr was forgotten on
10072 * src/pop.c: fixed a problem that if some POP3 commands returned
10073 error, the previous operations were all cancelled.
10075 src/textview.c: made workaround to the slow down of GtkText widget
10076 when using Pixmap theme or its derivatives.
10080 * src/inc.c: fixed a bug that caused X IO error when exec'd
10081 nonexistent program.
10085 * src/folderview.[ch]: added the member `mtime' to the struct
10087 * src/summaryview.c: made the mtime of the folder checked that is
10089 * src/procmsg.c: added filesystem unchecking mode.
10093 * src/textview.[ch]: implemented clickable URI (thanks to BONAIM).
10094 And made `X-Mailer:' header emphasized if it contains `Sylpheed'.
10098 * src/summaryview.c: summary_write_cache(): permission fix of
10105 * src/headerview.c: added headerview_clear() method.
10106 * src/messageview.c: fixed a bug that didn't clear HeaderView
10107 on messageview_clear().
10113 * src/messageview.c
10114 src/textview.c: added *_clear() method.
10115 * src/summaryview.c: made it clear MessageView when new folder
10120 * src/inc.c: fixed a bug that went to the inbox that was specified
10121 by each account when incorporating from all accounts.
10122 * src/compose.c: made it confirm whether to discard the message or
10123 not when the window will be closed.
10130 src/inc.[ch]: re-supported APOP authentication.
10131 * src/prefs_account.c: fixed a bug that had't saved protocol type.
10133 src/statusbar.h: attached G_GNUC_PRINTF() to printf() like
10135 * src/progressdialog.[ch]: changed the name of class from Progress
10140 * src/summaryview.c: fixed a bug that caused segmentation fault
10141 a news folder was selected without using ja message catalog.
10142 * src/utils.h: attached G_GNUC_PRINTF() to printf() like functions.
10143 * src/Makefile.am: added `-DG_LOG_DOMAIN=\"Sylpheed\"' to
10148 * src/automaton.[ch]
10150 src/pop.[ch]: re-implemented POP3 fetching routines using
10151 finite-state automaton model (thanks to Hiramatu).
10152 * src/inc.c: fixed a bug that caused unwilled quitting of program
10153 when connection to mail server failed. And fixed a memory leak bug.
10154 * src/summaryview.c: made the focus move to FolderView when left
10155 cursor key is pressed.
10159 * src/textview.c: textview_write_line(): modified quotation
10160 discerning routine a bit.
10166 * src/procmime.[ch]: moved MIME decorder from src/textview.c to
10168 * src/mimeview.[ch]: implemented saving of multipart message. And
10169 supported MIME encoded file name.
10170 * src/summaryview.c: implemented `Save as'.
10174 * src/prefs_common.[ch]: implemented an interface for setting the
10175 display item of SummaryView.
10176 * src/addressbook.c
10177 src/account.c: made the column titles of those don't take key
10182 * src/textview.c: implemented BASE64 decoding and display.
10186 * src/prefs_common.[ch]: added members which decide whether
10187 each item of SummaryView is displayed or not.
10188 * src/headerwindow.c
10189 src/logwindow.c: made those windows closed when escape key is
10191 * src/headerview.c: disused ScrolledWindow.
10192 * src/base64.c: from64tobits(): modified so that it recognize '\n'
10193 as the last of line as well as '\r'.
10197 * src/headerview.c: disabled word wrap and line wrap of the text
10204 * src/prefs_common.c: prefs_assort_create(): added some headers
10205 to the default headers for assortment.
10209 * src/procmsg.c: fixed a bug that caused segmentation fault if
10210 the permission of a message was denied on parsing the header
10211 (thanks to wakai@UEC univ.).
10212 * src/mimeview.c: made it pass key press event to SummaryView.
10217 src/alertpanel.c: modified font specifications so that they match
10219 * src/utils.[ch]: added wide-character functions for FreeBSD support.
10220 Added the existence check of <wchar.h>.
10222 configure.in: added wint_t and libxpg4 check for FreeBSD support.
10223 * src/unmime.c: modified so that it checks the existence of
10225 Above three are a contribution from Sasaki. Thanks!
10229 * src/main.h: decreased default height of window.
10233 * src/procmime.c: fixed a bug that eliminated the parenthesis in
10234 attribute value that was double-quoted.
10240 * src/mimeview: implemented multipart message parser and display.
10241 * src/procmime.c: procmime_scan_content_type():
10242 supported multiple elements.
10243 * src/textview.c: supported multipart message and clean up the code.
10247 * src/summaryview.c: added size column and sorting by size.
10248 * src/mainwindow.c: added `Sort by size' to sort menu.
10249 * src/procmime.c: fixed a bug that caused buffer overrun and
10250 segmentation fault.
10251 * src/procmime.c: generalized Content-Type parsing.
10257 * src/textview.c: supported MIME headers and
10258 Content-Transfer-Encoding: quoted-printable.
10262 * src/messageview.[ch]
10263 src/textview.[ch]: separated MessageView into two classes.
10264 * src/procmime.[ch]: added for MIME message handling.
10268 * src/mimeview.[ch]: added for MIME message handling.
10269 * configure.in: added wctype.h and wchar.h existence check.
10274 src/procheader.[ch]: some code cleanups.
10275 * src/messageview.[ch]: integrated HeaderView.
10283 * src/addressbook.c: Made the tree sorted when folder/group is
10285 * src/xml.c: xml_compare_tag(): fixed a bug that caused segmentation
10286 fault if the current tag was empty.
10287 * src/mainwindow.c: made the state of MainWindow saved.
10291 * version 0.3.0pre1
10293 * src/addressbook.c: fully implemented address group editing.
10294 Fixed a bug that wrongly confirmed deletion of address when
10295 escape key was pressed on alert dialog.
10299 * src/addressbook.c: added menu bar. And enabled hierarchical
10301 * src/prefs_account.c: modified so that it allows not to specify
10303 * src/inc.c: inc_account_mail(): modified so that if receiving
10304 server isn't specified, it does nothing.
10310 * src/addressbook.c: almost fully implemented addressbook functions.
10314 * src/compose.c: fixed a bug that caused segmentation fault when
10315 `File->Insert file' was selected more than twice.
10319 * version 0.2.9pre4
10321 * src/addressbook.[ch]: implemented creation of new folder and group,
10322 and deletion of folder and group. And fully implemented
10323 addressbook_delete_object() which deletes the specified object
10328 * src/addressbook.c: implemented registration of address and multiple
10329 appending to Compose address entry.
10330 * src/menu.[ch]: added a function menu_set_insensitive_all() that
10331 turn all menu items insensitive.
10332 * src/folderview.c: some code cleanup.
10337 src/prefs_common.c: fixed a bug on getting the number of CList
10342 * version 0.2.9pre3
10344 * src/folderview.c: fixed a bug that caused warnings when tree was
10345 expanded/collapsed on the first operation.
10349 * src/addressbook.c: addressbook_list_selected(): made it be able
10350 to handle multiple address.
10351 * src/compose.c: modified so that when Bcc: is toggled, corresponding
10352 AddressBook also toggle it.
10353 * src/mainwindow.c:
10354 main_window_create(): moved gtk_widget_set_uposition() before
10355 gtk_widget_show() so as not to cause window flickering.
10356 main_window_get_position(): replaced gdk_window_get_position()
10357 with gdk_window_get_root_origin() to acquire correct window
10358 position (Thanks to shigeri for these modifications).
10362 * src/filesel.c: made it selects home directory on the first time
10367 * src/utils.c: conv_mb_alnum(): modified so that it uses character
10369 * src/foldersel.c: made the folder tree take focus when the dialog
10374 * version 0.2.9pre2
10376 * src/addressbook.c: implemented addressbook_export_to_file() and
10382 src/addressbook.c: fixed the variable name for attribute.
10383 * src/prefs_common.[ch]: added a member `conv_mb_alnum'.
10384 * src/utils.[ch]: added conv_mb_alnum() that converts multi-byte
10385 alphabet and numeric into single-byte one.
10386 * src/messageview.c: messageview_show(): made it pass conv_mb_alnum()
10387 when conv_mb_alnum flag is on.
10391 * version 0.2.9pre1
10393 * src/compose.c: modified so that when Addressbook is open by a
10394 Compose and it is closed, target of Addressbook is reset.
10395 * src/addressbook.c: made it work with Compose.
10399 * configure.in: AM_PATH_{GLIB, GTK}: raised the required version of
10400 GTK+ and GLIB to 1.2.6.
10401 * src/xml.[ch]: more implementation of XML parser.
10402 * src/addressbook.c: implemented addressbook parsing and displaying
10407 * src/folderview.c: folderview_scan_folder(): modified so that if
10408 a folder's message number is zero, set new, unread and total number
10413 * src/xml.[ch]: added for XML handling used by addressbook.
10414 * src/folderview.c: modified so that Trash folder is skipped
10415 when an unread folder is selected automatically by space key.
10419 * src/summaryview.c: fixed a bug that cursor was turned into watch
10420 forever when a newsgroup was selected.
10428 * src/mainwindow.[ch]: implemented counting on setting cursor
10429 type. And modified the menu of `thread view' and `unthread view'.
10430 * src/summaryview.c: enabled thread-toggling on opening folder.
10431 * src/prefs_common.[ch]: added a member `enable_thread' to determine
10432 whether summary view builds thread or not when a folder is open.
10436 * src/summaryview.c: modified popup sensitivity function a bit.
10442 * src/addressbook.[ch]: more implementation of the interface of
10444 * src/compose.c: connected to addressbook object.
10445 * src/folderview.[ch]: folderview_compare_path():
10446 modified so that absolute path is correctly compared.
10447 And added folderview_select_node().
10448 And modified folderview_scan_folder() so that it update the summary
10450 * src/import.c: made it update folder tree when imported mbox.
10451 * src/summaryview.c: modified according to the changes of
10452 folderview.c. And modified so that it display alert dialog if
10453 source folder is identical to destination.
10454 added summary_set_popup_sensitive() that set the sensitivity of
10455 popup menu according to the context. And made all of the items of
10456 popup menu insensitive when summary is cleared.
10457 * src/procmsg.c: procmsg_move_messages_with_dest():
10458 modified so that if source folder is identical to destination,
10460 * src/summary_search.c
10461 src/manage_window.c: modified so as not to print warning to console
10462 when alert dialog appeared twice.
10463 * src/filesel.c: made file selection dialog transient.
10467 * src/manage_window.[ch]: added callback function
10468 manage_window_focus_out().
10472 src/prefs_account.c
10474 src/summary_search.c: added focus_out_event signal handler.
10475 * src/addressbook.[ch]: added preliminary addressbook code.
10479 * src/utils.h: added a macro Xalloca() that does alloca() and
10480 handles the exception.
10481 * src/import.c: made the import dialog transient window and enabled
10482 cancelling by escape key.
10488 * src/compose.c: fixed a bug that caused memory leak when compose
10493 * src/nntp.h: increased NNTP message buffer size for XOVER strings
10498 * src/summaryview.c: binded step-forward and step-backward to each
10499 Control-n and Control-p.
10500 * src/filter.c: filter_read_str(): fixed a memory leak bug and
10501 replaced g_malloc() for allocating the buffer with alloca().
10502 * src/procheader.c: procheader_get_fromname(),
10503 procheader_date_get_localtime()
10504 src/utils.c: conv_euctojis()
10505 src/compose.c: compose_quote_parse_fmt()
10506 src/prefs.c: prefs_set_data_from_text()
10507 prefs_set_text(): replaced g_malloc() with alloca().
10513 * src/logwindow.c: improved log_window_append() so that it shows
10514 warning, error and normal message with different colors.
10515 * src/utils.[ch]: added functions log_message(), log_warning(), and
10516 log_error() that show normal message, warning, and error for each.
10517 And modified many warning messages to use these.
10518 * src/messageview.c: messageview_init(): made it set colors of
10519 quotation and URI to black when failed to allocate colors.
10520 * src/news.c: news_parse_xover(): replaced g_malloc() for allocating
10521 the buffer with alloca().
10525 * src/folderview.c: fixed a bug that didn't put previously selected
10526 folder name in text entry. In addition to that, made some
10533 * src/logwindow.[ch]: added log window that displays protocol log.
10534 * src/about.c: adjusted the size of dialog.
10535 * src/folderview.c: made it select a folder when double-clicked.
10539 * src/prefs_common.[ch]: added an item `translate_header' that
10540 decides whether header name like `From:' or `Subject:' is
10542 * src/compose.c: made it show alert dialog when receiptor isn't
10544 * src/inc.c: some code cleanups.
10550 * src/compose.c: made header entries move those focus to next
10551 entry or text widget when activated. And sorted out the menu items.
10552 * src/mainwindow.[ch]
10553 src/prefs_common.[ch]
10554 src/main.c: made it save the sizes of widgets and the position of
10555 window when quitting.
10556 * src/prefs_common.c: set a14, k14 fontset as default message font.
10557 * src/about.c: changed the appearance of about dialog using text
10559 * src/recv.c: modified recv_write() so that it converts an escaped
10566 * src/compose.[ch]: supported Bcc.
10572 * src/utils.[ch]: added function to_number() that examines string
10573 and if that is a number string, return its value.
10574 * src/procmsg.c: fixed a bug that caused malfunction when non-digit
10575 character was included in file name.
10581 * src/folderview.c: fixed a bug that caused segmentation fault
10582 when opened folder node was deleted (thanks to Hiramatu).
10583 And implemented folderview_rm_server_cb() which removes news server.
10584 * src/mbox.c: modified a warning message.
10588 * version 0.2.0alpha-pre8
10590 * src/mainwindow.c: inc_all_account_mail_cb(): made it select inbox
10591 folder to prevent the probrem when current folder is updated.
10592 * src/summaryview.c: summary_execute(): made it write to summary
10593 cache when executed.
10597 * version 0.2.0alpha-pre7
10599 * src/utils.[ch]: added path_cmp() that compares two paths ignoring
10600 trailing directory separator.
10601 * src/folderview.[ch]
10602 src/summaryview.[ch]: modified so that folder tree is updated
10603 when messages are moved or deleted.
10604 * src/inc.c: some code cleanup.
10608 * version 0.2.0alpha-pre6
10610 * src/utils.[ch]: added get_domain_name() that return domain
10611 name as a static string.
10612 * src/compose.c: compose_generate_msgid(): modified so that even
10613 if current address doesn't contain '@', it generates a decent
10615 * src/send.c: some code cleanup.
10619 * src/folderview.c: modified the behavior of folder tree when
10620 the folder is right-clicked.
10621 * src/compose.c: compose_encode_header(): added irresponsible
10622 buffer overrun check.
10626 * version 0.2.0alpha-pre5
10628 * updated gettext and libtool.
10629 * configure.in: modified localedir definition so that message
10630 catalogs are installed into correct directories.
10632 src/mainwindow.c: modified them so that a folder can be reopen
10633 even if it is currently open.
10634 * src/prefs_common.[ch]
10635 src/messageview.c: added an option that toggle the coloration of
10640 * version 0.2.0alpha-pre4
10643 src/messageview.c: fixed a bug that broke memory on allocating
10648 * src/folderview.c: some bug fixes on selecting folder.
10652 * version 0.2.0alpha-pre3
10655 * src/summaryview.[ch]: some code cleanups.
10656 * src/messageview.c: fixed a color allocating bug (maybe).
10660 * version 0.2.0alpha-pre2
10662 * src/folderview.[ch]: made folder view not open selected folder
10663 unless return or space key is pressed, or clicked by mouse
10665 * src/inc.c: some code cleanups.
10666 * TODO.jp: added some items.
10670 * version 0.2.0alpha-pre1
10672 * src/summaryview.[ch]: fixed a bug that broke summary thread
10673 when deleted duplicated messages (thanks to BONAIM).
10674 And some code cleanup.
10675 * src/procmsg.[ch]: renamed procmsg_move_messages() to
10676 procmsg_move_messages_with_dest(), and replaced former with
10677 new function which doesn't specify destination.
10678 * src/prefs_common.c
10679 src/gtkutils.c: some memory leak fixes of linked lists.
10680 * src/utils.[ch]: added list_remove_all() to remove all elements
10681 of doubly-linked list.
10682 * src/inc.[ch]: added inc_all_account_mail() that incorporates
10683 new messages of all accounts.
10684 * src/account.[ch]: added account_foreach() to process each accounts.
10689 * version 0.1.23alpha
10691 * src/inc.c: made the folder tree update the message number
10692 when incorporated new messages.
10693 * src/folderview.[ch]: added a function folderview_scan_folder()
10694 to scan one folder on the view, which is specified by folder name.
10698 * version 0.1.22alpha
10700 * src/prefs_account.[ch]: added the setting of assorting on
10702 * src/inc.c: supported assorting on receiving.
10703 * src/procmsg.c: cleaned up the code.
10704 * src/news.c: fixed a bug that locked up when failed to get xover.
10705 * src/compose.c: made a message unmark that is put into specific
10710 * version 0.1.21alpha
10713 src/summaryview.c: implemented the function 'go to next folder
10714 when no unread message found.'
10715 * src/summaryview.c: made connection state displayed on the
10716 status bar when connecting to a news server.
10717 * src/compose.c: changed X-Mailer: header field string a bit.
10718 * src/prefs_common.c: implemented residual functions of assortment.
10722 * version 0.1.20alpha
10724 * src/prefs_common.c: implemented reading/writing/register/deletion
10725 of assortment setting.
10726 * src/mainwindow.c: slightly modified the appearance of statusbar.
10727 * src/account.c: account_delete(): fixed a bug that didn't assigned
10728 the pointer to GList when an account was deleted.
10732 * src/procmsg.c: procmsg_get_mark_sum(): fixed a bug that failed
10733 to read mark file (thanks to BONAIM).
10734 * src/prefs_common.c: added the interface of assortment setting.
10738 * src/summaryview.c: fixed a bug that didn't redraw marking properly
10739 when displaying an unread message with left-click (thanks to
10744 * src/summaryview.[ch]: added functions for assortment.
10745 * src/about.c: added a button to close window.
10749 * src/procmsg.c: fixed a bug that didn't add news flag correctly.
10750 * src/compose.c: fixed a bug that can't reply to a news article.
10751 * src/filter.[ch]: added for message filtering.
10752 * src/procheader.[ch]: added procheader_get_unfolded_line()
10753 to process filtering. And added procheader_get_header_list()
10754 that reads headers of a message and store them on the memory,
10755 and procheader_header_list_destroy() that removes all headers
10756 read by procheader_get_header_list().
10760 * version 0.1.19alpha
10762 * src/news.c: modified so that it retrieves only overview information
10763 that is not yet cached.
10764 * src/procmsg.[ch]: modified for news handling.
10768 * src/news.c: supported xover.
10769 * src/mbox.c: fixed a bug that didn't handle empty line correctly
10770 (Thanks to shigeri).
10774 * version 0.1.18alpha
10776 * src/procmsg.[ch]: modified some functions so that they can
10777 handle news folder.
10778 * src/news.c: added header cache routine.
10779 * src/procheader.c: fixed a bug that caused memory leak when some
10780 header was duplicated.
10781 And added Newsgroups: in parsing headers.
10782 * src/summaryview.c: added news article cache routine.
10783 * src/compose.c: made it be able to reply/forward news article.
10787 * src/compose.c: fixed a bug that failed to parse To: header
10788 if a comma is included in double quotation (Thanks to shigeri).
10789 * src/mbox.c: modified the code for processing mbox so that it
10790 can handle unescaped From_ line correctly.
10794 * version 0.1.17alpha
10796 * src/foldersel.c: fixed a bug that didn't display folder tree.
10797 And added the register routine for news server and group setting.
10801 * version 0.1.16alpha
10803 * src/statusbar.[ch]: added statusbar_puts_all().
10804 statusbar_puts(): made it truncate a string that is too long.
10805 * src/folderview.[ch]: changed CTree's row data from string
10806 to FolderInfo structure.
10807 And implemented popup menu that registers news server and group.
10808 * src/messageview.c: modified short header display routine.
10812 * added src/news.[ch] for NetNews session management.
10813 * src/summaryview.[ch]: added NetNews reading codes.
10818 src/prefs_common.[ch]: made them preserve toolbar style.
10819 * src/main.c: made it save configuration before exiting.
10820 * src/summaryview.c: modified summary status display routine.
10821 * added src/nntp.[ch] for handling low level NNTP session.
10825 * added src/progress.[ch] for displaying progress.
10826 * src/inc.c: modified progress dialog routines to use
10828 * src/folderview.[ch]: added preliminary NetNews supporting code.
10832 * version 0.1.15alpha
10835 src/folderview.c: some permission fixes.
10836 * src/folderview.c: implemented folder creation/renaming/removing.
10837 * src/utils.[ch]: added remove_dir_recursive() that removes
10838 a directory recursively.
10842 * src/mainwindow.[ch]: added toolbar style selection.
10843 * added src/inputdialog.[ch] to prompt user to enter a string.
10844 * src/summaryview.[ch]: modified the behavior of view on
10846 * src/mbox.c: fixed a bug that couldn't lock file when
10847 lockf() was used (Thanks to shigeri).
10851 * version 0.1.14alpha
10853 * src/mainwindow.[ch]: changed the appearance of toolbar.
10854 And fixed window handling.
10855 * src/summaryview.c: modified the messages displayed on status bar.
10856 * src/compose.[ch]: added toolbar.
10857 * src/*.xpm: borrowed some icons from gnome-libs (temporary).
10861 * version 0.1.13alpha
10863 * src/summaryview.c: fixed a bug of threading. And some code
10864 cleanups. And rewrote the routine of deleting duplicated messages
10866 * src/mainwindow.[ch]: added toolbar.
10870 * version 0.1.12alpha
10872 * src/summary_search.c: if the OS don't have wcsstr(), use wcswcs()
10874 * src/summaryview.c: changed CTree creating routine as it creates
10875 thread on the fly for speeding up.
10876 * src/procmsg.c: rewrote message processing routines using hash
10877 table for speeding up. It should be considerably faster than
10882 * version 0.1.11alpha
10884 * po/ja.po: modified msgstr for Solaris standard gettext.
10885 * src/main.c: added config.h inclusion.
10886 * src/compose.c: changed to add replied message's In-Reply-To
10887 message id to References header if it don't have References header.
10888 * src/summaryview.c: changed threading routine to use hash table
10893 * version 0.1.10alpha
10895 * po/ja.po: modified msgstr so as not to core dump on Solaris.
10896 * src/main.c: added inclusion of locale.h.
10897 (Thanks to Sato for above.)
10899 * src/socket.c: applied Solaris patch by shigeri with some
10900 modification. (Thanks!)
10904 * version 0.1.9alpha
10906 * src/compose.c: compose_encode_header(): fixed some bugs.
10907 And modified header generating routines to support proper
10908 References header, and supported Organization header.
10910 src/procheader.c: removed Cc: and Reply-To: from cache data.
10911 * src/procheader.[ch]: renamed header list structure to HeaderEntry.
10912 * src/summaryview.[ch]: summary_thread_func(): some optimization.
10913 And added summary_pass_key_press_event() to pass key press event
10914 from other widgets.
10915 * src/messageview.c: messageview_key_pressed(): modified so that
10916 key event is passed to summary view even if message view is
10917 separated. (Thanks to wakai@UEC univ. for pointing this out.)
10921 * version 0.1.8alpha
10923 * src/compose.c: implemented RFC1522, RFC2407 (loosely) compliant
10924 header MIME encoding.
10925 * src/procheader.c: some bug fixes of folded header line processing.
10926 * src/headerview.c: headerview_show(): some bug fixes.
10930 * version 0.1.7alpha
10932 * src/utils.c: conv_euctojis(): fixed a bug that didn't add
10933 kanji-out sequence [ \033 ( B ] when input string was ended
10934 with kanji. (Thanks to Nozomu Kobayashi for pointing this out.)
10935 * src/compose.c: compose_encode_header(): changed as it outputs
10936 encoded string to another buffer.
10937 And implemented a faculty to save sent message to outbox and
10938 to queue message that failed to send (preliminary).
10939 And, finally implemented proper To: and Cc: processing :)
10940 * src/folderview.c: added preliminary right-clicking popup menu
10941 for operating folders.
10942 * some permission fixes at creating or copying file.
10946 * version 0.1.6alpha
10948 * src/procheader.c: fixed a bug that didn't null-terminate
10949 header list and caused segmentation fault.
10953 * version 0.1.5alpha
10955 * src/procheader.[ch]: added function procheader_get_one_field()
10956 that gets one header field that matches the header list.
10957 And removed procheader_get_unfolded_line(), which is less generic.
10958 And rewrote procheader_get_header_fields() using
10959 procheader_get_one_field().
10960 * src/summaryview.c: some bug fixes of key input scan routine.
10961 * README, README.jp: modified documents a bit.
10965 * src/menu.c: menu_set_sensitive(): fixed a bug that if a menu item
10966 had a submenu, set sensitivity of the submenu, not the item.
10970 * version 0.1.4alpha
10972 * src/summaryview.c: fixed a bug that caused segmentation fault
10973 when empty summary view was center-clicked.
10974 And fixed a bug that freed moving folder strings when marked
10976 If current folder is trash, don't delete message.
10977 * src/summaryview.[ch]
10979 * src/procmsg.[ch]: added update-cache mode (discards previous cache).
10983 * src/procheader.[ch]: more optimization of header processing
10984 routine. And added a new function procheader_get_header_fields()
10985 that receives an array of header name as a parameter and
10987 * src/utils.[ch]: added remove_return() for removing return code.
10988 * src/unmime.c: added remove_return() on the last of UnMimeHeader().
10992 * src/compose.c: if message body is ascii only, set US-ASCII as
10993 charset in Content-Type.
10996 * src/prefs_common.c
10997 * src/prefs_account.c
10998 * src/account.c: changed the location of rc files.
10999 * src/account.c: enabled closing window when escape key is pressed.
11003 * version 0.1.3alpha
11005 * src/compose.c: fixed a bug that caused segmentation fault
11006 when sending failed.
11007 And relocated header-generation routines from src/send.c.
11008 * src/send.c: moved header-generation routines to src/compose.c.
11009 * src/prefs.c: added '~' to home directory expansion.
11010 * src/prefs_account.[ch]: added signature file path configuration.
11011 * src/prefs_common.[ch]: added spool path configuration.
11012 * src/inc.c: changed the method of user name acquisition to use
11017 * version 0.1.2alpha
11019 * added ChangeLog (this file), ChangeLog.jp.
11020 * some code cleanups.
11021 * added manage_window.[ch] for transient window management.
11022 * src/procheader.c: optimized header processing routine a bit.
11023 * src/send.c: fixed exception handling on connection.
11024 * src/inc.c: added exception handling on getting user name.
11028 * version 0.1.1alpha
11030 * src/send.c: fixed a bug that didn't add Content-Type: header.
11034 * version 0.1.0alpha