]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Keep updating a subinterval until it reaches or exceeds a watermark.
[wget] / src / ChangeLog
index f68fe96463ab7fc8d3ddbe0d98104543ac51282e..80c6e68b018f44a3e924796f22dadc96e345455a 100644 (file)
@@ -1,3 +1,19 @@
+2002-04-10  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * progress.c (bar_update): Keep updating a subinterval until it
+       reaches or exceeds a watermark.  That way the measurement will be
+       guaranteed to span a configurable minimum of time.  The current
+       default is 3s in 30 100ms intervals.
+
+2002-04-09  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * progress.c (bar_update): Maintain an array of the time it took
+       to perform previous 30 network reads.
+       (create_image): Calculate the download speed and ETA based on the
+       last 30 reads, not the entire download.
+       (create_image): Make sure that the ETA is not changed more than
+       once per second.
+
 2002-04-09  Ian Abbott  <abbotti@mev.co.uk>
 
        * mswindows.c (borland_utime): New function conditionally defined