Luke Dashjr
|
b1b1a28ed7
Translate %d and %u to tonal if USE_TONAL is defined
|
12 years ago |
Luke Dashjr
|
c7d701f2a0
Bugfix: bfg_snprintf: Handle standard snprintf passthrough type-by-type since va_list cannot be used after passing
|
12 years ago |
Luke Dashjr
|
bf8aebd08e
Replace bfg_sprintf with safer bfg_snprintf
|
12 years ago |
Luke Dashjr
|
9f5a1288dd
Use UTF-8 for Unicode
|
12 years ago |
Luke Dashjr
|
e2baab933c
Implement a utf8_decode function to produce wchar_t needed by curses
|
12 years ago |
Luke Dashjr
|
faf8da56af
Implement bfg_sprintf for use with custom BPRI* formatters
|
12 years ago |
Luke Dashjr
|
8d9ccda3c9
Split actual formatting from temperature_column_tail into new format_temperature[_sz]
|
12 years ago |
Luke Dashjr
|
6ec038fb53
Abstract runtime counter into new format_elapsed function
|
12 years ago |
Luke Dashjr
|
654479ded3
format_tm: Refactor BTF_TIME/BTF_USEC into BTF_LRTIME (low res), BTF_TIME, and BTF_HRTIME (high res)
|
12 years ago |
Luke Dashjr
|
1f436a5847
Split format_tm out of format_timestamp
|
12 years ago |
Luke Dashjr
|
e48a6826e3
Abstract timestamp formatting to format_timestamp/format_time_t function
|
12 years ago |
Luke Dashjr
|
7537023841
Avoid using potentially locale-dependent ctype functions in locale-independent contexts
|
12 years ago |
Luke Dashjr
|
1c47c4fbcb
Merge commit 'cdddd4b' into bfgminer
|
12 years ago |
Luke Dashjr
|
cdddd4be5c
Bugfix: Stratum Fix debug logging of initial mining.subscribe command
|
12 years ago |
Luke Dashjr
|
9211ea687c
Bugfix: setup_stratum_curl: Need to release stratum lock on connection failure too
|
12 years ago |
Luke Dashjr
|
2575f8be0e
Bugfix: setup_stratum_curl: Hold stratum lock until connection completes, to avoid potential races
|
12 years ago |
Luke Dashjr
|
a35a7bb76b
Split total_bytes_xfer to total_bytes_rcvd and total_bytes_sent
|
12 years ago |
Luke Dashjr
|
acf7832b84
Stratum: Roll ntime as we generate work
|
12 years ago |
Luke Dashjr
|
b8c5e9778e
Stratum: Make swork.ntime native-endian
|
12 years ago |
Luke Dashjr
|
39fa94e8f9
Stratum: Treat ntime as uint32_t (as it should be), still always big endian
|
12 years ago |
Luke Dashjr
|
b81e7a23bd
Timer-based gettimeofday substitute for systems with poor time-of-day clocks (Windows)
|
12 years ago |
Luke Dashjr
|
5e8a11062b
Use clock_gettime(CLOCK_MONOTONIC) for timers when available
|
12 years ago |
Luke Dashjr
|
0696bc10c5
Use QueryPerformanceCounter for timers on Windows
|
12 years ago |
Luke Dashjr
|
d7d70cbe71
Generic refactoring for timer_set_now
|
12 years ago |
Luke Dashjr
|
df45e5cf9f
Always use struct timeval for timers, and don't mix timers with timestamps (functional only)
|
12 years ago |
Luke Dashjr
|
f08199b4a6
Stratum: Fix nonce2 sizes greater than 4 and (on big-endian) smaller than 4
|
12 years ago |
Luke Dashjr
|
251cfa231c
Refactor and simplify bin2hex to speed up and avoid unnecessary heap use
|
12 years ago |
Luke Dashjr
|
9484dc1a46
stratum: Refactor work generation to do hex2bin conversions once, rather than every single header generated
|
12 years ago |
Luke Dashjr
|
75b58b16a5
Implement bytes_t for generic binary data storage (including smart realloc-based resize)
|
12 years ago |
Luke Dashjr
|
c126f6b96e
Merge commit 'c9fd247' into bfgminer
|
12 years ago |