Commit Graph

98 Commits (ace3433d4b0d40bf99c7f929acc20e29b50af55c)

Author SHA1 Message Date
Ansariel 51f7e7a7d7 Merge branch 'release/2025.08' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/llfloatermarketplace.cpp
#	indra/newview/llviewermessage.cpp
#	indra/newview/skins/default/xui/en/panel_preferences_move.xml
2025-11-17 23:37:55 +01:00
Andrey Kleshchev f7516a4631 #4918 Crash at LLPluginProcessParent::poll
Bugsplat shows that mutex is null.
It's possible that no instances exist thus mutex wasn't initialized.
2025-10-31 19:13:26 +02:00
Ansariel 1a80805ef8 Merge branch 'release/2025.08' of https://github.com/secondlife/viewer 2025-10-22 13:52:45 +02:00
Andrey Kleshchev 0d5138c1f9 #4839 Crash at LLPluginProcessParent::poll
Missed lock
2025-10-21 20:59:39 +03:00
Ansariel c4333e2222 Merge branch 'develop' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llinventory/llsettingssky.cpp
#	indra/newview/llviewertexturelist.cpp
#	indra/newview/skins/default/xui/en/floater_world_map.xml
2025-06-16 12:55:12 +02:00
Jonathan "Geenz" Goodman a0be1e7dfb
macOS 26 build changes (#4239)
* Fix for VLAs now emitting warnings on Xcode 26, and AGL being removed from the SDK.

Note: there was no warning or notice provided for AGL's removal.

* Whitespace.
2025-06-10 14:15:57 -04:00
Ansariel d49359c086 Merge branch 'release/2025.03' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llaudio/llaudioengine_openal.cpp
#	indra/llui/lltextbox.h
#	indra/newview/llnotificationhandlerutil.cpp
#	indra/newview/llviewertexture.cpp
#	indra/newview/skins/default/xui/de/strings.xml
#	indra/newview/skins/default/xui/es/strings.xml
#	indra/newview/skins/default/xui/fr/strings.xml
#	indra/newview/skins/default/xui/it/strings.xml
#	indra/newview/skins/default/xui/pl/strings.xml
#	indra/newview/skins/default/xui/pt/strings.xml
#	indra/newview/skins/default/xui/ru/strings.xml
#	indra/newview/skins/default/xui/tr/strings.xml
2025-03-08 13:15:21 +01:00
Rye b0bc83800e Fix crash from socket creation failure in media plugin system 2025-03-06 20:57:21 +02:00
Ansariel 44ccbea344 Merge branch 'develop' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/character/avatar_lad.xml
#	indra/newview/llappviewer.cpp
#	indra/newview/lldynamictexture.cpp
#	indra/newview/llface.cpp
#	indra/newview/llmeshrepository.cpp
#	indra/newview/llviewermessage.cpp
#	indra/newview/llvoavatar.cpp
2024-09-17 18:12:46 +02:00
Ansariel 0351cec50e Revert "FIRE-34497 - Bugsplat - crash during shutdown due to null mutex."
This reverts commit a4d6fad698.
2024-09-17 17:15:54 +02:00
Ansariel 8d35ee3029 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2024-09-17 17:12:45 +02:00
Brad Linden e3c3cc636e Fix for crash in LLPluginProcessParent during early shutdown.
fixes secondlife/viewer#2550
2024-09-16 13:14:14 -07:00
Beq a4d6fad698 FIRE-34497 - Bugsplat - crash during shutdown due to null mutex.
This is evidently a race condition, not everyone is crashing and according to LL it does not repro in DeltaFPS (though it does in Atlasaurus for them too). This probably suggests that DeltaFPS just happened to move the race condition needle a little in the right direction.
2024-09-13 23:03:16 +01:00
Ansariel e17c906698 Merge branch 'develop' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/cmake/Copy3rdPartyLibs.cmake
#	indra/newview/llcontrolavatar.cpp
#	indra/newview/lldrawpoolterrain.cpp
#	indra/newview/llmeshrepository.cpp
#	indra/newview/llviewerdisplay.cpp
#	indra/newview/llviewerwindow.cpp
#	indra/newview/llvoavatar.cpp
2024-07-22 20:58:53 +02:00
Rye Mutt ac2f20fc03
Use thread pool to create plugin processes to reduce created/destroyed threads and fix various crashes (#2079) 2024-07-22 16:10:19 +03:00
Brad Linden a1f49564d6 Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into brad/merge-maint-a-to-dev 2024-05-23 11:31:19 -07:00
Ansariel ea5ead6f4a Merge remote-tracking branch 'FS600/master'
# Conflicts:
#	doc/contributions.txt
#	indra/llimage/tests/llimageworker_test.cpp
#	indra/newview/skins/default/xui/de/panel_preferences_graphics1.xml
2024-05-23 18:15:07 +02:00
Ansariel ca63f18bf2 Merge branch 'project/gltf_development' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llimage/tests/llimageworker_test.cpp
#	indra/llmath/llvolume.cpp
#	indra/newview/llenvironment.cpp
#	indra/newview/llfetchedgltfmaterial.cpp
#	indra/newview/llfloaterimagepreview.h
#	indra/newview/llfloaterregioninfo.h
#	indra/newview/llmaniprotate.cpp
#	indra/newview/llselectmgr.h
#	indra/newview/llsurfacepatch.cpp
#	indra/newview/lltexturectrl.cpp
#	indra/newview/lltexturectrl.h
#	indra/newview/llviewerdisplay.cpp
#	indra/newview/llviewerobject.cpp
#	indra/newview/llviewerregion.cpp
#	indra/newview/llviewerwindow.cpp
#	indra/newview/llvoicevivox.cpp
#	indra/newview/llvovolume.cpp
#	indra/newview/pipeline.cpp
#	indra/newview/skins/default/xui/en/notifications.xml
#	scripts/messages/message_template.msg.sha1
2024-05-10 14:12:41 +02:00
RunitaiLinden 7fc5f7e649
#1354 Make coroutines use LLCoros::Mutex instead of LLMutex (#1356)
* #1354 Make coroutines use LLCoros::Mutex instead of LLMutex

* #1354 Fix some more unsafe coroutine executions.

* #1354 Implement changes requested by Nat
2024-05-02 10:57:39 -05:00
Ansariel 5f1a19af72 Merge remote-tracking branch 'LL/marchcat/x-ws-merge'
# Conflicts:
#	autobuild.xml
#	indra/linux_crash_logger/llcrashloggerlinux.cpp
#	indra/newview/llappviewerlinux_api.h
#	indra/newview/llappviewerlinux_api_dbus.cpp
#	indra/newview/llappviewerlinux_api_dbus.h
#	indra/newview/llavatarpropertiesprocessor.h
#	indra/newview/llcallbacklist.cpp
#	indra/newview/llimpanel.h
2024-05-01 12:30:57 +02:00
Andrey Lihatskiy 1b68f71348 #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed 2024-04-29 07:56:09 +03:00
Ansariel 62ffcf193d Merge branch 'release/materials_featurette' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/app_settings/settings.xml
#	indra/newview/llpanelface.h
#	indra/newview/pipeline.cpp
#	indra/newview/skins/default/xui/en/floater_tools.xml
2024-01-26 13:17:18 +01:00
Jonathan "Geenz" Goodman f7f9601567 Got hero probes rendering from the camera.
DRTVWR-583
2023-07-17 15:05:47 -07:00
Ansariel b157ab47c0 Merge branch 'DRTVWR-573-maint-R' of https://github.com/secondlife/viewer
# Conflicts:
#	autobuild.xml
#	indra/newview/llagentui.cpp
#	indra/newview/llcallingcard.cpp
#	indra/newview/llfloateravatarrendersettings.cpp
#	indra/newview/llimview.cpp
#	indra/newview/llimview.h
#	indra/newview/llinventoryfunctions.cpp
#	indra/newview/llpanelmaininventory.cpp
#	indra/newview/skins/default/xui/de/floater_tools.xml
#	indra/newview/skins/default/xui/en/floater_display_name.xml
#	indra/newview/skins/default/xui/en/floater_tools.xml
#	indra/newview/skins/default/xui/es/floater_tools.xml
#	indra/newview/skins/default/xui/ru/floater_tools.xml
2023-01-12 16:56:08 +01:00
Andrey Kleshchev 823dbc8805 SL-18801 Crash at LLPluginProcessParent::pollTick()
Looks like pollTick tried to call an already dead process
2022-12-07 19:33:47 +02:00
Ansariel 9300613edc Merge branch 'DRTVWR-544-maint' of https://bitbucket.org/lindenlab/viewer 2022-06-29 21:57:31 +02:00
Andrey Kleshchev d1265cda36 SL-17425 Crash when closing two dependent floaters
dependent_it in llfloater was not valid after dependent floater removed itself from the list
2022-05-20 01:35:40 +03:00
Ansariel 496156073b Merge branch 'master' of https://vcs.firestormviewer.org/phoenix-firestorm 2021-12-16 18:56:31 +01:00
Andrey Lihatskiy edb6293528 Merge branch 'master' into DRTVWR-530-maint 2021-12-15 21:50:40 +02:00
Ansariel 7bef9a1605 Merge branch 'DRTVWR-530-maint' of https://bitbucket.org/lindenlab/viewer 2021-10-12 13:34:36 +02:00
Andrey Kleshchev 66b5e49a79 SL-16161 Don't process new plugin messages on shutdown #2 2021-10-11 19:26:45 +03:00
Andrey Kleshchev c1943e5efb SL-16161 Don't process new plugin messages on shutdown
Some pending messages might try to update non-existing view or cause a pop up, neither should be avaliable by this point, so just don't process them
2021-10-08 23:56:43 +03:00
Ansariel 1536fdd1c3 Merge branch 'DRTVWR-530-maint' of https://bitbucket.org/lindenlab/viewer 2021-08-24 10:47:18 +02:00
Callum Prentice 8631a7a077 Merge with tip of Master after a Viewer release 2021-07-19 14:35:44 -07:00
Andrey Lihatskiy 3a476a8296 Merge branch 'master' into DRTVWR-530-maint 2021-07-19 22:22:42 +03:00
Ansariel dde3c2c7a8 Merge branch 'DRTVWR-519' of https://bitbucket.org/lindenlab/viewer 2021-06-05 14:03:30 +02:00
Andrey Kleshchev d875f80900 SL-14988 Plugin process creation can cause a notiecable delay 2021-05-25 03:31:50 +03:00
Andrey Kleshchev fa26f5eaa2 SL-14988 Viewer freezes when opening any CEF based window
Don't block main thread if possible
2021-05-24 15:59:52 +03:00
Nat Goodspeed d313d7021f SL-15200: Add LLApp::sleep(duration) methods.
Two sleep() methods: one accepting F32Milliseconds, or in general any LLUnits
time class; the other accepting any std::chrono::duration.

The significant thing about each of these sleep() methods, as opposed to any
freestanding sleep() function, is that it only sleeps until the app starts
shutdown. Moreover, it returns true if it slept for the whole specified
duration, false if it woke for app shutdown.

This is accomplished by making LLApp::sStatus be an LLScalarCond<EAppStatus>
instead of a plain EAppStatus enum, and by making setStatus() call set_all()
each time the value changes. Then each new sleep() method can call
wait_for_unequal(duration, APP_STATUS_RUNNING).

Introducing llcond.h into llapp.h triggered an #include circularity because
llthread.h #included llapp.h even though it didn't reference anything from it.
Removed. This, in turn, necessitated adding #include "llapp.h" to several .cpp
files that reference LLApp but had been depending on other header files to
drag in llapp.h.
2021-05-17 13:37:13 -04:00
Andrey Lihatskiy e275de5a82 SL-13497 Fixed error in logic 2021-02-11 13:00:48 +01:00
Andrey Lihatskiy 661d595967 SL-13497 Fixed error in logic 2021-02-10 22:31:38 +02:00
Beq 49690e5b8b Trap one specific fail code and force refresh of pollset
There may well be others that we should do this for but for now this eliminates the worst offender
2021-02-04 22:12:28 +00:00
Ansariel 52b3bb404c Merge branch 'master' of https://vcs.firestormviewer.org/phoenix-firestorm 2021-01-17 12:38:03 +01:00
Beq 543e5dc1d2 Improve logging of looping apr poll error in slplugin
won't change the issues but it should make the logging sane
2021-01-14 01:57:09 +00:00
Ansariel 187b1e0d6e Merge branch 'DRTVWR-513-maint' of https://bitbucket.org/lindenlab/viewer
# Conflicts:
#	indra/newview/llpanelpermissions.cpp
#	indra/newview/llviewerregion.h
#	indra/newview/llvoavatarself.cpp
#	indra/newview/llvovolume.cpp
#	indra/newview/skins/default/xui/en/menu_attachment_self.xml
#	indra/newview/skins/default/xui/en/menu_avatar_self.xml
#	indra/newview/skins/default/xui/en/menu_viewer.xml
2020-07-09 10:08:42 +02:00
Andrey Kleshchev 52ff68ce51 SL-13497 Sometimes plugin process isn't terminated correctly. 2020-07-06 20:13:01 +03:00
Ansariel 536a3f6c8e Merge viewer-neko 2019-01-18 23:41:21 +01:00
andreykproductengine 26fae750ba SL-10291 Replace apr_mutex with standard C++11 functionality 2019-01-14 22:04:44 +02:00
Nicky 7cc408a5cd Merge. 2018-04-10 12:33:45 +02:00
Nicky ef20e3f523 Replace ARP Mutex and Condition with std::mutx and std::conditional_variable 2018-04-05 12:02:12 +02:00