Commit Graph

51290 Commits (dc2aab4ee42e4e7ecf14d475b803446fee422cbb)

Author SHA1 Message Date
Andrey Lihatskiy dc2aab4ee4
Merge pull request #2085 from RyeMutt/crash-fixes
Fix various nullptr crashes
2024-07-22 18:54:09 +03:00
Rye Mutt 15877bf396 Whitespace fix 2024-07-22 11:03:11 -04:00
Rye Mutt d1e8e8d24d Fix nullptr crash in LLFloaterIMContainer::onAddButtonClicked 2024-07-22 11:02:31 -04:00
Rye Mutt dbc7704a4a Fix null region pointer crash in LLIMView 2024-07-22 11:02:09 -04:00
Rye Mutt baca6ae980 Fix nullptr crash in LLInvFVBridge::getClipboardEntries 2024-07-22 11:01:24 -04:00
Rye Mutt 177a21d072 Fix nullptr crash in LLLandmarksPanel::canItemBeModified 2024-07-22 11:00:58 -04:00
Rye Mutt fdc0e14c1b Fix nullptr crash in LLLandmarksPanel::isActionEnabled 2024-07-22 11:00:37 -04:00
Rye Mutt d609cbaf54 Fix nullptr crash in LLInventoryPanel::itemChanged 2024-07-22 10:59:59 -04:00
Rye Mutt 3bd774894f Fix nullptr crash in handleVSyncChanged 2024-07-22 10:59:35 -04:00
Rye Mutt 75799eb22b Fix crash in LLViewerWindow::handleDragNDrop 2024-07-22 10:59:07 -04:00
Rye Mutt e1c8126d15 Fix nullptr crash in LLScrollListCtrl::getSelectedItemLabel 2024-07-22 10:58:33 -04:00
Andrey Lihatskiy 75fb5c0d5e
Update llca to 202407221423.0 (#2084) 2024-07-22 17:41:51 +03: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
Andrey Lihatskiy 3c7fc595fa
Merge pull request #2078 from RyeMutt/fix-rare-shutdown-crashes
Fix two rare shutdown crashes in gCacheName and gObjectList
2024-07-22 15:30:48 +03:00
Rye Mutt 7ebbc58ae3
Cache various frequently accessed settings (#2080) 2024-07-22 15:29:35 +03:00
Rye Mutt 8a3c9a0b9d Introduce scroll wheel support to LLComboBox 2024-07-22 15:08:04 +03:00
Rye Mutt 3013424057 Fix rare shutdown crash in gCacheName 2024-07-21 20:10:21 -04:00
Rye Mutt 7d2cd036ea Fix rare shutdown crash in LLViewerObjectList 2024-07-21 20:10:02 -04:00
Rye Mutt 3887404678
Add newer MSVC redist libs to copy action (#2075) 2024-07-21 00:49:22 +03:00
TommyTheTerrible bffd4a12b8
calcDataSizeJ2C adjusted to use maximum possible components (#2073)
Previous pyramid walking calculation (#2032) assumed the incoming components variable can be accurate but unfortunately the needs_aux is only set to true if the face has an alpha mask setting.

Without this information we must assume the J2C files have the maximum component size of four so that alpha channels are found when decoding both the color and aux textures.
2024-07-20 13:37:23 +03:00
Brad Linden ba7e982e68
Merge pull request #1996 from secondlife/davep/fix_tracy_build
Fix for tracy build.
2024-07-19 17:00:01 -07:00
Andrey Kleshchev 54c15a7054 viewer#1923 Fix dependent floater going too far from parent 2024-07-19 19:59:32 +03:00
Alexander Gavriliuk f0d7ccdbe0 #2053 BugSplat Crash #1494325: LLVOVolume::getReflectionProbeNearClip() 2024-07-19 13:07:26 +02:00
Rye Mutt b0e249d5ae
Enable SSE2 instruction support in glm for optimized codegen (#2066) 2024-07-19 14:00:38 +03:00
Andrey Kleshchev 951ce0ad36 viewer#2061 Crash in ~LLScriptEdCore() 2024-07-18 18:49:43 +03:00
Andrey Kleshchev ace506cc8a viewer#1997 Warn user if closing appearance with unsaved changes 2024-07-18 14:07:01 +03:00
Ayane 87b5ecf565
Fixes bad upload quality issue with OpenJPEG (#2054) 2024-07-18 10:48:47 +03:00
Ansariel Hiller 6535ce51fd
Remove unnecessary code and (re-)add some more compile time constants (#2057) 2024-07-18 10:48:24 +03:00
Alexander Gavriliuk ef9a494134 #1500 Better out of disk space handling 2024-07-18 09:42:59 +02:00
Andrey Lihatskiy 88f52f1b90 Fix trailing whitespaces in webrtc code to pass pre-commit 2024-07-18 10:41:09 +03:00
Alexander Gavriliuk 2f52fecaab #2051 BugSplat Crash #1495268: LLVOAvatar::updateRiggingInfo() 2024-07-18 09:39:13 +02:00
Alexander Gavriliuk e30ff8ad07 #2029 OSMessageBoxWin32 shows message box behind the viewer window 2024-07-18 09:38:22 +02:00
Andrey Kleshchev e3a7ad3d35 viewer#2027 Cannot apply PBR Materials on larger linksets
Split updates into batches that respect server update limit
2024-07-18 06:37:11 +03:00
Brad Linden 5482d6a92f Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into develop
# Conflicts:
 #	autobuild.xml
2024-07-17 14:37:46 -07:00
Brad Linden 3e4b23539c Merge remote-tracking branch 'origin/release/webrtc-voice' into release/2024.06-atlasaurus
# Conflicts:
 #	autobuild.xml
 #	indra/newview/llvoicechannel.cpp
2024-07-17 14:35:17 -07:00
Brad Linden 6f128ece08 Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into develop 2024-07-17 14:31:58 -07:00
Brad Linden b054f8db0c Merge remote-tracking branch 'origin/release/webrtc-voice' into develop
# Conflicts:
 #	autobuild.xml
2024-07-17 14:31:09 -07:00
Andrey Kleshchev 781cbae21b viewer-private#251 Fixed state of folder creation in marketplace 2024-07-17 22:27:51 +03:00
Alexander Gavriliuk 9549836876 #2036 BugSplat Crash #1494874: LLScrollingPanelList::updatePanelVisiblilty()(220) 2024-07-17 15:17:29 +02:00
TommyTheTerrible 2f83b0aed2
Fix: Update calcDataSizeJ2C to pyramid-base file size estimation (#2032)
* Fix: Update calcDataSizeJ2C to pyramid-base file size estimation

Used the loop from the previous LayerFactored method to create a more accurate file size estimation by walking up the pyramid tiles.

Sizes are much larger in many cases and eliminate partial decoder issues with OpenJPEG.

KDU not tested but expected to produce better files as well.

Should also stop decode failures on tiny or very rectangular dimensions.



---------

Co-authored-by: Andrey Lihatskiy <alihatskiy@productengine.com>
2024-07-17 04:02:57 +03:00
Ayane bd0baebb6e
Raised the 512x512 limitation for uploading snapshots to inventory to 2048x2048 (#2025) 2024-07-17 02:47:22 +03:00
Alexander Gavriliuk b05ab692ba #2039 BugSplat Crash #1494687: LLPipeline::calcNearbyLights(LLCamera&) 2024-07-16 18:27:03 +02:00
Alexander Gavriliuk 631379cbc0 #2034 BugSplat Crash #1494883: LLCullResult::clear(3983) 2024-07-16 17:41:35 +02:00
Andrey Kleshchev c8310aaea2 viewer#2006 Fixed terrain textures not updating in the "Region/Estate" floater 2024-07-16 10:17:50 +03:00
Andrey Kleshchev 72605e75b7 viewer#1975 Fixed "Allow Land Resell" option not switching 2024-07-16 10:16:35 +03:00
TommyTheTerrible 27a2531c5b
Fix: Stop textures from being set as inactive if still on a face. (#2017)
Textures were being set to Inactive even if still in scene, causing them to be deleted and re-decoded in a loop.
2024-07-14 00:39:09 +03:00
Andrey Kleshchev 4bc5c806c7 viewer#1990 Fixed "Main dictionary" option is switching to the previous value 2024-07-12 19:29:07 +03:00
Zi Ree 934021f324
Make image_list_t iterator const (#2010)
gcc complains about this iterator not being const
2024-07-12 19:17:30 +03:00
Zi Ree af93e58192
Initialize array before use (#2011)
gcc detects usage of this array as uninitialized, so make sure it's initialized. I am not sure if this is a legitimate warning, or if the code guarantees the array gets initialized before use in lines 140-142 and this is a performance optimization.
2024-07-12 19:08:56 +03:00
Andrey Kleshchev becdc46bdc viewer#1988 "Set empty" for controls ignores "Apply to all" 2024-07-12 09:05:36 +03:00