Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-29 | DRTVWR-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-27 | DRTVWR-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-26 | SL-20536: Fix build error C1128. secondlife-bin object file too big. Compile ↵ | Cosmic Linden | |
with /bigobj | |||
2023-10-25 | Removed dead code after merge breaking the build | Brad Linden | |
2023-10-25 | Fix DRTVWR-559 std::array usage in llrender and llprimitive after merge | Brad Linden | |
2023-10-25 | Merge remote-tracking branch 'origin/main' into DRTVWR-559 | Brad Linden | |
2023-10-26 | D587 Post merge fmod issues fix | Andrey Kleshchev | |
2023-10-25 | Post merge build fix | Andrey Kleshchev | |
2023-10-25 | Merge branch 'main' into DRTVWR-587-maint-V | Andrey Lihatskiy | |
2023-10-25 | Increment viewer version to 6.6.17 | Nat Goodspeed | |
following promotion of DRTVWR-578 | |||
2023-10-25 | Merge branch 'main' into DRTVWR-587-maint-V | Andrey Lihatskiy | |
# Conflicts: # autobuild.xml # indra/llcommon/tests/llleap_test.cpp # indra/newview/viewer_manifest.py | |||
2023-10-25 | Merge pull request #471 from secondlife/SL-20065 | cosmic-linden | |
SL-20065: Hack to reduce black spots on shiny water | |||
2023-10-25 | DRTVWR-559 Fix for mac build | Dave Parks | |
2023-10-24 | SL-20065: Hack to reduce black spots on shiny water | Cosmic Linden | |
2023-10-24 | SL-20090 Don't use llassert_always in texture fetching code. | RunitaiLinden | |
2023-10-23 | SL-20456 Fix for probe updates stopping after opening personal lighting or ↵ | RunitaiLinden | |
editing a sky setting. | |||
2023-10-23 | SL-20498 Preserve default probe when resetting reflection probes. | RunitaiLinden | |
2023-10-20 | SL-16661 dmg installer update | Andrey Lihatskiy | |
2023-10-18 | Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 | RunitaiLinden | |
2023-10-18 | SL-20149 Potential fix for crash when unsitting on a reflection probe. Also ↵ | RunitaiLinden | |
fix for assertion in lltexturefetch. | |||
2023-10-17 | Merge branch 'DRTVWR-559' of https://github.com/secondlife/viewer into ↵ | Jonathan "Geenz" Goodman | |
DRTVWR-559 | |||
2023-10-17 | Update settings.xml | Jonathan "Geenz" Goodman | |
SL-20154 | |||
2023-10-17 | Update llmaterialeditor.cpp | Jonathan "Geenz" Goodman | |
SL-20392 | |||
2023-10-17 | Update llmaterialeditor.cpp | Jonathan "Geenz" Goodman | |
SL-20392 | |||
2023-10-17 | Merge branch 'DRTVWR-559' of https://github.com/secondlife/viewer into ↵ | Jonathan "Geenz" Goodman | |
DRTVWR-559 | |||
2023-10-17 | Fix for SL-19283 | Jonathan "Geenz" Goodman | |
2023-10-17 | SL-20461 Don't display 'sky converted to HDR' message when opening water | Andrey Kleshchev | |
2023-10-17 | SL-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-17 | SL-20457 allow creating new items from the right-click context menu | Maxim Nikolenko | |
2023-10-17 | SL-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-16 | SL-18837: Second Life Release.app=>Second Life Viewer.app in tarball | Nat Goodspeed | |
2023-10-16 | SL-18837: Create Second Life Viewer.app, not Second Life Release.app | Nat Goodspeed | |
2023-10-16 | SL-20473 Add GenericStreamingMessage and dummy handler to suppress packet ↵ | RunitaiLinden | |
loss and log spam noise when visiting GLTF enabled regions. | |||
2023-10-16 | Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 | RunitaiLinden | |
2023-10-16 | SL-20258 Fix for LSL spamming new probes into the scene deadlocking probe ↵ | RunitaiLinden | |
updater. Add probe update debug display. | |||
2023-10-16 | SL-20382 Warn when moving no-copy items on drop | Andrey Kleshchev | |
2023-10-13 | Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 | RunitaiLinden | |
2023-10-13 | SL-20448 Fix for worn animesh corrupting octree bounding boxes. | RunitaiLinden | |
2023-10-13 | SL-20464 Don't allow enetring non-unicode material name | Maxim Nikolenko | |
2023-10-13 | Merge pull request #442 from secondlife/SL-20062 | cosmic-linden | |
SL-20062: Fix near clip on reflection probes being clamped to at or below 10 | |||
2023-10-13 | SL-20453 Fix dupplicate items in menu | Andrey Kleshchev | |
Cleanup. Caused by a merge of main(D567) into D559 | |||
2023-10-12 | SL-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-12 | SL-20062: Fix near clip on reflection probes being clamped to at or below 10 | Cosmic Linden | |
2023-10-12 | Merge pull request #427 from secondlife/signal/py312 | nat-goodspeed | |
Add python 3.12 to FindPython search path | |||
2023-10-12 | SL-20436 New accounts that select outfit in web fail to download clothing | Andrey Kleshchev | |
2023-10-12 | SL-20437 Make the "Unable to load material" message a modal notification. | Maxim Nikolenko | |
2023-10-11 | SL-20450: Fix missing LSL keyword INVENTORY_MATERIAL | Cosmic Linden | |
2023-10-11 | SL-20440 Followup -- balance PBR point light with legacy point light | RunitaiLinden | |
2023-10-11 | SL-20440 Followup -- fix for non-normalized vector and balance PBR spotlight ↵ | RunitaiLinden | |
with legacy spotlight | |||
2023-10-11 | SL-20440 Followup -- remove UI for decrufted LOCAL_LIGHT_KILL et al. | RunitaiLinden | |