Lioncash
3abba08080
string_util: Remove StringFromFormat() and related functions
Given we utilize fmt, we don't need to provide our own functions for formatting anymore
8 years ago
Lioncash
3cfe77ae75
common: Move logging macros over to new fmt-capable macros where applicable
8 years ago
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.
8 years ago
James Rowe
096be16636
Format: Run the new clang format on everything
8 years ago
Huw Pascoe
a13ab958cb
Fixed type conversion ambiguity
8 years ago
Jannik Vogel
45d941d62e
Support mingw cross-compile
9 years ago
James Rowe
c3ea6f4ddb
Add mingw compile support
10 years ago
Yuri Kunde Schlesner
f120e78b56
Remove special rules for Windows.h and library includes
9 years ago
Yuri Kunde Schlesner
84fbbe2629
Use negative priorities to avoid special-casing the self-include
9 years ago
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.
9 years ago
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago
LFsWang
acfa76aa38
Fix encode problem On Windows
10 years ago
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.
11 years ago
zawata
6e9a6ca6bf
Common : Fix Conversion Warnings
11 years ago
Emmanuel Gil Peyrot
13e6876463
Common: Fix string_util includes.
11 years ago
Yuri Kunde Schlesner
8809d02db3
Common: Add StringFromFixedZeroTerminatedBuffer
11 years ago
Lioncash
9adad45b0f
string_util: Get rid of UriDecode/UriEncode
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
Subv
8e2b248e05
Build: Fixed some warnings
11 years ago
darkf
5d10b212ec
Fix MSVC-related #defines and add CMakeLists comment
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
Yuri Kunde Schlesner
0600e2d8b5
Convert old logging calls to new logging macros
11 years ago
archshift
4763fca9f8
Explicitly specify LE strings to iconv, fixes paths in Steel Diver
11 years ago
Tony Wasserka
3d8c6e61be
StringUtil: Perform some minimal cleanup.
11 years ago
Rohit Nirmal
8a62423970
Change NULLs to nullptrs.
11 years ago
darkf
459502e48c
Fix MinGW build
11 years ago
Emmanuel Gil Peyrot
f5d38649c7
Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated
11 years ago
archshift
1f7c4ab7f6
Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functions
11 years ago
archshift
7fa4dbd0c6
Removed uses of raw c-string manipulation functions.
11 years ago
archshift
9d7cc2bedc
common: Prune all redundant includes
11 years ago
archshift
5472fd4d9b
Added string_util to common, small changes in loader.cpp
11 years ago
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.
11 years ago
Lioncash
2f6ef914db
Common: Fix a potential infinite loop in StringUtil's ReplaceAll
11 years ago
Lioncash
da6f24b374
Common: Move remaining C header includes over to their C++ equivalent
12 years ago
bunnei
cb504e236b
added helper functions for upper/lowercase strings
12 years ago
bunnei
de0a034a84
fixed project includes to use new directory structure
12 years ago
bunnei
63e46abdb8
got rid of 'src' folders in each sub-project
12 years ago
bunnei
c9b5b89e21
convert tabs to spaces
12 years ago
ShizZy
7564d28faf
replaced common code with dolphin common
12 years ago