Darshit Shah
8705e27e20
progress bar: Allow display on stderr alongwith -o
...
This commit causes the --show-progress option to print the progress bar
to stderr even when a logfile was explicitly provided on the command
line. Such a combination allows a user to log the output of Wget while
simultaneously keeping track of the download status.
2015-01-20 20:16:20 +01:00
Eli Zaretskii
fc336758ab
src/utils.c: Don't include termios.h on Windows
2014-12-21 19:10:26 +01:00
Darshit Shah
b41a3a6568
Mark unused paramter in utils.c
2014-11-22 17:26:05 +05:30
Tim Rühsen
3c51ad7f02
Removed form feeds from sources and NEWS
2014-11-20 16:35:34 +01:00
Tim Rühsen
7b43510fe3
Fixes possible issues with Wget running in a turkish locale
2014-11-20 10:56:21 +01:00
Darshit Shah
1ce1a40f94
Fix memory leak in utils.c
2014-11-19 21:55:30 +05:30
Tim Rühsen
7a7a241e5b
Use random() and srandom() if available.
...
Reported-by: Coverity scanner
2014-11-19 16:06:19 +01:00
Tim Ruehsen
4152e98bb0
content for commit 605d9053e5
2014-10-28 20:21:33 +01:00
Darshit Shah
08cedb953b
Mark non returning functions
2014-06-16 18:25:44 +05:30
Giuseppe Scrivano
3e8f9a6436
Remove duplicated words
2014-06-12 18:49:15 +02:00
Giuseppe Scrivano
ffccc7d3be
Do not depend on always defined macros
2014-06-12 18:49:15 +02:00
Giuseppe Scrivano
dd1b69c600
Remove trailing empty lines
2014-06-12 18:49:15 +02:00
Giuseppe Scrivano
087e17be1c
Do not use exit() with a magic number
2014-06-12 18:48:48 +02:00
Darshit Shah
4eeabffee6
More progress bar aesthetic changes
...
This commit introduces two new changes to how the progress bar looks:
1. Support the --progress=bar:noscroll option which will prevent the filename
from scrolling in the progress bar
2. Print human readable value for the amount already downloaded for any file
2014-05-30 13:28:02 +05:30
Tim Ruehsen
38a7829dcb
Fix compiler warnings
2014-05-12 12:18:50 +02:00
Darshit Shah
97787110a2
Fix compiler warnings
2014-03-26 12:38:39 +01:00
Bykov Aleksey
8b2954e58a
Fix FTP list parsing & Fix cookies reject
2013-10-28 00:26:58 +01:00
Tomas Hozza
c9c0e4c641
Fix using deadcode and possible use of NULL pointer
...
Fix for deadcode in unique_create() so that "opened_name" parameter is
always initialized to a valid string or NULL when returning from
function.
Fix for redirect_output() so that "logfile" is not blindly used in
fprintf() call and checked if it is not NULL.
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2013-07-10 23:04:25 +02:00
Tim Ruehsen
099d8ee3da
replaced read_whole_file() by getline()
2013-05-17 20:19:02 +02:00
Tim Ruehsen
e976d4f3dc
src/utils.c cleanup
2013-05-12 21:41:07 +02:00
Giuseppe Scrivano
22bd8011e8
Fallback to PATH_MAX when pathconf is not available
2012-10-07 13:09:56 +02:00
Tim Ruehsen
67e6027ea1
Add support for file names longer than MAX_FILE.
2012-09-29 13:47:53 +02:00
Giuseppe Scrivano
96418c6885
Rename --bits to --report-bps.
2012-06-06 14:10:07 +02:00
Tim Ruehsen
321b5dce85
* fix a few little dissonances
2012-06-04 22:05:40 +02:00
Gijs van Tulder
f5a1097871
Add support for -accept-regex and --reject-regex.
2012-05-09 21:18:23 +02:00
Tim Ruehsen
2ffc383654
activate itimer support.
2012-03-29 20:13:27 +02:00
Giuseppe Scrivano
6533cf2452
Assume some headers files provided by gnulib are always present.
2012-03-25 17:49:55 +02:00
Sasikantha Babu
b9b510ca5f
Accept --bit option
2012-03-05 22:23:06 +01:00
Steven Schweda
8c7bd588fe
Fix some problems under VMS.
2011-10-23 13:11:22 +02:00
Giuseppe Scrivano
5e3c9b55f2
Prefers utime over futimens when available.
2011-08-25 11:41:51 +02:00
Giuseppe Scrivano
3382df979c
Use sigprocmask instead of sigsetmask.
2011-08-11 14:23:39 +02:00
Giuseppe Scrivano
9b21660d70
Accept always the file if it is the specified output destination.
2011-08-05 22:39:55 +02:00
Giuseppe Scrivano
87a176daa7
Use futimens instead of utimes.
2011-04-19 12:33:46 +02:00
Giuseppe Scrivano
179dacd735
Use utimes instead of utime.
2011-04-18 14:37:42 +02:00
Giuseppe Scrivano
2f6aa1d741
mass change: update copyright years.
2011-01-01 13:19:37 +01:00
Giuseppe Scrivano
9ae052b1e2
Remove redundant guard.
2010-12-01 13:15:13 +01:00
Giuseppe Scrivano
cf3c678c82
Rename two functions.
2010-07-09 12:24:51 +02:00
Giuseppe Scrivano
293008f682
Mass update copyright years.
2010-05-08 21:56:15 +02:00
Steven Schweda
3f01333ca6
imported patch vms-carat
2010-01-09 15:24:02 -08:00
Micah Cowan
4a08094db8
[mq]: cfg-mk
2009-09-21 20:39:44 -07:00
Steven Schweda
5ef1d7b949
Fixes needed for VMS.
2009-09-11 19:41:57 -07:00
Micah Cowan
b9e9ad65cc
Ran update-copyright.
2009-09-04 00:13:47 -07:00
Micah Cowan
d5e283b1a7
Automated merge.
2009-07-04 15:32:57 -07:00
Micah Cowan
48b53471e8
Henri's -Wall patch.
2008-05-30 22:42:36 -07:00
Micah Cowan
e72b57629b
Merge quote module stuff with current mainline.
2008-05-15 19:13:08 -07:00
Micah Cowan
6c16fe9225
Ensure that dir matches aren't mere prefix matches.
2008-04-23 00:05:27 -07:00
Micah Cowan
714ccdcd84
Steven Schweda's VMS patch.
2008-04-22 14:48:36 -07:00
Steven Schubiger
2c77220411
Undo the USE_GNULIB_ALLOC defines.
2008-04-20 11:46:52 +02:00
Steven Schubiger
d79719be09
Move memfatal() to utils.c.
2008-04-19 21:13:38 +02:00
Steven Schubiger
76780021d8
Use Gnulib's alloc functions throughout the source.
2008-04-19 01:21:24 +02:00