Commit Graph

39 Commits (d2d1036d265650d3ed9110a4abfdb581c159804f)

Author SHA1 Message Date
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Evil Eye fb9bc5f535 Use string_view in Fallback::Map 2 years ago
elsid 10fbf170a2
Reduce number of includes for boost/program_options 3 years ago
AnyOldName3 9be606a40d Finish removing old Escape classes 3 years ago
Thunderforge 339d347aea Fixing performance-faster-string-find issues
This addresses the Clang Tidy check [performance-faster-string-find](https://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html).
4 years ago
Bret Curtis 4032b754e4 set minimal boost version; remove #ifdef boost version checks 4 years ago
AnyOldName3 f57851587d Fix edge case where FallbackMap has no comma 4 years ago
AnyOldName3 ce0966b9b7 Improve validate implementation 4 years ago
AnyOldName3 350f6e61f7 Move FallbackMap validator implementation to source file 4 years ago
Capostrophic f7d2cdb782 Revert to 0.45.0 comments-in-the-middle settings behavior 5 years ago
Alexei Dobrohotov 0a97dd8e84
[Regression] Fix horribly broken fallback loading 5 years ago
Capostrophic dfb852cbb0 Improve Boost apologia 6 years ago
Andrei Kortunov a302ec9c65 Make fallback map static to simplify constructors 6 years ago
Capostrophic ee2560edc3 Fix constant raining 6 years ago
Capostrophic e412e1b41c Revert to lexical_cast<float>, catch out-of-range exceptions 6 years ago
Capostrophic 467724d5e8 Improve fallback numerical value handling (bug #4768) 6 years ago
scrawl 55a6344fb0
Revert log spam 7 years ago
Capostrophic 002ad9ae1b Print a warning in case a fallback value wasn't found 7 years ago
Capostrophic e4531a6910 Use middle gray instead of pure black as default fallback color (Fixes #2841) 7 years ago
Bret Curtis c6805314c2 be explicit about what we are trying to catch instead of catching everything and fixed up formatting
use Allman style brackets not K&R style, additional formatting for fallback.cpp which needed some love

revert allman formatting changes
8 years ago
Bret Curtis 7c758a6293 std::stof can not handle comma in us localization and can not handle period in french localization, using std::replace is not a solution, going back to boost::lexical_cast 8 years ago
Bret Curtis d48b829b45 replace and purge boost::lexical_cast 8 years ago
AnyOldName3 20f73f4a32 Relocate escape-related code to new files escape.hpp and escape.cpp. 9 years ago
AnyOldName3 519fbab864 Remove useless print 9 years ago
AnyOldName3 423919abb5 Make it not build again (but theoretically enable the desired functionality). 9 years ago
AnyOldName3 59639e3988 Make it build again (but remove the new functionality). 9 years ago
AnyOldName3 d9d5a6561b Adjust the code so that it should (maybe) work, changing the compilation error to a less straighforward one. 9 years ago
AnyOldName3 95d2c7ea5c Attempt to unescape characters when constructing file paths, introducing compilation errors. 9 years ago
AnyOldName3 f1b5ad5804 Remove unused unsafe function and properly remove inheritance from std::string, providing implementations of missing stream operators preventing boost reading and writing to escape strings. 9 years ago
AnyOldName3 e6f78ae5b7 Switch indentation to spaces to remain consistent with the rest of the project 9 years ago
AnyOldName3 7475d90693 Fix dodgy include by changing backslashes to forwardslashes 9 years ago
AnyOldName3 1a0642f1db Make it work by realising that what boost::program_options calls validation is what any sane person would regard as parsing 9 years ago
AnyOldName3 195dd27780 Resolve obvious runtime error revealing more subtle one 9 years ago
AnyOldName3 fbe6dc9704 Change compilation error to runtime exception and decide that inheriting from std::string may have been a bad idea in C++ 9 years ago
AnyOldName3 7697406467 Partially fix '2 overloads have similar conversions' compilation error 9 years ago
AnyOldName3 2a9b12bb3f Fix an issue preventing compilation, revealing another that doesn't make much sense. 9 years ago
AnyOldName3 e17e354e84 Make # only start a comment in openmw.cfg if it starts a line and introduct compilation errors 9 years ago
scrawl 11496b8075 Read fallback settings in OpenCS 9 years ago
scrawl 6546c05428 Move Fallback map to components/ 9 years ago