summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2023-10-06SL-20396: On second thought, just apply the whole Blinn-Phong transform ↵Cosmic Linden
stack to PBR, but only during texture animations
2023-10-06SL-19826 Fix mac build issue (unused variable)Andrey Lihatskiy
(cherry picked from commit 08a3b56669880101aa705c98e60b76e92d26c93b)
2023-10-06SL-20396: Apply blinn-phong rotation to texture translation animations for ↵Cosmic Linden
GLTF materials, for more consistent behavior
2023-10-05SL-18837: When llrand_test.cpp fails, display the failing value.Nat Goodspeed
It's frustrating and unactionable to have a failing test report merely that the random value was greater than the specified high end. Okay, so what was the value? If it's supposed to be less than the high end, did it happen to be equal? Or was it garbage? We can't reproduce the failure by rerunning! The new ensure_in_exc_range(), ensure_in_inc_range() mechanism is somewhat complex because exactly one test allows equality with the high end of the expected range, where the rest mandate that the function return less than the high end. If that's a bug in the test -- if every llrand function is supposed to return less than the high end -- then we could simplify the test logic.
2023-10-04DRTVWR-589: Add tests for LLSD-to-Lua round-trip conversions.Nat Goodspeed
Add from_lua() function to run a small Lua script that constructs a specified Lua object and posts it back to the test program via a temporary LLEventPump. Call this with a variety of Lua objects, comparing to the expected LLSD. Add round_trip() function to run another small Lua script that listens for incoming LLEventPump events and, for each, posts the received Lua data back to the test program as LLSD. Call this with a variety of LLSD objects, comparing to the expected LLSD. Also collect these objects into an LLSD array and send that for a round trip; also collect into an LLSD map and send that. Sadly, tests currently drive an access violation when trying to convert a nested Lua table to LLSD. Add verbose debug logging to lua_tollsd() to identify the context at which we hit the access violation. Add comments describing further exceptions to LLSD-to-Lua round trip identity. Add lua_what() iostream manipulator to stream whatever we can readily discover about a value at a specified Lua stack index. Add lua_stack() to report the contents of the Lua stack. Since the stack is created anew for every call to a C function, this shouldn't usually be enormous. Add hexdump.h with iostream manipulators to dump a byte range as hex digits, or to produce readable text from a mix of printing and nonprinting ASCII characters.
2023-10-04SL-18837: Merge branch 'actions-clean-manifest' into actions.Nat Goodspeed
This branch cleans up crufty code in build.yaml, build.sh and viewer_manifest.py that was packaging, signing and uploading installers before the SL-19242 work.
2023-10-05SL-20348 Focus should be in the chat bar when the Conversations floater is ↵Alexander Gavriliuk
opened
2023-10-04Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559RunitaiLinden
2023-10-04SL-20141 Remove "Local Lights" checkbox and instead make the number of ↵RunitaiLinden
lights rendered scale with the "Quality & speed" slider
2023-10-04SL-20254: Fix blinn-phong alpha of 0 making GLTF materials invisible for ↵Cosmic Linden
non-root prims.
2023-10-04SL-18837: Fix set-but-unreferenced in LLInventoryGallery::startDrag()Nat Goodspeed
2023-10-04Revert "DRTVWR-587: Simplify Python.cmake by omitting find_package(Python3)."Andrey Lihatskiy
2023-10-04SL-20400 Fixed cannot touch objects with "Select Only My Objects"Andrey Kleshchev
2023-10-04Merge branch 'DRTVWR-589' of github.com:/secondlife/viewer-private into ↵Brad Payne (Vir Linden)
DRTVWR-589
2023-10-04SL-18837: Restore setting ViewerManifest.package_file.Nat Goodspeed
This is referenced after running the packaging.
2023-10-04SL-18837: Merge branch 'main' of secondlife/viewer into actionsNat Goodspeed
2023-10-04DRTVWR-589 - restore close_all_swindows()Mnikolenko Productengine
2023-10-03SL-19242: Remove signing and packaging from viewer_manifest.pyNat Goodspeed
for Mac and Windows. That's now done by subsequent jobs in the GitHub build. Remove workflow step to upload installers before signing and packaging jobs. Remove from viewer_manifest.py conditionals for 32-bit Windows or Mac. Also bump to actions/checkout@v4, per dependabot.
2023-10-04MacOS build fixAndrey Kleshchev
2023-10-03Merge branch 'DRTVWR-589' of github.com:/secondlife/viewer-private into ↵Brad Payne (Vir Linden)
DRTVWR-589
2023-10-03DRTVWR-589 - more demo workBrad Payne (Vir Linden)
2023-10-03DRTVWR-589: Clean up from merge from updated main.Nat Goodspeed
2023-10-03SL-17135 Apr process creation crashAndrey Kleshchev
looks like pool regularly gets corrupted, try using separate pool
2023-10-03SL-20341 Close Item Properties on deletionAndrey Kleshchev
2023-10-03SL-20384 Add "play" button into inventory menu.Andrey Kleshchev
2023-10-03SL-20383 Fix scroll locking viewAndrey Kleshchev
2023-10-03SL-20347 Fix structure of localized panel_main_inventoryAndrey Kleshchev
2023-10-03SL-20368 Request outfits using 'links'Andrey Kleshchev
instead of getting items one by one
2023-10-03D559 Post merge fixesAndrey Kleshchev
2023-10-03DRTVWR-589: Merge branch 'main' of viewer-private into DRTVWR-589Nat Goodspeed
2023-10-03Merge branch 'main' into DRTVWR-587-maint-VAndrey Lihatskiy
# Conflicts: # indra/newview/llinventorymodel.cpp # indra/newview/llvovolume.cpp
2023-10-03Merge branch 'main' (DRTVWR-567) into DRTVWR-559Andrey Kleshchev
# Conflicts: # indra/newview/CMakeLists.txt # indra/newview/VIEWER_VERSION.txt # indra/newview/llagent.cpp # indra/newview/llfloaternewfeaturenotification.cpp # indra/newview/llinventorybridge.cpp # indra/newview/llinventorymodel.cpp # indra/newview/lloutfitgallery.cpp # indra/newview/llpanelmaininventory.cpp # indra/newview/llpanelmaininventory.h # indra/newview/llsidepaneltaskinfo.cpp # indra/newview/llsidepaneltaskinfo.h # indra/newview/lltexturectrl.cpp # indra/newview/lltexturectrl.h # indra/newview/llviewerinventory.cpp # indra/newview/llviewerobject.cpp # indra/newview/llviewertexturelist.cpp # indra/newview/llviewertexturelist.h # indra/newview/skins/default/xui/en/floater_new_feature_notification.xml # indra/newview/skins/default/xui/en/menu_inventory.xml
2023-10-03Increment viewer version to 6.6.16Nat Goodspeed
following promotion of DRTVWR-567
2023-10-02SL-20394 Remove "glare" effect from PBR alpha shaders.RunitaiLinden
2023-10-02Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559RunitaiLinden
2023-10-02SL-20124 Wipe reflection probes when applying parcel EEP settings and pause ↵RunitaiLinden
updates on probes until transition completes.
2023-10-02DRTVWR-589: Give up on strongly timing-dependent LLIOPipe test.Nat Goodspeed
2023-10-02DRTVWR-589: Add initial integration test for LLLUAmanager.Nat Goodspeed
The first test runs a Lua script that calls post_on(), listen_events() and await_event() to engage in LLEventPump handshakes with the test program. Make llluamanager.cpp testable by putting LL_TEST conditionals around lots of viewer-internals headers and the lua_function definitions that engage them. Since LuaListener::connect() is called by its constructor, make it a static method that explicitly accepts the lua_State* (instead of finding it as mState). Add that parameter to its two existing calls. Add a debug log message when LuaListener is destroyed. This surfaced the need to pass a no-op deleter when listen_events() constructs a LuaListener::ptr_t. When compiled for LL_TEST, make LuaListener::mReplyPump an LLEventLogProxyFor<LLEventStream> instead of a plain LLEventStream. For debugging purposes, add a type string "LLEventLogProxy" for LLEventPumps::make(). A make() call with this type will return an LLEventLogProxyFor<LLEventStream>.
2023-10-02Fix ssao define in under water light softening shader (#403)Rye Mutt
2023-09-30DRTVWR-589: Emulate print() better, show output on Lua floater.Nat Goodspeed
Break out a lua_print_msg() function common to print_debug(), print_info() and print_warning(). Instead of accepting a single argument, lua_print_msg() accepts arbitrary arguments, passing each to the Lua tostring() function and concatenating the results. In addition to returning the combined string to its caller for level-appropriate logging, it also posts the message to a "lua output" LLEventPump for any interested party. Make LLFloaterLUADebug listen on "lua output" when the floater is constructed, storing the connection in an LLTempBoundListener to stop listening when the floater is destroyed. Append each message to the floater's output panel with a line break. Make LLTextEditor::addLineBreakChar() public. insertText("\n") only appends a little rectangle glyph. Enlarge the text capacity of the floater's output panel to be able to report whatever messages a Lua script wants to print. Add diagnostic logging for posting events from Lua, and receiving events to forward to Lua. Since lua_pop() is a macro implemented on lua_settop(), replace the awkward construct lua_pop(L, lua_gettop(L)) with lua_settop(L, 0). Use lambdas instead of std::bind() to connect LuaListener and LLLeapListener.
2023-09-29SL-20244 On-screen animesh characters that start pelvis offset animations ↵Alexander Gavriliuk
disappear when root goes off-screen
2023-09-29SL-20337 Add tooltips for HDR Scale and Reflection Probe Ambience ↵Andrey Kleshchev
environment sliders
2023-09-28Fix integer overflow when framebuffers are extremely high resolution ↵Rye Mutt
resulting in INT_MAX texture bias (#393)
2023-09-28DRTVWR-589 - support for moving to destMnikolenko Productengine
2023-09-28DRTVWR-589: Call lua_pushstdstring() correctly.Nat Goodspeed
2023-09-28DRTVWR-589: Merge remote branch 'DRTVWR-589' into DRTVWR-589Nat Goodspeed
2023-09-28DRTVWR-589: Rename post_on_pump() to post_on()Nat Goodspeed
Sprinkle lua_checkstack() calls into functions that push to the Lua stack -- particularly important when traversing nested data structures of unknown depth! Tweak lua_pushllsd() handling of LLSD arrays.
2023-09-28DRTVWR-589: Add Lua-callable await_event() function.Nat Goodspeed
This suspends the calling Lua coroutine (and C++ coroutine on which the Lua state is running) until an event is received on the named LLEventPump. Returns the event. Pass optional timeout in seconds as a second argument. With no timeout, waits indefinitely. Pass optional timeout discriminator return value as a third argument (default nil).
2023-09-28DRTVWR-589: Try to override Lua's built-in print() with print_info()Nat Goodspeed
so Lua print() output will go to the viewer log, instead of getting discarded and possibly causing failures when the buffer fills and there's no open stdout file handle. Also name each Lua C++ coroutine with the description we give the LuaState instance.
2023-09-28DRTVWR-589 - support for rezing primsMnikolenko Productengine