summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-27Remove the first login screen (#4451)Kyler "Félix" Eastridge
* Remove panel_login_first.xml and it's components * Remove additional first login panel resources * Remove redundant comment * Remove *.jpg search from viewer manifest
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
2025-07-27Move Discord-related code to llappviewer.cppErik Kundiman
The doFrame is the one called over and over again, so running the Discord callbacks from there shouldn't have one extra function overhead, while running the Discord initialisation is only once so it's much more okay to have the extra function overhead there.
2025-07-262k image resize (#4444)Kyler "Félix" Eastridge
* Fix spelling error in variable name * Resize images larger than allowed before upload * Resize bulk images if they are larger than the allow size * Fix indentation error caused by Visual Studio * Fix bulk upload cost calculation
2025-07-26Add "what to work on" to CONTRIBUTING.md (#4422)Signal Linden
Add a new section to CONTRIBUTING.md pointing people to our new [help wanted](https://github.com/secondlife/viewer/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22help%20wanted%22) label.
2025-07-26Add media request to pull_request_template.md (#4440)Signal Linden
* Add media request to pull_request_template.md A picture can be worth a thousand words. Prompt users to provide media when creating a PRs. * Update pull_request_template.md
2025-07-26Update test plan to match current functionality per suggested/requested ↵Darl
change in #4406
2025-07-26Fix incorrectly calculated number in comment and where it was referencedDarl
2025-07-26Media first click interact large number value fixDarl
2025-07-26#4374 update icon for title barMaxim Nikolenko
2025-07-25Merge pull request #4442 from secondlife/geenz/main-to-2025.05Jonathan "Geenz" Goodman
Geenz/main to 2025.05
2025-07-25Merge branch 'main' into release/2025.05Jonathan "Geenz" Goodman
2025-07-25Media first click interact self check fix (#4406, #4426)Darl
2025-07-25#3969 Log time it takes to create inventory from cacheAndrey Kleshchev
2025-07-25#4415 fix crash when cancelling large model process on MacOSMaxim Nikolenko
2025-07-24#3851 Increase cache sizeAndrey Kleshchev
Increases default to 8GB and maximum to 32GB. Viewer now supports 2K textures which require more space, so altered disk cache vs textures space a little. Made spinner a bit wider to properly fit whole cache string.
2025-07-24#4424 don't try to update theme too earlyMaxim Nikolenko
2025-07-23#4209 Outfits should have an "Add to Favorites" optionAndrey Kleshchev
2025-07-23#4400 Model Import "use lod above" was not updatingAndrey Kleshchev
2025-07-23Reorganise shared macros closer to "attach" codeErik Kundiman
and reindent the appearance manager functions to call to match how they will be placed on the combining macro.
2025-07-23Minimal @remoutfit[:<part>]=force implementationErik Kundiman
Copying from LLEditTakeOff implementation in llviewermenu.cpp.
2025-07-23@detach:<folder_name>=force implementationErik Kundiman
Per specification, the folder must be directly under "#RLV" for this to work, hence not using the shared folder ID retrieval macro.
2025-07-23Shared macros for attach-related RLV commandsErik Kundiman
2025-07-23RLV shared folder needs to be directly under rootErik Kundiman
2025-07-23#4374 add support for the system theme (light and dark)Maxim Nikolenko
2025-07-23Fix linking to c_dfDIJoystick error when on SDLErik Kundiman
Copied from llwindowwin32.cpp.
2025-07-22#4393 Handle unknown exceptions in uploader betterAndrey Kleshchev
Output is highly technical, but better than nothing
2025-07-22Fix a crash bug and bogus calculations in LLMeshRepoThread::lodReceived() ↵Henri Beauchamp
(#4398, #4408) When trying to update the rigging info for a newly received mesh LOD, a wrong usage of LLVolume::getNumFaces() is done to get the number of volume faces, causing the code to iterate over the number of faces in the underlying LLProfile instead. LLVolume::getNumVolumeFaces() must be used here. This fixes a crash bug seen with low LODs in some meshes (when the number of mesh faces is smaller than the number of faces in the LLProfile), and also properly updates the rigging info for all mesh faces, as it should, when the mesh got more faces than the LLProfile.
2025-07-22#4318 Warn or log when texture gets scaled downAndrey Kleshchev
for material and model upload
2025-07-21#4399 Crash at load_face_from_dom_trianglesAndrey Kleshchev
Since these offsets are used for idx[i+offset] where i starts from 0, they shouldn't be below 0 to not go out of bounds.
2025-07-21Merge branch 'main' into 2025.06Erik Kundiman
2025-07-21Merge branch 'main' into 2025.05Erik Kundiman
2025-07-21Dependency on libnss3 & libnspr4 on Debian/UbuntuErik Kundiman
for libcef.so. On a minimal system, those two wouldn't be pulled automatically by some other package(s).
2025-07-21Fix crash upon login on Linux aarch64Erik Kundiman
Tested on Debian Asahi so far, will try on Fedora Asahi next. I had to trace this down, setting Logging Level to Debug, and comparing SecondLife.log with a successful login on Linux x86-64. At first setWeight() in LLViewerVisualParam::setInfo seemed to be avoiding a crash too when commented out, but turns out it's still okay when re-enabled.
2025-07-19#4320 MacOS crash handlingAndrey Kleshchev
2025-07-19#4370 Fix change in crouch behaviourAndrey Kleshchev
A motion wasn't reset and requires an extra 'push' from viewer.
2025-07-19Exclude Debian arm64 from WebRTCErik Kundiman
When WebRTC was compiled with the viewer, we got this: Fatal error in: ../webrtc/src/media/engine/adm_helpers.cc, line 39 last system error: 88 Check failed: 0 == adm->Init() (0 vs. -1) Failed to initialize the ADM. This commit hasn't included the additional preprocessor macro for the platform in indra/newview/llvoiceclient.cpp yet, because there's no such macro yet to distinguish such distro from any other GNU/Linux distro.
2025-07-18Merge branch 'main' into 2025.05Erik Kundiman
2025-07-18Revert "LL_WEBRTC for marking WebRTC supporting platforms"Erik Kundiman
This reverts commit a8dfeed4632aad0233ff08d1efd950b620fd1be7.
2025-07-18Add one more tester to the teamErik Kundiman
2025-07-18#4216 Pressing cancel on picker reverts an overrideAndrey Kleshchev
even when it shouldn't revert material override
2025-07-18Bring back Arch install prefix setting instructionErik Kundiman
previously unintentionally left out from commit 829e4
2025-07-18Fix incomplete type & forward declaration GCC errorErik Kundiman
In file included from /usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/lltrace.h:38, from /usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llfasttimer.h:31, from /usr/home/erik/Documents/Megapahit/viewer/indra/newview/llviewerprecompiledheaders.h:61, from /usr/home/erik/Documents/Megapahit/viewer/build-linux-x86_64/newview/CMakeFiles/megapahit.dir/cmake_pch.hxx:5, from <command-line>: /usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h: In instantiation of ‘void LLPointer<Type>::ref() [with Type = LLViewerObject]’: /usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h:60:9: required from ‘LLPointer<Type>::LLPointer(Type*) [with Type = LLViewerObject]’ /usr/home/erik/Documents/Megapahit/viewer/indra/newview/llreflectionmap.h:127:47: required from here /usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h:174:23: error: invalid use of incomplete type ‘class LLViewerObject’ 174 | mPointer->ref(); | ~~~~~~~~~~^~~ In file included from /usr/home/erik/Documents/Megapahit/viewer/indra/newview/llviewerregion.h:45, from /usr/home/erik/Documents/Megapahit/viewer/indra/newview/llagentlanguage.cpp:32: /usr/home/erik/Documents/Megapahit/viewer/indra/newview/llreflectionmap.h:33:7: note: forward declaration of ‘class LLViewerObject’ 33 | class LLViewerObject; | ^~~~~~~~~~~~~~ /usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h: In instantiation of ‘void LLPointer<Type>::unref() [with Type = LLViewerObject]’: /usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h:92:9: required from ‘LLPointer<Type>::~LLPointer() [with Type = LLViewerObject]’ /usr/home/erik/Documents/Megapahit/viewer/indra/newview/llreflectionmap.h:127:47: required from here /usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h:184:19: error: invalid use of incomplete type ‘class LLViewerObject’ 184 | temp->unref(); | ~~~~~~^~~~~ /usr/home/erik/Documents/Megapahit/viewer/indra/newview/llreflectionmap.h:33:7: note: forward declaration of ‘class LLViewerObject’ 33 | class LLViewerObject; | ^~~~~~~~~~~~~~
2025-07-18Merge tag 'Second_Life_Release#f5d350fb-2025.05-gltf-mesh-import' into 2025.05Erik Kundiman
2025-07-18Merge branch 'main' into 2025.05Erik Kundiman
2025-07-18Merge branch 'main' into 2025.05Erik Kundiman