aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2006-06-10 10:01:18 +0000
committerDai Sato <satodai@w3m.jp>2006-06-10 10:01:18 +0000
commitb91f1169769b5668b42ea50a095731d6e34db171 (patch)
tree2a71d8e326e58634d377be56fe72644f4f9b90de
parentdon't delete newlines in hidden values. [w3m-dev 04129] (diff)
downloadw3m-b91f1169769b5668b42ea50a095731d6e34db171.tar.gz
w3m-b91f1169769b5668b42ea50a095731d6e34db171.zip
Show progress status when dump_extra option is specified. [w3m-dev 03992]
-rw-r--r--ChangeLog7
-rw-r--r--file.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 29edff5..367f6f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-06-07 Dai Sato <satodai@w3m.jp>
+ * [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 <satodai@w3m.jp>
+
* [w3m-dev 04129] handling newlines in form values
* parsetagx.c: don't delete newlines in hidden 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 <sys/types.h>
#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);