summaryrefslogtreecommitdiffstats
path: root/src/common/string_util.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-2/+2
2018-07-22string_util: Remove unnecessary std::string instance in TabsToSpaces()Lioncash1-1/+1
We can just use the variant of std::string's replace() function that can replace an occurrence with N copies of the same character, eliminating the need to allocate a std::string containing a buffer of spaces.
2018-07-19string_util: Remove AsciiToHex()Lioncash1-3/+0
Easy TODO
2018-06-07Common/string_util: add StringFromBuffer functionmailwl1-0/+2
convert input buffer (std::vector<u8>) to string, stripping zero chars
2018-04-30string_util: Remove StringFromFormat() and related functionsLioncash1-14/+0
Given we utilize fmt, we don't need to provide our own functions for formatting anymore
2018-03-22Logging: Create logging macros based on fmtlibDaniel Lim Wee Soong1-0/+13
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.
2018-01-21Format: Run the new clang format on everythingJames Rowe1-1/+1
2017-09-30Fixed type conversion ambiguityHuw Pascoe1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-1/+0
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-28/+28
2016-03-31Fix encode problem On WindowsLFsWang1-1/+1
2015-06-28Common: Fix string_util includes.Emmanuel Gil Peyrot1-1/+2
2015-05-08Common: Add StringFromFixedZeroTerminatedBufferYuri Kunde Schlesner1-0/+6
2015-05-07string_util: Get rid of UriDecode/UriEncodeLioncash1-2/+0
2015-05-07Common: Remove common.hYuri Kunde Schlesner1-1/+1
2014-12-21License changepurpasmart961-2/+2
2014-12-13Implement text path trimming for shorter paths.Yuri Kunde Schlesner1-0/+15
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot1-1/+1
2014-11-13Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift1-3/+5
2014-10-24Removed uses of raw c-string manipulation functions.archshift1-1/+0
2014-09-09Added string_util to common, small changes in loader.cpparchshift1-3/+6
2014-09-09loader.cpp: improved file extension checking, made Upper/LowerStr usefularchshift1-2/+3
Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
2014-08-17Common: Move header guards over to pragma onceLioncash1-8/+4
Also replaced C headers with the C++ equivalent ones
2014-04-15added helper functions for upper/lowercase stringsbunnei1-0/+6
2014-04-09fixed project includes to use new directory structurebunnei1-1/+1
2014-04-09got rid of 'src' folders in each sub-projectbunnei1-0/+0
2014-04-02convert tabs to spacesbunnei1-18/+18
2013-09-05replaced common code with dolphin commonShizZy1-0/+111