Commit Graph
53331 Commits
Author SHA1 Message Date
Hecklezz edb294a8fe Use the marketplace floater when a SL Marketplace URL is clicked
Signed-off-by: Hecklezz <tj8@live.com.au>
2026-01-05 21:59:46 +02:00
Rye 23bfecf0b1 Further optimize unregistration of loading meshes via std::unordered_set
This container type is better suited to the repeated find and erase patterns used here.

Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-05 20:45:57 +02:00
Cosmic Linden 24dccc4015 secondlife/viewer#2623: Remove assert
Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-05 20:45:57 +02:00
Cosmic Linden 4f70d8c830 secondlife/viewer#2462: Optimize unloading of prims
Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-05 20:45:57 +02:00
Alexander Gavriliuk 11e16d5ae7 #2902 Additional lines are displayed from one corner of the region 2026-01-05 20:39:43 +02:00
Alexander Gavriliuk 852e31b6ff secondlife/viewer#2674 Optimize LLWorld::renderPropertyLines() - use vertexBatchPreTransformed() 2026-01-05 20:39:43 +02:00
Alexander Gavriliuk 010d5dcd1f secondlife/viewer#2674 Optimize LLWorld::renderPropertyLines() - use simplified lines 2026-01-05 20:39:43 +02:00
Rye 112f9b9e22 Remove unused boost::hash specialization from LLPointer and update std::hash specialization to use std::hash internally
Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-05 19:34:44 +02:00
Nat Goodspeed 9d684bc924 Migrate ~LLPointer()'s peculiar warning case to llpointer.cpp.
This allows removing #include "llerror.h" from llpointer.h.
Also remove #include "llmutex.h" as a heavy way to get
<boost/functional/hash.hpp>.

