Differences From Artifact [530e773cf6]:
- File
utils/ofhttp/ProgressBar.m
— part of check-in
[30e8df31a0]
at
2020-08-10 20:55:21
on branch trunk
— ofhttp: Average the speed over the last 10 seconds
This avoids the speed and hence also the ETA jumping like crazy on a
flaky connection. (user: js, size: 7244) [annotate] [blame] [check-ins using]
To Artifact [ab819ab9fe]:
- File
utils/ofhttp/ProgressBar.m
— part of check-in
[d74f244ab7]
at
2020-08-12 20:56:32
on branch trunk
— Avoid using (u)intmax_t in methods
It is not guaranteed that a type encoding for it exists. (user: js, size: 7274) [annotate] [blame] [check-ins using]
︙ | |||
29 30 31 32 33 34 35 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - - + + | #define GIBIBYTE (1024 * 1024 * 1024) #define MEBIBYTE (1024 * 1024) #define KIBIBYTE (1024) #define UPDATE_INTERVAL 0.1 @implementation ProgressBar |
︙ | |||
74 75 76 77 78 79 80 | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | - + | [_lastReceivedDate release]; [_drawTimer release]; [_BPSTimer release]; [super dealloc]; } |
︙ |