Commit Graph

5651 Commits (4f00a13f5ea9bea712a0313562a86cbff07342ad)

Author SHA1 Message Date
Beq 5f90941c8c Fix Linux gcc-14 builds: prevent null passing in to memcmp 2025-11-17 15:37:58 +00:00
Ansariel 574dc5b65a Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-10-31 19:25:58 +01: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 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
Hecklezz 6a522ed3fb Initial fixes for 2025.07 to compile on MacOS 2025-10-17 15:25:28 +10:00
Ansariel a7fe0c1d78 Merge branch 'release/2025.07' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llwindow/llopenglview-objc.mm
2025-09-12 12:42:49 +02:00
Brad Linden f98a61be70 Improvements found in reviewing mac_arm branch #4629 2025-09-10 13:04:04 -07:00
Ansariel efe97b9940 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm
# Conflicts:
#	indra/cmake/00-Common.cmake
#	scripts/packages-formatter.py
2025-09-09 19:52:09 +02:00
Ansariel b99cf9fb86 Merge branch 'project/mac_universal' of https://github.com/secondlife/viewer
# Conflicts:
#	autobuild.xml
#	indra/cmake/00-Common.cmake
#	indra/cmake/APR.cmake
#	indra/cmake/Audio.cmake
#	indra/cmake/Boost.cmake
#	indra/cmake/Copy3rdPartyLibs.cmake
#	indra/cmake/LLKDU.cmake
#	indra/cmake/LLPrimitive.cmake
#	indra/cmake/Meshoptimizer.cmake
#	indra/cmake/NGHTTP2.cmake
#	indra/cmake/OPENAL.cmake
#	indra/llaudio/llvorbisencode.cpp
#	indra/llcommon/linden_common.h
#	indra/llcommon/llcommon.cpp
#	indra/llcommon/llfasttimer.cpp
#	indra/llcommon/llfasttimer.h
#	indra/llcommon/llfile.cpp
#	indra/llcommon/llmemory.h
#	indra/llcommon/llprofiler.h
#	indra/llcommon/llthreadsafequeue.h
#	indra/llfilesystem/lldir_win32.cpp
#	indra/llkdu/llimagej2ckdu.cpp
#	indra/llkdu/llimagej2ckdu.h
#	indra/llkdu/llkdumem.h
#	indra/llplugin/slplugin/CMakeLists.txt
#	indra/llrender/llfontfreetype.cpp
#	indra/llrender/llfontfreetype.h
#	indra/llwindow/CMakeLists.txt
#	indra/llwindow/llopenglview-objc.mm
#	indra/llwindow/llwindowmacosx-objc.h
#	indra/llwindow/llwindowwin32.cpp
#	indra/media_plugins/cef/CMakeLists.txt
#	indra/newview/CMakeLists.txt
#	indra/newview/llappviewer.cpp
#	indra/newview/llface.cpp
#	indra/newview/pipeline.cpp
#	indra/newview/viewer_manifest.py
2025-09-05 14:55:37 +02:00
Beq Janus e364123e04
Merge pull request #156 from FirestormViewer/improvement/opensim_remove_slt_time
[FIRE-34775] Use PST/PDT time while logged into OpenSim instead of SLT
2025-09-04 10:00:13 +01:00
Rye 5ffcd3dc88 Fixes for GHA build 2025-08-28 17:58:33 -04:00
Rye 2b44464a14 Fix up windows build error in GHA 2025-08-28 06:08:13 -04:00
Hecklezz 180ebf3a32 Use PST/PDT when logged into OpenSim instead of SLT 2025-08-27 20:32:24 +10:00
Rye a46d4f0f69 Enable deprecation warnings and suppress a small handful that have no modern replacements 2025-08-22 03:32:02 -04:00
Rye ba30737d8f Merge branch 'develop' of github.com:secondlife/viewer into rye/infinitemac 2025-08-20 18:04:55 -04:00
Ansariel 539959a7f8 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm-develop
# Conflicts:
#	.github/workflows/qatest.yaml
#	indra/newview/llfloatermodelpreview.cpp
#	indra/newview/llvoavatar.cpp
#	indra/newview/llwearableitemslist.cpp
2025-08-06 18:47:44 +02:00
Andrey Kleshchev ce9d66cdd1 Merge branch develop into 2025.06
# Conflicts:
#	indra/newview/llvoavatar.cpp
2025-08-06 16:05:19 +03:00
Ansariel f37e2785d5 Merge branch 'release/2025.05' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/skins/default/xui/en/panel_preferences_sound.xml
2025-07-27 12:54:37 +02:00
Andrey Kleshchev 4b69fe396f #4320 MacOS crash handling 2025-07-19 20:47:47 +03:00
Ansariel bfd99549b0 Merge branch 'release/2025.05' of https://github.com/secondlife/viewer
# Conflicts:
#	.github/pull_request_template.md
#	indra/llappearance/lltexlayer.cpp
#	indra/llcommon/llthread.cpp
#	indra/llprimitive/lldaeloader.cpp
#	indra/llprimitive/lldaeloader.h
#	indra/llprimitive/llmodel.cpp
#	indra/newview/CMakeLists.txt
#	indra/newview/VIEWER_VERSION.txt
#	indra/newview/app_settings/settings.xml
#	indra/newview/llmodelpreview.cpp
#	indra/newview/lltoolpie.cpp
#	indra/newview/skins/default/xui/en/floater_model_preview.xml
#	indra/newview/skins/default/xui/en/panel_preferences_sound.xml
2025-07-18 14:14:54 +02:00
Ansariel 7d03d5af2a Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-07-09 22:50:15 +02:00
Andrey Kleshchev 6e65c3821e #4319 Thread crashes not being reported to bugsplat 2025-07-08 00:00:14 +03:00
Ansariel f9e76e671b Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm-ll-master 2025-06-25 20:40:00 +02:00
Ansariel de0cffb57f Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-06-23 22:39:59 +02:00
Ansariel 759654adab FIRE-35685: Allow (re-)importing access lists from exported lists in CSV files (or any CSV file containing a UUID column) 2025-06-23 15:35:29 +02:00
Ansariel b7063272ff Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm-ll-master 2025-06-16 12:46:50 +02:00
Ansariel 3f4d28329f Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-06-15 17:58:08 +02:00
Ansariel 22afbf9991 Replace FSUUIDHash with LL implementation for unordered containers 2025-06-09 21:55:10 +02:00
Ansariel 159c05a5ac Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm-ll-master
# Conflicts:
#	.github/workflows/qatest.yaml
#	indra/newview/skins/default/xui/ja/strings.xml
2025-05-30 13:26:29 +02:00
Ansariel e0ffe6c160 Merge branch 'release/2025.05' of https://github.com/secondlife/viewer
# Conflicts:
#	.github/workflows/qatest.yaml
#	indra/llcommon/llsdutil.h
#	indra/newview/lloutfitgallery.cpp
#	indra/newview/lloutfitgallery.h
2025-05-29 12:41:43 +02:00
Ansariel 7b770b1786 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm-ll-master
# Conflicts:
#	.github/workflows/qatest.yaml
#	indra/llcommon/llsdutil.h
#	indra/newview/llinventorybridge.cpp
#	indra/newview/lloutfitgallery.cpp
#	indra/newview/lloutfitgallery.h
#	indra/newview/skins/default/xui/ja/strings.xml
2025-05-29 12:34:42 +02:00
Andrey Lihatskiy b08ba3fa7b Merge branch 'main' into marchcat/2505-merge
# Conflicts:
#	.github/workflows/qatest.yaml
#	indra/llcommon/llsdutil.h
#	indra/llui/llflatlistview.h
#	indra/newview/llinventorybridge.cpp
#	indra/newview/lloutfitgallery.cpp
#	indra/newview/lloutfitgallery.h
2025-05-28 21:38:00 +03:00
Jonathan "Geenz" Goodman fe4f85e587 Merge remote-tracking branch 'origin/main' into geenz/2025.04-to-develop 2025-05-28 11:52:16 -04:00
Ansariel 1513d97e55 Merge branch 'release/2025.05' of https://github.com/secondlife/viewer
# Conflicts:
#	.github/workflows/qatest.yaml
#	indra/newview/lltexturectrl.cpp
#	indra/newview/llviewerinventory.cpp
#	indra/newview/llviewerobject.cpp
#	indra/newview/skins/default/xui/en/floater_inventory_settings.xml
2025-05-23 12:44:50 +02:00
Ansariel 6cb5a7425f Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm
# Conflicts:
#	indra/newview/llskinningutil.cpp
#	indra/newview/llvoavatar.cpp
#	indra/newview/skins/default/xui/ja/strings.xml
2025-05-23 12:22:21 +02:00
Maxim Nikolenko 2cbff073ed
#4000 Cherry pick inventory LEAP functions from develop branch 2025-05-20 20:40:04 +03:00
Ansariel fef4f9a07e Merge branch 'develop' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llappearance/llavatarappearance.h
#	indra/llcharacter/llcharacter.cpp
#	indra/llcharacter/llcharacter.h
#	indra/llcharacter/lljoint.cpp
#	indra/llcharacter/lljoint.h
#	indra/llimage/llimagedimensionsinfo.cpp
#	indra/llprimitive/lldaeloader.h
#	indra/newview/llappviewer.cpp
#	indra/newview/llappviewer.h
#	indra/newview/llmodelpreview.cpp
#	indra/newview/llpanelface.cpp
#	indra/newview/llpanelmaininventory.cpp
#	indra/newview/llpanelprofilepicks.cpp
#	indra/newview/llpanelprofilepicks.h
#	indra/newview/llviewerdisplay.cpp
#	indra/newview/llviewerparceloverlay.cpp
#	indra/newview/llvoavatar.cpp
#	indra/newview/llvoavatar.h
#	indra/newview/llvoavatarself.cpp
#	indra/newview/llvoavatarself.h
#	indra/newview/llwatchdog.cpp
#	indra/newview/llwatchdog.h
2025-05-03 15:45:54 +02:00
Ansariel f0da8bdcbd Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm
# Conflicts:
#	indra/newview/skins/default/xui/ja/strings.xml
2025-05-03 14:07:06 +02:00
Ansariel 88bced3a4f Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm
# Conflicts:
#	indra/newview/skins/default/xui/ja/strings.xml
2025-05-03 13:16:00 +02:00
Beq bd3acb8547 remove some pointless and distracting profiling 2025-05-01 16:18:31 +01:00
Ansariel 120f85c9e0 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm-develop
# Conflicts:
#	indra/newview/app_settings/settings.xml
#	indra/newview/llvieweraudio.cpp
#	indra/newview/llvoavatar.h
2025-04-25 22:20:59 +02:00
Andrey Lihatskiy ec6c988bbb #3918 Implement automatic shutdown for WorkQueueBase 2025-04-23 18:56:27 +03:00
Ansariel d6b8628a4f Reduce memory allocations pinging the mainloop timeout 2025-04-18 23:09:51 +03:00
Andrey Kleshchev 9a333e65c4
Merge develop into release/2025.04 2025-04-18 21:36:56 +03:00
Ansariel 86f0483152 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm-develop
# Conflicts:
#	indra/llmath/v2math.cpp
#	indra/llmath/v2math.h
#	indra/llmath/v3math.h
#	indra/llmath/v4math.h
2025-04-18 20:24:19 +02:00
Ansariel 4e0ad8a758 Merge branch 'develop' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/doxygen/CMakeLists.txt
#	indra/llcommon/indra_constants.h
#	indra/llmath/llmath.h
#	indra/llmath/llvolume.cpp
#	indra/llmath/v3dmath.h
#	indra/llmath/v4color.h
#	indra/llui/llchatentry.cpp
#	indra/llui/llchatentry.h
#	indra/llui/llfloater.h
#	indra/llui/llkeywords.h
#	indra/newview/llpanelprimmediacontrols.cpp
#	indra/newview/llpanelsnapshotinventory.cpp
#	indra/newview/llpanelsnapshotlocal.cpp
#	indra/newview/llpanelsnapshotoptions.cpp
#	indra/newview/llpanelsnapshotpostcard.cpp
#	indra/newview/llpreviewscript.h
#	indra/newview/pipeline.cpp
#	indra/newview/skins/default/xui/de/panel_snapshot_inventory.xml
#	indra/newview/skins/default/xui/de/panel_snapshot_options.xml
#	indra/newview/skins/default/xui/en/panel_snapshot_inventory.xml
#	indra/newview/skins/default/xui/es/panel_snapshot_options.xml
#	indra/newview/skins/default/xui/fr/panel_snapshot_inventory.xml
#	indra/newview/skins/default/xui/fr/panel_snapshot_options.xml
#	indra/newview/skins/default/xui/it/panel_snapshot_inventory.xml
#	indra/newview/skins/default/xui/it/panel_snapshot_options.xml
#	indra/newview/skins/default/xui/ja/panel_snapshot_inventory.xml
#	indra/newview/skins/default/xui/ja/panel_snapshot_options.xml
#	indra/newview/skins/default/xui/pl/panel_snapshot_options.xml
#	indra/newview/skins/default/xui/ru/panel_snapshot_options.xml
#	indra/newview/skins/default/xui/zh/panel_snapshot_inventory.xml
#	indra/newview/skins/default/xui/zh/panel_snapshot_options.xml
2025-04-18 19:56:20 +02:00
Andrey Lihatskiy 082c9158b2 Merge branch 'develop' into marchcat/05-develop
# Conflicts:
#	indra/llmath/v2math.cpp
#	indra/llmath/v2math.h
#	indra/llmath/v3math.h
#	indra/llmath/v4math.h
2025-04-17 23:57:00 +03:00
Ansariel 4c6afbbb75 Restore llmath improvements from archived develop branch:
* Make eligible functions constexpr
* Use constants for vector indices where applicable
* Reformat to match actual coding conventions
2025-04-17 19:50:30 +02:00
Beq b460297081 Revert "Merge pull request #103 from Tampa/FIRE-34775"
This reverts commit 0a1b7789c7, reversing
changes made to e001d0f6e1.
2025-04-16 22:33:12 +01:00
Beq Janus 0a1b7789c7
Merge pull request #103 from Tampa/FIRE-34775
FIRE-34775: For OpenSim switch back to PST/PDT
2025-04-16 21:56:31 +01:00