summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-24Merge 'main' into release/luau-scripting on promotion of Maint YZNat Goodspeed
2024-04-24Increment viewer version to 7.1.7Nat Goodspeed
following promotion of secondlife/viewer #736
2024-04-24Merge release/maint-yz to main on promotion of secondlife/viewer #736: ↵Nat Goodspeed
Maintenance YZ 7.1.6.8745209917
2024-04-19Merge pull request #1262 from secondlife/lua-kill-coronat-goodspeed
Reintroduce `LLCoros::killreq()` to request killing a named coroutine.
2024-04-19Revert "SL-20140 Setting shape hand size to 36 won't save"Andrey Lihatskiy
This reverts commit 810a3d24c2e3671f926091c062b101bdec6a1517. (secondlife/jira-archive-internal#70482)
2024-04-18Add llluamanager_test.cpp test that terminates runaway Lua script.Nat Goodspeed
Also tweak existing Lua interleaved-responses test to accommodate new Lua periodic suspend behavior.
2024-04-18Move {set,check}_interrupts_counter() to lluau namespace.Nat Goodspeed
Use in LuaState::expr() so we can catch a runaway in-memory Lua chunk as well as a script read from a file.
2024-04-18Remove redundant LLEventPump::inventName() call.Nat Goodspeed
2024-04-18In debug.h, add debug_expr() macro for inline expressions.Nat Goodspeed
Break out LOGTEST_enabled() inline function because it's used for both Debug and debug_expr().
2024-04-18Fix LuaListener member initialization order.Nat Goodspeed
2024-04-17Reintroduce LLCoros::killreq() to request killing a named coroutine.Nat Goodspeed
Make LLCoros constructor echo "LLApp" status-change events on new "LLCoros" event pump. Rename LLCoros::kill() to killreq() because this operation only registers a request for the named coroutine to terminate next time it calls checkStop(). Add a new CoroData member to record the name of the coroutine requesting termination. killreq() sets that and also posts "killreq" to "LLCoros". Add an optional final-cleanup callback to LLCoros::checkStop(). Make checkStop() check for a pending killreq() request as well as viewer termination. Introduce new LLCoros::Killed exception for that case. Introduce LLCoros::getStopListener(), with two overloads, to encapsulate some of the messy logic to listen (perhaps temporarily) for viewer shutdown. Both overloads are for use by code at the source end of a queue or promise or other resource for which coroutines might still be waiting at viewer shutdown time. One overload is specifically for when the caller knows the name of the one and only coroutine that will wait on the resource (e.g. because the caller IS that coroutine). That overload honors killreq(). Use getStopListener() to simplify the four existing places where we set up such a listener. Add a fifth: also make WorkQueue listen for viewer shutdown (resolving a TODO comment). Remove LLLUAmanager::terminateScript(), getTerminationList() and the static sTerminationList. In the Lua interrupt callback, instead of checking sTerminationList, call LLCoros::checkStop(). Change LLFloaterLUAScripts terminate-script logic to call LLCoros::killreq() instead of posting on "LLLua" and calling LLLUAmanager::terminateScript(). Drop LLApp::setStatus() posting to "LLLua" LLEventPump: the above makes that moot.
2024-04-17Fix broken llimageworker_test.cpp.Nat Goodspeed
Please run integration tests before pushing to GitHub!
2024-04-16Merge branch 'main' into release/luau-scriptingNat Goodspeed
2024-04-16Merge pull request #1247 from secondlife/lua-interruptsMaxim Nikolenko
Call suspend() periodically to avoid viewer freeze
2024-04-16Call suspend() periodically to avoid viewer freezeMnikolenko Productengine
2024-04-16Merge pull request #1246 from secondlife/vir-linden-patch-2Vir Linden
https://github.com/secondlife/viewer/issues/1214 - Update cla.yaml
2024-04-16https://github.com/secondlife/viewer/issues/1214 - Update cla.yamlVir Linden
2024-04-15Merge pull request #1236 from secondlife/marchcat/yz-mergeAndrey Lihatskiy
Marchcat/yz merge
2024-04-15Merge branch 'main' into marchcat/yz-mergeAndrey Lihatskiy
2024-04-15CI: adopt xz compressionBennett Goble
Move towards packaging artifacts with xz, which offers higher compression ratios and faster decode time.
2024-04-15CI: Remove python-version from matrixBennett Goble
Drop python version from matrix configuration as it's always 3.11.
2024-04-15Remove unused fix-incredibuild.pyBennett Goble
2024-04-15Remove BuildParamsBennett Goble
This file is no longer used.
2024-04-12Merge pull request #1152 from secondlife/lua-terminate-scriptnat-goodspeed
Add script termination option to 'Lua Scripts' floater
2024-04-12'Lua Scripts' floater clean upMnikolenko Productengine
2024-04-12Merge pull request #1198 from secondlife/signal/xzSignal Linden
CI: adopt xz compression, actions/*-artifact@v4
2024-04-11CI: adopt xz compressionBennett Goble
Move towards packaging artifacts with xz, which offers higher compression ratios and faster decode time.
2024-04-11Merge pull request #1197 from secondlife/signal/rm-incredibuild.pySignal Linden
Remove unused fix-incredibuild.py
2024-04-11Merge pull request #1095 from secondlife/signal/rm-buildparamsSignal Linden
Remove BuildParams
2024-04-11Merge pull request #1199 from secondlife/signal/rm-py-matrixSignal Linden
CI: Remove python-version from matrix
2024-04-11CI: Remove python-version from matrixBennett Goble
Drop python version from matrix configuration as it's always 3.11.
2024-04-10Remove unused fix-incredibuild.pyBennett Goble
2024-04-10Merge branch 'release/luau-scripting' into lua-terminate-scriptNat Goodspeed
2024-04-10Merge pull request #1179 from secondlife/marchcat/y-mergeAndrey Lihatskiy
Release (Maint W) -> Maint YZ merge
2024-04-10Merge branch 'main' into marchcat/y-mergeAndrey Lihatskiy
# Conflicts: # autobuild.xml # indra/llcommon/llsys.cpp
2024-04-09Increment viewer version to 7.1.6Nat Goodspeed
following promotion of secondlife/viewer #690
2024-04-09Merge pull request #1168 from secondlife/lua-floater-classnat-goodspeed
Add Lua Floater class to simplify Lua script showing floaters.
2024-04-09mac build fix - remove unused variableMaxim Nikolenko
2024-04-09Add Lua Floater class to simplify Lua script showing floaters.Nat Goodspeed
Add test_luafloater_demo2.lua and test_luafloater_gesture_list2.lua examples.
2024-04-08Add script termination option to 'Lua Scripts' floaterMnikolenko Productengine
2024-04-04Merge pull request #1125 from secondlife/lua-pr-feedbackMaxim Nikolenko
Introduce LLInstanceTracker::destruct() methods; use in ~LuaState().
2024-04-03Merge branch 'release/luau-scripting' into lua-pr-feedbackNat Goodspeed
2024-04-03Merge pull request #1124 from Nicky-D/release/luau-scriptingnat-goodspeed
Luau for Linux
2024-04-03LLInstanceTracker::destruct() instead of destroy().Nat Goodspeed
Avoid ambiguity with LLFloater::destroy().
2024-04-03Merge branch 'release/luau-scripting' into lua-pr-feedbackNat Goodspeed
2024-04-03Merge branch 'main' into release/luau-scripting.Nat Goodspeed
2024-04-03Merge pull request #1101 from secondlife/lua-scripts-floaternat-goodspeed
Lua scripts floater
2024-04-03Introduce LLInstanceTracker::destroy() methods; use in ~LuaState().Nat Goodspeed
2024-04-03Merge branch 'release/luau-scripting' into release/luau-scriptingNicky Dasmijn
2024-04-03- Enable luaulib linking for LinuxNicky
- Put lubLuau.Ast.a at the right most side as GCC/LD is peculiar about link order.