summaryrefslogtreecommitdiff
path: root/lib/progress.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Bryan Henderson fixed the progress function so that it can get calledYang Tse2007-03-191-154/+156
| | | | | | more frequently allowing same calling frecuency for the client progress callback, while keeping the once a second frecuency for speed calculations and internal display of the transfer progress.
* reverted the pselect patch => http://curl.haxx.se/mail/lib-2007-03/0100.htmlDaniel Stenberg2007-03-111-4/+3
|
* - Bryan Henderson introduces two things:Daniel Stenberg2007-03-101-3/+4
| | | | | 1) the progress callback gets called more frequently (at times) 2) libcurl *might* call the callback when it receives a signal
* Update copyright year, since the file has been modifiedYang Tse2006-10-271-1/+1
|
* Major overhaul introducing http pipelining support and shared connectionDaniel Stenberg2006-09-071-2/+2
| | | | cache within the multi handle.
* As reported in Mandrake's bug tracker bug 12289Daniel Stenberg2004-11-261-4/+2
| | | | | | (http://qa.mandrakesoft.com/show_bug.cgi?id=12289), curl would print a newline to "finish" the progress meter after each redirect and not only after a completed transfer.
* prevent warning with comparison between signed and unsignedDaniel Stenberg2004-10-081-1/+1
|
* removed tabs and trailing whitespace from sourceDaniel Stenberg2004-10-061-1/+1
|
* more typecasts to please picky compilersDaniel Stenberg2004-08-101-1/+1
|
* explicit typecasts to double to prevent warnings about implicit conversionsDaniel Stenberg2004-07-021-5/+5
| | | | that might lose accuracy
* typecast to int when the variable is int!Daniel Stenberg2004-07-011-2/+2
|
* Replaced all uses of sprintf() with the safer snprintf(). It is just aDaniel Stenberg2004-06-241-17/+18
| | | | precaution to prevent mistakes to lead to buffer overflows.
* quickfix to avoid division by zero, possibly we should go over all of theseDaniel Stenberg2004-05-211-2/+4
| | | | once and for all
* calculate upload and download speed using doubles to keep precision.Daniel Stenberg2004-05-201-14/+16
| | | | deleted trailing whitespace
* hm, avoid division by zero more carefully with that new percentage mathDaniel Stenberg2004-05-051-3/+3
|
* Gisle fixed the percentage to work, I adjusted it slightly to not as easilyDaniel Stenberg2004-05-051-3/+6
| | | | overflow on 32bit filesize-systems
* made the progress meter display not overflow even if _very_ large filesDaniel Stenberg2004-05-051-6/+25
| | | | | are transfered. The maximum size we support now is 8 exabytes, which equals to 8192 petabytes...
* if the values allow it, avoid floting point math for the current speedDaniel Stenberg2004-05-051-4/+15
|
* Gisle Vanem corrected a mistake in a recent progress fixDaniel Stenberg2004-04-191-1/+1
|
* Dirk Manske increased the resolution for what the CURLINFO_*_TIME return.Daniel Stenberg2004-04-091-7/+7
|
* Dirk Manske's feedback:Daniel Stenberg2004-04-021-10/+8
| | | | | * bring back subsecond resolution to CURLINFO_TOTAL_TIME * Fix the Curl_pgrsDone() so that the final progress update is shown properly
* made time2str() use longs internally instead to prevent compiler warningsDaniel Stenberg2004-03-231-6/+6
| | | | when converting to ints
* added explicit typecasts to prevent compiler warnings on variable conversionsDaniel Stenberg2004-03-231-6/+6
|
* it actually fits to make a NNNd NNh display so this can be used up toDaniel Stenberg2004-03-231-2/+2
| | | | 999 days
* Fixed the time fields no never get wider than 8 letters. They can now switchDaniel Stenberg2004-03-231-69/+53
| | | | | | to a "days + hours" or even "just days" display if the time value is very large. I also switched several calculations over to fixed-point instead of the previous doubles.
* Made max5data() take a curl_off_t size as argument instead of double. ShouldDaniel Stenberg2004-03-111-16/+18
| | | | | make the progress meter more accurate for large files. Also made the sprintf usage in that function avoid floating point.
* Use more curl_off_t variables when doing the progress meter calculations andDaniel Stenberg2004-03-101-16/+16
| | | | | argument passing and try to convert to double only when providing data to the external world.
* Yet another curl_off_t printf format attempt, we now exclude the %-letter fromDaniel Stenberg2004-03-021-5/+5
| | | | | FORMAT_OFF_T to allow additional options to get specified, like with '"%5" FORMAT_OFF_T'.
* use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity ofDaniel Stenberg2004-03-021-1/+1
| | | | having to redef that name
* Use CURL_FORMAT_OFF_T for printf()inf curl_off_t variables.Daniel Stenberg2004-03-011-1/+2
|
* Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg2004-01-291-4/+6
| | | | warnings. Minor edits by me.
* very big transfers now get nicer progress displayed after 9999 megabytes haveDaniel Stenberg2004-01-271-0/+11
| | | | been transfered!
* fixed the progress meter display for files >32 bit, Gisle Vanem reportedDaniel Stenberg2004-01-231-3/+3
|
* use the %dk display for one extra k of progressDaniel Stenberg2004-01-151-1/+1
|
* updated year in the copyright stringDaniel Stenberg2004-01-071-1/+1
|
* David J Meyer's large file support.Daniel Stenberg2004-01-051-1/+2
|
* Gisle Vanem's IPv6-on-Windows patch applied!Daniel Stenberg2003-10-141-6/+0
|
* George Comninos provided a fix that calls the progress meter when waitingDaniel Stenberg2003-05-141-6/+8
| | | | for FTP command responses take >1 second.
* removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg2003-01-291-8/+0
| | | | way for emacs, and vim users should provide a similar non-polluting style
* copyright year update in the source headerDaniel Stenberg2003-01-161-1/+1
|
* updated source code boilerplate/headerDaniel Stenberg2002-09-031-7/+7
|
* Andrew Francis removed the need for/use of MSVC pragmasDaniel Stenberg2002-08-261-3/+3
|
* T. Bharath fixed the TIMER_REDIRECT.Daniel Stenberg2002-06-031-1/+1
|
* make sure our own printf() clones are usedDaniel Stenberg2002-05-031-0/+4
|
* Dirk Manske brought the patch that introduces two new CURLINFO_* values:Daniel Stenberg2002-04-161-0/+13
| | | | CURLINFO_REDIRECT_TIME and CURLINFO_REDIRECT_COUNT.
* copyright string (year) updateDaniel Stenberg2002-03-191-1/+1
|
* Georg Horn's STARTTRANSFER_TIME patchDaniel Stenberg2001-11-201-7/+9
|
* We need at least one millisecond to calculate current speed with! I alsoDaniel Stenberg2001-11-121-3/+5
| | | | | | made the getinfo() stuff divide with 1000.0 now to enforce floating point since Paul Harrington claims the 7.9.1 still uses even second resolution in the timers there
* added typecasts to make the timers calculate with doubles, not longs as theyDaniel Stenberg2001-10-311-3/+3
| | | | accidentally did after the Curl_tvdiff() interface change
* made 'timespent' a double, which makes more accurate calculations for quickDaniel Stenberg2001-10-261-7/+10
| | | | downloads