Skip to content
  1. Jul 23, 2013
  2. Jul 22, 2013
  3. Jul 21, 2013
    • Daniel Stenberg's avatar
      curl_multi_wait: fix revents · 513e587c
      Daniel Stenberg authored
      Commit 6d30f8eb didn't work properly. First, it used the wrong
      array index, but this fix also:
      
      1 - only does the copying if indeed there was any activity
      
      2 - makes sure to properly translate between internal and external
      bitfields, which are not guaranteed to match
      
      Reported-by: Evgeny Turnaev
      513e587c
  4. Jul 19, 2013
  5. Jul 18, 2013
    • Daniel Stenberg's avatar
      CURLOPT_XFERINFOFUNCTION: introducing a new progress callback · 12d01cb6
      Daniel Stenberg authored
      CURLOPT_XFERINFOFUNCTION is now the preferred progress callback function
      and CURLOPT_PROGRESSFUNCTION is considered deprecated.
      
      This new callback uses pure 'curl_off_t' arguments to pass on full
      resolution sizes. It otherwise retains the same characteristics: the
      same call rate, the same meanings for the arguments and the return code
      is used the same way.
      
      The progressfunc.c example is updated to show how to use the new
      callback for newer libcurls while supporting the older one if built with
      an older libcurl or even built with a newer libcurl while running with
      an older.
      12d01cb6
    • Yang Tse's avatar
      Reinstate "WIN32 MemoryTracking: track wcsdup() _wcsdup() and _tcsdup() usage". · 90695fb2
      Yang Tse authored
      This reverts commit 7ed25ccf, reinstating commit 8ec2cb55.
      
      As of 18-jul-2013 we still do have code in libcurl that makes use of these
      memory functions. Commit 8ec2cb55 comment still applies and is yet valid.
      
      These memory functions are solely used in Windows builds, so all related
      code is protected with '#ifdef WIN32' preprocessor conditional compilation
      directives.
      
      Specifically, wcsdup() _wcsdup() are used when building a Windows target with
      UNICODE and USE_WINDOWS_SSPI preprocessor symbols defined. This is the case
      when building a Windows UNICODE target with Windows native SSL/TLS support
      enabled.
      
      Realizing that wcsdup() _wcsdup() are used is a bit tricky given that usage
      of these is hidden behind _tcsdup() which is MS way of dealing with code
      that must tolerate UNICODE and non-UNICODE compilation. Additionally, MS
      header files and those compatible from other compilers use this preprocessor
      conditional compilation directive ...
      90695fb2
    • Yang Tse's avatar
      xc-am-iface.m4: comments refinement · dd17069c
      Yang Tse authored
      dd17069c
    • Yang Tse's avatar
      configure: fix 'subdir-objects' distclean related issue · 26b0cb6a
      Yang Tse authored
      See XC_AMEND_DISTCLEAN comments for details.
      26b0cb6a
  6. Jul 17, 2013
  7. Jul 16, 2013
  8. Jul 15, 2013
  9. Jul 14, 2013
    • Dave Reisner's avatar
      src/tool: allow timeouts to accept decimal values · d8c04909
      Dave Reisner authored
      Implement wrappers around strtod to convert the user argument to a
      double with sane error checking. Use this to allow --max-time and
      --connect-timeout to accept decimal values instead of strictly integers.
      
      The manpage is updated to make mention of this feature and,
      additionally, forewarn that the actual timeout of the operation can
      vary in its precision (particularly as the value increases in its
      decimal precision).
      d8c04909