Commit Graph

52317 Commits (479a23af5ed53256d52c93885315478be7a6ad53)

Author SHA1 Message Date
Andrey Lihatskiy 479a23af5e
Update pre-commit hook to v5.0.0 (#4093) 2025-05-16 20:46:18 +03:00
Ansariel Hiller 008c8f7c86
Modernize away possibly missing std::less comparator (#4063) 2025-05-13 15:21:39 +03:00
Jonathan "Geenz" Goodman 4b72e71f23
Merge pull request #4053 from secondlife/andreyk/viewer_4046
#4046 Fix hud vs inworld text color mismatch
2025-05-09 18:12:52 -04:00
Andrey Kleshchev 8fb7dae44b #4046 Fix hud vs inworld text color mismatch
This reverts commit e2cf375179.
Commit e9889ae originaly was meant to fix color mimatch between text and
face, but looks like it is no longer needed and instead adds mismatch
between inworld and hud.
2025-05-09 21:53:05 +03:00
AtlasLinden 84a122db82
Merge pull request #4035 from secondlife/atlas-qaworkflow
Test and resolve qatest.yaml errors
2025-05-08 09:56:15 -07:00
Ansariel Hiller c1255a1ab2
Clean up worldmap: Remove LLCtrlListInterface and reduce number of getChild calls (#4044) 2025-05-08 18:53:54 +03:00
AtlasLinden 147442c240
Adjust install path for new repo name 2025-05-08 06:41:29 -07:00
Ansariel Hiller bb9adf3329
Fix map search bug causing duplicate requests properly (#4037, #4040) 2025-05-07 18:21:53 +03:00
TJ 2c0e90a72d
Fixed World Map Find sending two requests and possibly showing wrong results (#4037, #4038) 2025-05-07 12:48:03 +03:00
AtlasLinden 8c5df1ad9d
Update Windows Build ID step to use pwsh syntax 2025-05-06 12:41:08 -07:00
AtlasLinden 469730f187
Separate Build ID step for each OS 2025-05-06 12:31:18 -07:00
AtlasLinden 2c176c75fc
Resolve qatest.yaml concurrency group error
Error: "The workflow is not valid. .github/workflows/qatest.yaml (Line: 23, Col: 10): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.runner"
2025-05-06 11:02:57 -07:00
AtlasLinden 0fb4e04107
Merge pull request #4031 from secondlife/atlas-qaworkflow
Introduce workflow dispatch, matrix strategy and mac support to qatest.yaml
2025-05-06 08:53:05 -07:00
AtlasLinden 0c7179a921
Merge branch 'develop' into atlas-qaworkflow 2025-05-06 07:40:16 -07:00
AtlasLinden 4bb51a5f27
Add permissions to QA Workflow
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-05-06 06:28:57 -07:00
Ayane a30342a78b
Fix and optimize openjpeg J2C encoder (#4017, #4032) 2025-05-06 15:26:35 +03:00
AtlasLinden f68a5b2363
Introduce workflow dispatch and mac functionality to qatest.yaml
A workflow dispatch has been added in an attempt to not only manually trigger this workflow but to also test this from a different branch without having to first merge to develop.

Also steps have been added to allow this workflow to run on mac runners when added. Mac runner info currently commented out.
2025-05-05 15:08:10 -07:00
Hecklezz efdb86dcbb Fixes fullscreen mode in Windows 11 24H2 2025-05-05 20:27:31 +03:00
Andrey Kleshchev 6e6e105f01 #3317 Fix full screen issue with Windows 11 24H2 2025-05-05 18:30:33 +03:00
TommyTheTerrible 89512d44f8
updateImageDecodePriority - Avoid Long Face Loop (#4019, #4021)
* updateImageDecodePriority - Avoid Long Face Loop

To avoid running a long loop on thousands of faces, some textures were being set to a BOOST level to avoid the updateImageDecodePriority function entirely but this was causing many of them to never be deleted over the course of a user's travels.

Instead of relying on BOOST, this commit changes the logic of the texture channel loop such that the face loop will only run if the number of faces is below the threshold.

To do this, we move the face_count incrementing outside of the face loop into the channel loop and increment it using the getNumFaces function instead.

We then check the face_count against the maximum number of faces we want to check and if it exceeds the number we set the number of faces for the face loop to check down to zero.

This avoids branch prediction misses and the long face loop issue.

Later, if the face_count is above the threshold, we assign the virtual size to the maximum.

I personally believe the max_faces_to_check should be lower than 1024, but I left that value in for continuity. I use 64 faces as my max on my compiled version of the viewer without any noticeable issues for memory use.

* updateImageDecodePriority - Face Loop Increment Swap

Looks like compilers like knowing the incrementing in the for loop information for optimizations and parallelization.

Sorry for the tiny commit.

* updateImageDecodePriority - Suggested Cleanup

Remove trailing white-space.

Co-authored-by: Andrey Lihatskiy <alihatskiy@productengine.com>
2025-05-05 11:52:58 +03:00
TommyTheTerrible ac5d59b939
calcDataSizeJ2C Adjust curve for more than 6 layers (#4018, #4020)
KDU is uploading 2k files with 7 and 8 layers which is shifting the location of discard 1 and 2.

To accommodate, this commit adds a max_layer check based on max_dimension and the MAX_BLOCK_SIZE to allow the extra layers for 2k.

Also shifted the starting size to the MIN_LAYER_SIZE instead of MAX_BLOCK_SIZE's area to allow smaller files to be decoded at discard 5 completely.

Finally able to walk around Fantasy Faire without any gray blobs!
2025-05-05 10:00:36 +03:00
Sekkmer 65d70a8d8f
Fix: ignore *pass-on* counters when detecting left-button grabs (#3990)
LLAgent::leftButtonGrabbed() must report TRUE only when an attachment has
**actually grabbed** the left mouse button (accept = TRUE, pass_on = FALSE), like every other ...Grabbed() function below it
2025-04-29 06:29:52 +03:00
Jonathan "Geenz" Goodman 281c7cf664
Merge pull request #3973 from Hecklezz/improvement/pbr_rpm_and_panel_fixes
[#3972] Implemented Texture Panel Repeats per meter improvements and PBR feature
2025-04-28 17:15:20 -04:00
Hecklezz 1c72cd7e9d Fix uploading small textures with OpenJPEG, and minor logging refactor. 2025-04-29 00:02:16 +03:00
Brad Linden 230244b7ea
Merge pull request #3984 from secondlife/brad/version-increments
Increment viewer version after 2024.05
2025-04-25 11:00:55 -07:00
Brad Linden 7f45eacaf0 Increment viewer version after 2024.05 2025-04-25 10:59:01 -07:00
Brad Linden d6699df8de Increment viewer version after 2025.04 2025-04-25 10:54:47 -07:00
Ansariel Hiller 10a324a103
Reduce cost of joint lookups by reducing string allocations via use of std::string_view and heterogeneous map lookups (#3970) 2025-04-25 20:52:38 +03:00
Brad Linden fb4925d96b Increment viewer version after 2025.03 2025-04-25 10:52:00 -07:00
Hecklezz 56ec95de29 Fix scale values not updating if they were focused and you used repeats per meter 2025-04-25 01:28:41 +10:00
Hecklezz 1970390478 Autofit Blinn Phong normal and specular when using repeats per meter 2025-04-24 23:46:42 +10:00
Hecklezz 3dc6c22401 Implemented PBR repeats per meter 2025-04-24 07:51:04 +10:00
Andrey Lihatskiy 3e5f4fd0c4
Merge pull request #3940 from Ansariel/devleop-picks-improvement
Restore option to change location of existing pick
2025-04-22 20:43:47 +03:00
Ansariel b81be8ed2e Performance improvements and cleanup in llviewerdisplay.cpp
# Conflicts:
#	indra/newview/llviewerdisplay.cpp
2025-04-18 23:44:31 +03:00
Ansariel Hiller ea96f7ac5e More constexpr improvements and cleanup of includes of a deleted header file 2025-04-18 23:23:10 +03:00
Ansariel 85b88f5682 Fix line endings of qatest.yaml 2025-04-18 23:18:32 +03:00
Ansariel Hiller 47015ed0b7 Fix memory leak in LLImageDimensionsInfo (#2679) 2025-04-18 23:10:40 +03:00
Ansariel Hiller 23bc14b4e4 Improve inventory finder floater performance: Don't parse XUI tree each frame (#2640) 2025-04-18 23:10:12 +03:00
Ansariel d6b8628a4f Reduce memory allocations pinging the mainloop timeout 2025-04-18 23:09:51 +03:00
Ansariel fb0332d8ff Merge branch 'devleop-picks-improvement' of https://github.com/Ansariel/viewer into devleop-picks-improvement 2025-04-18 21:18:09 +02:00
Andrey Lihatskiy 4cccf8af43 Restore missing 'override' 2025-04-18 20:36:28 +03:00
Ansariel Hiller b489134119 Restore option to change location of existing pick 2025-04-18 12:19:25 +02:00
Andrey Lihatskiy 8c5d144f99 Fix llhttpdate test on windows and macos (#3909) 2025-04-18 11:57:55 +03:00
Andrey Lihatskiy f029903cd9 Fix '1:angle_between' test failure 2025-04-18 11:57:55 +03:00
Jonathan "Geenz" Goodman c0ecfce26d
Merge pull request #3933 from Ansariel/develop-llui-improvements
Clean up LLUI and fix/add suggestions from VS
2025-04-17 20:09:55 -04:00
Jonathan "Geenz" Goodman 37bbc6faa1
Merge pull request #3932 from Ansariel/develop-snapshot-fixes
Snapshot fixes from archived develop branch
2025-04-17 20:07:29 -04:00
Jonathan "Geenz" Goodman 2fb0abbffb
Merge pull request #3930 from Ansariel/develop-chatentry-improvement
Restore currently entered text in chat entry textbox after going through history with Ctrl-PgUp/PgDown
2025-04-17 20:06:39 -04:00
Jonathan "Geenz" Goodman c73fbed91f
Merge pull request #3929 from Ansariel/develop-cmake-deprecation-warning
Remove obsolete cmake_minimum_required that is lower than the required version in the main CMakeLists.txt
2025-04-17 19:51:43 -04:00
Ansariel Hiller 9c3ce3dec7 Clean up LLUI and fix/add suggestions from VS (#2746)
# Conflicts:
#	indra/llui/lltextbase.h
#	indra/llui/lltexteditor.h
#	indra/llwindow/llwindowsdl.cpp
2025-04-18 01:45:11 +02:00
Ansariel 67d1838cc0 Force snapshot update when opening a snapshot panel and the resolution is "Current Window" to determine correct image size and upload cost 2025-04-18 01:37:16 +02:00