summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-18DRTVWR-564: Add LL::apply(): call function, passing args from tuple.Nat Goodspeed
This anticipates C++17's std::apply(), and in fact once we detect C++17, we'll just use that. But in C++14 we must still provide our own implementation.
2022-06-15DRTVWR-564: Merge branch 'pick-eventapi' into lazy-eventpumpNat Goodspeed
to pick up generalized LLEventAPI add() methods and softer error handling.
2022-06-15DRTVWR-558: Generalize LLEventDispatcher::add() constraints.Nat Goodspeed
Instead of checking whether an add() parameter is exactly LLSD or LLSDMap, check whether it's convertible to LLSD -- which handles those cases and more. (cherry picked from commit fa168c11f64771dadc5df86d14ca2f07eba3b8ba)
2022-06-15DRTVWR-558: LLEventAPI allows all LLEventDispatcher add() overloads.Nat Goodspeed
Previously, LLEventAPI intentionally hid all but one of the many add() overloads supported by its LLEventDispatcher base class. The reason was that certain of the add() methods take an optional fourth parameter that's an LLSD::Map describing the expected parameter structure, while others take a fourth templated parameter that's an instance getter callable. This led to ambiguity, especially when passed an LLSDMap instance that's convertible to LLSD but isn't literally LLSD. At the time, it was simpler to constrain the add() methods inherited from LLEventDispatcher. But by adding new std::enable_if constraints to certain LLEventDispatcher add() methods, we've resolved the ambiguities, so LLEventAPI subclasses can now use any add() overload (as claimed on the relevant Confluence page). LLEventDispatcher comments have always loftily claimed that an instance getter callable may return either a pointer or a reference, doesn't matter. But it does when trying to pass the getter's result to boost::fusion::push_back(): a reference must be wrapped with std::ref() while a pointer cannot be. std::ref(pointer) produces errors. Introduce LLEventDispatcher::invoker:: bindable() overloads to Do The Right Thing whether passed a pointer or a reference. (cherry picked from commit 743f487c2e123171c9fc6d5b84d768f1d856d569)
2022-06-15DRTVWR-558: Change LLEventDispatcher error action (also LLEventAPI).Nat Goodspeed
Originally the LLEventAPI mechanism was primarily used for VITA testing. In that case it was okay for the viewer to crash with LL_ERRS if the test script passed a bad request. With puppetry, hopefully new LEAP scripts will be written to engage LLEventAPIs in all sorts of interesting ways. Change error handling from LL_ERRS to LL_WARNS. Furthermore, if the incoming request contains a "reply" key, send back an error response to the requester. Update lleventdispatcher_test.cpp accordingly. (cherry picked from commit de0539fcbe815ceec2041ecc9981e3adf59f2806)
2022-06-15DRTVWR-564: WIP: add LLEventPumps::registerPumpFactory()Nat Goodspeed
and registerTypeFactory(). Untested. This will support registering just-in-time LLEventAPI instances, instantiated on demand.
2022-05-25Increment viewer version to 6.6.1Nat Goodspeed
following promotion of DRTVWR-546
2022-05-19SL-17451 Fix for erroneous attempt to apply vertex color alpha to texture ↵Dave Parks
before alpha masking (we don't actually support this and the vertex color alpha is sometimes zero when you think it ought not be).
2022-05-18SL-17449 Fix for Alexa's hairDave Parks
2022-05-18SL-17417 Fix for incorrect reflection orientation on fullbright prims.Dave Parks
2022-05-17Merge branch 'DRTVWR-546' of ssh://bitbucket.org/lindenlab/viewer into ↵Dave Parks
DRTVWR-546
2022-05-17SL-17421 Fix for fullbright alpha mask shader ignoring vertex alphaDave Parks
2022-05-17SL-17415 Movement of scripted attached objects is no longer interpolated.Andrey Kleshchev
2022-05-16SL-17417 Fix for incorrect reflection orientation on some moving child prims.Dave Parks
2022-05-11SL-17356 Viewer changes for Premium Plus supportAndrey Lihatskiy
2022-05-10SL-17376 Do not fail build if vcruntime140_1 is missingAndrey Kleshchev
If there is no vcruntime140_1 in the build system, it is likely that file is not required for the viewer to run.
2022-05-09SL-17376 Fix viewer failing due to missing vcruntime140_1Andrey Kleshchev
2022-05-06SL-17375 Crash at LLViewerOctreeEntry::getSpatialExtents()Andrey Kleshchev
access violation, 'this' was null
2022-05-05SL-17244 Fix 'empty leaf' crashesAndrey Kleshchev
2022-05-04Merge branch master (D550) into DRTVWR-546Andrey Kleshchev
# Conflicts: # indra/newview/llappviewer.h
2022-05-04Increment viewer version to 6.5.6Nat Goodspeed
following promotion of DRTVWR-550
2022-05-02SL-17321 Fix for some particle systems with custom blend functions not ↵Dave Parks
rendering.
2022-04-29SL-17124 make sure window thread wakes up to proces 'quit' messageAndrey Kleshchev
2022-04-29SL-17124 switchContext and loadShaderFile crashesAndrey Kleshchev
- Do not try initializing shaders if requirements are not met or if window does not exist - Warn user before closing window. Situation is unexpected, there is chance of more issues, like a freeze or a crash on close() - mHasMultitexture is a solid requirement, if it is not present, we won't be able to run
2022-04-28SL-16721 Crash at LLVOAvatar::idleUpdateMiscAndrey Kleshchev
2022-04-28SL-17301 FIXED Friends are not showing in friendslistMnikolenko Productengine
2022-04-26SL-17276 Potential fix for crash on shutdown on mac.Dave Parks
2022-04-26SL-17086 Fix for bad lighting in upload preview render.Dave Parks
2022-04-25SL-17239 Override face bounding box with avatar bounding box for rigged ↵Dave Parks
meshes when calculating virtual size.
2022-04-25SL-17223 fix unit tests with new method stub implementationBrad Kittenbrink
2022-04-25SL-17236 For real this time, maintain legacy draw order of alpha rigged ↵Dave Parks
meshes, batching be damned.
2022-04-25Fix for SL-17223 save mfa_hash protected store immediately so it doesn't get ↵Brad Kittenbrink
lost in case of crash
2022-04-21SL-17040 Crash due to LLWord not existingAndrey Kleshchev
LLWord should persist till the end due to wide usage.
2022-04-21SL-17159 Crash initializing LLInstanceTrackerPrivateAndrey Kleshchev
2022-04-19Restored SL-15400, it got lost in an automatic mergeAndrey Kleshchev
Pausing clouds should not pause water
2022-04-18Merge branch master (D540) into DRTVWR-546Andrey Kleshchev
# Conflicts: # indra/llcommon/llsdutil.cpp # indra/newview/VIEWER_VERSION.txt # indra/newview/lldrawpoolalpha.cpp # indra/newview/lldrawpoolwater.cpp
2022-04-18Merge remote-tracking branch 'origin/master' into DRTVWR-550-mfaBrad Kittenbrink
2022-04-18Increment viewer version to 6.5.5Nat Goodspeed
following promotion of DRTVWR-540
2022-04-15SL-16831 Don't wait for an updater on login failure unles it's the cause of ↵Andrey Kleshchev
failure
2022-04-11SL-17194 Impostor quality pass 2 (and fix for fully transparent rigged ↵Dave Parks
attachments rendering to depth buffer)
2022-04-11Merge branch 'DRTVWR-546' of ssh://bitbucket.org/lindenlab/viewer into ↵Dave Parks
DRTVWR-546
2022-04-11SL-17173 Impostor quality pass.Dave Parks
2022-04-11SL-17182 FIXED Viewer crashes after changing the environment settingsMnikolenko Productengine
2022-04-07SL-16907 Crash at updateSkinInfoMatrixPalette #2Andrey Kleshchev
2022-04-07SL-17092 Fix a gesture upload crashAndrey Kleshchev
2022-04-06SL-17160 Ignore "getIsAlphaMask" on rigged faces.Dave Parks
2022-04-05Merge remote-tracking branch 'origin/SL-16950' into DRTVWR-540-maintAndrey Lihatskiy
2022-04-01SL-17121 Fix error threshold valueAndrey Kleshchev
2022-04-01SL-17121 Adjust uploader for possible 0 input.Andrey Kleshchev
2022-04-01SL-17121 Revert "SL-15940 Remove ability to set zero triangle limit"Andrey Kleshchev
This reverts commit b45c0e3ed926270e100271f33885b8d31085a858.