summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/friend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* service: friend: Add GetFriendCount, GetNewlyFriendCount, GetReceivedFriendRequestCount, GetPlayHistoryStatistics, GetReceivedFriendInvitationCountCache for QLaunchNarr the Reg2024-02-241-26/+65
|
* Fix typos in src/core (#12625)Viktor Szépe2024-01-081-1/+1
| | | | | | | | | * Fix typos in src/core * Fix typo correction * Fix indentation of MemoryStateNames * Fix indent
* Stub CheckBlockedUserListAvailabilitydaisymlleung2023-11-201-1/+12
|
* hle: rename legacy errors to ResultsLiam2023-03-072-13/+2
|
* service: move hle_ipc from kernelLiam2023-03-012-15/+15
|
* service: refactor server architectureLiam2023-02-212-8/+17
| | | | Converts services to have their own processes
* IFriendService: stub CheckFriendListAvailabilityLiam2022-10-081-1/+12
|
* core: Replace all instances of ResultCode with Resultgerman772022-06-271-1/+1
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-235-15/+10
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* general: Rename NewUUID to UUID, and remove the previous UUID implMorph2022-02-051-6/+6
| | | | This completes the removal of the old UUID implementation.
* service: Migrate to the new UUID implementationMorph2022-02-051-9/+9
|
* service/friend: Update unknown function table entriesLioncash2022-01-211-6/+6
|
* service: friend: Implement GetCompletionEventMorph2021-11-301-2/+21
| | | | - Used by Super Bomberman R Online
* service: Replace service event creation with ServiceContext::CreateEventMorph2021-10-021-11/+15
| | | | The service context helps to manage all created events and allows us to close them upon destruction.
* common: uuid: Return a lower-case hex string in FormatMorph2021-07-271-3/+3
|
* service: Append service name prefix to common filenamesMorph2021-07-143-2/+2
|
* general: Replace RESULT_SUCCESS with ResultSuccessMorph2021-06-021-10/+10
| | | | Transition to PascalCase for result names.
* hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei2021-05-061-0/+1
|
* hle: kernel: Migrate KEvent to KAutoObject.bunnei2021-05-061-6/+5
|
* Merge pull request #6113 from german77/playhistorybunnei2021-04-101-1/+13
|\ | | | | Friend: Stub GetPlayHistoryRegistrationKey
| * Friend: Stub GetPlayHistoryRegistrationKeygerman772021-03-271-1/+13
| |
* | service: friend: Change logging class from ACC to FriendMorph2021-03-271-11/+12
|/
* hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei2021-02-051-4/+6
|
* hle: kernel: Rename WritableEvent to KWritableEvent.bunnei2021-02-051-2/+2
|
* hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei2021-02-051-1/+1
|
* core: Remove unnecessary enum casts in log callsLioncash2020-12-081-2/+1
| | | | | Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts.
* service: Eliminate usages of the global system instanceLioncash2020-11-274-11/+12
| | | | | Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
* ipc_helpers: Remove usage of the global system instanceLioncash2020-11-081-0/+1
| | | | | | | | | Resolves numerous deprecation warnings throughout the codebase due to inclusion of this header. Now building core should be significantly less noisy (and also relying on less global state). This also uncovered quite a few modules that were relying on indirect includes, which have also been fixed.
* friend: Update function tableVolcaEM2020-06-271-0/+6
|
* service: Update function tablesLioncash2020-04-201-0/+1
| | | | | | Keeps the service function tables up to date. Updated based off information on SwitchBrew.
* service: friend: Stub IFriendService::GetBlockedUserListIds.bunnei2020-04-141-1/+10
| | | | - This is safe to stub, as there should be no adverse consequences from reporting no blocked users.
* core: Initialize several structs that make use of Common::UUID.bunnei2020-01-041-1/+1
|
* service: Update function tablesLioncash2019-11-121-0/+5
| | | | | | Keeps the function tables up to date. Updated based off information from Switchbrew.
* kernel: events: Remove ResetType::Automatic.bunnei2019-11-031-1/+1
| | | | | | | | - This does not actually seem to exist in the real kernel - games reset these automatically. # Conflicts: # src/core/hle/service/am/applets/applets.cpp # src/core/hle/service/filesystem/fsp_srv.cpp
* service/friend: Remove unused fieldReinUsesLisp2019-10-051-1/+0
|
* Deglobalize System: FriendDavid Marcec2019-09-224-22/+24
|
* IFriendService::GetFriendListDavid Marcec2019-07-091-1/+34
| | | | We don't have any friends implemented in Yuzu yet so it doesn't make sense to return any friends. For now we'll be returning 0 friends however the information provided will allow a proper implementation of this cmd when needed.
* Attemp clang format fix?David Marcec2019-06-281-1/+0
| | | | Seems to be an issue with clang format
* Addressed issuesDavid Marcec2019-06-282-13/+13
|
* SizedNotificationInfo should be 0x10 bytes, user_uuid is incorrect, this should be the users account idDavid Marcec2019-06-251-1/+3
|
* fixed spelling errors and fixed issue with Pop not returning the SizedNotificationInfoDavid Marcec2019-06-251-6/+8
|
* Implemented INotificationServiceDavid Marcec2019-06-244-1/+126
|
* service: Update service function tablesLioncash2019-04-111-2/+3
| | | | Updates function tables based off information from SwitchBrew.
* hle/service: Default constructors and destructors in the cpp file where applicableLioncash2018-09-114-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a destructor isn't defaulted into a cpp file, it can cause the use of forward declarations to seemingly fail to compile for non-obvious reasons. It also allows inlining of the construction/destruction logic all over the place where a constructor or destructor is invoked, which can lead to code bloat. This isn't so much a worry here, given the services won't be created and destroyed frequently. The cause of the above mentioned non-obvious errors can be demonstrated as follows: ------- Demonstrative example, if you know how the described error happens, skip forwards ------- Assume we have the following in the header, which we'll call "thing.h": \#include <memory> // Forward declaration. For example purposes, assume the definition // of Object is in some header named "object.h" class Object; class Thing { public: // assume no constructors or destructors are specified here, // or the constructors/destructors are defined as: // // Thing() = default; // ~Thing() = default; // // ... Some interface member functions would be defined here private: std::shared_ptr<Object> obj; }; If this header is included in a cpp file, (which we'll call "main.cpp"), this will result in a compilation error, because even though no destructor is specified, the destructor will still need to be generated by the compiler because std::shared_ptr's destructor is *not* trivial (in other words, it does something other than nothing), as std::shared_ptr's destructor needs to do two things: 1. Decrement the shared reference count of the object being pointed to, and if the reference count decrements to zero, 2. Free the Object instance's memory (aka deallocate the memory it's pointing to). And so the compiler generates the code for the destructor doing this inside main.cpp. Now, keep in mind, the Object forward declaration is not a complete type. All it does is tell the compiler "a type named Object exists" and allows us to use the name in certain situations to avoid a header dependency. So the compiler needs to generate destruction code for Object, but the compiler doesn't know *how* to destruct it. A forward declaration doesn't tell the compiler anything about Object's constructor or destructor. So, the compiler will issue an error in this case because it's undefined behavior to try and deallocate (or construct) an incomplete type and std::shared_ptr and std::unique_ptr make sure this isn't the case internally. Now, if we had defaulted the destructor in "thing.cpp", where we also include "object.h", this would never be an issue, as the destructor would only have its code generated in one place, and it would be in a place where the full class definition of Object would be visible to the compiler. ---------------------- End example ---------------------------- Given these service classes are more than certainly going to change in the future, this defaults the constructors and destructors into the relevant cpp files to make the construction and destruction of all of the services consistent and unlikely to run into cases where forward declarations are indirectly causing compilation errors. It also has the plus of avoiding the need to rebuild several services if destruction logic changes, since it would only be necessary to recompile the single cpp file.
* Stub UpdateUserPresenceDavid Marcec2018-08-121-1/+8
| | | | Needed for Retro City Rampage to go in game
* friend: Stub DeclareCloseOnlinePlaySession.bunnei2018-08-121-1/+10
| | | | - Used by Splatoon 2.
* friend: Fix CreateFriendService to return an IFriendService interface.bunnei2018-08-121-2/+86
|
* friend: Add friend:m, friend:s, and friend:v servicesLioncash2018-07-241-0/+3
| | | | | Given we already have friend:a and friend:u, we should add the remaining services as well.
* friend/interface: Add missing CreateDaemonSuspendSessionService() to the function handler tableLioncash2018-07-241-0/+1
|
* friend: Deduplicate interfacesLioncash2018-07-245-44/+9
|
* hle/service: Make constructors explicit where applicableLioncash2018-07-191-1/+1
| | | | | Prevents implicit construction and makes these lingering non-explicit constructors consistent with the rest of the other classes in services.
* Rename logging macro back to LOG_*James Rowe2018-07-031-1/+1
|
* friend: Move logging macros over to new fmt-compatible onesLioncash2018-04-241-1/+1
|
* service: Use nested namespace specifiers where applicableLioncash2018-04-206-24/+12
| | | | Tidies up namespace declarations
* Various fixes and clangHexagon122018-04-111-1/+1
|
* Updated friend:u with more service names.Hexagon122018-04-101-1/+2
|
* Updated the unknown nameHexagon122018-04-101-1/+1
|
* Updated friend:a with more service names.Hexagon122018-04-101-1/+2
|
* service: Add friend:u interface.bunnei2018-04-033-0/+39
|
* service: Add Friend service interface.bunnei2018-02-194-0/+94