Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-07 | Allow smaller minimum timer intervals. | Nat Goodspeed | |
Add test_flycam.lua to exercise the smaller intervals. | |||
2024-08-07 | Fix omission in login.savedLogins(). | Nat Goodspeed | |
Also add Region.lua. | |||
2024-08-07 | Rename 'UI' 'getParents' op to 'getTopMenus', add UI.lua function. | Nat Goodspeed | |
Also update the 'UI' help text to reflect its more general nature. Mention 0-relative rank in the xxToolbarBtn operation help text. | |||
2024-08-06 | code clean up | Mnikolenko Productengine | |
2024-08-06 | Merge branch 'release/luau-scripting' into lua-ui-visibility | Maxim Nikolenko | |
2024-08-05 | Allow getting the list of floater names, hide top menu items; add demo script | Mnikolenko Productengine | |
2024-08-05 | Fix a couple problems with "LLPanelLogin" listener (thanks Maxim!). | Nat Goodspeed | |
Convert plain grid (e.g. "agni") to domain form (e.g. "util.agni.lindenlab.com"). Fix a typo in `savedLogins()`: "login_list", not "login.list". login.lua now returns a table with two functions: `login.login()` and `login.savedLogins()`. Defend Lua caller against trying to engage login features too late in startup sequence: in addition to waiting for "STATE_LOGIN_WAIT", produce an error if `startup.state()` is beyond that state. Since by then `LLPanelLogin` is destroyed, `leap.request("LLPanelLogin", ...)` would get no response, causing the calling Lua script to hang until viewer shutdown. | |||
2024-08-02 | Add 'LLPanelLogin' 'login', 'savedLogins' operations. | Nat Goodspeed | |
'login' accepts optional 'username', 'slurl', 'grid'. 'savedLogins' returns the list of saved usernames in both display form and internal form. Make LLPanelLogin::getUserName() accept (const LLPointer<LLCredential>&). There's a whole separate discussion pending as to whether const LLPointer<T> should provide access to non-const T methods. Similarly, make LLCredential::getIdentifier() a const method. These two changes enable read-only access to credentials. Make LLPanelLogin methods capture and reuse LLGridManager::instance() as appropriate. Add require/login.lua and test_login.lua. | |||
2024-08-02 | Lua api for showing/hiding floater; rename demo scripts | Mnikolenko Productengine | |
2024-08-02 | Lua api for adjusting toolbars | Mnikolenko Productengine | |
2024-08-01 | Add UI.callables() and corresponding entry point. | Nat Goodspeed | |
2024-08-01 | Merge remote-tracking branch 'origin/lua-top-menu' into lua-callables. | Nat Goodspeed | |
We want to base lua-callables on lua-top-menu. | |||
2024-07-31 | Represent the many "LLAgent" "setCameraParams" args in an array. | nat-goodspeed | |
This encapsulates the boilerplate associated with passing each distinct parameter to its corresponding LLFollowCamMgr method. | |||
2024-07-26 | Add api for more script camera params | Mnikolenko Productengine | |
2024-07-25 | Script clean up | Mnikolenko Productengine | |
2024-07-25 | Lua api for Follow Camera control | Mnikolenko Productengine | |
2024-07-17 | Lua api for adding new menu items to the Top menu | Maxim Nikolenko | |
2024-07-10 | Merge branch 'lua-atexit-run' into lua-no-reuse. | Nat Goodspeed | |
We couldn't discard the "p.s." fiber.run() call from LuaState::expr() until we could count on fiber.lua's LL.atexit(fiber.run) call being executed after each Lua script or chunk, and we couldn't count on that until we made LLLUAmanager::runScriptFile() instantiate and destroy its LuaState on the C++ Lua-specific coroutine. Now that we've done that, use LL.atexit(fiber.run) instead of the whole special-case "p.s." in LuaState::expr(). | |||
2024-07-10 | Simplify passing keys to leap.request | Mnikolenko Productengine | |
2024-07-09 | Merge branch 'release/luau-scripting' into lua-snapshot | Nat Goodspeed | |
2024-07-08 | Lua api for Snapshot and demo script | Mnikolenko Productengine | |
2024-07-05 | clean up and rename demo script | Mnikolenko Productengine | |
2024-07-01 | Move error strings to strings.xml; pass wearable type and is_worn flag for ↵ | Mnikolenko Productengine | |
outfit items | |||
2024-06-25 | Add wear/detach actions to Appearance listener; update example script | Mnikolenko Productengine | |
2024-06-24 | Merge branch 'release/luau-scripting' into lua-appearance-listener | Mnikolenko Productengine | |
2024-06-21 | Exercise the simple popup.lua APIs | Nat Goodspeed | |
2024-06-21 | Remove pre-Floater.lua versions of the floater test scripts. | Nat Goodspeed | |
2024-06-21 | login.lua works now, update test_login.lua accordingly. | Nat Goodspeed | |
2024-06-21 | Introduce require/logout.lua and test_logout.lua. | Nat Goodspeed | |
Add "userQuit" operation to LLAppViewerListener to engage LLAppViewer::userQuit(), which pops up "Are you sure?" prompt unless suppressed. | |||
2024-06-21 | Multiple LL.atexit(function) calls run functions in reverse order. | Nat Goodspeed | |
2024-06-21 | Add Appearance listener | Mnikolenko Productengine | |
2024-06-21 | Use util.classctor(LLChatListener). | Nat Goodspeed | |
2024-06-21 | Move newer Lua modules to scripts/lua/require subdirectory. | Nat Goodspeed | |
2024-06-21 | Merge branch 'release/luau-scripting' into lua-login | Nat Goodspeed | |
2024-06-20 | Merge branch 'release/luau-scripting' into lua-chat-listener | Nat Goodspeed | |
2024-06-20 | Use new popup.lua, which supersedes LLNotification.lua. | Nat Goodspeed | |
Use ClassName(ctor args) for classes using util.classctor(). | |||
2024-06-20 | Merge branch 'release/luau-scripting' into lua-login | Nat Goodspeed | |
2024-06-20 | Revert LLLuaFloater "idle" events in favor of Lua timers.Timer(). | nat-goodspeed | |
2024-06-20 | Merge branch 'release/luau-scripting' into lua-speedometer-demo | Nat Goodspeed | |
2024-06-20 | Give popup() the ability to not wait; add popup:tip(message). | Nat Goodspeed | |
popup:tip() engages 'SystemMessageTip'. | |||
2024-06-20 | Use LLLeapListener to listen to LLNearbyChat pump | Mnikolenko Productengine | |
2024-06-19 | Move popup.lua to require subdir with the rest of the modules. | Nat Goodspeed | |
2024-06-18 | Remove special-case ~LuaState() code to call fiber.run(). | Nat Goodspeed | |
Instead, make fiber.lua call LL.atexit(fiber.run) to schedule that final run() call at ~LuaState() time using the generic mechanism. Append an explicit fiber.run() call to a specific test in llluamanager_test.cpp because the test code wants to interact with multiple Lua fibers *before* we destroy the LuaState. | |||
2024-06-14 | Move Lua modules for 'require' to indra/newview/scripts/lua/require. | Nat Goodspeed | |
Make viewer_manifest.py copy them into the viewer install image. Make the require() function look for them there. | |||
2024-06-14 | Add nearby chat listener | Mnikolenko Productengine | |
2024-06-12 | Avoid messing up Lua's global namespace in 'require' modules. | Nat Goodspeed | |
2024-06-12 | Make popup() directly pass payload. | Nat Goodspeed | |
The expression (payload or {}) is unnecessary, since that value will be converted to LLSD -- and both Lua nil and empty table convert to LLSD::isUndefined(). | |||
2024-06-11 | Add popup.lua, a preliminary API for viewer notifications. | Nat Goodspeed | |
WIP: This is known not to work yet. | |||
2024-06-11 | Add login.lua module with login() function. | Nat Goodspeed | |
The nullary login() call (login with saved credentials) has been tested, but the binary login(username, password) call is known not to work yet. | |||
2024-06-11 | Add to UI.lua a set of 'LLWindow' listener operations. | Nat Goodspeed | |
Add listviews(), viewinfo(), click(), doubleclick(), drag(), keypress() and type(). WIP: These are ported from Python LEAP equivalents, but the Lua implementation has only been partially tested. |