Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-03-29 | Merge pull request #1071 from secondlife/lua-new-luastate | nat-goodspeed | |
Run each script file with new LuaState | |||
2024-03-28 | Merge pull request #1079 from secondlife/lua-hangfix | nat-goodspeed | |
Terminate Lua scripts hanging in `LL.get_event_next()`. | |||
2024-03-28 | viewer#1073 crash at loadSkeleton | Andrey Kleshchev | |
looks like file that was being parced got corrupted 'in progress' | |||
2024-03-28 | Merge branch 'lua-hangfix' into lua-startup. | Nat Goodspeed | |
2024-03-28 | Remove rest of prototype UI access. | Nat Goodspeed | |
2024-03-28 | Use LLApp::setQuitting(). Expect killed-script error. | Nat Goodspeed | |
2024-03-28 | Ditch a couple LL_DEBUGS() messages. | Nat Goodspeed | |
2024-03-28 | Eliminate unreferenced exception name | Nat Goodspeed | |
2024-03-28 | Terminate Lua scripts hanging in LL.get_event_next(). | Nat Goodspeed | |
Make LuaListener listen for "LLApp" viewer shutdown events. On receiving such, it closes its queue. Then the C++ coroutine calling getNext() wakes up with an LLThreadSafeQueue exception, and calls LLCoros::checkStop() to throw one of the exceptions recognized by LLCoros::toplevel(). Add an llluamanager_test.cpp test to verify this behavior. | |||
2024-03-28 | Remove llluamanager.cpp "FIXME extremely hacky way" cruft. | Nat Goodspeed | |
2024-03-28 | Clean up unused llevents.h #includes. | Nat Goodspeed | |
2024-03-28 | Move our lua_register(), lua_rawlen() from lua_function.h to .cpp. | Nat Goodspeed | |
2024-03-27 | viewer#1069 Crash after getting list of notification files | Andrey Kleshchev | |
2024-03-27 | secondlife/viewer#944 Display should be consistent between llDialog text and ↵ | Alexander Gavriliuk | |
llDialog buttons | |||
2024-03-27 | Merge 'release/luau-scripting' of secondlife/viewer into lua-startup | Nat Goodspeed | |
2024-03-27 | Run each script file with new LuaState | Mnikolenko Productengine | |
2024-03-27 | Enhance Lua debugging output. | Nat Goodspeed | |
Don't use "debug" as the name of a function to conditionally write debug messages: "debug" is a Luau built-in library, and assigning that name locally would shadow the builtin. Use "dbg" instead. Recast fiber.print_all() as fiber.format_all() that returns a string; then print_all() is simply print(format_all()). This refactoring allows us to use dbg(format_all()) as well. Add a couple new dbg() messages at fiber state changes. | |||
2024-03-27 | poetry | Nat Goodspeed | |
2024-03-27 | Run loaded `require()` module on Lua's main thread. | Nat Goodspeed | |
The problem with running a `require()` module on a Lua coroutine is that it prohibits calling `leap.request()` at module load time. When a coroutine calls `leap.request()`, it must yield back to Lua's main thread -- but a `require()` module is forbidden from yielding. Running on Lua's main thread means that (after potentially giving time slices to other ready coroutines) `fiber.lua` will request the response event from the viewer, and continue processing the loaded module without having to yield. | |||
2024-03-27 | Post-merge cleanup (settings.xml) | Andrey Lihatskiy | |
2024-03-27 | Merge pull request #1062 from secondlife/marchcat/yz-merge | Andrey Lihatskiy | |
Merge main into maint YZ | |||
2024-03-27 | Merge branch 'main' into marchcat/yz-merge | Andrey Lihatskiy | |
2024-03-27 | Merge branch 'main' into DRTVWR-591-maint-X | Andrey Lihatskiy | |
# Conflicts: # indra/llui/lltransutil.cpp # indra/newview/app_settings/settings.xml # indra/newview/llfloaterenvironmentadjust.cpp # indra/newview/llpaneleditwater.cpp # indra/newview/llpanelface.cpp # indra/newview/lltexturectrl.cpp # indra/newview/lltexturectrl.h | |||
2024-03-27 | Merge remote-tracking branch 'origin/main' into DRTVWR-588-maint-W | Andrey Lihatskiy | |
# Conflicts: # .github/workflows/build.yaml | |||
2024-03-26 | Increment viewer version to 7.1.5 | Nat Goodspeed | |
following promotion of secondlife/viewer #650 | |||
2024-03-26 | Merge GLTF PBR Maint 2 to main. | Nat Goodspeed | |
2024-03-26 | Merge pull request #1040 from secondlife/lua-keystroke | Maxim Nikolenko | |
Add keystroke event support and allow adding text lines to the line editor | |||
2024-03-26 | Merge branch 'release/luau-scripting' into luau-keystroke | Mnikolenko Productengine | |
2024-03-26 | secondlife/jira-archive-internal#69593 Avatar is upside down when viewed ↵ | Alexander Gavriliuk | |
from below | |||
2024-03-26 | update scripts to use fiber.launch() | Mnikolenko Productengine | |
2024-03-26 | Merge pull request #1048 from secondlife/lua-check-stop | nat-goodspeed | |
Add LL.check_stop() entry point and call it in fiber scheduler(). | |||
2024-03-26 | Merge pull request #1045 from secondlife/lua-LL | nat-goodspeed | |
Add LL. prefix to viewer entry points, fix existing references. | |||
2024-03-25 | util.lua claims functions are in alpha order - make it so. | Nat Goodspeed | |
Also streamline util.contains(), given table.find(). | |||
2024-03-25 | Add LL.check_stop() entry point and call it in fiber scheduler(). | Nat Goodspeed | |
fiber.lua's scheduler() is greedy, in the sense that it wants to run every ready Lua fiber before retrieving the next incoming event from the viewer (and possibly blocking for some real time before it becomes available). But check for viewer shutdown before resuming any suspended-but-ready Lua fiber. | |||
2024-03-25 | Add LL. prefix to viewer entry points, fix existing references. | Nat Goodspeed | |
2024-03-25 | Update test scripts to call leap.request() from main thread | Mnikolenko Productengine | |
2024-03-25 | Merge branch 'release/luau-scripting' into lua-keystroke | Maxim Nikolenko | |
2024-03-25 | Merge pull request #1038 from secondlife/lua-fiber | nat-goodspeed | |
Add fiber.lua, which permits calling leap.request() even from Lua's main thread. | |||
2024-03-25 | mac build fix | Maxim Nikolenko | |
2024-03-25 | Remove colliding LLListener. | Nat Goodspeed | |
2024-03-25 | Add keystroke event support and allow adding text lines to the line editor | Mnikolenko Productengine | |
2024-03-25 | triage#112 'No emoji found for' text is not translated to other languages in ↵ | Alexander Gavriliuk | |
the 'Choose Emoji' floater | |||
2024-03-24 | viewer#1033 Crash at syncFloaterTabOrder | Andrey Kleshchev | |
2024-03-24 | Revert "SL-20416 Fix Crash Report 1409376 (update)" | Andrey Kleshchev | |
This reverts commit cc43f42e6b7401c2cdd3204a16f757f5169bd95b. | |||
2024-03-23 | Merge branch 'release/luau-scripting' of secondlife/viewer into lua-fiber | Nat Goodspeed | |
2024-03-24 | Introduce LLStreamListener: bundle LLEventStream+LLTempBoundListener. | Nat Goodspeed | |
This is a very common pattern, especially in test code, but elsewhere in the viewer too. Use it in llluamanager_test.cpp. | |||
2024-03-23 | Make leap.request() work even from Lua's main thread. | Nat Goodspeed | |
Recast fiber.yield() as internal function scheduler(). Move fiber.run() after it so it can call scheduler() as a local function. Add new fiber.yield() that also calls scheduler(); the added value of this new fiber.yield() over plain scheduler() is that if scheduler() returns before the caller is ready (because the configured set_idle() function returned non-nil), it produces an explicit error rather than returning to its caller. So the caller can assume that when fiber.yield() returns normally, the calling fiber is ready. This allows any fiber, including the main thread, to call fiber.yield() or fiber.wait(). This supports using leap.request(), which posts a request and then waits on a WaitForReqid, which calls ErrorQueue:Dequeue(), which calls fiber.wait(). WaitQueue:_wake_waiters() must call fiber.status() instead of coroutine.status() so it understands the special token 'main'. Add a new llluamanager_test.cpp test to exercise calling leap.request() from Lua's main thread. | |||
2024-03-23 | Update sendReply(): accepting LLSD by value already copies it. | Nat Goodspeed | |
2024-03-22 | Add Develop menu option 'Debug Camera Controls' | Alexander Gavriliuk | |
2024-03-22 | Merge pull request #967 from secondlife/lua-floater | Maxim Nikolenko | |
Initial implementation of LLLuaFloater |