Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-07 | Add machinery to capture result of running a Lua script or snippet. | Nat Goodspeed | |
Add LuaState::expr() that evaluates a Lua snippet and reports back any result (or error) left on the stack. Add LLLUAmanager::runScriptFile() and runScriptLine() overloads that accept a callback with an (int count, LLSD result) signature. The count disambiguates (error, no result, one result, array of results). Also add overloads that accept an existing LuaState instance. Also add waitScriptFile() and waitScriptLine() methods that pause the calling coroutine until the Lua script completes, and return its results. Instead of giving LuaState a description to use for all subsequent checkLua() calls, remove description from its constructor and data members. Move to expr() and checkLua() parameters: we want a description specific to each operation, rather than for the LuaState as a whole. This prepares for persistent LuaState instances. For now, the existing script_finished_fn semantics remain: the callback will be called only when the LuaState is destroyed. This may need to change as we migrate towards longer-lasting LuaState instances. Make lua_function(name) macro append suffixes to the name for both the LuaFunction subclass declaration and the instance declaration. This allows publishing a lua_function() name such as sleep(), which already has a different C++ declaration. Move the Lua sleep() entry point to a standalone lua_function(sleep), instead of a lambda in the body of runScriptFile(). | |||
2024-02-06 | Break out lua_function.h,.cpp and lualistener.h,.cpp. | Nat Goodspeed | |
The intention is to decentralize Luau entry points into our C++ code, permitting a given entry point to be added to the .cpp file that already deals with that class or functional area. Continuing to add every such entry point to llluamanager.cpp doesn't scale well. Extract LuaListener class from llluamanager.cpp to its own header and .cpp file. Extract from llluamanager into lua_function.h (and .cpp) declarations useful for adding a lua_function Luau entry point, e.g.: lua_register() lua_rawlen() lua_tostdstring() lua_pushstdstring() lua_tollsd() lua_pushllsd() LuaPopper lua_function() and LuaFunction class LuaState lua_what lua_stack DebugExit | |||
2024-01-31 | Merge branch DRTVWR-589-luau into luau-scripting | Maxim Nikolenko | |
LuaU scripting project | |||
2024-01-31 | strip lua testing functions | Mnikolenko Productengine | |
2024-01-29 | DRTVWR-589: get rid of pragma and update windows libs | Mnikolenko Productengine | |
2024-01-29 | DRTVWR-589: add mac luau libs | Maxim Nikolenko | |
2024-01-26 | DRTVWR-589: update to start using Luau libs | Mnikolenko Productengine | |
2024-01-12 | Move "team:viewer" label action to labeler.yaml. | Nat Goodspeed | |
This avoids the need for a separate job step. | |||
2024-01-12 | Fold PR labeling into existing label.yaml. | Nat Goodspeed | |
2024-01-12 | Grant write permission for pull requests. | Nat Goodspeed | |
2024-01-12 | Add a workflow to auto-label new PRs with team:viewer. | Nat Goodspeed | |
When a PR appears on the QA board, QA wants to know whose team it came from. So every PR on the viewer repo should be labeled with team:viewer. | |||
2024-01-09 | DRTVWR-589: Merge branch 'DRTVWR-589' of into DRTVWR-589-plus-D596 | Nat Goodspeed | |
2024-01-09 | Merge pull request #13 from secondlife/DRTVWR-589-alt-fix | nat-goodspeed | |
DRTVWR-589: Fix build errors resulting from merge with main. | |||
2024-01-08 | DRTVWR-589: Merge branch 'main' into DRTVWR-589. | Nat Goodspeed | |
2024-01-08 | DRTVWR-589: Fix build errors resulting from merge with main. | Nat Goodspeed | |
LLDispatchListener::getPumpName() went away when LLEventStream became one of its base classes. The assumption was that LLEventStream::getName() would suffice. Re-add getPumpName(), forwarding to getName(), for backwards compatibility. | |||
2024-01-08 | Increment viewer version to 7.1.3 | Nat Goodspeed | |
following promotion of DRTVWR-596 | |||
2024-01-05 | DRTVWR-589: Post-merge fix | Mnikolenko Productengine | |
2024-01-04 | DRTVWR-589: Merge branch 'main' into DRTVWR-589 | Nat Goodspeed | |
2023-12-14 | Merge branch 'DRTVWR-601' of github.com:secondlife/viewer into DRTVWR-601 | RunitaiLinden | |
2023-12-14 | SL-20611 Followup -- fix for depth based atmospheric mask making ↵ | RunitaiLinden | |
atmospherics effect sun/moon/clouds | |||
2023-12-14 | Merge branch 'DRTVWR-596' into DRTVWR-601 | Brad Linden | |
2023-12-14 | Merge remote-tracking branch 'origin/main' into DRTVWR-596 | Brad Linden | |
2023-12-14 | Merge branch 'SL-20730' into DRTVWR-596 | Brad Linden | |
2023-12-14 | Increment viewer version to 7.1.2 | Nat Goodspeed | |
following promotion of DRTVWR-587 | |||
2023-12-14 | Merge branch 'DRTVWR-601' of github.com:secondlife/viewer into DRTVWR-601 | RunitaiLinden | |
2023-12-14 | SL-20730 Patch another potential source of NaNs | RunitaiLinden | |
2023-12-14 | SL-20715 Mask cutoff not copied corretly in build tools | Andrey Kleshchev | |
2023-12-14 | Merge pull request #11 from secondlife/DRTVWR-589-3p-lua | nat-goodspeed | |
Merge 3p-lua use to trunk DRTVWR-589 | |||
2023-12-14 | SL-20717 Add PBR to Advanced > Rendering Types | Maxim Nikolenko | |
2023-12-13 | Credit Henri for HUD fix | Cosmic Linden | |
2023-12-13 | Merge pull request #578 from sldevel/HUD-fix | cosmic-linden | |
Fix for semi-transparent HUDs rendering opaque | |||
2023-12-13 | Merge branch 'DRTVWR-601' of github.com:secondlife/viewer into DRTVWR-601 | RunitaiLinden | |
2023-12-13 | SL-20730 Scrub nans from haze alpha | RunitaiLinden | |
2023-12-13 | Merge remote-tracking branch 'origin/DRTVWR-596' into DRTVWR-596 | Brad Linden | |
2023-12-13 | SL-20611 Followup -- fix for impostors being invisible. | RunitaiLinden | |
2023-12-13 | SL-20715 Mapping mode and specular color not copied correctly | Andrey Kleshchev | |
and fixed diffuse alpha | |||
2023-12-12 | Fix for semi-transparent HUDs rendering opaque | Henri Beauchamp | |
This commit fixes a bug introduced with commit 6472b75bcd70470fe5775d1cf6eb70a75b3d76e5 where the fullbrightF.glsl shader fails to set color.a to final_alpha for HUDs. | |||
2023-12-11 | SL-20611 Brute force fix for water haze -- paid for by cycles saved by not ↵ | Dave Parks | |
drawing water twice, but needs a better long term solution. | |||
2023-12-11 | SL-20611 Followup -- reenable water haze | Dave Parks | |
2023-12-11 | SL-20611 Followup -- fix for artifacts on water surface from GPUs that don't ↵ | Dave Parks | |
like to read from a depth buffer that is bound for writing | |||
2023-12-08 | Merge remote-tracking branch 'origin/DRTVWR-596' into DRTVWR-601 | Brad Linden | |
2023-12-08 | SL-20674 Fix for textures ignoring texture scale when determining what ↵ | RunitaiLinden | |
resolution to be. | |||
2023-12-08 | SL-20701 FIXED Build tool texture tab shows incorrect material parameters in ↵ | Maxim Nikolenko | |
some cases | |||
2023-12-06 | Merge branch 'DRTVWR-596' of github.com:secondlife/viewer into DRTVWR-596 | RunitaiLinden | |
2023-12-06 | SL-20664 Potential fix for crash on startup in switchContext | RunitaiLinden | |
2023-12-06 | BUG-234706 Fix unstable performance on nvidia systems by always enabling ↵ | Ansariel Hiller | |
Threaded Optimization via driver application profile (#564) | |||
2023-12-06 | Merge branch 'DRTVWR-596' of github.com:secondlife/viewer into DRTVWR-596 | RunitaiLinden | |
2023-12-06 | SL-20611 Followup -- fix banding in water fog (thanks, Rye!) | RunitaiLinden | |
2023-12-06 | SL-19655 BugSplat Crash: LLGLState::checkStates (2427) | Alexander Gavriliuk | |
2023-12-05 | SL-20654 Fix for box probes sometimes glitching out at the corners. ↵ | RunitaiLinden | |
Incidental fix for crash when mWaterPool is null. |