summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Virtual Filesystem 2: Electric Boogaloo (#676)Gravatar Zach Hilman2018-07-182-57/+116
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* telemetry: Remove unnecessary Field constructorGravatar Lioncash2018-07-181-4/+1
| | | | | 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.
* telemetry: Make operator== and operator!= const member functions of FieldGravatar Lioncash2018-07-181-2/+2
| | | | | | | 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.
* telemetry: Default copy/move constructors and assignment operatorsGravatar Lioncash2018-07-181-14/+4
| | | | | | 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.
* Merge pull request #664 from jroweboy/logging-stuffGravatar bunnei2018-07-153-4/+17
|\ | | | | Minor logging improvements
| * Logging: Dump all logs in the queue on close in debug modeGravatar James Rowe2018-07-153-1/+12
| |
| * Logging: Don't lock the queue for the duration of the writeGravatar James Rowe2018-07-141-3/+5
| |
* | More improvements to GDBStub (#653)Gravatar Hedges2018-07-121-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
* Merge pull request #633 from FearlessTobi/port-definesGravatar bunnei2018-07-103-7/+7
|\ | | | | Port #3579 from Citra: Clean up architecture-specific defines
| * Port #3579 from CitraGravatar fearlessTobi2018-07-073-7/+7
| |
* | Merge pull request #635 from FearlessTobi/port-crashfixGravatar bunnei2018-07-091-1/+1
|\ \ | | | | | | Port #3474 from Citra: Do not crash on unimplemented code in debug build
| * | Port #3474 from CitraGravatar fearlessTobi2018-07-071-1/+1
| |/
* / Revert "Virtual Filesystem (#597)"Gravatar bunnei2018-07-072-99/+57
|/ | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
* Merge pull request #630 from FearlessTobi/remove-citra-referencesGravatar bunnei2018-07-062-2/+2
|\ | | | | Remove some references to Citra
| * Remove some references to CitraGravatar fearlessTobi2018-07-062-2/+2
| |
* | Virtual Filesystem (#597)Gravatar Zach Hilman2018-07-062-57/+99
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix build and address review feedbackGravatar bunnei2018-07-021-4/+4
|
* Add configurable logging backendsGravatar James Rowe2018-07-025-18/+257
|
* Update clang formatGravatar James Rowe2018-07-023-14/+11
|
* Rename logging macro back to LOG_*Gravatar James Rowe2018-07-027-70/+70
|
* Common/string_util: add StringFromBuffer functionGravatar mailwl2018-06-072-0/+6
| | | | convert input buffer (std::vector<u8>) to string, stripping zero chars
* Service/MM: add service and stub some functionsGravatar mailwl2018-06-052-0/+2
|
* Service/BCAT: add module and servicesGravatar mailwl2018-05-282-0/+2
|
* vector_math: Ensure members are always initializedGravatar Lioncash2018-05-011-9/+9
| | | | Ensures that values are always in a well-defined state.
* Merge pull request #424 from lioncash/stringGravatar bunnei2018-04-294-91/+9
|\ | | | | string_util: Remove StringFromFormat() and related functions
| * string_util: Remove StringFromFormat() and related functionsGravatar Lioncash2018-04-294-91/+9
| | | | | | | | Given we utilize fmt, we don't need to provide our own functions for formatting anymore
* | file_util: Make move constructor/assignment operator and related functions ↵Gravatar Lioncash2018-04-292-6/+6
| | | | | | | | | | | | | | | | | | 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.
* | file_util: Add static assertions to ReadBytes() and WriteBytes()Gravatar Lioncash2018-04-291-2/+6
|/ | | | | | 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.
* file_util: Remove compiler version checks around is_trivially_copyable()Gravatar Lioncash2018-04-281-8/+0
| | | | | | 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.
* log: Remove old logging macros and functionsGravatar Lioncash2018-04-272-54/+1
| | | | Now that the old macros are no longer used, we can remove all functionality related to them.
* general: Convert assertion macros over to be fmt-compatibleGravatar Lioncash2018-04-272-5/+6
|
* Merge pull request #380 from ogniK5377/service-implGravatar bunnei2018-04-272-0/+2
|\ | | | | Implemented some useful interfaces needed for games.
| * Switched to NGLOG_WARNINGGravatar David Marcec2018-04-261-1/+1
| |
| * Merge branch 'master' of https://github.com/yuzu-emu/yuzu into service-implGravatar David Marcec2018-04-263-792/+0
| |\
| * | Added PREPO to logging backend, Removed comments from SaveReportWithUserGravatar David Marcec2018-04-261-0/+1
| | |
| * | GetIUserInterface->CreateUserInterface, Added todos and stub logs. ↵Gravatar David Marcec2018-04-221-0/+1
| | | | | | | | | | | | Playreport->PlayReport.
* | | common: Move logging macros over to new fmt-capable macros where applicableGravatar Lioncash2018-04-264-67/+67
| |/ |/|
* | common: Remove chunk_file.h and linear_disk_cache.hGravatar Lioncash2018-04-263-792/+0
|/ | | | These are unused (and given chunk_file references Dolphin's >SVN< I doubt they were going to be used).
* Merge pull request #367 from lioncash/clampGravatar bunnei2018-04-201-5/+0
|\ | | | | math_util: Remove the Clamp() function
| * math_util: Remove the Clamp() functionGravatar Lioncash2018-04-201-5/+0
| | | | | | | | | | C++17 adds clamp() to the standard library, so we can remove ours in favor of it.
* | Merge pull request #361 from lioncash/commonGravatar bunnei2018-04-201-18/+12
|\ \ | | | | | | common_types: Minor changes
| * | common_types: Convert typedefs to using aliasesGravatar Lioncash2018-04-191-12/+12
| | | | | | | | | | | | May as well while we're making changes to this file.
| * | common_types: Remove unnecessary check for whether or not__func__ is definedGravatar Lioncash2018-04-191-6/+0
| |/ | | | | | | VS has supported this for quite a while.
* | Merge pull request #364 from lioncash/thread-localGravatar bunnei2018-04-201-19/+0
|\ \ | | | | | | common/thread: Remove unnecessary feature checking for thread_local
| * | common/thread: Remove unnecessary feature checking for thread_localGravatar Lioncash2018-04-191-19/+0
| |/ | | | | | | Every compiler we require already supports it.
* | Merge pull request #362 from lioncash/snprintfGravatar bunnei2018-04-201-5/+0
|\ \ | | | | | | common_funcs: Remove check for VS versions that we don't even support
| * | common_funcs: Remove check for VS versions that we don't even supportGravatar Lioncash2018-04-191-5/+0
| |/ | | | | | | | | We don't support any VS versions that don't already have snprintf in the standard library implementation.
* | Merge pull request #363 from lioncash/array-sizeGravatar bunnei2018-04-201-2/+0
|\ \ | | | | | | common_funcs: Remove ARRAY_SIZE macro
| * | common_funcs: Remove ARRAY_SIZE macroGravatar Lioncash2018-04-191-2/+0
| |/ | | | | | | C++17 has non-member size() which we can just call where necessary.
* | Merge pull request #366 from lioncash/vecGravatar bunnei2018-04-201-30/+0
|\ \ | | | | | | vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]