From b91f1169769b5668b42ea50a095731d6e34db171 Mon Sep 17 00:00:00 2001 From: Dai Sato Date: Sat, 10 Jun 2006 10:01:18 +0000 Subject: Show progress status when dump_extra option is specified. [w3m-dev 03992] --- ChangeLog | 7 ++++++- file.c | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 29edff5..367f6f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-07 Dai Sato + + * [w3m-dev 03992] Change to display progress status when dump_extra option is specified + * file.c (loadHTMLstream): Show progress status when dump_extra option is specified. + 2006-06-07 Dai Sato * [w3m-dev 04129] handling newlines in form values @@ -8733,4 +8738,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.965 2006/06/07 03:52:03 inu Exp $ +$Id: ChangeLog,v 1.966 2006/06/10 10:01:18 inu Exp $ diff --git a/file.c b/file.c index a7e88ad..1433ad3 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.243 2006/05/29 12:54:26 inu Exp $ */ +/* $Id: file.c,v 1.244 2006/06/10 10:01:18 inu Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -6761,6 +6761,8 @@ loadHTMLstream(URLFile *f, Buffer *newBuf, FILE * src, int internal) if (src) Strfputs(lineBuf2, src); linelen += lineBuf2->length; + if (w3m_dump & DUMP_EXTRA) + printf("W3m-in-progress: %s\n", convert_size2(linelen, current_content_length, TRUE)); if (w3m_dump & DUMP_SOURCE) continue; showProgress(&linelen, &trbyte); -- cgit v1.2.3