summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2018-07-18Merge pull request #686 from lioncash/fmtbunnei
externals: update fmt to version 5.1.0
2018-07-18Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-18externals: update fmt to version 5.1.0Lioncash
Previously, we were on 4.1.0, which was a major version behind.
2018-07-18telemetry: Remove unnecessary Field constructorLioncash
We can just take the value parameter by value which allows both moving into it, and copies at the same time, depending on the calling code.
2018-07-18telemetry: Make operator== and operator!= const member functions of FieldLioncash
These operators don't modify internal class state, so they can be made const member functions. While we're at it, drop the unnecessary inline keywords. Member functions that are defined in the class declaration are already inline by default.
2018-07-18telemetry: Default copy/move constructors and assignment operatorsLioncash
This provides the equivalent behavior, but without as much boilerplate. While we're at it, explicitly default the move constructor, since we have a move-assignment operator defined.
2018-07-15Merge pull request #664 from jroweboy/logging-stuffbunnei
Minor logging improvements
2018-07-15Logging: Dump all logs in the queue on close in debug modeJames Rowe
2018-07-14Logging: Don't lock the queue for the duration of the writeJames Rowe
2018-07-12More improvements to GDBStub (#653)Hedges
* 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-10Merge pull request #633 from FearlessTobi/port-definesbunnei
Port #3579 from Citra: Clean up architecture-specific defines
2018-07-09Merge pull request #635 from FearlessTobi/port-crashfixbunnei
Port #3474 from Citra: Do not crash on unimplemented code in debug build
2018-07-07Revert "Virtual Filesystem (#597)"bunnei
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-07Port #3474 from CitrafearlessTobi
2018-07-07Port #3579 from CitrafearlessTobi
2018-07-06Merge pull request #630 from FearlessTobi/remove-citra-referencesbunnei
Remove some references to Citra
2018-07-06Virtual Filesystem (#597)Zach Hilman
* Add VfsFile and VfsDirectory classes * Finish abstract Vfs classes * Implement RealVfsFile (computer fs backend) * Finish RealVfsFile and RealVfsDirectory * Finished OffsetVfsFile * More changes * Fix import paths * Major refactor * Remove double const * Use experimental/filesystem or filesystem depending on compiler * Port partition_filesystem * More changes * More Overhaul * FSP_SRV fixes * Fixes and testing * Try to get filesystem to compile * Filesystem on linux * Remove std::filesystem and document/test * Compile fixes * Missing include * Bug fixes * Fixes * Rename v_file and v_dir * clang-format fix * Rename NGLOG_* to LOG_* * Most review changes * Fix TODO * Guess 'main' to be Directory by filename
2018-07-06Remove some references to CitrafearlessTobi
2018-07-02Fix build and address review feedbackbunnei
2018-07-02Add configurable logging backendsJames Rowe
2018-07-02Update clang formatJames Rowe
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-06-07Common/string_util: add StringFromBuffer functionmailwl
convert input buffer (std::vector<u8>) to string, stripping zero chars
2018-06-05Service/MM: add service and stub some functionsmailwl
2018-05-28Service/BCAT: add module and servicesmailwl
2018-05-01vector_math: Ensure members are always initializedLioncash
Ensures that values are always in a well-defined state.
2018-04-29Merge pull request #424 from lioncash/stringbunnei
string_util: Remove StringFromFormat() and related functions
2018-04-29string_util: Remove StringFromFormat() and related functionsLioncash
Given we utilize fmt, we don't need to provide our own functions for formatting anymore
2018-04-29file_util: Make move constructor/assignment operator and related functions ↵Lioncash
noexcept Without this, it's possible to get compilation failures in the (rare) scenario where a container is used to store a bunch of live IOFile instances, as they may be using std::move_if_noexcept under the hood. Given these definitely don't throw exceptions this is also not incorrect to add either.
2018-04-29file_util: Add static assertions to ReadBytes() and WriteBytes()Lioncash
Ensure that the actual types being passed in are trivially copyable. The internal call to ReadArray() and WriteArray() will always succeed, since they're passed a pointer to char* which is always trivially copyable.
2018-04-28file_util: Remove compiler version checks around is_trivially_copyable()Lioncash
The minimum clang/GCC versions we support already support this. We can also remove is_standard_layout(), as fread and fwrite only require the type to be trivially copyable.
2018-04-27log: Remove old logging macros and functionsLioncash
Now that the old macros are no longer used, we can remove all functionality related to them.
2018-04-27general: Convert assertion macros over to be fmt-compatibleLioncash
2018-04-27Merge pull request #380 from ogniK5377/service-implbunnei
Implemented some useful interfaces needed for games.
2018-04-26Switched to NGLOG_WARNINGDavid Marcec
2018-04-26common: Move logging macros over to new fmt-capable macros where applicableLioncash
2018-04-26Merge branch 'master' of https://github.com/yuzu-emu/yuzu into service-implDavid Marcec
2018-04-26Added PREPO to logging backend, Removed comments from SaveReportWithUserDavid Marcec
2018-04-26common: Remove chunk_file.h and linear_disk_cache.hLioncash
These are unused (and given chunk_file references Dolphin's >SVN< I doubt they were going to be used).
2018-04-22GetIUserInterface->CreateUserInterface, Added todos and stub logs. ↵David Marcec
Playreport->PlayReport.
2018-04-20Merge pull request #367 from lioncash/clampbunnei
math_util: Remove the Clamp() function
2018-04-20Merge pull request #361 from lioncash/commonbunnei
common_types: Minor changes
2018-04-20math_util: Remove the Clamp() functionLioncash
C++17 adds clamp() to the standard library, so we can remove ours in favor of it.
2018-04-20Merge pull request #364 from lioncash/thread-localbunnei
common/thread: Remove unnecessary feature checking for thread_local
2018-04-20Merge pull request #362 from lioncash/snprintfbunnei
common_funcs: Remove check for VS versions that we don't even support
2018-04-20Merge pull request #363 from lioncash/array-sizebunnei
common_funcs: Remove ARRAY_SIZE macro
2018-04-20Merge pull request #366 from lioncash/vecbunnei
vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]
2018-04-19vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]Lioncash
These are all unused and the Write() ones should arguably not even be in the interface. There are better ways to provide this if we ever need it (like iterators).
2018-04-19common: Remove code_block.hLioncash
We use dynarmic, so this is unued. Anything else we need will likely use Xbyak, so this header isn't necessary any more.
2018-04-19common/thread: Remove unnecessary feature checking for thread_localLioncash
Every compiler we require already supports it.