summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-04Update tinyexr package to package based on secondlife/3p-tinyexr.Nat Goodspeed
2024-06-04Merge pull request #1555 from secondlife/lua-timersnat-goodspeed
Add timer support to the Lua viewer
2024-06-04Merge pull request #1626 from ↵cosmic-linden
secondlife/1614-pbr-materials-exhibit-striationmoiré-patterns-in-specular-highlights 1614 pbr materials exhibit striationmoiré patterns in specular highlights
2024-06-04#1614 Fix for moire pattern in specular highlights. Incidental cleanup.RunitaiLinden
2024-06-04Comment the intent of test_timers.luaNat Goodspeed
so the user need not reverse-engineer the code to figure out the output.
2024-06-03Fix a small typoNat Goodspeed
2024-06-03Allow consumer code to query or adjust the per-tick timeslice.Nat Goodspeed
2024-06-03Distinguish TimersListener callers by reply LLEventPump name.Nat Goodspeed
The reqid is only distinct within a particular calling script.
2024-06-03Leverage new leap.eventstream() function in Floater.lua.Nat Goodspeed
2024-05-31Add timers.lua API module and test_timers.lua test program.Nat Goodspeed
Since timers presents a timers.Timer Lua class supporting queries and cancellation, make TimersListener::scheduleAfter() and scheduleEvery() respond immediately so the newly constructed Timer object has the reqid necessary to perform those subsequent operations. This requires that Lua invocations of these operations avoid calling the caller's callback with that initial response. Reinvent leap.generate() to return a Lua object supporting next() and done() methods. A plain Lua coroutine that (indirectly) calls fiber.wait() confuses the fiber scheduler, so avoid implementing generate() as a Lua coroutine. Add a bit more leap.lua diagnostic output.
2024-05-31Tweak for current Lua dbg() convention.Nat Goodspeed
2024-05-31Cherry-pick leap.lua changes; other clean upMnikolenko Productengine
2024-05-31Add leap.eventstream() and cancelreq() functions.Nat Goodspeed
leap.eventstream() is used when we expect the viewer's LLEventAPI to send an immediate first response with the reqid from the request, followed by some number of subsequent responses bearing the same reqid. The difference between eventstream() and generate() is that generate() expects the caller to request each such response, whereas eventstream calls the caller's callback with each response. cancelreq() is for canceling the background fiber launched by eventstream() before the callback tells it to quit. Make WaitFor:close() remove the object from the waitfors list; similarly, make WaitForReqid:close() remove the object from the pending list. For this reason, cleanup() must iterate over a copy of each of the pending and waitfors lists. Instead of unregisterWaitFor() manually searching the waitfors list, use table.find().
2024-05-31Add a bit more dbg() conditional diagnostic output.Nat Goodspeed
2024-05-31Don't check if printf(format) arg is a string.Nat Goodspeed
2024-05-31Explain the name of the LL::WorkQueue::BackJack class.Nat Goodspeed
2024-05-30Add separate minor throttle period for UNTRUSTED_ALLOW funcsMnikolenko Productengine
2024-05-30Merge branch release/luau-scriptingMnikolenko Productengine
2024-05-29 #1581 Only render mirrors when reflection probes are enabled. (#1592)Jonathan "Geenz" Goodman
2024-05-29Merge branch 'release/luau-scripting' into lua-timersNat Goodspeed
2024-05-29Make ~ThreadPool() join every thread before destroying its vector.Nat Goodspeed
Otherwise we fall into the trap of destroying a joinable std::thread, which calls std::terminate() and hence our crash-on-terminate() handler. The previous ~ThreadPool() logic only joined threads if the queue wasn't already closed, but evidently we can reach the destructor with the queue closed but the threads not yet joined. Fixes #1534.
2024-05-29viewer#1568 Revert "SL-17597 AV height in Shape dialog IS WRONG"Andrey Kleshchev
This reverts commit f5a7c22cea16b51db12360436ce64c2433a5aa5f to fix viewer#1568.
2024-05-28Merge remote-tracking branch 'origin/main' into release/materials_featuretteBrad Linden
2024-05-28Improvements to mirror probe update rates (#1570)Jonathan "Geenz" Goodman
#1494 Fix for mirror updates getting "stuck" on some faces.
2024-05-28Merge pull request #1580 from secondlife/v-1531cosmic-linden
secondlife/viewer#1531: Attempt to fix PBR terrain fragment shader
2024-05-28secondlife/viewer#1531: Attempt to fix PBR terrain fragment shader.Cosmic Linden
2024-05-24Merge branch 'release/luau-scripting' into lua-timersNat Goodspeed
2024-05-24Merge pull request #1565 from secondlife/lua-chatplusnat-goodspeed
Nat's ideas from PR #1547
2024-05-24Fix merge glitchesNat Goodspeed
2024-05-24Merge branch 'release/luau-scripting' into lua-chatplusNat Goodspeed
2024-05-24Merge pull request #1562 from secondlife/lua-nearby-chatnat-goodspeed
Mark script messages in compact mode too; code clean up
2024-05-24Nat's ideas from PR #1547Nat Goodspeed
2024-05-24Mark script messages in compact mode too; code clean upMnikolenko Productengine
2024-05-23Merge pull request #1547 from secondlife/lua-nearby-chatMaxim Nikolenko
Add support for sending messages to Nearby chat from Lua script
2024-05-23Remove commented-out methods in a couple LLEventTimer subclasses.Nat Goodspeed
2024-05-23More vestigial whitespace fixesNat Goodspeed
2024-05-23Fix lingering trailing whitespace in llmainthreadtask.h.Nat Goodspeed
2024-05-23Fix lingering trailing whitespace in lleventfilter.cpp.Nat Goodspeed
2024-05-23Fix lingering trailing whitespace in lleventfilter.h.Nat Goodspeed
2024-05-23Merge branch 'release/luau-scripting' of github.com:secondlife/viewer into ↵Nat Goodspeed
lua-timers
2024-05-23Fix test program termination crash.Nat Goodspeed
2024-05-23mac build fixMaxim Nikolenko
2024-05-22Merge pull request #1546 from Ansariel/main-vs-fixAndrey Lihatskiy
Adjust Copy3rdPartyLibs.cmake for Visual Studio 2022 17.10.0 and greater
2024-05-22add throttle for sending messages; add simple demo scriptMnikolenko Productengine
2024-05-22Add support for sending messages to Nearby chat from Lua scriptMnikolenko Productengine
2024-05-22Adjust Copy3rdPartyLibs.cmake for Visual Studio 2022 17.10.0 and greaterAnsariel
2024-05-22WIP: Trying to diagnose and fix test program shutdown crashNat Goodspeed
2024-05-21Merge pull request #1533 from secondlife/mainnat-goodspeed
Merge from main
2024-05-21viewer#1520 Material upload floater displays wrong upload feeAndrey Kleshchev
2024-05-20Merge remote-tracking branch 'origin/main' into release/materials_featuretteBrad Linden