summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #711 from lioncash/swapGravatar bunnei2018-07-191-50/+50
|\ | | | | common/swap: Minor changes
| * common/swap: Remove unnecessary const on return value of swap()Gravatar Lioncash2018-07-191-1/+1
| |
| * common/swap: Use static_cast where applicableGravatar Lioncash2018-07-191-16/+16
| |
| * common/swap: Use using aliases where applicableGravatar Lioncash2018-07-191-33/+33
| |
* | Merge pull request #710 from lioncash/unusedGravatar bunnei2018-07-191-38/+0
|\ \ | | | | | | common/common_funcs: Remove unused rotation functions
| * | common/common_funcs: Remove unused rotation functionsGravatar Lioncash2018-07-191-38/+0
| |/ | | | | | | | | | | | | These are unused and essentially don't provide much benefit either. If we ever need rotation functions, these can be introduced in a way that they don't sit in a common_* header and require a bunch of ifdefing to simply be available
* | Merge pull request #709 from lioncash/thread-localGravatar bunnei2018-07-192-12/+8
|\ \ | | | | | | common/misc: Deduplicate code in GetLastErrorMsg()
| * | common/misc: Deduplicate code in GetLastErrorMsg()Gravatar Lioncash2018-07-192-12/+8
| |/ | | | | | | | | | | | | Android and macOS have supported thread_local for quite a while, but most importantly is that we don't even really need it. Instead of using a thread-local buffer, we can just return a non-static buffer as a std::string, avoiding the need for that quality entirely.
* | Merge pull request #705 from lioncash/string-refGravatar bunnei2018-07-192-2/+2
|\ \ | | | | | | file_util: return string by const reference for GetExeDirectory()
| * | file_util: return string by const reference for GetExeDirectory()Gravatar Lioncash2018-07-192-2/+2
| |/ | | | | | | | | This disallows modifying the internal string buffer (which shouldn't be modified anyhow).
* / string_util: Remove AsciiToHex()Gravatar Lioncash2018-07-182-15/+0
|/ | | | Easy TODO
* Merge pull request #686 from lioncash/fmtGravatar bunnei2018-07-181-1/+1
|\ | | | | externals: update fmt to version 5.1.0
| * externals: update fmt to version 5.1.0Gravatar Lioncash2018-07-181-1/+1
| | | | | | | | Previously, we were on 4.1.0, which was a major version behind.
* | 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
| |/ |/|