summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2023-10-30Revert "DRTVWR-587 Bring back the previously reverted change"Andrey Lihatskiy
This reverts commit 9d49edbc48d81f820870d43edb2c975beffa5485.
2023-10-30DRTVWR-587 Bring back the previously reverted changeAndrey Lihatskiy
2023-10-30SL-20541 Reorder radio buttons in Edit tools Texture tab to match order in a ↵Maxim Nikolenko
Material
2023-10-29DRTVWR-587: Fix LL::apply(function, LLSD array).Nat Goodspeed
We define a specialization of LLSDParam<const char*> to support passing an LLSD object to a const char* function parameter. Needless to remark, passing object.asString().c_str() would be Bad: destroying the temporary std::string returned by asString() would immediately invalidate the pointer returned by its c_str(). But when you pass LLSDParam<const char*>(object) as the parameter, that specialization itself stores the std::string so the c_str() pointer remains valid as long as the LLSDParam object does. Then there's LLSDParam<LLSD>, used when we don't have the parameter type available to select the LLSDParam specialization. LLSDParam<LLSD> defines a templated conversion operator T() that constructs an LLSDParam<T> to provide the actual parameter value. So far, so good. The trouble was with the implementation of LLSDParam<LLSD>: it constructed a _temporary_ LLSDParam<T>, implicitly called its operator T() and immediately destroyed it. Destroying LLSDParam<const char*> destroyed its stored string, thus invalidating the c_str() pointer before the target function was entered. Instead, make LLSDParam<LLSD>::operator T() capture each LLSDParam<T> it constructs, extending its lifespan to the lifespan of the LLSDParam<LLSD> instance. For this, derive each LLSDParam specialization from LLSDParamBase, a trivial base class that simply establishes the virtual destructor. We can then capture any specialization as a pointer to LLSDParamBase. Also restore LazyEventAPI tests on Mac.
2023-10-27DRTVWR-587: Skip Visual Studio LLSDParam<const char*> tests for now.Nat Goodspeed
They do work fine on clang... unblocking the rest of the team during diagnosis.
2023-10-26SL-20536: Fix build error C1128. secondlife-bin object file too big. Compile ↵Cosmic Linden
with /bigobj
2023-10-25Removed dead code after merge breaking the buildBrad Linden
2023-10-25Fix DRTVWR-559 std::array usage in llrender and llprimitive after mergeBrad Linden
2023-10-25Merge remote-tracking branch 'origin/main' into DRTVWR-559Brad Linden
2023-10-26D587 Post merge fmod issues fixAndrey Kleshchev
2023-10-25Post merge build fixAndrey Kleshchev
2023-10-25Merge branch 'main' into DRTVWR-587-maint-VAndrey Lihatskiy
2023-10-25Increment viewer version to 6.6.17Nat Goodspeed
following promotion of DRTVWR-578
2023-10-25Merge branch 'main' into DRTVWR-587-maint-VAndrey Lihatskiy
# Conflicts: # autobuild.xml # indra/llcommon/tests/llleap_test.cpp # indra/newview/viewer_manifest.py
2023-10-25Merge pull request #471 from secondlife/SL-20065cosmic-linden
SL-20065: Hack to reduce black spots on shiny water
2023-10-25DRTVWR-559 Fix for mac buildDave Parks
2023-10-24SL-20065: Hack to reduce black spots on shiny waterCosmic Linden
2023-10-24SL-20090 Don't use llassert_always in texture fetching code.RunitaiLinden
2023-10-23SL-20456 Fix for probe updates stopping after opening personal lighting or ↵RunitaiLinden
editing a sky setting.
2023-10-23SL-20498 Preserve default probe when resetting reflection probes.RunitaiLinden
2023-10-20SL-16661 dmg installer updateAndrey Lihatskiy
2023-10-18Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559RunitaiLinden
2023-10-18SL-20149 Potential fix for crash when unsitting on a reflection probe. Also ↵RunitaiLinden
fix for assertion in lltexturefetch.
2023-10-17Merge branch 'DRTVWR-559' of https://github.com/secondlife/viewer into ↵Jonathan "Geenz" Goodman
DRTVWR-559
2023-10-17Update settings.xmlJonathan "Geenz" Goodman
SL-20154
2023-10-17Update llmaterialeditor.cppJonathan "Geenz" Goodman
SL-20392
2023-10-17Update llmaterialeditor.cppJonathan "Geenz" Goodman
SL-20392
2023-10-17Merge branch 'DRTVWR-559' of https://github.com/secondlife/viewer into ↵Jonathan "Geenz" Goodman
DRTVWR-559
2023-10-17Fix for SL-19283Jonathan "Geenz" Goodman
2023-10-17SL-20461 Don't display 'sky converted to HDR' message when opening waterAndrey Kleshchev
2023-10-17SL-20476: Don't let the compiler know we intend to crash.Nat Goodspeed
clang has gotten smart enough to recognize an inline attempt to store to address zero. Fool it by storing to an address passed as a parameter, and pass nullptr from a different source file.
2023-10-17SL-20457 allow creating new items from the right-click context menuMaxim Nikolenko
2023-10-17SL-18837: Avoid stuffing build number into 32-bit int.Nat Goodspeed
Even though LLVersionInfo::getBuild() already returns a 64-bit int, various consumers assumed it could fit into 32 bits. It was especially bad to pass it to a classic C style varargs function. Only on a little-endian CPU, and only because it was the last argument, the damage was limited to truncation -- instead of arbitrary undefined behavior. Where the consumer doesn't support 64-bit ints, pass as string instead.
2023-10-16SL-18837: Second Life Release.app=>Second Life Viewer.app in tarballNat Goodspeed
2023-10-16SL-18837: Create Second Life Viewer.app, not Second Life Release.appNat Goodspeed
2023-10-16SL-20473 Add GenericStreamingMessage and dummy handler to suppress packet ↵RunitaiLinden
loss and log spam noise when visiting GLTF enabled regions.
2023-10-16Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559RunitaiLinden
2023-10-16SL-20258 Fix for LSL spamming new probes into the scene deadlocking probe ↵RunitaiLinden
updater. Add probe update debug display.
2023-10-16SL-20382 Warn when moving no-copy items on dropAndrey Kleshchev
2023-10-13Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559RunitaiLinden
2023-10-13SL-20448 Fix for worn animesh corrupting octree bounding boxes.RunitaiLinden
2023-10-13SL-20464 Don't allow enetring non-unicode material nameMaxim Nikolenko
2023-10-13Merge pull request #442 from secondlife/SL-20062cosmic-linden
SL-20062: Fix near clip on reflection probes being clamped to at or below 10
2023-10-13SL-20453 Fix dupplicate items in menuAndrey Kleshchev
Cleanup. Caused by a merge of main(D567) into D559
2023-10-12SL-18837: Unify all llrand_test.cpp in-range tests.Nat Goodspeed
The header file documents that no llrand function should ever return a value equal to the passed extent, so the one test in llrand_test.cpp that checked less than or equal to the high end of the range was anomalous. But changing that to an exclusive range means that we no longer need separate exclusive range and inclusive range functions. Replace ensure_in_range_using(), ensure_in_exc_range() and ensure_in_inc_range() with a grand unified (simplified) ensure_in_range() function.
2023-10-12SL-20062: Fix near clip on reflection probes being clamped to at or below 10Cosmic Linden
2023-10-12Merge pull request #427 from secondlife/signal/py312nat-goodspeed
Add python 3.12 to FindPython search path
2023-10-12SL-20436 New accounts that select outfit in web fail to download clothingAndrey Kleshchev
2023-10-12SL-20437 Make the "Unable to load material" message a modal notification.Maxim Nikolenko
2023-10-11SL-20450: Fix missing LSL keyword INVENTORY_MATERIALCosmic Linden