Commit Graph

29 Commits (927586990eb9bc8403a3831247847bdd3bf60423)

Author SHA1 Message Date
practicalswift 4343f114cc Replace use of locale dependent atoi(…) with locale-independent std::from_chars(…) (C++17)
3 years ago
practicalswift 4747db8761 util: Introduce ToIntegral<T>(const std::string&) for locale independent parsing using std::from_chars(…) (C++17)
3 years ago
Ben Woosley 4bf18b089e
Replace use of boost::trim_right with locale-independent TrimString
3 years ago
Ben Woosley 93551862a1
Replace use of boost::trim use with locale-independent TrimString
3 years ago
MarcoFalke fa81c30c6f
refactor: Move pruning/reindex/importing globals to blockstorage
4 years ago
MarcoFalke baf9cedee8
Merge #18817: doc: Document differences in bitcoind and bitcoin-qt locale handling
4 years ago
practicalswift ca185cf5a1 doc: Document differences in bitcoind and bitcoin-qt locale handling
4 years ago
fanquake daae8b8a1b
Merge #18649: tests: Add std::locale::global to list of locale dependent functions in lint-locale-dependence.sh
4 years ago
MarcoFalke fa488f131f
scripted-diff: Bump copyright headers
5 years ago
practicalswift 54b5eb2b14 tests: Add std::locale::global to list of locale dependent functions in lint-locale-dependence.sh
5 years ago
Ben Woosley d056df033a
Replace std::to_string with locale-independent alternative
5 years ago
practicalswift 259e290db8 tests: Add fuzzing harness for locale independence testing
5 years ago
MarcoFalke 95ca6aeec7
Merge #17691: doc: Add missed copyright headers
5 years ago
Hennadii Stepanov fac86ac7b3
scripted-diff: Add missed copyright headers
5 years ago
practicalswift 1f0adb3dac tests: Add std::to_string to list of locale dependent functions
5 years ago
practicalswift e3d2bcf5cf tests: Add fuzzing harnesses for various number parsing functions
5 years ago
MarcoFalke fa8f195195
Replace remaining fprintf with tfm::format manually
6 years ago
Hennadii Stepanov 561e375c73
Make PID file creating errors fatal
6 years ago
practicalswift 7c9f790761 Update KNOWN_VIOLATIONS: Remove fixed violations
6 years ago
practicalswift 587924f000 Use IsSpace(...) instead of boost::is_space
6 years ago
practicalswift c5fd143edb Use ToLower(...) instead of std::tolower
6 years ago
practicalswift e70cc8983c Use IsDigit(...) instead of std::isdigit
6 years ago
Jim Posen 2068f089c8 scripted-diff: Move util files to separate directory.
6 years ago
practicalswift 15db77f4dd Don't rely on locale dependent functions in base_blob<BITS>::SetHex(...) (uint256), DecodeBase58(...), ParseMoney(...) and ParseHex(...)
6 years ago
practicalswift ec4d57bbb3 macOS fix: Work around empty (sub)expression error when using BSD grep
6 years ago
251 b193d5a443 Removes the Boost case_conv.hpp dependency.
6 years ago
DesWurstes 000000035b Obsolete #!/bin/bash shebang
7 years ago
practicalswift 3352da8da1 Add "export LC_ALL=C" to all shell scripts
7 years ago
practicalswift 0a4ea2f458 build: Add linter for checking accidental locale dependence
7 years ago