That requires adding #include "llmutex.h" to llimage.h, llnotifications.h,
llwatchdog.cpp and llvolumemgr.cpp, which were inheriting it from llpointer.h.
2026-01-05 19:34:44 +02:00
Nat Goodspeed bedd3da7c6 Explain why apparently redundant LLPointer methods are necessary.
Given templated constructors and assignment operators, it's tempting to remove
specific constructors and assignment operators with the same LLPointer<Type>
parameters. That turns out to be a mistake. Add comments to warn future
maintainers.
2026-01-05 19:34:44 +02:00
Nat Goodspeed 3fc5b69b2a Use copy-and-swap idiom for LLPointer's assignment operators.
This affords strong exception safety. Also, eliminating the conditional may
improve speed.
2026-01-05 19:34:44 +02:00
Nat Goodspeed a3ef0fa354 LLConstPointer<T> is the same as LLPointer<const T>.
Instead of restating the whole class, requiring changes to be made in parallel
(which has already failed), just make a template alias.
2026-01-05 19:34:44 +02:00
Nat Goodspeed e53f507162 Make LLPointer equality comparisons accept not-identical types.
That is, both `LLPointer::operator==()` and `operator!=()` and the free function
`operator==()` and `operator!=()` now accept pointer types other than the type
of the subject `LLPointer`, letting the compiler apply implicit pointer
conversions or diagnose an error.
2026-01-05 19:34:44 +02:00
dependabot[bot] 5ac851aad2 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 18:25:53 +02:00
Rye 647b26d7b7 Optimize away repeated map finds for getParameterEntry* functions via pointers
Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-05 18:24:37 +02:00
Rye 47b8fb780e secondlife/viewer#5007 Fix alpha debug overlay blend and mask conflict and alpha debug overlay rendering twice
Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-05 17:17:30 +02:00
Alexander Gavriliuk d53f385fae secondlife/viewer#3322 No confirmation is shown when gifting all your money 2026-01-05 16:45:45 +02:00
Maxim Nikolenko 7c1bf6b300 #5171 restore correct selection after clicking Cancel in Preferences 2025-12-23 14:36:53 +02:00
Maxim Nikolenko 26dadadd93 #5111 change notification type from modal to alert 2025-12-18 19:53:18 +02:00
Andrey Kleshchev 987ae62577 #5164 Adjust the 12 hour Time Format 2025-12-17 17:29:05 +02:00
Maxim Nikolenko 62e19da404 #5121 crash at getShowFolderState 2025-12-17 12:34:01 +02:00
Andrey Kleshchev 96e0662f2c #5159 Fix Animated textures freeze
Negative near zero radius was resulting in 0 return.
Might need to cover negative values in general.
2025-12-17 11:00:53 +02:00
Andrey Kleshchev cd3f6f1e5b #4945 Crash at renderMorphMasks
Logs suggest it's an out of memory issue.
2025-12-16 13:13:48 +02:00
Andrey Kleshchev f4eec813a3 #5148 Crash cleaning LLVOCache 2025-12-12 18:13:24 +02:00
Andrey Kleshchev 44e4177902 #2069 Activate group option in Group 2025-12-12 18:13:24 +02:00
Rye 149f223559 Remove dead llkeyframemotionparam and llstatemachine from llcharacter
Signed-off-by: Rye <rye@alchemyviewer.org>
2025-12-11 19:37:59 +02:00
Roxanne Skelly 380da09508 Fix failure to reconnect after disconnect and occasional dropout issue (#5126)
* Fix failure to reconnect after disconnect and occasional dropout issue

We were occasionally seeing dropouts which may have been caused by ICE
renegotiate requests.  The code is there to reconnect in that case,
but there were a few bugs, some of which were likely due to the webrtc upgrade.

Also, we were seeing failures to reconnect after voice server restart.

There were some issues with the PTT button that came up after the above issue was fixed.

* We need to set mute state for p2p/adhoc/group calls as well
2025-12-10 19:00:16 -08:00
Andrey Kleshchev c92b0b74cb Revert #4899 "Add more functionality to LLFile and cleanup LLAPRFile"
Interferes with linux work, will be moved to a different branch and applied separately.
2025-12-11 01:42:52 +02:00
Zi Ree dbbce566e7 #5138 fix multi column comboboxes not honoring width parameter 2025-12-10 21:37:24 +02:00
Andrey Kleshchev c0043a9951 #5138 Added test case for multiple columns in a combo box 2025-12-10 21:35:31 +02:00
Andrey Kleshchev f48be9ff9b p#512 Block ability to accidentaly purge Inventory items outside of trash
Purge menu is trash specifc and shouldn't touch other items
2025-12-10 21:20:52 +02:00
fmartianandCopilot c894a74d18 Fix typo found by Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 20:33:58 +02:00
Frederick Martian 88b6765dd9 Generate error if the asset upload is bigger than INT_MAX as recommended by Copilot 2025-12-10 20:33:58 +02:00
Frederick Martian 4153d67683 Make function documentation more clear about the negative offset value.
Improve error checking inside function and add comment about not updating the seek pointer when an offset of 0 is specified
2025-12-10 20:33:58 +02:00
fmartianandCopilot 9aff5ff403 Update indra/test/llfile_tut.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 20:33:58 +02:00
fmartianandCopilot 71721b8c1c Update indra/llcommon/llfile.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 20:33:58 +02:00
Frederick Martian 2c8f8fd6b4 Fix typo and check for valid opened file 2025-12-10 20:33:58 +02:00
Frederick Martian 23a3cdddee Add header include for apr_signal.h that was removed from llapr.h as it was not neededanywhere else 2025-12-10 20:33:58 +02:00
Frederick Martian 0fed0bfe33 Remove chatty warning message when checking for existence of a file 2025-12-10 20:33:58 +02:00
Frederick Martian c2898f7ca1 Improve comment and remove superfluous error_code check 2025-12-10 20:33:58 +02:00
Frederick Martian 8edaa00c73 Cleanup unused LLAPRFile functions 2025-12-10 20:33:58 +02:00
Frederick Martian 2438854ea3 Incorporate some of the comment improvements suggested by Copilot and make LLFile::size() return -1 on error and adjust the callers to account for that. 2025-12-10 20:33:58 +02:00
Frederick Martian e0c5fc80c7 Remove commented out old function calls 2025-12-10 20:33:58 +02:00
Frederick Martian fe61aa3c85 Fix several typos and comments 2025-12-10 20:33:58 +02:00
Frederick Martian 15f9886ee7 The returned vector should only contain filenames, not the entire paths 2025-12-10 20:33:58 +02:00
Frederick Martian 13a3cf92ca - Improve documentation of LLFile functions and methods
- Improve error handling in LLFile::read(), LLFile::write() and LLFile::copy()
- Improve LLFileSystem::getFileSize() to work with the extra possibility of LLFile::size() returning -1 on error
- Replace LLAPRFile:readEx() and LLAPRFile::writeEx() with according LLFile functions
2025-12-10 20:33:58 +02:00
Frederick Martian 62e08e13d0 Add LLFile unit tests
Initial implementation of unit tests for LLFile functionality
2025-12-10 20:33:58 +02:00
Frederick Martian f07762a468 Refactoring of LLFile class to support additional methods
- LLFile with its own class method interface to access files for read and write
- Remove rudimentary LLUniqueFile class as LLFile supports now all of that and more
- Implement most of the filename based functions using std::filesystem functions
- Replace LLFile::rmdir() with LLFile::remove() since this function now supports deleting files and directories on all platforms.
2025-12-10 20:33:58 +02:00
Frederick Martian 9756b4b70b Clarify some documentation and add an LLFile:read() and LLFile::write() static function. These functions will be used to replace LLAPRFile::readEx() and LLAPRFile::writeEx() in an upcoming patch. 2025-12-10 20:33:58 +02:00
Frederick Martian 3ca3ea75c3 Add a new static function LLFile::size() to determine the size of a file_name.
Replace LLAPRFile::remove(), LLAPRFile::size() and LLAPRFile::isExist() with according functions from LLFile and retire these LLAPRFile methods and the never used LLAPRFile::rename(), LLAPRFile::makeDir() and LLAPRFile::removeDir() functions.
Also clean up remarks about the threading safety of the APRCachePool, which is not used in these locations anymore.
2025-12-10 20:33:58 +02:00