Commit Graph

233 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
Darshit Shah 0ae74cde39 Remove autogenerated file from sources
po/stamp-po is automatically generated / downloaded upon running make
and hence should not be a part of the checked out sources
2014-11-16 15:15:47 +05:30
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
Giuseppe Scrivano a8d87e175e Remove generated file. 2010-05-07 12:12:55 +02:00
Giuseppe Scrivano 9c23efbf57 Use gnulib bootstrap script. 2010-05-06 22:51:08 +02:00
Micah Cowan 4a08094db8 [mq]: cfg-mk 2009-09-21 20:39:44 -07:00
Micah Cowan a3ffef9120 Translations refresh. 2009-09-21 10:03:31 -07:00
Micah Cowan 0d92a06594 Translation project update. 2009-09-08 01:16:08 -07:00
Micah Cowan 1e5a791a22 Make distcheck pass. 2009-09-07 21:10:05 -07:00
Micah Cowan b9e9ad65cc Ran update-copyright. 2009-09-04 00:13:47 -07:00
Micah Cowan 3411bd9488 Use stamp-po mechanism, and update to gettext-0.17. 2009-09-03 09:40:59 -07:00
Micah Cowan 75c4606003 Fixes for FreeBSD build. 2009-09-02 20:14:19 -07:00
Petr Pisar ee43faf2b1 Minor msgid fixes. Typos, and corrected contact mail. 2009-07-27 01:56:49 -07:00
Micah Cowan bc7ea11d8e Explicit rules to build en@{quot,boldquot}.po. 2009-07-05 21:35:47 -07:00
Micah Cowan acbdd096c4 Shouldn't be tracking generated en*.po files. 2009-07-05 11:01:22 -07:00
Micah Cowan db1eb17b59 Updated translation files from TLP. 2009-07-05 10:26:44 -07:00
Micah Cowan 1d82a5464e Mark some iri.c strings for translation. 2009-07-05 09:46:13 -07:00
Micah Cowan 259c560166 Make distcheck happy. 2009-06-14 01:41:44 -07:00
Micah Cowan 695e40eb87 TP update. 2008-05-29 18:06:33 -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 92cc00dc74 Updated po files from the Translation Project. 2008-02-06 18:24:54 -08:00
Micah Cowan 7fb3802ddb Update en@*.po files with new copyright year from --version. 2008-01-28 17:29:04 -08:00
Micah Cowan bc8f473272 Updated copyright year. 2008-01-25 05:04:01 -08:00
Micah Cowan 4468e19303 Add rule to translate copyright (C) sign. 2008-01-25 00:28:40 -08:00
Micah Cowan a69719aa51 Updated en*.po files by new .sed rules. 2008-01-24 23:45:16 -08:00
Micah Cowan eb66ec777f Proper quote marks, even when LANGUAGE is just ordinary en_US instead of en@quot; write Hrvoje Niksic with full diacritic marks. 2008-01-24 23:37:15 -08:00
Micah Cowan dc4645031b Merging to bring en@*.po back in (and removed from .hgignore). 2007-10-30 17:25:23 -07:00
Micah Cowan 89351965bd Bring en@*.po back in. 2007-10-30 17:22:20 -07:00
Micah Cowan f1b5aa9f6d make refresh-po && make update-po. Removed en@*.po from repository, added to .hgignore. 2007-10-22 12:04:42 -07:00
Micah Cowan 3844bf178a Removed inappropriate files from po/POTFILES.in. 2007-10-18 10:15:49 -07:00
Micah Cowan 336a5123a8 Adding en@quot and en@boldquot pseudo-LINGUA support. 2007-10-09 19:19:53 -07:00
Micah Cowan eb332ede03 Comment out $(POTFILES) target. 2007-10-09 18:44:12 -07:00
Micah Cowan e876e353e5 Don't update .po's unless explicitly asked. 2007-10-09 18:22:34 -07:00
Micah Cowan e760334581 Bring up-to-date with gettext. 2007-10-09 10:00:50 -07:00
Micah Cowan f74f24c031 Adjustments to po/Makefile.in.in for automake. 2007-10-05 15:24:20 -07:00
Micah Cowan 5dd09d9ba5 Update copyright lists, conforming to maintainer guidelines 2007-09-28 15:45:31 -07:00
micah 5d718ebfda [svn] Syncing po files with upstream, new msgids from spider.c 2007-08-26 16:22:20 -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
micah 66bf612188 [svn] po/no.po has been replaced by po/nb.po. 2007-08-24 03:24:54 -07:00
micah d464b84dba [svn] Updated po files to current source. 2007-08-02 21:14:15 -07:00
micah 6f2b2bebfc [svn] Synched translations with translation project's latest. 2007-08-02 21:01:59 -07:00
micah c73952a8b3 [svn] Added Norwegian, Indonesian and Portuguese (non-Brazil-specific?) .po
files.
2007-08-02 21:01:26 -07:00
mtortonesi 9b2e00cb02 [svn] Updated Estonian translation. 2006-08-22 07:29:04 -07:00
mtortonesi 81f7fd478f [svn] Updated po files. 2006-07-14 06:10:12 -07:00
hniksic 960af0b1b1 [svn] Reverted to previous revision. 2005-08-22 04:19:58 -07:00
mtortonesi 32ea9deb40 [svn] Updated PO files from the TP. 2005-08-16 15:00:05 -07:00