summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2 daysRevert "Make sure sed is installed on Arch"HEADmainErik Kundiman
This reverts commit cbf64f875831992386dadc5a094b9739b678b764.
2 daysMerge remote-tracking branch 'secondlife/main'Erik Kundiman
2 daysMerge pull request #4382 from secondlife/release/2025.05Jonathan "Geenz" Goodman
Release/2025.05
3 daysMerge branch 'main' into 2025.05Erik Kundiman
4 daysRemove toggleDiscordIntegration declarationErik Kundiman
The definition had already been removed, I had forgotten to remove this one.
4 daysavatar list stepper adjustmentSecret Foxtail
Noticed later that the bottom scrollbar stepper was still slightly cut-off. Reduce list height again by 3.
4 dayspanel_people.xml avatar list fixSecret Foxtail
Adding NearMeRange slider caused avatar at the bottom of the nearby list to be cut off. Fix by reducing height.
4 daysMake sure sed is installed on ArchErik Kundiman
Turns out it's not necessarily pulled by some other dependencies on a fresh Arch installation.
4 daysDon't show self arrivals/departuresErik Kundiman
4 days"Hidden Region" if Discord location sharing is offErik Kundiman
instead of blank. The coords are hidden too, but the Party numbers are still shown, for consistency with TPVs' implementations.
4 daysDiscord integration is enabled by default per specErik Kundiman
now that we don't need the user to authorise Discord SDK to have any access to the user's friends list, etc. (which are Discord Relationships related, and not needed just for Rich Presence).
4 daysRich Presence w/o requiring access to friends listErik Kundiman
Thank you Signal Linden for the pointer from https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#af0a85e30f2b3d8a0b502fd23744ee58e "Note: On Desktop, rich presence can be set before calling Client::Connect, but it will be cleared if the Client connects. When Client is not connected, this sets the rich presence in the current user's Discord client when available." This lead me to setting the Application ID here https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ad452335c06b28be0406dab824acccc49 in place of setting it on https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1AuthorizationArgs.html which would lead Authorize, GetToken, UpdateToken, Connect, and so on. This means we don't even need the SecAPI saveCredential, loadCredential and deleteCredential parts now.
4 dayspanel_people.xml adjustmentSecret Foxtail
Add "m" after the NearMeRange slider distance.
5 daysNearby tab sliderSecret Foxtail
Add slider allowing users to adjust NearMeRange
5 daysRetire MPVNearMeRangeSecret Foxtail
Use NearMeRange to minimize difference with SLv
6 daysMerge tag 'Second_Life_Release#f338b91f-2025.05' into 2025.05Erik Kundiman
6 daysMerge tag 'Second_Life_Release#7255933d-2025.05' into 2025.05Erik Kundiman
7 days#4483 Fix gltf not opening unicode pathsAndrey Kleshchev
9 days#3785 Set default `MediaFirstClickInteract` value to 31 (Landowner objects)Andrey Lihatskiy
9 daysMerge tag 'Second_Life_Release#8240af03-2025.05' into 2025.05Erik Kundiman
9 daysMerge branch 'main' into 2025.05Erik Kundiman
10 daysIncrease chance of arrival notification, correctlyErik Kundiman
Full (user) name should suffice for the chat log, as it's the one that is more of a reference anyway instead of display name. The other avatar's display name is still displayed on the header anyway. Seems like display names have higher chance of being empty, that we would miss it being logged/notified because of that. Also, now that we've optimised the avatars' positions' retrieval, the numbers can come later after some avatar arrives, that getting the position using the avatar's ID as the key would result in zero. In that case, rather than reporting wrong distances (like 403996.2), it's better to just skip distance information (it shouldn't matter that much anyway).
11 days#4465 modify vertex limit threshold for starting splittingMaxim Nikolenko
11 days#4339 Remade fix for world map's find buttonAndrey Kleshchev
11 daysOptimise arrival & departure notificationsErik Kundiman
by not having extra calls to getAvatars. The avatars' positions member had to be moved to an object that is accessible from VOAvatar too, and that would be the global Agent. It makes sense too, that it's the object that keeps the positions of other agents. It even has a section for positions too.
11 daysOptimise nearby tab distance & arrival time implErik Kundiman
by not having extra calls to getAvatars, by avoiding unnecessary function overhead which actually make it possible to share some iterative code, and by piggybacking updateNearbyList and updateArrivalTime which is already done periodically though the range had to be lengthened to match nearby list range which is MPVNearMeRange instead of SLv's NearMeRange. Minimise differences from SLv too (arrival time really doesn't need to be updated *every* second.. every 5 seconds is just okay).
12 daysUpdate Discord Activity only when integration is enabledErik Kundiman
No need to check setting for the status change callback one, because getting there would need to be connected to Discord first, which in turn needs the integration to be enabled first.
12 daysRename handleDiscordSocial to toggleDiscordIntegrationErik Kundiman
12 daysRemove updateDiscordActivity call in startup loopErik Kundiman
The State field (region & coords) is updated well enough without it now.
12 daysAssemble Discord Activity Details only onceErik Kundiman
by saving it to a static global string for reuse.
12 daysUse getAvatars already called for Discord Party numbersErik Kundiman
so we don't have to make any extra getAvatars calls just for this, as it's pricy in crowds, and we'll just be piggybacking `updateSpeakerList` and `updateNearbyList`.
12 daysDiscord-related error handling/loggingErik Kundiman
plus delay saving Discord credentials to only after the access token is successfully updated on Discord, and try to disconnect from Discord when the integration gets disabled regardless whether there are credentials to delete or not and whether there's an access token to revoke or not.
12 daysTracy visibility for looped Discord function callsErik Kundiman
As suggested by Andrey Kleshchev. They likely can get pricey so they need to be visible in the profiler.
12 daysCheck Discord creds existence before getting tokenErik Kundiman
as suggested by Andrey Kleshchev, anticipating external factors such as user moving settings from another PC.
12 daysCache bool setting retrievals in updateDiscordActivityErik Kundiman
As suggested by Andrey Kleschev. getBOOL and getF32 are expensive, so using `static LLCachedControl<>` is the way to do it in llappviewer.cpp.
13 daysMerge tag 'Second_Life_Release#288bce10-2025.05' into 2025.05Erik Kundiman
13 daysMerge branch 'main' into 2025.05Erik Kundiman
14 days#4455 Division by zero in updateFrameStatsAndrey Kleshchev
14 daysDiscord time elapsed not reset on region changeErik Kundiman
Time elapses right after viewer launch even before login. Plus parameter name change in header to make it the same as in implementation.
14 daysDiscord Rich Presence: Hide name & connect to llappviewer.cppSecret Foxtail
Add option to show/hide avatar name in privacy panel & connect rich presense directly to llappviewer.cpp
14 daysCall updateDiscordActivity too in Discord initErik Kundiman
so when the user enables the integration after being logged in, the init can show the name and location right away.
14 daysMedia first click interact friend check fixDarl
14 daysMedia first click interact group check fixDarl
2025-07-28Show Discord Rich Presence Activity PartyErik Kundiman
By setting CurrentSize to the number of people within chat radius, and MaxSize to the number of people within (MP's) near range.
2025-07-28Show display name too on Discord Rich PresenceErik Kundiman
Avatar name cache can be used right away upon login now after I moved the update call to the end of PRECACHE section in llstartup.
2025-07-28Update Rich Presence location on region changeErik Kundiman
I had to find a spot in source code where it doesn't cause a crash (it did in LLAgent::setRegion), but I'm not removing the one in llstartup.cpp because on login, the one in llviewermessage.cpp gets only the placeholder coords (10, 10, 10).
2025-07-28Location for Discord Rich Presence Activity StateErik Kundiman
I was going to use LLAgentUI::buildLocationString but there's no location format that shows only region and coords without having to have the parcel name empty, so I copied buildLocationString implementation in the case of LOCATION_FORMAT_NO_MATURITY but when the parcel name is empty. I had to make updateDiscordActivity check agent's ID and the existence of agent avatar pointer first before trying to set Activity Details or State, cause I like the "Show location" button be checkable not only after online when both the ID & pointer will have existed. I think this way is simpler than programmatically enabling the "Show location" button after the user is logged in. I put a trigger to Activity update somewhere after the user is logged in for now, not yet after a TP. The elapsed time gets reset whenever Activity is updated for now, but I'll try to make elapsed time extended instead. No Party for now, because I couldn't find a way to make a Party shown without showing its CurrentSize (I could still get away not showing its MaxSize by setting it to 0), so the State (location) is shown above the elapsed time, not on the right of it. I'll try to figure out to get some representative numbers for its CurrentSize & MaxSize next. Also no privacy on hiding the username for now, until the UI is ready.
2025-07-27Connect to Discord now through privacy tabErik Kundiman
Now the access token is saved the way passwords are saved, but without a username, so we can have some persistence without having to implement an OAuth2 backend server cause we would have to store those tokens there anyway still and that would even require more disclosure that the user token gets saved on a server, and it's just simpler to not go that way. Discord Social SDK doesn't have to have a helper for sending code to a custom server anyway, that we would have to have some asynchronous HTTP requestor ready. Show location check button gets enabled only when Discord integration is enabled, though it's not functioning yet.
2025-07-27Shorten Discord-related local variable namesErik Kundiman
and minimise difference from SL main.
2025-07-27panel_preferences_privacy tabsSecret Foxtail
Add tab and checkboxes for discord social SDK integration options to panel_preferences_privacy.xml