summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-04Merge pull request #1265 from makidoll/pipewire-linux-volume-catcherAndrey Lihatskiy
Add PipeWire as option for Linux volume catcher
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-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-29viewer#1577 Attachments cannot be detached in performance floaterAndrey Kleshchev
attachment list gets filled with object ids, not attachment ids
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-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-22Tabs to spaces.Nicky
2024-05-22Move Linux specific VolumeCatcherImport into the linux specific files.Nicky
2024-05-22Remove obsolete member mSystemIsVistaOrHigherNicky
2024-05-22Merge remote-tracking branch 'mkd/pipewire-linux-volume-catcher' into ↵Nicky
pipewire-linux-volume-catcher
2024-05-17fix bad indentation and modernise (#1503)Beq Janus
2024-05-17Merge pull request #1505 from secondlife/marchcat/b-mergeAndrey Lihatskiy
Main -> Maint B sync
2024-05-17Merge branch 'main' into marchcat/b-mergeAndrey Lihatskiy
# Conflicts: # .github/workflows/build.yaml # indra/test/test.cpp
2024-05-17Don't try to report a stack trace on stack overflow (sigh)Nat Goodspeed
2024-05-16Merge branch 'main' into nat/catch-test-blown-stack.Nat Goodspeed
2024-05-16Fix test for github.event.inputs.release_run.Nat Goodspeed
2024-05-16Try harder to interpret github.event.inputs.release_run checkbox.Nat Goodspeed
2024-05-16Add diagnostic output to setvar build step.Nat Goodspeed
2024-05-16Try determining which-branch once for all platforms.Nat Goodspeed
2024-05-16Try to fix release_run logic in build.yaml.Nat Goodspeed
2024-05-16Can't reference 'runner' context at job level.Nat Goodspeed
2024-05-16Don't introduce a fourth build (second Linux build)Nat Goodspeed
2024-05-16Set continue-on-error=true so Linux failures don't block.Nat Goodspeed
2024-05-16Linux clang++ doesn't like implicit conversion of extreme ints.Nat Goodspeed
Try specifying the literal constants in the type we're comparing to.
2024-05-16Try turning on Maint B tests: Linux platform overrides with OFF.Nat Goodspeed
2024-05-16Need magic #define for <boost/stacktrace.hpp> on Mac.Nat Goodspeed
2024-05-16On Windows, defend test.cpp against structured exceptions too.Nat Goodspeed
Since August 2023, we've seen occasional GitHub Windows build test runs terminate with 0xC00000FD: stack overflow. We've usually responded by bumping up the default coroutine stack size. On closer examination, it's always llleap_test.cpp that blows up that way -- and llleap_test.cpp doesn't appear to use coroutines at all. So apparently we've been consuming more address space for ALL viewer coroutines without actually addressing the problem. Reset the default coroutine stack size to where it was before we started bumping it up in response to these llleap_test.cpp stack overflow failures. Note that LLCoros already catches and reports Windows structured exceptions, underscoring that the observed stack overflow is not from within a coroutine. While at it, restore the Windows llleap_test.cpp data volume to match Posix. We think the problem that led to reducing that data volume was an APR bug, which we hope has been fixed. Equip test.cpp, the test driver program for all our TUT unit and integration tests, with a Windows structured exception handler. Try to treat a Windows structured exception as a test failure -- instead of silently terminating with 0xC00000FD. Moreover, when a structured exception occurs, output a stack trace so we can try to track it down.
2024-05-16Merge pull request #1489 from secondlife/brad/fix-mac-channelBrad Linden
Fix channel detection for mac builds
2024-05-16Merge branch 'release/maint-b' into nat/maint-b-testsNat Goodspeed
2024-05-16Merge branch 'main' into release/maint-b after promotion of Maint XNat Goodspeed
2024-05-16Merge pull request #1486 from secondlife/brad/workflow-dispatch-releasenat-goodspeed
Experiment with getting manually triggered workflow builds to optionally do a release
2024-05-16Merge pull request #1462 from secondlife/nat/releaseosnat-goodspeed
Run ReleaseOS builds, but only when a release page is requested.
2024-05-16Correcting the display position of the input dialog (#1480)AiraYumi
2024-05-15Merge branch 'release/maint-b' into pipewire-linux-volume-catcherMaki
2024-05-15Add missing newlines at end of fileMaki
2024-05-15Fix channel detection for mac buildsBrad Linden
2024-05-15Move all release_run logic into setvar job.Brad Linden
2024-05-15Experiment with getting manually triggered workflow builds to optionally do ↵Brad Linden
a release
2024-05-15Streamline the new workflow `RELEASE_RUN` logic a little.Nat Goodspeed
Since downstream jobs reference the output of the new `setvar` job, instead of directly referencing global `env.RELEASE_RUN`, no need to set `RELEASE_RUN` in the global environment.
2024-05-15Merge branch 'main' into nat/releaseos following Maint X promotionNat Goodspeed
2024-05-15Merge commit 'e7eced3' into nat/releaseos for whitespace fix.Nat Goodspeed
2024-05-15Make env.RELEASE_RUN the empty string if falseNat Goodspeed
not the string "false", which is true.
2024-05-15Can't reference global env in job.if either.Nat Goodspeed
2024-05-15Try to work around workflow YAML env setting limitation.Nat Goodspeed