Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 1 | -21/+21 | |
2018-07-29 | common/string_utils: replace boost::transform with std counterpart | zhupengfei | 1 | -3/+5 | |
Note: according to cppreference it is necessary to convert char to unsigned char when using std::tolower and std::toupper, otherwise the behaviour would be undefined. | |||||
2018-07-22 | string_util: Get rid of separate resize() in CPToUTF16(), UTF16ToUTF8(), CodeToUTF8() and UTF8ToUTF16() | Lioncash | 1 | -20/+22 | |
There's no need to perform the resize separately here, since the constructor allows presizing the buffer. Also move the empty string check before the construction of the string to make the early out more straightforward. | |||||
2018-07-22 | string_util: Use emplace_back() in SplitString() instead of push_back() | Lioncash | 1 | -2/+3 | |
This is equivalent to doing: push_back(std::string("")); which is likely not to cause issues, assuming a decent std::string implementation with small-string optimizations implemented in its design, however it's still a little unnecessary to copy that buffer regardless. Instead, we can use emplace_back() to directly construct the empty string within the std::vector instance, eliminating any possible overhead from the copy. | |||||
2018-07-22 | string_util: Remove unnecessary std::string instance in TabsToSpaces() | Lioncash | 1 | -7/+6 | |
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-19 | string_util: Remove AsciiToHex() | Lioncash | 1 | -12/+0 | |
Easy TODO | |||||
2018-07-13 | More improvements to GDBStub (#653) | Hedges | 1 | -1/+1 | |
* More improvements to GDBStub - Debugging of threads should work correctly with source and assembly level stepping and modifying registers and memory, meaning threads and callstacks are fully clickable in VS. - List of modules is available to the client, with assumption that .nro and .nso are backed up by an .elf with symbols, while deconstructed ROMs keep N names. - Initial support for floating point registers. * Tidy up as requested in PR feedback * Tidy up as requested in PR feedback | |||||
2018-07-03 | Rename logging macro back to LOG_* | James Rowe | 1 | -4/+4 | |
2018-06-07 | Common/string_util: add StringFromBuffer function | mailwl | 1 | -0/+4 | |
convert input buffer (std::vector<u8>) to string, stripping zero chars | |||||
2018-04-30 | string_util: Remove StringFromFormat() and related functions | Lioncash | 1 | -70/+0 | |
Given we utilize fmt, we don't need to provide our own functions for formatting anymore | |||||
2018-04-27 | common: Move logging macros over to new fmt-capable macros where applicable | Lioncash | 1 | -5/+5 | |
2018-03-22 | Logging: Create logging macros based on fmtlib | Daniel Lim Wee Soong | 1 | -0/+23 | |
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-21 | Format: Run the new clang format on everything | James Rowe | 1 | -2/+2 | |
2017-09-30 | Fixed type conversion ambiguity | Huw Pascoe | 1 | -1/+1 | |
2016-12-05 | Support mingw cross-compile | Jannik Vogel | 1 | -1/+1 | |
2016-11-14 | Add mingw compile support | James Rowe | 1 | -2/+3 | |
2016-09-21 | Remove special rules for Windows.h and library includes | Yuri Kunde Schlesner | 1 | -1/+1 | |
2016-09-21 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 1 | -1/+1 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -3/+1 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -116/+75 | |
2016-03-31 | Fix encode problem On Windows | LFsWang | 1 | -8/+8 | |
2015-08-03 | Common: Work around bug in MSVC2015 standard library | Yuri Kunde Schlesner | 1 | -0/+14 | |
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. | |||||
2015-07-19 | Common : Fix Conversion Warnings | zawata | 1 | -1/+1 | |
2015-06-28 | Common: Fix string_util includes. | Emmanuel Gil Peyrot | 1 | -2/+7 | |
2015-05-08 | Common: Add StringFromFixedZeroTerminatedBuffer | Yuri Kunde Schlesner | 1 | -0/+8 | |
2015-05-07 | string_util: Get rid of UriDecode/UriEncode | Lioncash | 1 | -125/+0 | |
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 1 | -1/+3 | |
2015-02-12 | Build: Fixed some warnings | Subv | 1 | -3/+3 | |
2014-12-30 | Fix MSVC-related #defines and add CMakeLists comment | darkf | 1 | -3/+3 | |
2014-12-21 | License change | purpasmart96 | 1 | -2/+2 | |
2014-12-13 | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 1 | -5/+5 | |
2014-12-10 | Explicitly specify LE strings to iconv, fixes paths in Steel Diver | archshift | 1 | -2/+2 | |
2014-12-07 | StringUtil: Perform some minimal cleanup. | Tony Wasserka | 1 | -3/+3 | |
2014-12-03 | Change NULLs to nullptrs. | Rohit Nirmal | 1 | -4/+4 | |
2014-11-29 | Fix MinGW build | darkf | 1 | -3/+3 | |
2014-11-19 | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 1 | -9/+9 | |
2014-11-13 | Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functions | archshift | 1 | -48/+110 | |
2014-10-24 | Removed uses of raw c-string manipulation functions. | archshift | 1 | -9/+2 | |
2014-09-09 | common: Prune all redundant includes | archshift | 1 | -4/+0 | |
2014-09-09 | Added string_util to common, small changes in loader.cpp | archshift | 1 | -2/+6 | |
2014-09-09 | loader.cpp: improved file extension checking, made Upper/LowerStr useful | archshift | 1 | -10/+6 | |
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-09-08 | Common: Fix a potential infinite loop in StringUtil's ReplaceAll | Lioncash | 1 | -3/+8 | |
2014-08-17 | Common: Move remaining C header includes over to their C++ equivalent | Lioncash | 1 | -3/+3 | |
2014-04-15 | added helper functions for upper/lowercase strings | bunnei | 1 | -0/+16 | |
2014-04-09 | fixed project includes to use new directory structure | bunnei | 1 | -3/+3 | |
2014-04-09 | got rid of 'src' folders in each sub-project | bunnei | 1 | -0/+0 | |
2014-04-02 | convert tabs to spaces | bunnei | 1 | -340/+340 | |
2013-09-05 | replaced common code with dolphin common | ShizZy | 1 | -0/+531 | |