Differences From Artifact [e437710ddc]:
- File utils/ofhttp/ProgressBar.m — part of check-in [e0b9167693] at 2016-02-21 15:37:42 on branch trunk — Make use of C99-style for loops (user: js, size: 5412) [annotate] [blame] [check-ins using]
To Artifact [d83aef3f71]:
- File
utils/ofhttp/ProgressBar.m
— part of check-in
[12b8a7552e]
at
2016-03-27 23:10:53
on branch trunk
— Add socket support for Nintendo 3DS
This removes the port registry that existed for the Wii and instead
tries binding to random ports in a loop until it succeeds or errno is
not EADDRINUSE. This is done for the Wii and Nintendo 3DS now.This also includes several other socket-related cleanups. (user: js, size: 5441) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
90 91 92 93 94 95 96 | _received = received; } - (void)_drawProgress { float bars, percent; unsigned short barWidth; | | | 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | _received = received; } - (void)_drawProgress { float bars, percent; unsigned short barWidth; #if defined(HAVE_SYS_IOCTL_H) && defined(TIOCGWINSZ) struct winsize ws; if (ioctl(0, TIOCGWINSZ, &ws) == 0 && ws.ws_col > 37) barWidth = ws.ws_col - 37; else barWidth = 0; #else |
︙ | ︙ |