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
|
b81e7a23bd
Timer-based gettimeofday substitute for systems with poor time-of-day clocks (Windows)
|
12 years ago |
Luke Dashjr
|
d7d70cbe71
Generic refactoring for timer_set_now
|
12 years ago |
Luke Dashjr
|
ab62fdf1f3
Replace all remaining uses of gettimeofday for timers, with timer_set_now (aka cgtime)
|
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
|
313f7f9ac8
get_datestamp: Change timeval parameter to time_t, and implement get_now_datestamp for common "current time" use case
|
12 years ago |
Ang Iongchun
|
55af8f09ab
bytes_cpy: avoid malloc and memcpy when size is zero
|
12 years ago |
Ang Iongchun
|
162b65b6a0
fix infinite loop in bytes_cpy when size is zero
|
12 years ago |
Luke Dashjr
|
75b58b16a5
Implement bytes_t for generic binary data storage (including smart realloc-based resize)
|
12 years ago |
Luke Dashjr
|
d46f61e7f0
ztex: Provide manuf/product/serial to cgpu interface
|
12 years ago |
Luke Dashjr
|
9ee00bed83
DevAPI: Store manufacturer/product/serial for each device
|
12 years ago |
Luke Dashjr
|
7d9176a549
cpu & opencl: Refuse to detect more than once
|
12 years ago |
Luke Dashjr
|
68aa670b50
Bugfix: stratum: Log WSAGetLastError() for error number on recv failures on Windows
|
12 years ago |
Luke Dashjr
|
adc85d0b5c
Use bfg_strerror where it is already needed (for thread-safety)
|
12 years ago |
Luke Dashjr
|
ac0bae4e91
New thread-safe bfg_strerror function to portably stringify error codes
|
12 years ago |
Luke Dashjr
|
b001f6cc72
Merge commit 'd52ab24' into cg_merges_20130606a
|
12 years ago |
Luke Dashjr
|
daf67462aa
Add missing copyright sections to files that may need them
|
12 years ago |
Con Kolivas
|
d52ab244ee
Provide an nusleep equivalent function to nmsleep.
|
13 years ago |