summaryrefslogtreecommitdiff
path: root/networking/wget.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* wget: smallish optimizationDenis Vlasenko2006-12-161-18/+18
|
* od: sometime ago I landed BIG od implementationDenis Vlasenko2006-11-281-1/+1
| | | | | from coreutils. My fault. This commit contains cleanups and size reductions.
* safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko2006-11-271-5/+7
| | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
* small fixes:Denis Vlasenko2006-11-261-2/+2
| | | | | | fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
* header_verbose_list: stop truncating file size in listingDenis Vlasenko2006-11-241-2/+2
|
* wget: -O - still outputs progressbar (to stderr)Denis Vlasenko2006-11-231-5/+6
| | | | Noticed dead code. -100 bytes.
* wget: yet another contortion for proftpd's PASV response.Denis Vlasenko2006-11-211-4/+4
|
* wget: fix ftp PASV mode ("numeric" check was too strict)Denis Vlasenko2006-11-211-4/+6
|
* wget: reduce likelihood of ETA overflow (especially with !LFS)Denis Vlasenko2006-11-211-17/+19
|
* wget: fix error message.Denis Vlasenko2006-11-101-2/+5
| | | | | | | | | | | | | | | Bad: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 : HTTP/1.0 404 Not Foundror 404 Not Found Good: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 get: server returned error: HTTP/1.0 404 Not Found nslookup: fix my mistake applets: make Bernhard Fischer <rep.nop@aon.at> happy :)
* ls: cleanup part 1Denis Vlasenko2006-10-281-2/+2
|
* get_terminal_width_height: do not pass insanely large valuesDenis Vlasenko2006-10-271-1/+1
|
* xconnect is non-conforming to "xfunc like libc" rule. FixingDenis Vlasenko2006-10-261-1/+1
|
* use skip_whitespace where appropriateDenis Vlasenko2006-10-251-1/+1
|
* wget: wget $'-\207' ... should not be allowed to work. ever. :)Denis Vlasenko2006-10-251-32/+40
| | | | | So fix wget & getopt32. Also fix multiple --header options order: add and use rev_llist.
* wget: -100 bytes, reduce stack usage, remove --header length limitDenis Vlasenko2006-10-231-20/+18
|
* wget: xatoi's were oversealous ("200 OK" isn't a number)Denis Vlasenko2006-10-151-39/+51
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-3/+1
|
* fixes from Vladimir Dronnikov <dronnikov@gmail.ru>Denis Vlasenko2006-10-101-0/+2
|
* correct largefile support, add comments about it.Denis Vlasenko2006-10-081-12/+12
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-5/+5
|
* dd: make it recognize not only 'k' but 'K' too;Denis Vlasenko2006-10-071-16/+0
| | | | make it (partially) CONFIG_LFS-aware
* wget: don't be careless with xstrdup'ingDenis Vlasenko2006-10-071-18/+24
|
* wget: fix download of URLs like:Denis Vlasenko2006-10-071-6/+30
| | | | | | http://busybox.net?var=a/b http://busybox.net?login=john@doe http://busybox.net#test/test
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-4/+4
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* wget: make progress bar and ETA work correctly with -cDenis Vlasenko2006-10-011-35/+37
|
* silly switch style fixDenis Vlasenko2006-09-271-1/+1
|
* wget: add (configurable) large file support. Run tested.Denis Vlasenko2006-09-261-53/+63
|
* wget: fix bug where wget creates null file if there is no remote one.Denis Vlasenko2006-09-231-78/+38
| | | | add O_LARGEFILE support (not run tested :).
* whitespace cleanupDenis Vlasenko2006-09-171-1/+1
|
* So, in the cornucopia of superfulous warning directives I didn't add to theRob Landley2006-09-151-1/+1
| | | | | | | | | | | | | | | | | tree, we have the warning about failed inlines (which with our inline limit set to zero means any usage of the "inline" keyword at all). Note that setting the inline limit to zero, and using -Werror, both predated adding the warning about inlines to the tree. So whatever checkin added that did nothing but break the tree. But oh well. The second category of superfluous warnings is warning about functions with no previous declaration. Apparently, if you add ALWAYS_INLINE to an empty function definition, it considers the sucker undeclared as far as the warning is concerned. (I.E. it's a buggy warning. I try not to ask the compiler to generate warnings it can't competently generate.) This is why I removed "inline" (unbreak allbareconfig), and couldn't replace it with "ALWAYS_INLINE" (still broke allbareconfig).
* wget: wrap one atrociously long line (around 200 chars long!).Denis Vlasenko2006-09-091-18/+25
|
* uuencode: common implementation for wget and uuencode (closing bug 694)Denis Vlasenko2006-09-031-20/+2
|
* - patch from Csaba Henk to make the "User-Agent" header field configurable.Bernhard Reutner-Fischer2006-09-021-3/+7
|
* - typo s/ENABLE_WGET_LONG_OPTIONS/ENABLE_FEATURE_WGET_LONG_OPTIONS/gBernhard Reutner-Fischer2006-08-201-2/+2
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-9/+6
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* A couple things that got tangled up in my tree, easier to check in both thanRob Landley2006-07-121-9/+8
| | | | | | | | | | | | | | untangle them: Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the signal list to that required by posix (they can specify the numbers for the rest if they really need them). (This is preparatory cleanup for adding a timeout applet like Roberto Foglietta wants.) Export the itoa (added due to Denis Vlasenko, although it's not quite his preferred implementation) from xfuncs.c so it's actually used, and remove several other redundant implementations of itoa and utoa() in the tree.
* Patch from Geoff Baker to fix bug http://bugs.busybox.net/view.php?id=905 byRob Landley2006-06-271-19/+3
| | | | changing wget's ftp code not to chdir but to use the complete path each time.
* Patch from Denis Vlasenko:Rob Landley2006-06-131-57/+44
| | | | | | | | | | | | * Rename a var: statbytes -> transferred * cursize == transferred, always. Nuke cursize. * Make progressmeter() a nop if !CONFIG_FEATURE_WGET_STATUSBAR (reduces #ifdef forest) * double elapsed -> int elapsed * Do not sprintf to buf first and then write(STDERR) it, just fprintf directly to stderr * Progress bar printing code made smaller * Style fixes
* Whitespace cleanup from Denis Vlasenko.Rob Landley2006-06-131-9/+8
|
* - use bb_msg_{read,write}_error where appropriate.Bernhard Reutner-Fischer2006-06-031-2/+2
| | | | | | text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox
* - add CONFIG_FEATURE_WGET_LONG_OPTIONSBernhard Reutner-Fischer2006-05-311-0/+4
|
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-10/+0
| | | | - use shorter boilerplate while at it
* - include strings.hBernhard Reutner-Fischer2006-05-191-0/+1
| | | | Thanks to Rich Felker for pointing this out.
* Small tweak cherry-picked from Devin Bayer's monster MacOS X patch.Rob Landley2006-02-211-1/+1
|
* fix up annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-2/+2
|
* just whitespaceTim Riker2006-01-251-17/+17
|
* If we really _need_ an #ifdef like this, then we should be using the libbbRob Landley2005-12-021-3/+0
| | | | getopt infrastructure instead.
* - new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"2005-10-141-14/+14
| | | | | - new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet