summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2018-09-07Better Title Bar DisplayCaptV0rt3x
2018-09-04common/logging: Amend documentation commentsLioncash
Multi-line doc comments still need the '<' after the ///, otherwise it's treated as a regular comment and makes the original doc comment broken in viewers, IDEs, etc. While we're at it, also fix some typos in the comments.
2018-09-04common/logging/filter: Replace C-style case with C++ static_castLioncash
2018-09-04common/logging/filter: Make constructor explicitLioncash
Implicit conversions aren't desirable here.
2018-08-27Merge pull request #1170 from lioncash/retbunnei
file_util: Correct return value in early exit of ReadFileToString()
2018-08-24file_util: Correct return value in early exit of ReadFileToString()Lioncash
While still essentially being zero, we should be returning a numeric value here, not a boolean typed value.
2018-08-23hex_util: Replace logic_errors with LOG_CRITICALZach Hilman
Makes it so malformed hex strings do not crash the entire program.
2018-08-21logging/text_formatter: Use empty braces for initializing ↵Lioncash
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).
2018-08-21bit_field: Convert ToBool() into explicit operator boolLioncash
Gets rid of a TODO that is long overdue.
2018-08-20Merge pull request #1064 from lioncash/telemetrybunnei
common/telemetry: Migrate core-independent info gathering to common
2018-08-15common: Namespace hex_util.h/.cppLioncash
It's in the common code, so it should be under the Common namespace like everything else.
2018-08-15Merge pull request #1005 from DarkLordZach/registered-fmtbunnei
file_sys: Add support for registration format
2018-08-14Merge pull request #1063 from lioncash/inlinebunnei
common/xbyak_abi: Mark defined functions in header as inline
2018-08-14Merge pull request #1054 from zhaowenlan1779/misc-fixupbunnei
common/misc: use windows.h
2018-08-14common/telemetry: Migrate core-independent info gathering to commonLioncash
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.
2018-08-14common/xbyak_abi: Mark defined functions in header as inlineLioncash
Avoids potential One Definition Rule violations when these are used in the future.
2018-08-14common/xbyak: Use nested namespace specifiers where applicableLioncash
2018-08-14common: Remove unused old breakpoint source filesLioncash
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).
2018-08-13logging/backend: Use const reference to refer to log filterLioncash
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.
2018-08-14common/misc: use windows.hZhu PengFei
linux-mingw does not really like this.
2018-08-12thread_queue_list: Make contains() and get_first() const member functionsLioncash
These don't directly modify the contained data.
2018-08-12thread_queue_list: Convert typedef to a type aliasLioncash
2018-08-11file_sys: Comply to style guidelinesZach Hilman
2018-08-11file_util: Add getter for NAND registration directoryZach Hilman
2018-08-11common: Move hex string processing to separate fileZach Hilman
2018-08-09Merge pull request #989 from lioncash/logbunnei
common/logging: Add missing service log categories
2018-08-09Merge pull request #897 from DarkLordZach/vfs-accuracy-2bunnei
vfs: Add VfsFilesystem and fix RealVfs* implementations
2018-08-09Merge pull request #988 from lioncash/colorbunnei
common/color: Minor cleanup
2018-08-08file_util: Use enum instead of bool for specifing path behaviorZach Hilman
2018-08-08file_util: Add platform-specific slash option to SanitizePathZach Hilman
2018-08-08common/logging: Add missing service log categoriesLioncash
These weren't added when the services were introduced.
2018-08-08common/color: Remove unnecessary const qualifiers on return typesLioncash
These are just superfluous and not necessesary
2018-08-08common/color: Get rid of undefined behaviorLioncash
Gets rid of type punning via reinterpret_cast within functions. Instead, we use memcpy to transfer the contents across types.
2018-08-08vector_math: Use variable template version of is_signed in Vec classesLioncash
Same behavior, less code
2018-08-08Merge pull request #966 from lioncash/modernizebunnei
common: Convert type traits templates over to variable template versions where applicable
2018-08-08Merge pull request #968 from lioncash/vecbunnei
vector_math: Minor cleanups
2018-08-07vector_math: Remove unimplemented function prototypesLioncash
2018-08-07vector_math: Make functions constexpr where applicableLioncash
2018-08-07vector_math: Convert typedefs to type aliasesLioncash
2018-08-07common: Convert type traits templates over to variable template versions ↵Lioncash
where applicable Uses the C++17 inline variable variants
2018-08-07file_util: Avoid sign-conversions in WriteArray() and ReadArray()Lioncash
Prevents compiler warnings.
2018-08-07service: Add usb servicesLioncash
Adds basic skeleton for the usb services based off the information provided by Switch Brew.
2018-08-04service: Add arp servicesLioncash
Adds the basic skeleton of the arp services based off the information provided by Switch Brew.
2018-08-04Merge pull request #849 from DarkLordZach/xcibunnei
XCI and Encrypted NCA Support
2018-08-03Merge pull request #898 from lioncash/migbunnei
service: Add migration services
2018-08-03Merge pull request #900 from lioncash/initbunnei
math_util: Always initialize members of Rectangle
2018-08-02math_util: Always initialize members of RectangleLioncash
Prevents potentially using the members uninitialized.
2018-08-02service: Add migration servicesLioncash
Adds the basic skeleton for the mig:usr service based off information provided by Switch Brew.
2018-08-01logging/log: Remove incorrect description in PCV doc commentLioncash
PCV isn't the parental control service.
2018-08-01service: Add psc servicesLioncash
Adds the basic skeleton for the psc services based off the information provided by Switch Brew.