Commit Graph

40 Commits (18f8012233cda88aacf01c59f89abf3a687ab2c9)

Author SHA1 Message Date
Lioncash 3cfe77ae75
common: Move logging macros over to new fmt-capable macros where applicable
Daniel Lim Wee Soong 3b558eebee Logging: Create logging macros based on fmtlib
Add a new set of logging macros based on fmtlib
Similar but not exactly the same as https://github.com/citra-emu/citra/pull/3533

Citra currently uses a different version of fmt, which does not support FMT_VARIADIC so
make_args is used instead. On the other hand, yuzu uses fmt 4.1.0 which doesn't have make_args yet
so FMT_VARIADIC is used.
James Rowe 096be16636 Format: Run the new clang format on everything
Huw Pascoe a13ab958cb Fixed type conversion ambiguity
Jannik Vogel 45d941d62e Support mingw cross-compile
James Rowe c3ea6f4ddb Add mingw compile support
Yuri Kunde Schlesner f120e78b56 Remove special rules for Windows.h and library includes
Yuri Kunde Schlesner 84fbbe2629 Use negative priorities to avoid special-casing the self-include
Emmanuel Gil Peyrot ebdae19fd2 Remove empty newlines in #include blocks.
This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
Emmanuel Gil Peyrot dc8479928c Sources: Run clang-format on everything.
LFsWang acfa76aa38 Fix encode problem On Windows
Yuri Kunde Schlesner 48393d452c Common: Work around bug in MSVC2015 standard library
The char16_t/char32_t implementations aren't present in the library and
cause linker errors. This is a known issue that wasn't fixed in VS2015
RTM.
zawata 6e9a6ca6bf Common : Fix Conversion Warnings
Emmanuel Gil Peyrot 13e6876463 Common: Fix string_util includes.
Yuri Kunde Schlesner 8809d02db3 Common: Add StringFromFixedZeroTerminatedBuffer
Lioncash 9adad45b0f string_util: Get rid of UriDecode/UriEncode
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h
Subv 8e2b248e05 Build: Fixed some warnings
darkf 5d10b212ec Fix MSVC-related #defines and add CMakeLists comment
darkf 8ba9ac0f74 Fix merge conflicts
purpasmart96 ebfd831ccb License change
Yuri Kunde Schlesner 0600e2d8b5 Convert old logging calls to new logging macros
Tony Wasserka 33e61ef514 Merge pull request from neobrain/boost
Add Boost as a submodule and add some minor cleanups using Boost.Range
archshift 4763fca9f8 Explicitly specify LE strings to iconv, fixes paths in Steel Diver
Tony Wasserka 3d8c6e61be StringUtil: Perform some minimal cleanup.
Rohit Nirmal 8a62423970 Change NULLs to nullptrs.
darkf 459502e48c Fix MinGW build
Emmanuel Gil Peyrot f5d38649c7 Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated
archshift 1f7c4ab7f6 Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functions
archshift 7fa4dbd0c6 Removed uses of raw c-string manipulation functions.
bunnei 532a9e80a0 Merge pull request from archshift/ext-check
loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
bunnei d79fe3ebaa Merge pull request from archshift/prune
Prune redundant includes
archshift 9d7cc2bedc common: Prune all redundant includes
archshift 5472fd4d9b Added string_util to common, small changes in loader.cpp
archshift 4ed24a0619 loader.cpp: improved file extension checking, made Upper/LowerStr useful
Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
Lioncash 2f6ef914db Common: Fix a potential infinite loop in StringUtil's ReplaceAll
Lioncash da6f24b374 Common: Move remaining C header includes over to their C++ equivalent
bunnei cb504e236b added helper functions for upper/lowercase strings
bunnei de0a034a84 fixed project includes to use new directory structure
bunnei 63e46abdb8 got rid of 'src' folders in each sub-project