summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* logging/text_formatter: Use empty braces for initializing ↵Gravatar Lioncash2018-08-211-1/+1
| | | | | | | | | CONSOLE_SCREEN_BUFFER_INFO instance The previous form of initializing done here is a C-ism, an empty set of braces is sufficient for initializing (and doesn't potentially cause missing brace warnings, given the first member of the struct is a COORD struct).
* bit_field: Convert ToBool() into explicit operator boolGravatar Lioncash2018-08-211-2/+1
| | | | Gets rid of a TODO that is long overdue.
* Merge pull request #1064 from lioncash/telemetryGravatar bunnei2018-08-202-0/+77
|\ | | | | common/telemetry: Migrate core-independent info gathering to common
| * common/telemetry: Migrate core-independent info gathering to commonGravatar Lioncash2018-08-142-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | Previously core itself was the library containing the code to gather common information (build info, CPU info, and OS info), however all of this isn't core-dependent and can be moved to the common code and use the common interfaces. We can then just call those functions from the core instead. This will allow replacing our CPU detection with Xbyak's which has better detection facilities than ours. It also keeps more architecture-dependent code in common instead of core.
* | common: Namespace hex_util.h/.cppGravatar Lioncash2018-08-152-0/+8
| | | | | | | | | | It's in the common code, so it should be under the Common namespace like everything else.
* | Merge pull request #1005 from DarkLordZach/registered-fmtGravatar bunnei2018-08-155-0/+74
|\ \ | | | | | | file_sys: Add support for registration format
| * | file_sys: Comply to style guidelinesGravatar Zach Hilman2018-08-111-0/+2
| | |
| * | file_util: Add getter for NAND registration directoryGravatar Zach Hilman2018-08-112-0/+8
| | |
| * | common: Move hex string processing to separate fileGravatar Zach Hilman2018-08-113-0/+64
| | |
* | | Merge pull request #1063 from lioncash/inlineGravatar bunnei2018-08-142-15/+11
|\ \ \ | | | | | | | | common/xbyak_abi: Mark defined functions in header as inline
| * | | common/xbyak_abi: Mark defined functions in header as inlineGravatar Lioncash2018-08-141-7/+7
| | | | | | | | | | | | | | | | | | | | Avoids potential One Definition Rule violations when these are used in the future.
| * | | common/xbyak: Use nested namespace specifiers where applicableGravatar Lioncash2018-08-142-8/+4
| | |/ | |/|
* | | Merge pull request #1054 from zhaowenlan1779/misc-fixupGravatar bunnei2018-08-141-1/+1
|\ \ \ | | | | | | | | common/misc: use windows.h
| * | | common/misc: use windows.hGravatar Zhu PengFei2018-08-141-1/+1
| | | | | | | | | | | | linux-mingw does not really like this.
* | | | common: Remove unused old breakpoint source filesGravatar Lioncash2018-08-143-141/+0
| |/ / |/| | | | | | | | | | | | | | | | | These currently aren't used and contain commented out source code that corresponds to Dolphin's JIT. Given our CPU code is organized quite differently, we shouldn't be keeping this around (at the moment it just adds to compile times marginally).
* | | logging/backend: Use const reference to refer to log filterGravatar Lioncash2018-08-131-2/+3
| | | | | | | | | | | | | | | | | | The filter is returned via const reference, so this was making a pointless copy of the entire filter every time a message was being pushed into the logger instance.
* | | thread_queue_list: Make contains() and get_first() const member functionsGravatar Lioncash2018-08-121-4/+4
| | | | | | | | | | | | These don't directly modify the contained data.
* | | thread_queue_list: Convert typedef to a type aliasGravatar Lioncash2018-08-121-1/+1
| |/ |/|
* | Merge pull request #989 from lioncash/logGravatar bunnei2018-08-092-0/+16
|\ \ | | | | | | common/logging: Add missing service log categories
| * | common/logging: Add missing service log categoriesGravatar Lioncash2018-08-082-0/+16
| | | | | | | | | | | | These weren't added when the services were introduced.
* | | Merge pull request #897 from DarkLordZach/vfs-accuracy-2Gravatar bunnei2018-08-092-5/+19
|\ \ \ | | | | | | | | vfs: Add VfsFilesystem and fix RealVfs* implementations
| * | | file_util: Use enum instead of bool for specifing path behaviorGravatar Zach Hilman2018-08-082-6/+9
| | | |
| * | | file_util: Add platform-specific slash option to SanitizePathGravatar Zach Hilman2018-08-082-5/+16
| |/ /
* | | Merge pull request #988 from lioncash/colorGravatar bunnei2018-08-091-19/+31
|\ \ \ | | | | | | | | common/color: Minor cleanup
| * | | common/color: Remove unnecessary const qualifiers on return typesGravatar Lioncash2018-08-081-7/+7
| | | | | | | | | | | | | | | | These are just superfluous and not necessesary
| * | | common/color: Get rid of undefined behaviorGravatar Lioncash2018-08-081-12/+24
| |/ / | | | | | | | | | | | | Gets rid of type punning via reinterpret_cast within functions. Instead, we use memcpy to transfer the contents across types.
* / / vector_math: Use variable template version of is_signed in Vec classesGravatar Lioncash2018-08-081-3/+3
|/ / | | | | | | Same behavior, less code
* | Merge pull request #966 from lioncash/modernizeGravatar bunnei2018-08-085-11/+11
|\ \ | | | | | | common: Convert type traits templates over to variable template versions where applicable
| * | common: Convert type traits templates over to variable template versions ↵Gravatar Lioncash2018-08-075-11/+11
| | | | | | | | | | | | | | | | | | where applicable Uses the C++17 inline variable variants
* | | Merge pull request #968 from lioncash/vecGravatar bunnei2018-08-081-180/+182
|\ \ \ | | | | | | | | vector_math: Minor cleanups
| * | | vector_math: Remove unimplemented function prototypesGravatar Lioncash2018-08-071-23/+0
| | | |
| * | | vector_math: Make functions constexpr where applicableGravatar Lioncash2018-08-071-154/+179
| | | |
| * | | vector_math: Convert typedefs to type aliasesGravatar Lioncash2018-08-071-3/+3
| |/ /
* / / file_util: Avoid sign-conversions in WriteArray() and ReadArray()Gravatar Lioncash2018-08-071-4/+8
|/ / | | | | | | Prevents compiler warnings.
* / service: Add usb servicesGravatar Lioncash2018-08-072-0/+2
|/ | | | Adds basic skeleton for the usb services based off the information provided by Switch Brew.
* service: Add arp servicesGravatar Lioncash2018-08-042-0/+2
| | | | | Adds the basic skeleton of the arp services based off the information provided by Switch Brew.
* Merge pull request #849 from DarkLordZach/xciGravatar bunnei2018-08-045-0/+20
|\ | | | | XCI and Encrypted NCA Support
| * Allow key loading from %YUZU_DIR%/keys in addition to ~/.switchGravatar Zach Hilman2018-08-013-0/+3
| |
| * Use SHGetKnownFolderPath instead of SHGetFolderPathAGravatar Zach Hilman2018-08-011-3/+4
| |
| * Extract mbedtls to cpp fileGravatar Zach Hilman2018-08-011-1/+1
| |
| * Remove files that are not usedGravatar Zach Hilman2018-08-014-0/+16
| |
* | Merge pull request #898 from lioncash/migGravatar bunnei2018-08-032-0/+2
|\ \ | | | | | | service: Add migration services
| * | service: Add migration servicesGravatar Lioncash2018-08-022-0/+2
| | | | | | | | | | | | | | | Adds the basic skeleton for the mig:usr service based off information provided by Switch Brew.
* | | Merge pull request #900 from lioncash/initGravatar bunnei2018-08-031-5/+5
|\ \ \ | | | | | | | | math_util: Always initialize members of Rectangle
| * | | math_util: Always initialize members of RectangleGravatar Lioncash2018-08-021-5/+5
| |/ / | | | | | | | | | Prevents potentially using the members uninitialized.
* | | logging/log: Remove incorrect description in PCV doc commentGravatar Lioncash2018-08-011-1/+1
| | | | | | | | | | | | PCV isn't the parental control service.
* | | service: Add psc servicesGravatar Lioncash2018-08-012-0/+2
|/ / | | | | | | | | Adds the basic skeleton for the psc services based off the information provided by Switch Brew.
* | Merge pull request #888 from lioncash/capsGravatar bunnei2018-08-012-0/+2
|\ \ | | | | | | service: Add capture services
| * | service: Add capture servicesGravatar Lioncash2018-08-012-0/+2
| |/ | | | | | | | | Adds the basic skeleton for the capture services based off information provided by Switch Brew.
* / service: Add bpc and pcv servicesGravatar Lioncash2018-08-012-0/+4
|/ | | | | Adds the basic skeleton for the remaining pcv-related services based off information on Switch Brew.