1. 21 Jun, 2012 3 commits
    • Tatsuhiro Tsujikawa's avatar
      curl: Restore noprogress and isatty config values. · 7561a0fc
      Tatsuhiro Tsujikawa authored
      The noprogress and isatty in Configurable are global, in a sense
      that they persist in one curl invocation. Currently once one
      download writes its response data to tty, they are set to FALSE
      and they are not restored on successive downloads.  This change
      first backups the current noprogress and isatty, and restores
      them when download does not write its data to tty.
      7561a0fc
    • Tatsuhiro Tsujikawa's avatar
      curl: Made --metalink option toggle Metalink functionality · 196c8242
      Tatsuhiro Tsujikawa authored
      In this change, --metalink option no longer takes argument.  If
      it is specified, given URIs are processed as Metalink XML file.
      If given URIs are remote (e.g., http URI), curl downloads it
      first. Regardless URI is local file (e.g., file URI scheme) or
      remote, Metalink XML file is not written to local file system and
      the received data is fed into Metalink XML parser directly.  This
      means with --metalink option, filename related options like -O
      and -o are ignored.
      
      Usage examples:
      
      $ curl --metalink http://example.org/foo.metalink
      
      This will download foo.metalink and parse it and then download
      the URI described there.
      
      $ curl --metalink file://foo.metalink
      
      This will parse local file foo.metalink and then download the URI
      described there.
      196c8242
    • Tatsuhiro Tsujikawa's avatar
      curl: Refactored metalink_checksum · 424bb358
      Tatsuhiro Tsujikawa authored
      When creating metalink_checksum from metalink_checksum_t, first
      check hex digest is valid for the given hash function.  We do
      this check in the order of digest_aliases so that first good
      match will be chosen (strongest hash function available).  As a
      result, the metalinkfile now only contains at most one
      metalink_checksum because other entries are just redundant.
      424bb358
  2. 20 Jun, 2012 7 commits
  3. 19 Jun, 2012 12 commits
  4. 18 Jun, 2012 4 commits
  5. 16 Jun, 2012 1 commit
  6. 15 Jun, 2012 7 commits
  7. 14 Jun, 2012 6 commits