very small bug fix
[claws.git] / ChangeLog.claws
index c3a30c3ff9dede6caa74c4bdf8dbf992ae890da5..09b58403f58b7072b34e22b6eb01485d386da3b2 100644 (file)
@@ -1,6 +1,888 @@
+2001-06-30 [paul]
+
+       * src/codeconv.c
+               small change to Alfons' previous stuff so that it
+               actually makes
+
+2001-06-30 [alfons]
+
+       * lots of files changed; first attempt to merge the changes
+         and bugfixes submitted by Andre Eibel (ae@baltic-online.de).
+
+2001-06-30 [paul]
+
+       * po/pt_BR.po
+               updated and completed, translations by Fabio
+                Junior Beneditto
+
+2001-06-29 [alfons]
+
+       * src/compose.c
+       * src/mimeproc.[ch]
+               allow selecting an attached files' mime type from a 
+               list of types.
+
+2001-06-29 [paul]
+
+       * more sync with sylpheed 0.5.0pre3
+
+2001-06-29 [paul]
+
+       * po/pt_BR.po
+               merge with sylpheed.pot and pt_BR.po provided by
+                Fabio Junior Beneditto.
+
+2001-06-29 [darko]
+
+       * src/procmime.c
+               make MIME types case insensitive
+
+2001-06-28 [alfons]
+
+       * po/nl.po
+               merge with sylpheed.pot and old nl.po; translations added.
+
+2001-06-28 [paul]
+
+       * more sync with sylpheed 0.5.0pre3
+
+2001-06-27 [alfons]
+
+       * src/summaryview.c
+               don't crash when removing parent node of messages
+               attracted by subject. this was caused by not deleting
+               the parent node from the subject line hash table.
+
+2001-06-27 [alfons]
+
+       * src/summaryview.c
+       * src/compose.[ch]
+       * src/mainwindow.c
+               if there are multiple messages selected, allow forwarding
+               them as attachments.
+
+2001-06-27 [paul]
+
+        * more sync with sylpheed 0.5.0pre3
+
+2001-06-26 [paul]
+
+        0.5.0claws3
+
+        * sync with sylpheed 0.5.0pre3
+
+2001-06-25 [paul]
+
+        * src/mainwindow.c
+                fixed 'compose news article' bug
+                from icon-and-text toolbar
+
+2001-06-25 [paul]
+
+        * sync with sylpheed 0.5.0pre2 release
+
+2001-06-24 [christoph]
+
+       * src/prefs_common.c
+               bug fix in font selection
+       * src/folderview.c
+               use sylpheed's normal font instead of
+               gtk default font for folders without
+               new messages
+
+2001-06-24 [alfons]
+
+       * src/mainwindow.[ch]
+               added composite compose mail / news button (an idea by Leandro
+               Pereira <leandro@linuxmag.com.br>)
+
+2001-06-24 [paul]
+
+        Added instructions for ldif-to-xml.py
+
+        * tools/README
+
+2001-06-23 [alfons]
+
+       Some minor things.
+
+       * src/pixmaps/stock_news_compose.xpm
+               added pixmap by Leandro
+       * src/prefs_common.c
+               tested built-in spelling checker of GCC 3.0 :)
+       * po/nl.po
+               merged dutch translation of sylpheed-main with
+               sylpheed.pot
+
+2001-06-23 [paul]
+
+        Added tools directory and files.
+
+        * tools/filter_conv.pl
+                converts old filter system to new filtering system
+        * tools/ldif-to-xml.py
+                converts netscape addressbook to sylpheed addressbook
+        * tools/README
+                descriptions/instructions for above two files
+
+2001-06-23 [christoph]
+
+       * src/inc.c
+       * src/manage_window.[ch]
+       * src/prefs_common.[ch]
+               mail retrieval dialog can be enabled, disabled
+               or hidden if non of sylpheed's windows is active
+
+2001-06-22 [paul]
+
+        0.5.0claws2
+
+        * sync with sylpheed 0.5.0pre2
+
+2001-06-21 [christoph]
+
+       * src/summaryview.c
+               show recipient on 'from' for all accounts
+               
+       * src/inc.c
+       * src/prefs_common.[ch]
+               disable error popup on mail receive errors
+
+2001-06-21 [alfons]
+
+       * src/compose.c
+               made the ruler correctly appear and disappear.
+
+       * src/Makefile.am
+               removed Hoa's work-in-progress-stuff (interesting!) so 
+               claws compiles ok.
+
+2001-06-20 [christoph]
+
+       * src/inc.c
+       * src/progressdialog.c
+               added scrolled window for list in progressdialog
+
+2001-06-20 [paul]
+
+        sync with sylpheed 0.5.0pre1 release
+
+2001-06-20 [christoph]
+
+       * src/summeryview.c
+               make building threads by subject work when
+               thread view is enabled
+               
+       * src/compose.c
+       * src/prefs_common.[ch]
+               automatically select account for mail replys
+
+2001-06-19 [sergey]
+
+       * src/compose.c (compose_create): keep Bcc and Reply-To visible if
+       they are filled in from the account settings.
+
+2001-06-19 [paul]
+
+        * more sync with sylpheed 0.5.0pre1
+
+2001-06-18 [alfons]
+
+       * src/Makefile.am,
+         src/procmime.c
+               added --sysconfdir to CPPFLAGS for pointing to the correct
+               location of mime.types. 
+
+               NOTE: make sure you use --sysconfdir when running ./autogen.sh
+               or ./configure!
+
+2001-06-18 [hoa]
+
+       * src/summaryview.c
+               fixed some bug when building threads
+
+2001-06-18 [paul]
+
+        * src/prefs_account.c
+                UI stuff: More changes to the English
+
+2001-06-18 [paul]
+
+        * src/pixmaps/stock_news_compose.xpm: new file
+        * src/Makefile.am
+        * src/mainwindow.c
+        * src/summaryview.c
+                Added new icon for Hoa's 'compose a news
+                message', plus minor improvements to the
+                English
+
+        * po/ja.po
+        * ChangeLog
+        * ChangeLog.jp
+                more sync with sylpheed 0.5.0pre1
+
+2001-06-18 [hoa]
+
+       * src/compose.[ch]
+       * src/mainwindow.c
+               Follow-up and reply to
+
+       * src/summaryview.[ch]
+               Build threads also with subjects
+
+2001-06-17 [hoa]
+
+       * src/compose.c
+               forwarding use the current account.
+
+       * src/mainwindow.c
+               the "compose message" button has been replaced with
+               "new mail" and "new news" buttons
+
+       * src/prefs_common.[ch]
+               added a configuration option to use the forward button
+               as "forward as attachment"
+               changed reply and forward format description
+
+       * src/quote_fmt_lex.l
+       * src/quote_fmt_parse.y
+               added message with no signature in format for reply
+               and forward.
+
+2001-06-17 [paul]
+
+        Minor UI stuff
+
+        * src/mainwindow.c
+        * src/summaryview.c
+                Improvements to the English
+
+        * src/prefs_common.c
+                Improvements to the English and some
+                clarity/continuity improvements in the
+                description of Quote symbols.
+
+2001-06-17 [paul]
+
+        0.5.0claws1
+
+        * sync with sylpheed 0.5.0pre1
+
+2001-06-17 [hoa]
+
+       * src/compose.c
+               Better interface for compose, displayed fields
+               are updated whenever we change account.
+               Newsgroups field is automatically filled.
+
+       * src/mainwindow.c
+               Newsgroups field is automatically filled.
+
+       * src/prefs_account.c
+               Some interface stuff when fields appear and
+               disappear.
+
+2001-06-16 [paul]
+
+        0.4.99claws
+
+        * sync with sylpheed 0.4.99
+
+2001-06-16 [sergey]
+
+       * src/base64.c, src/base64.h (Base64Decoder, base64_decoder_new,
+       base64_decoder_free, base64_decoder_decode): new object and
+       functions for decoding base64 streams.
+       * src/procmime.c (procmime_decode_content): modified to use the
+       new base64 decoder.
+
+2001-06-15 [paul]
+
+        0.4.99claws10
+
+        * sync with sylpheed 0.4.99cvs11
+
+2001-06-13 [paul]
+
+        0.4.99claws9
+
+        * sync with sylpheed 0.4.99cvs9
+
+2001-06-13 [hoa]
+
+       * src/compose.c
+       * src/prefs_account.c
+
+               SMTP server can be defined in the news account
+               mime type of attachment are kept.
+
+       * src/summaryview.c
+
+               now choose the highest important score between default
+               and important score of folder.
+
+2001-06-09 [alfons]
+       
+       * src/prefs_common.c: 
+
+               (prefs_quote_description_create): corrected description of 
+               quote format characters
+
+2001-06-09 [paul]
+
+        0.4.99claws8
+
+        * sync with sylpheed 0.4.99cvs8
+
+2001-06-08 [sergey]
+
+       * src/Makefile.am: fix for "make dist": added quote_fmt_parse.h
+       and pixmaps/stock_mail_reply_to_author.xpm to EXTRA_DIST.
+
+2001-06-08 [paul]
+
+        0.4.99claws7
+
+        * sync with sylpheed 0.4.99cvs7
+
+2001-06-06 [sergey]
+
+       * src/quote_fmt.h: renamed from src/quote_fmt_parse.h (which
+       clashes with autogenerated header).
+       * src/compose.c, src/quote_fmt_parse.y: #include "quote_fmt.h"
+       * src/Makefile.am: added quote_fmt.h.
+       * src/.cvsignore: added lex/yacc autogenerated files
+       (quote_fmt_lex.c, quote_fmt_parse.c, quote_fmt_parse.h).
+
+2001-06-06 [paul]
+
+        0.4.99claws6
+
+        * sync with sylpheed 0.4.99cvs6
+
+2001-06-06 [hoa]
+
+       * added src/quote_fmt_parse.h
+       * src/compose.c
+               removed warnings
+
+       * src/prefs.[ch]
+               don't modify readonly configuration files
+
+       * src/prefs_account.c
+       * src/prefs_common.c
+       * src/prefs_customheader.c
+       * src/prefs_display_header.c
+       * src/prefs_filter.c
+       * src/prefs_filtering.c
+       * src/prefs_scoring.c
+               don't open dialog box when configuration files
+               are readonly
+
+2001-06-05 [sergey]
+
+       * configure.in: added AM_PROG_LEX and AC_PROG_YACC.
+
+       * src/Makefile.am: replaced quote_fmt.tab.[ch] by
+       quote_fmt_lex.[lh], quote_fmt_parse.y; added YFLAGS=-d; added
+       BUILT_SOURCES to make all files rebuild properly.
+
+       * src/compose.c: removed #include "quote_fmt.tab.h".
+
+       * src/quote_fmt_lex.l: renamed from quote_fmt.l; changed to return
+       CHARACTER value in yylval.
+
+       * src/quote_fmt_parse.y: renamed from quote_fmt.y; changed to
+       receive CHARACTER value by documented means (yylval).
+
+       * src/lex.quote_fmt.c, src/quote_fmt.{l,y,tab.{c,h}}: removed.
+
+2001-06-05 [hoa]
+
+       * src/Makefile.am
+               changed quote_fmt.[ch] into quote_fmt.tab.[ch]
+
+       * src/filtering.c
+       * src/matcher.c
+       * src/matcher.h
+       * src/prefs_filtering.c
+               now keep the configuration for execute action
+
+       * src/mbox_folder.c
+               fixed a warning
+
+2001-06-05 [paul]
+
+        * sync with sylpheed 0.4.99cvs5
+
+2001-06-05 [hoa]
+
+       * src/Makefile.am
+               added quote_fmt.[ch]
+
+       * added src/quote_fmt.y
+       * added src/quote_fmt.l
+       * added src/quote_fmt.tab.h
+       * added src/quote_fmt.tab.c
+       * added src/lex.quote_fmt.c
+               parsing configuration for replying
+               and forwarding
+
+       * src/prefs_common.[ch]
+               added configuration UI for replying
+               and forwarding
+
+       * src/compose.c
+               using configuration for replying
+               and forwarding
+
+2001-06-04 [hoa]
+
+       * src/filtering.c
+       * src/matcher.c
+       * src/matcher.h
+       * src/prefs_filtering.c
+       * src/prefs_matcher.c
+       * src/prefs_matcher.h
+               action "run a command" for filtering
+               and matching with a command.
+               fixed the "whole message" matching
+
+       * src/mbox_folder.c
+               changed temporary filename for security
+
+       * src/messageview.c
+               queue the notification if it fails to send.
+
+       * src/prefs_common.c
+       * src/prefs_folder_item.c
+               changed the default important score             
+
+       * src/prefs_scoring.c
+       * src/scoring.c
+               hide kill score input when the folder is not
+               a newsgroup
+
+2001-06-03 [alfons]
+
+       * src/prefs_common.c:
+
+               (prefs_font_select): pass font name in font entry box to font
+               selection dialog.
+
+2001-06-03 [sergey]
+
+       * src/smtp.c (smtp_ok): fixed sock_gets() error handling.
+
+2001-06-03 [paul]
+
+        * sync with sylpheed 0.4.99cvs4
+
+2001-06-03 [alfons]
+
+       * src/headerwindow.c:
+
+               (headerwindow_show_cb): use the selected summary view item, not
+               the displayed item.
+
+2001-06-02 [alfons]
+
+       * src/headerwindow.c:
+
+               (headerwindow_show_cb): always try to show msginfo
+
+2001-06-02 [hoa]
+
+       * src/compose.c
+               keep attached parts when reediting or forwarding.
+
+2001-06-01 [hoa]
+
+       * src/folderview.c
+       * src/prefs_folder_item.[ch]
+       * src/prefs_scoring.[ch]
+       * src/scoring.[ch]
+       * src/summaryview.[ch]
+       * src/main.c
+       * src/mainwindow.c
+       * src/prefs_common.[ch]
+               support for folder scoring
+               kill score and important score for messages
+       
+       * src/prefs_account.c
+               some display bug fixed for local account
+               preferences
+
+2001-05-31 [alfons]
+
+       * src/summaryview.c:
+
+               (add_sender_to_cb): don't crash when no or invalid sender; the add 
+               sender to address book menu item is disabled.
+
+2001-05-30 [hoa]
+
+       * src/filtering.[ch]
+       * src/summaryview.c
+               handling summary menu / filter messages
+
+       * src/folder.[ch]
+               add some stuff
+
+       * src/foldersel.c
+               imap folders now appears in list
+
+       * src/mbox_folder.c
+               doesn't crash if destination mail is not writeable
+
+2001-05-29 [hoa]
+
+       * src/compose.c
+               removed some warnings
+
+       * src/filtering.c
+       * src/folder.[ch]
+       * src/prefs_filtering.c
+               global string to identify any folders           
+               removed some debug info
+               filtering to mbox folders is now possible
+
+       * src/mainwindow.c
+               removed some warnings
+
+       * src/mbox_folder.c
+               permission on files are changed to read/write for user only,
+               nothing for other.
+               creation of subfolder is handled better.
+
+2001-05-28 [alfons]
+
+       Verified the sync for src/prefs_common.[ch] and
+       src/prefs_account.[ch]. I believe there were some
+       minor indentation differences.
+
+2001-05-28 [paul]
+
+        0.4.99claws3
+
+        * sync with 0.4.99cvs3
+
+2001-05-28 [hoa]
+
+       * src/compose.c
+               handling flags for mbox format
+
+       * src/filtering.c
+               use of mark file only for MH format
+               handling flags for mbox format
+               filtering cannot yet move or copy mails to mbox folders.
+
+       * src/folder.[ch]
+               changed move_msg, copy_msg,
+               move_msgs_with_dest, copy_msgs_with_dest functions
+               uses only folder->copy_msg() function
+               uses folder->finished_copy() to handle the destination
+               folder at the end of the copy or move operation.
+
+       * src/foldersel.c
+               included mbox directories.
+
+       * src/folderview.[ch]
+       * src/mainwindow.c
+               handle folders operation for mbox format
+
+       * src/mbox.c
+               disable conversion of "From " header
+
+       * src/mbox_folder.[ch]
+               completion of mbox format handling
+
+       * src/mh.c
+               changed mh_copy_msg() function and
+               removed mh_move_msg(), mh_move_msgs_with_dest(),
+               mh_copy_msgs_with_dest()
+
+       * src/prefs_filtering.c
+               removed some warnings
+
+       * src/prefs_matcher.c
+               default boolean operation is AND
+
+       * src/procheader.c
+               handling flags for mbox format
+               handling of "From " header
+
+       * src/procmsg.[ch]
+               removed data field
+               added MSG_REALLY_DELETED flags to handle deletion of
+               messages in mbox format.
+
+       * src/summaryview.c
+               handling flags for mbox format
+               disable the MSG_DELETED flags when messages
+               are deleted in mbox format
+
+       * src/textview.c
+               "From " headers display fixed.
+
+2001-05-27 [alfons]
+
+       * src/textview.c:
+               
+               (get_email_part): skip quoted email addresses, like in e.g.
+               "'alfons@proteus.demon.nl'".
+
+2001-05-26 [alfons]
+
+       Minor GUI fixes adding horizontal scrollbars to Hoa's matcher dialogs,
+       and fixing the persistence troubles when using separate windows.
+
+       * src/mainwindow.c:
+       
+           Added #define SEPARATE_ACTION used in the gtk item factory for 
+           the SEPARATE_FOLDER and SEPARATE_MESSAGE items, so we can
+               use gtk_item_factory_get_widget_by_action() to get the items.
+               
+           Removed separate_widget_cb from the gtk item factory data   
+         
+           (mainwindow_create): connect separate_widget_cb() to check
+           menu item "toggled" signal. also passing a MainWindow pointer
+               as object data for both check menu items.
+               
+           (separate_widget_cb): definition of separate_widget_cb() to match
+           GtkCheckMenuItem's "toggled" signal. Now get the pointer to the main 
+               window using gtk_object_get_data(). The type of window separation 
+               (SEPARATE_MESSAGE or SEPARATE_FOLDER) is passed as the signal's data
+       
+       * src/prefs_filtering.c,
+         src/prefs_matcher.c: added horizontal scrollbars
+
+2001-05-25 [darko]
+
+       * src/headerview.c
+               fix segfault with invalid bold font
+       * src/summaryview.c
+               correctly display summary stats after row is marked
+
+2001-05-23 [sergey]
+
+       * src/codeconv.c (conv_get_code_conv_func): fix for ISO-8859-*
+       encodings with libjconv.
+
+2001-05-23 [hoa]
+
+       * src/Makefile.am
+               added mbox_folder.[ch]
+       * src/defs.h
+               mbox temporary folder
+       * src/folder.[ch]
+       * added src/mbox_folder.[ch]
+       * src/folderview.c
+       * src/procheader.[ch]
+               added mbox support
+       * src/mbox.c
+               bugfix for file incorporation filtering
+       * src/imap.c
+               enable creation of MBOX
+       * src/prefs_display_header.c
+               enable use of headers like "From "
+               something that should be fixed :
+                       displaying of such headers add an extra space
+       * src/prefs_folder_item.c
+               don't create folders because it is not necessary
+       * src/procmsg.h
+               added data field to MsgInfo for mbox internal use
+       * src/summaryview.c
+               added some support for mbox
+       * src/utils.[ch]
+               added get_mbox_cache_dir() function
+
+2001-05-23 [hiroyuki]
+
+       * src/headerwindow.c
+         src/inc.c
+         src/main.c
+         src/mh.c
+         src/nntp.c
+         src/procmsg.h
+         src/session.h
+         src/socket.[ch]
+         src/summaryview.c
+         src/textview.c
+         src/automaton.c
+         src/folderview.c: more sync with 0.4.99cvs2.
+
+       * src/headerwindow.c: reverted.
+
+2001-05-22 [paul]
+
+        0.4.99claws2
+
+        * sync with sylpheed 0.4.99cvs2
+                * src/news.[ch]
+                * src/nntp.[ch]
+                * INSTALL
+                * INSTALL.jp
+
+2001-05-22 [alfons]
+
+       * src/summaryview.c: bugfixed a premature assignment in  summaryview_add_sender_to_cb()
+
+2001-05-21 [alfons]
+
+       Minor things:
+
+       * configure.in: if gnome-config not found, "no" is displayed
+       
+       * sylpheed.desktop: "Hello World" is replaced with "Sylpheed Mail"
+
+       * src/textview.c: now also possible to add mail addresses by right
+         clicking in the text view
+
+       * src/codeconv.c: merged patch which fixes endless loop when encountering
+         invalid wide characters; from Alte <010@imis.ru>  
+
+2001-05-20 [alfons]
+
+       Added installation of gnome specific things:
+
+       * Makefile.am: gnome conditional
+
+       * configure.in: check for installed gnome
+
+       * added sylpheed.png, sylpheed.desktop
+
+2001-05-20 [sergey]
+
+       * src/pixmaps/stock_mail_reply_to_author.xpm: new file.
+
+       * src/mainwindow.h (main_window_toolbar_create): created a button
+       for "Reply to all".
+       (main_window_set_toolbar_sensitive): enable/disable the new button
+       appropriately.
+       (toolbar_reply_to_author_cb): handle the new button.
+
+       * src/send.c (SEND_EXIT_IF_ERROR, SEND_EXIT_IF_NOTOK): call
+       send_progress_dialog_destroy() on failure (fixes hang on SMTP
+       failure).
+
+2001-05-19 [sergey]
+
+       * src/compose.h (ComposeReplyMode): new modes
+       COMPOSE_REPLY_TO_AUTHOR, COMPOSE_REPLY_TO_AUTHOR_WITH_QUOTE,
+       COMPOSE_REPLY_TO_AUTHOR_WITHOUT_QUOTE.
+
+       * src/compose.c
+       (compose_send): move some code into a new function:
+       (compose_current_mail_account): new function.
+       (compose_reply): new argument to_author, all callers changed; if
+       to_author==TRUE and account->protocol==A_NNTP, find and use an
+       appropriate mail account for replying.
+       (compose_reply_set_entry): new argument to_author; ignore
+       compose->replyto if to_author==TRUE.
+
+       * src/mainwindow.c: new command "Message/Reply to author".
+       (main_window_set_menu_sensitive): enable/disable it.
+       (reply_cb): handle it.
+
+       * src/summaryview.c: new command "Reply to author".
+       (summary_set_menu_sensitive): enable/disable it.
+       (summary_reply_cb): handle it.
+
+       * src/account.c (account_find_mail_from_address): new function.
+
+2001-05-18 [paul]
+
+        0.4.99claws1
+
+        * sync with sylpheed 0.4.99cvs1
+
+2001-05-18 [hoa]
+
+       * src/compose.[ch]
+       * src/filtering.c
+       * src/summaryview.c
+               new filtering action : forward and forward as attachment
+
+       * src/main.c
+               no need for $DISPLAY when we run sylpheed --help
+               call to parse_cmd_opt() is moved
+
+       * src/mainwindow.[ch]
+               execute button is hidden when immediate execute
+               is chosen
+
+       * src/mh.c
+       * src/news.c
+       * src/prefs_folder_item.c
+       * src/procmsg.c
+               better handling of missing directories
+
+       * src/summaryview.c
+               reedit is enabled in outbox
+               reedit is enabled in queue
+
+2001-05-17 [hoa]
+
+       * src/filtering.c
+       * src/matcher.[ch]
+       * src/prefs_filtering.c
+               changed attachement into attachment
+
+2001-05-17 [alfons]
+
+       0.4.67claws4    
+
+       * sync with sylpheed 0.4.67cvs9
+       * sync with sylpheed 0.4.67cvs7-8
+
+2001-05-17 [hoa]
+
+       * src/Makefile.am
+               added prefs_filtering.c
+
+       * src/filtering.[ch]
+       * src/matcher.[ch]
+               removed action : forward_news and forward_news_as_attachement
+               (forward and forward_as_attachement can be used instead)
+
+       * src/mainwindow.c
+               added menu option to access filtering configuration
+
+       * src/prefs_account.c
+               changed mail_command default to /usr/sbin/sendmail
+
+       * added src/prefs_filtering.[ch]
+               dialog box for filtering configuration
+
+       * src/prefs_matcher.c
+               added function prefs_matcher_get_criteria_from_matching()
+
+       * src/prefs_scoring.c
+               reset the dialog when register or substitute is clicked
+
+2001-05-15 [hoa]
+
+       * src/Makefile.am
+               added filtering.[ch]
+       * src/inc.c
+               using filering.[ch] instead of filter.[ch]
+       * src/main.c
+               reading new filtering configuration
+       * src/matcher.[ch]
+               added some filtering actions
+               and fixed a bug for headers and mail body matching
+       * src/mbox.c
+               using filering.[ch] instead of filter.[ch]
+       * src/mh.c
+               handling invalid MsgInfo in mh_copy_msg() and mh_move_msg()
+       * src/summaryview.c
+               some fixes for filtering
+
 2001-05-14 [hiroyuki]
 
        * src/send.c: fixed some weird indentations.
+         send_message_with_command(): call pclose() only if p != NULL.
        * src/textview.c: get_email_part(): modified the code for readability.
 
 2001-05-14 [hiroyuki]