summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-03Remove obsolete Windows package for llphysicsextensions_sourceAnsariel
2024-06-03Fix Windows build following #1613Andrey Lihatskiy
2024-06-03viewer#1583 [Win] Viewer fails to detect more than 4Gb of video memoryAndrey Kleshchev
2024-06-01Fix macOS build errorAnsariel
2024-06-01Re-enable a lot of compiler warnings for MSVC and address the C4267 ↵Ansariel
"possible loss of precision" warnings
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-31Add support for RequestTaskInventory capabilitySalad Dais
The viewer now prefers to load inventory via the capability rather than over the deprecated Xfer system, though both are still supported.
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-30#1596 Fix for GLTF uploads failing after loading from .glb file (#1602)Dave Parks
2024-05-30Merge pull request #1599 from secondlife/1597-fix-gltf-orientation-testcosmic-linden
#1597 Fix for some GLTF transforms not loading properly.
2024-05-30Add separate minor throttle period for UNTRUSTED_ALLOW funcsMnikolenko Productengine
2024-05-30#1597 Fix for some GLTF transforms not loading properly.RunitaiLinden
Also incidental fix for unreachable code error.
2024-05-30Merge pull request #1393 from secondlife/nat/maint-b-testsnat-goodspeed
Turn on LL_TESTS for Maint B.
2024-05-30Merge pull request #1496 from secondlife/nat/catch-test-blown-stacknat-goodspeed
Attempt to diagnose stack overflow in test programs. Also, improve build.yaml logic.
2024-05-30Disable build-time tests on Linux entirely.Nat Goodspeed
Having done that, fall back to default `continue-on-error: false` for all platforms.
2024-05-30Merge branch 'release/maint-b' into nat/maint-b-tests.Nat Goodspeed
2024-05-30Merge branch 'release/maint-b' into nat/catch-test-blown-stack.Nat Goodspeed
Retargeting PR #1496 to Maint B.
2024-05-30Fix a bunch of uninitialized variable warnings that showed up in Visual StudioAnsariel
2024-05-30Merge branch release/luau-scriptingMnikolenko Productengine
2024-05-30Re-enable compiler warning C4800 (performance warning)Ansariel
2024-05-29 #1581 Only render mirrors when reflection probes are enabled. (#1592)Jonathan "Geenz" Goodman
2024-05-29#1530 Increase joint limit for GLTF Assets (#1582)Dave Parks
* Migrate GLTF scene rendering to its own shaders * Add support for ambient occlusion map separate from metallic roughness map (or absent) * Use UBO's for GLTF joints * Better error handling of downloading GLTF assets
2024-05-29viewer#1577 Attachments cannot be detached in performance floaterAndrey Kleshchev
attachment list gets filled with object ids, not attachment ids
2024-05-29Add whitespace changes to .git-blame-ignore-revsBennett Goble
2024-05-29Trim trailing whitespaceBennett Goble
Start trimming trailing whitespace, but limit the blast radius to a handful of file types.
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#1497 Gray out some options for Mirror (Everything)Andrey Kleshchev
Ambiance and Near Clip fields for a Mirror probe should be grayed out for Mirror (Everything)
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-28Fix up llexception.h's cross-platform SEH wrapper.Nat Goodspeed
Introduce AlwaysReturn<void> specialization, which always discards any result of calling the specified callable with specified args. Derive new Windows_SEH_exception from LLException, not std::runtime_error. Put the various SEH functions in LL::seh nested namespace, e.g. LL::seh::catcher() as the primary API. Break out more levels of Windows SEH handler to work around the restrictions on functions containing __try/__except. The triadic catcher() overload now does little save declare a std::string stacktrace before forwarding the call to catcher_inner(), passing a reference to stacktrace along with the trycode, filter and handler functions. catcher_inner() accepts the stacktrace and the three function template arguments. It contains the __try/__except logic. It calls a new filter_() wrapper template, which calls fill_stacktrace() before forwarding the call to the caller's filter function. fill_stacktrace(), in the .cpp file, contains the logic to populate the stacktrace string -- unless the Structured Exception is stack overflow, in which case it puts an explanatory string instead. catcher_inner()'s __except clause passes not only the code, but also the stacktrace string, to the caller's handler function. It wraps the caller's handler function in always_return<rtype>(), where rtype is the type returned by the trycode function. This allows a handler to return a value, while also supporting the void handler case, e.g. one that throws a C++ exception. (This is why we need AlwaysReturn<void>: some trycode() functions are themselves void.) For the dyadic catcher() overload, introduce common_filter() containing the logic to distinguish a C++ exception from any other kind of Structured Exception. The fact that the stacktrace is captured before the filter function is called should permit capturing a stacktrace for a C++ exception as well as for most other Structured Exceptions. As before, the monadic catcher() overload supplies the rethrow() handler, in the .cpp file. Change existing calls from seh_catcher() to LL::seh::catcher().
2024-05-28Remove tinygltf dependency from LL::GLTF (#1541)Dave Parks
* #1535 Image loading/saving support in boost::json driven GLTF parser * #1536 GLB Support in boost::json drvien GLTF parser
2024-05-28viewer#1553 Local PBR materials are not applied to the terrainAndrey Kleshchev
2024-05-27viewer#1573 Crash at updateMovedListAndrey Kleshchev
According to bugsplat data drawablep is null
2024-05-27Try copying the VC++ runtime files from the redistributable package firstAnsariel
2024-05-24Reset memorized Chromium volume and apply temporary volumeMaki
2024-05-24fix "lines starting with tabs found"AiraYumi
2024-05-24Promote seh_catcher() et al. to llexception.{h,cpp} for general use.Nat Goodspeed
2024-05-24viewer#1552 Bake textures could be applied to terrain texturesAndrey Kleshchev
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