summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge pull request #864 from FearlessTobi/port-3973Gravatar bunnei2018-07-311-2/+30
|\ | | | | Port #3973 from Citra: "Remove polymorphism issue"
| * remove polymorphism issueGravatar B3n302018-07-291-2/+30
| |
* | Merge pull request #875 from lioncash/fgmGravatar bunnei2018-07-312-0/+2
|\ \ | | | | | | service: Add fgm services
| * | service: Add fgm servicesGravatar Lioncash2018-07-312-0/+2
| | | | | | | | | | | | | | | Adds the basic skeleton for the fgm services based off the information provided by Switch Brew.
* | | service: Add the pcie serviceGravatar Lioncash2018-07-312-0/+2
|/ / | | | | | | | | Adds the basic skeleton of the pcie service based off information on Switch Brew.
* | Port #3758 from Citra (#852): Add missing std::string import in text_formatterGravatar Tobias2018-07-301-0/+1
| |
* | Merge pull request #861 from FearlessTobi/port-3972Gravatar bunnei2018-07-302-81/+31
|\ \ | | | | | | Port #3972 from Citra: "common/timer: use std::chrono, avoid platform-dependent code"
| * | Port #3972 from Citra: "common/timer: use std::chrono, avoid ↵Gravatar zhupengfei2018-07-292-81/+31
| |/ | | | | | | platform-dependent code"
* | Merge pull request #862 from FearlessTobi/port-3997Gravatar bunnei2018-07-301-3/+5
|\ \ | | | | | | Port #3997 from Citra: "common/string_utils: replace boost::transform with std counterpart"
| * | common/string_utils: replace boost::transform with std counterpartGravatar zhupengfei2018-07-291-3/+5
| |/ | | | | | | Note: according to cppreference it is necessary to convert char to unsigned char when using std::tolower and std::toupper, otherwise the behaviour would be undefined.
* | Merge pull request #865 from FearlessTobi/port-3732Gravatar bunnei2018-07-302-4/+2
|\ \ | | | | | | Port #3732 from Citra: "common: Fix compilation on ARM"
| * | Port #3732 from Citra: "common: Fix compilation on ARM"Gravatar Cameron Cawley2018-07-292-4/+2
| |/
* | Merge pull request #857 from lioncash/wlanGravatar bunnei2018-07-302-0/+2
|\ \ | | | | | | service: Add wlan services
| * | service: Add wlan servicesGravatar Lioncash2018-07-282-0/+2
| |/ | | | | | | | | Adds the basic skeleton for the wlan services based off the information on Switch Brew.
* / service: Add btm servicesGravatar Lioncash2018-07-282-0/+2
|/ | | | | Adds the skeleton for the btm services based off the information on Switch Brew.
* Merge pull request #847 from lioncash/ncmGravatar bunnei2018-07-282-0/+2
|\ | | | | service: Add ncm services
| * service: Add ncm servicesGravatar Lioncash2018-07-272-0/+2
| | | | | | | | | | Adds the basic skeleton for the ncm services based off information on Switch Brew.
* | Merge pull request #846 from lioncash/miiGravatar bunnei2018-07-282-0/+2
|\ \ | |/ |/| service: Add mii services
| * service: Add mii servicesGravatar Lioncash2018-07-272-0/+2
| | | | | | | | | | Adds the skeleton for the mii services based off information provided by Switch Brew
* | Merge pull request #845 from lioncash/nfcGravatar bunnei2018-07-272-0/+2
|\ \ | | | | | | service: Add nfc services
| * | service: Add nfc servicesGravatar Lioncash2018-07-272-0/+2
| |/ | | | | | | | | Adds the skeleton of the nfc service based off the information provided on Switch Brew.
* / service/lbl: Implement EnableVrMode, DisableVrMode and GetVrModeGravatar Lioncash2018-07-272-0/+2
|/ | | | | Implements these functions according to the information available on Switch Brew.
* service: Add ldn servicesGravatar Lioncash2018-07-262-0/+2
| | | | Adds ldn services based off information provided by Switch Brew.
* VFS Regression and Accuracy Fixes (#776)Gravatar Zach Hilman2018-07-232-1/+13
| | | | | | | | | | | | | | | | * Regression and Mode Fixes * Review Fixes * string_view correction * Add operator& for FileSys::Mode * Return std::string from SanitizePath * Farming Simulator Fix * Use != With mode operator&
* string_util: Get rid of separate resize() in CPToUTF16(), UTF16ToUTF8(), ↵Gravatar Lioncash2018-07-221-20/+22
| | | | | | | | | | CodeToUTF8() and UTF8ToUTF16() There's no need to perform the resize separately here, since the constructor allows presizing the buffer. Also move the empty string check before the construction of the string to make the early out more straightforward.
* string_util: Use emplace_back() in SplitString() instead of push_back()Gravatar Lioncash2018-07-221-2/+3
| | | | | | | | | | | | | This is equivalent to doing: push_back(std::string("")); which is likely not to cause issues, assuming a decent std::string implementation with small-string optimizations implemented in its design, however it's still a little unnecessary to copy that buffer regardless. Instead, we can use emplace_back() to directly construct the empty string within the std::vector instance, eliminating any possible overhead from the copy.
* string_util: Remove unnecessary std::string instance in TabsToSpaces()Gravatar Lioncash2018-07-222-8/+7
| | | | | | We can just use the variant of std::string's replace() function that can replace an occurrence with N copies of the same character, eliminating the need to allocate a std::string containing a buffer of spaces.
* Merge pull request #768 from lioncash/string-viewGravatar bunnei2018-07-222-40/+55
|\ | | | | file_util, vfs: Use std::string_view where applicable
| * file_util, vfs: Use std::string_view where applicableGravatar Lioncash2018-07-222-40/+55
| | | | | | | | | | Avoids unnecessary construction of std::string instances where applicable.
* | Merge pull request #765 from lioncash/fileGravatar bunnei2018-07-221-24/+14
|\ \ | |/ |/| file_util: Remove goto usages from Copy()
| * file_util: Remove goto usages from Copy()Gravatar Lioncash2018-07-211-24/+14
| | | | | | | | | | | | We can just leverage std::unique_ptr to automatically close these for us in error cases instead of jumping to the end of the function to call fclose on them.
* | file_util: Use a u64 to represent number of entriesGravatar Lioncash2018-07-212-13/+13
| | | | | | | | | | This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away.
* | file_util: std::move FST entries in ScanDirectoryTree()Gravatar Lioncash2018-07-211-1/+1
|/ | | | Avoids unnecessary copies when building up the FST entries.
* Merge pull request #759 from lioncash/redundantGravatar bunnei2018-07-211-2/+1
|\ | | | | file_util: Remove redundant duplicate return in GetPathWithoutTop()
| * file_util: Remove explicit type from std::min() in GetPathWithoutTop()Gravatar Lioncash2018-07-211-1/+1
| | | | | | | | | | Given both operands are the same type, there won't be an issue with overload selection that requires making this explicit.