summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/friend (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-03-07hle: rename legacy errors to ResultsLiam2-13/+2
2023-03-01service: move hle_ipc from kernelLiam2-15/+15
2023-02-21service: refactor server architectureLiam2-8/+17
Converts services to have their own processes
2022-10-08IFriendService: stub CheckFriendListAvailabilityLiam1-1/+12
2022-06-27core: Replace all instances of ResultCode with Resultgerman771-1/+1
2022-04-23general: Convert source file copyright comments over to SPDXMorph5-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.
2022-02-05general: Rename NewUUID to UUID, and remove the previous UUID implMorph1-6/+6
This completes the removal of the old UUID implementation.
2022-02-05service: Migrate to the new UUID implementationMorph1-9/+9
2022-01-21service/friend: Update unknown function table entriesLioncash1-6/+6
2021-11-30service: friend: Implement GetCompletionEventMorph1-2/+21
- Used by Super Bomberman R Online
2021-10-02service: Replace service event creation with ServiceContext::CreateEventMorph1-11/+15
The service context helps to manage all created events and allows us to close them upon destruction.
2021-07-27common: uuid: Return a lower-case hex string in FormatMorph1-3/+3
2021-07-14service: Append service name prefix to common filenamesMorph3-2/+2
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph1-10/+10
Transition to PascalCase for result names.
2021-05-06hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei1-0/+1
2021-05-06hle: kernel: Migrate KEvent to KAutoObject.bunnei1-6/+5
2021-03-27service: friend: Change logging class from ACC to FriendMorph1-11/+12
2021-03-27Friend: Stub GetPlayHistoryRegistrationKeygerman771-1/+13
2021-02-05hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei1-4/+6
2021-02-05hle: kernel: Rename WritableEvent to KWritableEvent.bunnei1-2/+2
2021-02-05hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei1-1/+1
2020-12-08core: Remove unnecessary enum casts in log callsLioncash1-2/+1
Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts.
2020-11-27service: Eliminate usages of the global system instanceLioncash4-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.
2020-11-08ipc_helpers: Remove usage of the global system instanceLioncash1-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.
2020-06-27friend: Update function tableVolcaEM1-0/+6
2020-04-20service: Update function tablesLioncash1-0/+1
Keeps the service function tables up to date. Updated based off information on SwitchBrew.
2020-04-14service: friend: Stub IFriendService::GetBlockedUserListIds.bunnei1-1/+10
- This is safe to stub, as there should be no adverse consequences from reporting no blocked users.
2020-01-04core: Initialize several structs that make use of Common::UUID.bunnei1-1/+1
2019-11-12service: Update function tablesLioncash1-0/+5
Keeps the function tables up to date. Updated based off information from Switchbrew.
2019-11-03kernel: events: Remove ResetType::Automatic.bunnei1-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
2019-10-05service/friend: Remove unused fieldReinUsesLisp1-1/+0
2019-09-22Deglobalize System: FriendDavid Marcec4-22/+24
2019-07-09IFriendService::GetFriendListDavid Marcec1-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.
2019-06-28Attemp clang format fix?David Marcec1-1/+0
Seems to be an issue with clang format
2019-06-28Addressed issuesDavid Marcec2-13/+13
2019-06-25SizedNotificationInfo should be 0x10 bytes, user_uuid is incorrect, this should be the users account idDavid Marcec1-1/+3
2019-06-25fixed spelling errors and fixed issue with Pop not returning the SizedNotificationInfoDavid Marcec1-6/+8
2019-06-24Implemented INotificationServiceDavid Marcec4-1/+126
2019-04-11service: Update service function tablesLioncash1-2/+3
Updates function tables based off information from SwitchBrew.
2018-09-11hle/service: Default constructors and destructors in the cpp file where applicableLioncash4-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.
2018-08-12Stub UpdateUserPresenceDavid Marcec1-1/+8
Needed for Retro City Rampage to go in game
2018-08-12friend: Stub DeclareCloseOnlinePlaySession.bunnei1-1/+10
- Used by Splatoon 2.
2018-08-12friend: Fix CreateFriendService to return an IFriendService interface.bunnei1-2/+86
2018-07-24friend: Add friend:m, friend:s, and friend:v servicesLioncash1-0/+3
Given we already have friend:a and friend:u, we should add the remaining services as well.
2018-07-24friend/interface: Add missing CreateDaemonSuspendSessionService() to the function handler tableLioncash1-0/+1
2018-07-24friend: Deduplicate interfacesLioncash5-44/+9
2018-07-19hle/service: Make constructors explicit where applicableLioncash1-1/+1
Prevents implicit construction and makes these lingering non-explicit constructors consistent with the rest of the other classes in services.
2018-07-03Rename logging macro back to LOG_*James Rowe1-1/+1
2018-04-24friend: Move logging macros over to new fmt-compatible onesLioncash1-1/+1
2018-04-20service: Use nested namespace specifiers where applicableLioncash6-24/+12
Tidies up namespace declarations
2018-04-11Various fixes and clangHexagon121-1/+1
2018-04-10Updated friend:u with more service names.Hexagon121-1/+2
2018-04-10Updated the unknown nameHexagon121-1/+1
2018-04-10Updated friend:a with more service names.Hexagon121-1/+2
2018-04-03service: Add friend:u interface.bunnei3-0/+39
2018-02-19service: Add Friend service interface.bunnei4-0/+94