Commit Graph

79711 Commits (b5e920d0e1677b2743cf8a78ab5affcc7ff5df86)

Author SHA1 Message Date
Hecklezz b3a549b8b5 [FIRE-36090] Fix crash in handleHover accessing null parent
Merged upstream in SLViewer PR#4986
2025-11-13 19:57:44 +10:00
Hecklezz 5fb9e75cd8 [FIRE-36087] Fix crash in updateImagesCreateTextures accessing potentially freed image pointer
Merged upstream in SLViewer PR#4984
2025-11-13 19:56:19 +10:00
Hecklezz e50dd76c61 [FIRE-36095] Fixed missing string for Favorites and updated help topics for favorites inventory tab 2025-11-13 19:10:16 +10:00
Ansariel cd8d47c9f3 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-11-12 18:44:30 +01:00
Rye 05658cbff1 Fix support for MSVC toolset v145(VS2026)
Signed-off-by: Rye <rye@alchemyviewer.org>
2025-11-12 15:54:36 +01:00
Hecklezz f5e5e14315 [FIRE-36086] Fixed crash in LLOutfitAccordionCtrlTab::handleToolTip due to null category 2025-11-12 21:25:18 +10:00
Maxim Nikolenko bbd3ee8018 #4920 fix group categories not being displayed when one below is expanded (FS:TJ- Cherry-pick to fix FIRE-36078) 2025-11-09 17:48:53 +10:00
Hecklezz a0429c99c5 [FIRE-36079] Fixed saving multiple textures/photos with '/' in the filenames 2025-11-09 16:17:43 +10:00
PanteraPolnocy 8ddcfb1915 FIRE-36075, FIRE-36076 French translation update, by Laurent Bechir 2025-11-07 17:31:05 +01:00
minerjr 212bc9c0b3 Fix animated textures from stopping.
This prevents animated textures that are still a valid size from stop animating. Off screen textures will stop so if turned fast, there may be a slight stutter until the face's virtual size has been updated.
2025-11-07 11:56:43 -04:00
PanteraPolnocy 334283bc67 FIRE-36065 French translation update, by Laurent Bechir 2025-11-05 00:03:39 +01:00
Hecklezz 76c9cb0a2c [FIRE-35530] Fix CFBundleIndentifier syntax being incorrect causing it to be missing 2025-11-03 06:10:40 +10:00
minerjr 5f9daef8e0 Updated to match upstream fix
LL ended up fixing the same issue upstream, but returned 0.0f instead of 1.0f. Updated code to match formatting LL used and value.
2025-11-02 14:54:55 -04:00
Hecklezz 834b198a87 Fix issue where mac was crashing during an attempt to unplug or replug microphone (FS:TJ- Cherry-pick to help fix FIRE-36022 on macOS)
The mac audio device manager was being "helpful" by restarting
playout and recording if the Default device was changed, assuming
the application wouldn't care.
However, we received an update of device change, and attempted to
stop and start playout anyway, causing a conflict.
The fix was simply to not deploy new devices when the device id didn't
change.
2025-11-02 01:10:19 +10:00
Ansariel Hiller c73ef2d2b1
Merge pull request #172 from FirestormViewer/dependabot/github_actions/actions/upload-artifact-5
Bump actions/upload-artifact from 4 to 5
2025-11-01 11:10:45 +01:00
Ansariel Hiller 62a1bc9c53
Merge pull request #171 from FirestormViewer/dependabot/github_actions/azure/trusted-signing-action-0.5.10
Bump azure/trusted-signing-action from 0.5.9 to 0.5.10
2025-11-01 11:10:36 +01:00
Ansariel Hiller 16e7480070
Merge pull request #170 from FirestormViewer/dependabot/github_actions/actions/download-artifact-6
Bump actions/download-artifact from 5 to 6
2025-11-01 11:10:25 +01:00
dependabot[bot] b0f179945e
Bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 10:05:23 +00:00
dependabot[bot] 4699e2f5d2
Bump azure/trusted-signing-action from 0.5.9 to 0.5.10
Bumps [azure/trusted-signing-action](https://github.com/azure/trusted-signing-action) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/azure/trusted-signing-action/releases)
- [Commits](https://github.com/azure/trusted-signing-action/compare/v0.5.9...v0.5.10)

---
updated-dependencies:
- dependency-name: azure/trusted-signing-action
  dependency-version: 0.5.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 10:05:18 +00:00
dependabot[bot] c4915f9932
Bump actions/download-artifact from 5 to 6
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 10:05:14 +00:00
Ansariel 574dc5b65a Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-10-31 19:25:58 +01:00
minerjr bd1282a235 Merge branch 'FIRE-36022-USB-HeadsetWebRTC' 2025-10-31 14:40:56 -03:00
minerjr 9ee2595ac1 Reduced the time_mutx lock to 1 second from 3 seconds
Originally setup with 3 second as a was not sure how long it would take to recover, but 1 second should be good to recover and enumerate devices.
2025-10-29 21:39:57 -03:00
minerjr b37a210e38 Fixed up the i prefix to g to follow coding standards
Changed iWebRTCUpdateDevices and iAudioDeviceMutex to gWebRTCUpdateDevicesand gAudioDeviceMutex to follow Firestorm coding standards.

They are global static variables.
2025-10-29 15:37:55 -03:00
minerjr f6ce46c726 Fixed up not python operator to proper C++ operator
Fixed up the follow Firestorm coding standards.
2025-10-29 15:21:51 -03:00
Ansariel 1002a28e39 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-10-29 19:16:44 +01:00
minerjr cc3bae406c FIRE-36022 - Removing my USB headset crashes entire viewer - FMOD fixes
Added three FMOD specific changes based upon reading the FMOD manual.
See: https://www.fmod.com/docs/2.00/api/platforms-win.html
As well, switched to using the FMOD log version of the library and found one error on the get advanced features.

Also, the call back method should be a static method. Just being cautious.
2025-10-28 23:30:18 -03:00
minerjr 6ad9a57c39 FIRE-36022 - Removing my USB headset crashes entire viewer - audio device mutex
As with the previous change, this is to address the issue FIRE-36022 where users who remove their USB headsets with microphones are having the viewer lock up.

This introduces a new inline mutex called iAudioDeviceMutex. This is stored in a shared header file located on llcommon. iAudioDeviceMutex is a timed_mutex which allows for a time limit to be placed on a wait for a lock. Once the time runs out or the lock is achiveved the code moves on. With a check after the lock, if the owner is the current thread, then the lock was successful, otherwise it's still being used by another thread and the function should exit to try again later on.

This logic is wrapping WebRTC, FMOD and Vinvox calls to the audio hardware by the Viewer. OpenAL does not currently support changing of audio hardware and always defaults to the default audio hardware.

Added exceptions handling for the new unique_lock with the timed_mutex as they can throw 2 exceptions if the thread is already locked by the current thread and if the mutex is invalid.

Further testing may reveal other areas which would need the timed_mutex added to protect from threads locking up.
2025-10-28 23:22:13 -03:00
minerjr 0cdae450d8 FIRE-36022- Removing my USB headset crashes entire viewer - WebRTC fix
This is created to address the issue of USB headsets being removed or Bluetooth headsets with bad connections causing the viewer to lock up.

First Part: WebRTC

WebRTC now has an added inline atomic bool used to track when the worker thread is accessing the audio hardware. If the coroutine that is always running detects 10 consecutive true flag values, it will set WebRTC to exit and exit itself.

This coroutine was what was locking up the viewer as it spammed the mMainQueue with messages every update, but the worker thread was locked up and unable to receive the messages. Once the queue reached 1024 messages, it would lock up.

Underlying issue is the Windows Core Audio driver system crashes if too many threads have requests to get audio updates upon hardware changes. And with a USB headset having 2 devices in 1, it multiples the updates by 2x. The WebRTC audio system itself locks a mutex as it calls the core audio system to get set the input, but if it is already being processed by another thread, it then gets an exception to try again. The audio driver is not handling the message and crashes and does not return leaving the WebRTC worker thread locked.
2025-10-28 23:05:53 -03:00
Angeldark Raymaker 44ffa1df51 FIRE-35670: Move poses and copy newer versions
Moved preset poses so they're easier to find on non-windows
Updated viewer_manifest copy everything
Update preset poses in user dir if version updated
2025-10-27 21:54:31 +00:00
PanteraPolnocy 6c67960b21 FIRE-36045 Chinese Translation Update, by 小滢 Zi Ying 2025-10-27 20:07:39 +01:00
Ansariel b1026c6ea2 Update German translation 2025-10-24 22:10:51 +02:00
PanteraPolnocy 390f5431b6 FIRE-36037 Updated Japanese translation, by Logue Takacs
Pay + panel preference chat.
2025-10-24 15:21:26 +02:00
PanteraPolnocy d4fd72e5ac Add an option o disable auto-completion when typing @ mentions in chat 2025-10-23 16:33:22 +02:00
Hecklezz 0e59ef1112 Updated APR library and removed hotfix patch in APR cmake 2025-10-22 19:20:04 +10:00
Hecklezz 3930c4b4c1 [FIRE-35996] Restore allowing creating folder from selected on recent and favorites inventory panels if they were in your clipboard 2025-10-21 18:22:10 +10:00
Hecklezz f479ed8757 [FIRE-36028] Fix OpenSim object permissions 2025-10-21 05:11:28 +10:00
Ansariel 77746a648f Prevent full rebuild each time CMake detects any changes 2025-10-20 11:27:00 +02:00
Andrey Kleshchev fa7cacc755 #4724 Fix performance problems with My Outfits - <FS:PP> Cherry pick for FIRE-35936
# Conflicts:
#	indra/newview/lloutfitslist.cpp
2025-10-19 18:54:08 +02:00
Hecklezz 42df6526a2 [FIRE-35962] Fix crashes when checking for corrupt sounds 2025-10-19 17:59:03 +10:00
Hecklezz 31b81b2c05 Corrected spacing and use of tab instead of spaces 2025-10-19 01:27:57 +10:00
Ansariel 3410a182c5 initWebRTC() can get multiple times - make sure to unset previous observers before re-adding 2025-10-18 13:32:44 +02:00
Ansariel b05f460b1a Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-10-18 13:01:33 +02:00
Ansariel d733bef269 Restore original indentation 2025-10-18 12:42:20 +02:00
Ansariel 9fe6e65aed Continue keeping built-in audio effects disabled - only disable duplicate call to updateDevices() which is already called via
LLWebRTCVoiceClient::initWebRTC() -> LLWebRTCVoiceClient::refreshDeviceLists() -> LLWebRTCImpl::refreshDevices()

and duplicate to

LLWebRTCVoiceClient::initWebRTC() -> llwebrtc::init() -> LLWebRTCImpl::init()
2025-10-18 12:26:47 +02:00
Ansariel 1acef3b7f0 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-10-18 11:57:41 +02:00
minerjr 4a6975a944 FIRE-36022 - Removing my USB headset crashes entire viewer
Commented out a block of new code recently added which was also being called by one of the callback functions.
This had the side effect of having 2 LLWebRTCDevicesObserver listening to the hardware removal events and cause both to trigger events at the same time, which may be the source of the queue being locked up in a race condition.

Was able to reproduce issue 2x without code change by moving mouse around a lot while on  rezing and then pulling USB headset out of the USB port. Direct motherboard USB port seemed to work the best as could not trigger while headset was in USB hub.
2025-10-17 22:01:17 -03:00
Ansariel d066691c06 Merge branch 'main' of https://github.com/secondlife/viewer 2025-10-17 23:54:54 +02:00
Ansariel 2ca5c9ed74 Sync with develop 2025-10-17 23:54:36 +02:00
Ansariel 6252c2c0a8 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm-202507 2025-10-17 23:44:55 +02:00