1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
Commit Graph

26 Commits

Author SHA1 Message Date
Hubert Tarasiuk
37b58e3976 Metalink support.
* bootstrap.conf: Add crypto/sha256
* configure.ac: Look for libmetalink and GPGME
* doc/wget.texi: Add --input-metalink and --metalink-over-http
options description.
* po/POTFILES.in: Add metalink.c
* src/Makefile.am: Add new translation unit (metalink.c)
* src/http.c (http_stat): Add metalink field.
(free_stat): Free metalink field.
(find_key_value): Find value of given key in header string.
(has_key): Check if token exists in header string.
(find_key_values): Find all key=value pairs in header string.
(metalink_from_http): Obtain Metalink metadata from HTTP response.
(gethttp): Call metalink_from_http if requested.
(http_loop): Request Metalink metadata from HTTP response if should be.
Fall back to regular download if no Metalink metadata found.
* src/init.c: Add --input-metalink and --metalink-over-http options
* src/main.c (option_data): Handle --input-metalink and
--metalink-over-http cmd arguments.
(print_help): Print --input-metalink option description.
(main): Retrieve files from Metalink file
* src/metalink.c (retrieve_from_metalink): Download files described by
metalink.
(metalink_res_cmp): Comparator for resources priority-sorting.
* src/metalink.h: Create header for metalink.c
(RES_TYPE_SUPPORTED): Define supported resources media.
(DEFAULT_PRI): Default mirror priority for Metalink over HTTP.
(VALID_PRI_RANGE): Valid priority range.
* src/options.h (options): Add input_metalink option and metalink_over_http
options.
* src/utils.c (hex_to_string): Convert binary data to ASCII-hex.
* src/utils.h (hex_to_string): Add prototype.
* src/wget.h: Add metalink-related error enums
Add METALINK_METADATA flag for document type.
2015-07-20 15:30:39 +02:00
Giuseppe Scrivano
964ba0a0d5 po/POTFILES.in: add missing file 2014-06-12 18:49:15 +02:00
Nguyễn Thái Ngọc Duy
74f6cb8884 Mark more strings for translation 2012-09-02 16:06:24 +02:00
Giuseppe Scrivano
2f6aa1d741 mass change: update copyright years. 2011-01-01 13:19:37 +01:00
Giuseppe Scrivano
293008f682 Mass update copyright years. 2010-05-08 21:56:15 +02:00
Micah Cowan
4a08094db8 [mq]: cfg-mk 2009-09-21 20:39:44 -07:00
Micah Cowan
b9e9ad65cc Ran update-copyright. 2009-09-04 00:13:47 -07:00
Micah Cowan
1d82a5464e Mark some iri.c strings for translation. 2009-07-05 09:46:13 -07:00
Micah Cowan
f3e03d4b2c Remove xmalloc.c from POTFILES.in; update po/boldquot.sed to match po/quot.sed. 2008-05-29 17:56:41 -07:00
Micah Cowan
d0476cad42 Translation for quote arg ` and '. 2008-05-29 17:33:22 -07:00
Micah Cowan
bc8f473272 Updated copyright year. 2008-01-25 05:04:01 -08:00
Micah Cowan
3844bf178a Removed inappropriate files from po/POTFILES.in. 2007-10-18 10:15:49 -07:00
Micah Cowan
5dd09d9ba5 Update copyright lists, conforming to maintainer guidelines 2007-09-28 15:45:31 -07:00
micah
676da61f1d [svn] Added spider.c to POTFILES.in; fixed use of gettext with plural forms. 2007-08-26 16:03:58 -07:00
hniksic
1850c8ff95 [svn] Include src/ptimer.c in POTFILES.in. 2005-07-03 06:37:29 -07:00
hniksic
d66ad890bf [svn] Added openssl.c. 2005-04-27 14:12:07 -07:00
hniksic
1c942b02b0 [svn] Updated POTFILES.in. 2005-03-23 09:42:27 -08:00
hniksic
658955529e [svn] Include xmalloc.c 2003-11-06 15:51:21 -08:00
hniksic
e1c7cdf0d2 [svn] Removed now-nonexistent fnmatch.c. 2003-10-08 08:18:13 -07:00
hniksic
708a962eba [svn] Added src/convert.c to POTFILES.in. 2003-10-01 13:01:22 -07:00
hniksic
51df77d07a [svn] Updated to more closely match the list of source files. 2001-12-01 09:41:24 -08:00
hniksic
28f55ca7d3 [svn] Rebuilt wget.pot. 2001-11-23 12:17:47 -08:00
hniksic
082aa5018e [svn] Add cookies.c to po/POTFILES.in. 2001-04-24 16:11:04 -07:00
hniksic
2878b0644b [svn] Updated. 2000-12-09 18:24:44 -08:00
hniksic
9a4fcf6a68 [svn] Updated. 2000-12-09 18:23:47 -08:00
kwget
31d6616c48 [svn] Initial revision 1999-12-01 23:42:23 -08:00