Commit Graph

108 Commits

Author SHA1 Message Date
hniksic bb0194c6e7 [svn] Document print_percentage. 2005-06-28 02:09:31 -07:00
hniksic 10afb07c42 [svn] Really remove translation of <n>s. 2005-06-26 18:15:46 -07:00
hniksic 2e7aa7f76d [svn] Constify variable. 2005-06-26 16:04:56 -07:00
hniksic 39fbdba663 [svn] Mark the "eta" string for translation. 2005-06-26 14:05:52 -07:00
hniksic 9c810d69ac [svn] Don't translate SI units. Print more exact duration information for very
short downloads.
2005-06-26 05:04:01 -07:00
hniksic 319f52d756 [svn] When the download is finished, print the time the download took.
Always invoke SIZE, not only when continuing the download.
2005-06-25 17:41:09 -07:00
hniksic e24bc5db1b [svn] Rewrite with_thousand_seps to be size-agnostic. Remove printing of separators
from sizes.
2005-06-25 16:09:29 -07:00
hniksic da084a2979 [svn] New ETA display. 2005-06-25 14:08:04 -07:00
hniksic 74fbb03b10 [svn] Use bool type for boolean variables and values. 2005-06-22 12:38:10 -07:00
hniksic 908d7a4bce [svn] Don't cast return type of malloc/realloc. Assume ANSI C signal handlers. 2005-06-19 16:03:27 -07:00
hniksic 277e840a0f [svn] Remove K&R support. 2005-06-19 15:34:58 -07:00
hniksic 0967c21094 [svn] Fix K&R incompatibilities reported by `gcc -Wtraditional'. 2005-05-03 08:24:30 -07:00
hniksic b9a31d78dd [svn] Support human-readable file size printing.
Don't use persistent connection over proxies.
2005-03-22 05:20:02 -08:00
hniksic e3fb2ec5df [svn] Remove duplicate initialization. 2005-02-26 19:00:59 -08:00
hniksic ef22bf610a [svn] Large file support added. Published in <87psyr6jn7.fsf@xemacs.org>. 2005-02-23 14:21:04 -08:00
hniksic 2c0e2b0afa [svn] Fixes by Christian Biere:
* progress.c (bar_set_params): Fixed syntax error when HAVE_ISATTY
was undefined.
* ftp.c (ftp_loop_internal): Allocate a larger buffer in case
"try" gets translated to something large.  Ditto in http_loop in
http.c.
* http.c (response_header_copy): Don't write to buf[BUFSIZE].
* ftp-opie.c (skey_response): Eliminate unnecessary string
concatenation; just call gen_md5_update twice.
2004-01-27 17:02:26 -08:00
hniksic 489452a23a [svn] Declare the pointers to literal strings as `const'. 2003-12-14 05:35:27 -08:00
hniksic b83acf88c1 [svn] Don't calculate the ETA if nothing has yet been downloaded. 2003-11-27 14:59:36 -08:00
hniksic cd87cd9e09 [svn] Remove the debugging sledgehammer check. 2003-11-08 09:00:45 -08:00
hniksic 94ca33d2fb [svn] Update the progress gauge even when the data does not arrive. 2003-11-08 08:56:52 -08:00
hniksic f4cbba565e [svn] Only set a flag in the SIGWINCH handler. 2003-11-04 05:37:14 -08:00
hniksic 5f0a2b3f08 [svn] Use new macros xnew, xnew0, xnew_array, and xnew0_array in various places. 2003-10-31 06:55:50 -08:00
hniksic e6fd9cb793 [svn] Force printing of ETA at the end of download. 2003-09-23 13:48:10 -07:00
hniksic d403f7f835 [svn] Cosmetic change in var names. 2003-09-23 11:39:22 -07:00
hniksic 625a9d3a9f [svn] Indicate where the download has started in progress bar. 2003-09-22 10:14:19 -07:00
hniksic 7b5fb50cb1 [svn] Renamed wget.h XDIGIT-related macros to (hopefully) clearer names. 2003-09-19 07:08:37 -07:00
hniksic 9228f0bf53 [svn] Update progress code to use higher timer resolution.
Message-ID: <m37k49oivp.fsf@hniksic.iskon.hr>
2003-09-15 14:14:15 -07:00
hniksic d3a636f2a5 [svn] Fall back to dot progress if the terminal type is "emacs".
Published in <sxsd6vllhsi.fsf@florida.munich.redhat.com>.
2002-05-24 07:53:18 -07:00
hniksic b2be7522c7 [svn] Update the license to include the OpenSSL exception. 2002-05-17 19:16:36 -07:00
hniksic 9de4909bea [svn] Update copyright years. 2002-04-11 18:23:23 -07:00
hniksic c77a16309f [svn] Don't allow initial_length to exceed total_length.
Published in <sxssn62dq99.fsf@florida.arsdigita.de>.
2002-04-11 11:51:26 -07:00
hniksic 1375a89141 [svn] Allow Wget to be compiled with a K&R compiler.
Published in <sxszo0af9k6.fsf@florida.arsdigita.de>.
2002-04-11 10:49:32 -07:00
hniksic 1600aaeaa6 [svn] Revert to calculating ETA based on average download speed.
Published in <sxspu17sl10.fsf@florida.arsdigita.de>.
2002-04-10 07:10:03 -07:00
hniksic 538307f151 [svn] 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.

Published in <sxsu1qkszdb.fsf@florida.arsdigita.de>.
2002-04-10 02:24:28 -07:00
hniksic c292e8e153 [svn] Print the current download speed, rather than the average.
Published in <sxs3cy4yacm.fsf@florida.arsdigita.de>.
2002-04-09 15:10:01 -07:00
hniksic 1365950c01 [svn] Logging system bugfixes and improvements.
Published in <sxsofl7vdyo.fsf@florida.arsdigita.de>.
2001-12-09 21:31:45 -08:00
hniksic 0a89fc1a10 [svn] Fix a minor ETA padding glitch.
Published in <sxs667hyp19.fsf@florida.arsdigita.de>.
2001-12-08 20:51:40 -08:00
hniksic dd84231c6a [svn] Minor fixes prompted by `lint'.
Published in <sxsadwt2nkg.fsf@florida.arsdigita.de>.
2001-12-08 17:24:41 -08:00
hniksic bfd017746b [svn] Doc fix. 2001-12-06 02:48:09 -08:00
hniksic 4e5bbd646b [svn] Various progress-bar related fixes.
Published in <sxspu5slja3.fsf@florida.arsdigita.de>.
2001-12-06 02:45:27 -08:00
hniksic 39b2248bde [svn] Fall back to dot progress when forced to background.
Published in <sxs1yi8n7lx.fsf@florida.arsdigita.de>.
2001-12-05 23:14:35 -08:00
hniksic 7674ecd97e [svn] Simplify display_image. 2001-11-30 00:02:33 -08:00
hniksic fb7fb36cb8 [svn] Resurrect opt.dot_style. 2001-11-27 18:44:18 -08:00
hniksic f0dff25336 [svn] Fix typo. 2001-11-27 18:24:22 -08:00
hniksic baf8750197 [svn] Default the progress implementation to "bar".
Published in <sxsu1vgfqx7.fsf@florida.arsdigita.de>.
2001-11-27 02:29:45 -08:00
hniksic 69c78db55b [svn] Commence bar progress with two newlines. 2001-11-27 02:17:09 -08:00
hniksic bae3162c03 [svn] New option `--limit-rate'.
Published in <sxsd725cn56.fsf@florida.arsdigita.de>.
2001-11-26 12:07:13 -08:00
hniksic 84396de673 [svn] Allocate a timer directly in get_contents.
Published in <sxsherhbsvl.fsf@florida.arsdigita.de>.
2001-11-26 04:49:10 -08:00
hniksic 3afb9c659a [svn] Recursion and progress bar tweaks.
Published in <sxsd727cvc0.fsf@florida.arsdigita.de>.
2001-11-25 13:03:30 -08:00
hniksic 05463c7121 [svn] Commit progress bar tweaks.
Published in <sxsd727cvc0.fsf@florida.arsdigita.de>.
2001-11-24 20:46:26 -08:00
hniksic 222e9465b7 [svn] Implemented breadth-first retrieval.
Published in <sxsherjczw2.fsf@florida.arsdigita.de>.
2001-11-24 19:10:34 -08:00
hniksic b88223f99d [svn] Don't modify bp->total_length if it equals zero. 2001-11-24 10:05:57 -08:00
hniksic 212eb1ddaf [svn] Fake a miniscule amount of download time when none is detected. 2001-11-23 18:38:47 -08:00
hniksic 87ed8be305 [svn] Don't translate "%ld ". 2001-11-23 12:20:40 -08:00
hniksic 4f91014e3f [svn] Allow the user to force bar progress.
Published in <sxs8zcxh2x5.fsf@florida.arsdigita.de>.
2001-11-23 08:24:06 -08:00
hniksic 905472770e [svn] Minor progress bar fixes.
Published in <sxsn11dh3fc.fsf@florida.arsdigita.de>.
2001-11-23 08:12:53 -08:00
hniksic eb9a02b828 [svn] Minor fix for the new progress bar. 2001-11-22 21:09:39 -08:00
hniksic cdcf67a5bd [svn] Big progress bar update.
Published in <sxsn11ehyn1.fsf@florida.arsdigita.de>.
2001-11-22 20:59:52 -08:00