summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-07Fix lluau::dostring() for return values.Nat Goodspeed
We were calling lua_pcall() in such a way as to discard any values returned by the Lua chunk. Work around Luau's broken lua_tointegerx(), which unlike vanilla Lua's does not report whether the value at the specified index is or is not an integer.
2024-02-07Fix up a few longstanding missing #includes.Nat Goodspeed
2024-02-08SL-18721 Shutdown fixes #4Andrey Kleshchev
2024-02-07Merge pull request #757 from secondlife/signal/ymlSignal Linden
Rename ISSUE_TEMPLATE/config.yaml to config.yml
2024-02-07Rename config.yaml to config.ymlSignal Linden
Issue template configuration is the only github configuration file I've found which does not support both `*.yaml` and `*.yml` extensions. Drat.
2024-02-07Merge pull request #738 from secondlife/signal/feedback-linkVir Linden
Add link to feedback portal
2024-02-07Merge remote-tracking branch 'origin/main' into release/gltf-maint2Brad Linden
2024-02-07Issue #56 Redirect Help>Report Bug to Canny instead of JiraAndrey Kleshchev
2024-02-07Add 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-06Break 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-02-05Add link to feedback portalSignal Linden
Provide a link to feedback.secondlife.com from the issue creation page.
2024-02-05SL-20669 Fix white uuidAndrey Kleshchev
2024-02-02Merge pull request #725 from secondlife/andreyk/issue_26cosmic-linden
Issue #26 Support texture drop onto PBR materials
2024-02-02Issue #26 Support texture drop onto PBR materialsAndrey Kleshchev
2024-02-01Merge pull request #702 from secondlife/signal/reduce-buildsVir Linden
build.yaml: Build shared branches
2024-01-31build.yaml: Build shared branchesBennett Goble
We're currently building every single commit pushed to Github. This is racking up $20k in build charges a month and is generally superfluous. This changeset alters build triggers so that builds automatically run if they are committed to a **shared branch**: - `release/*` - A release stabilization branch - `project/*` - A project viewer branch - `main/*` - The default/stable branch PR commits are also automatically built. ...need to build another commit? Developers can trigger one using a manual workflow run.
2024-01-31Merge branch 'main' into DRTVWR-588-maint-WAndrey Lihatskiy
2024-01-31Merge branch DRTVWR-589-luau into luau-scriptingMaxim Nikolenko
LuaU scripting project
2024-01-31strip lua testing functionsMnikolenko Productengine
2024-01-30Merge pull request #704 from secondlife/andreyk/issue_24cosmic-linden
Issue #24 GLTF material disappears from object playing media
2024-01-31Issue #24 GLTF material disappears from object playing mediaAndrey Kleshchev
Check texture type, if media is stopped, it won't be a MEDIA_TEXTURE
2024-01-30Issue #696 RenderResolutionDivisor no longer worksAndrey Kleshchev
resizeScreenTexture works if gResizeScreenTexture is true or render target was resized
2024-01-30Merge pull request #692 from secondlife/vir-linden-issue-templates-1Vir Linden
Update enhancement.md
2024-01-29Merge branch 'main' into DRTVWR-588-maint-WAndrey Lihatskiy
2024-01-29SL-18721 Shutdown fixes #3Andrey Kleshchev
Fix dialog box being blank in task bar
2024-01-29DRTVWR-589: get rid of pragma and update windows libsMnikolenko Productengine
2024-01-29Merge pull request #693 from secondlife/vir-linden-issue-templatesVir Linden
Update bug.yaml
2024-01-29Update enhancement.mdVir Linden
2024-01-29Update bug.yamlVir Linden
2024-01-29Merge pull request #688 from secondlife/signal/contributorsVir Linden
Add a basic CONTRIBUTING.md
2024-01-29Merge pull request #666 from secondlife/issue_templatesVir Linden
Issue templates
2024-01-29DRTVWR-589: add mac luau libsMaxim Nikolenko
2024-01-26Add a basic CONTRIBUTING.mdBennett Goble
Provide basic instructions in-repository for contributing to Second Life.
2024-01-26SL-20669 Fix missed uuidAndrey Kleshchev
2024-01-26DRTVWR-589: update to start using Luau libsMnikolenko Productengine
2024-01-24Create enhancement.mdRunitaiLinden
2024-01-24Create bug.yamlRunitaiLinden
2024-01-24SL-20416 Fix Crash Report 1409376 (update)Alexander Gavriliuk
2024-01-24SL-20416 Use image from file for emoji_recent_panel_toggle_btnAlexander Gavriliuk
2024-01-24SL-20669 Force blank normal id into a local blank normal textureAndrey Kleshchev
Dataserver's version has compression artifacts
2024-01-24SL-20669 Move constants out of settings.xmlAndrey Kleshchev
UIImgInvisibleUUID doesn't exist Default normal for material is 'null'
2024-01-24Fix profile's pick hiding wrong panelAndrey Kleshchev
And cleanup after a contribution
2024-01-23SL-20416 Fix Crash Report 1409376Alexander Gavriliuk
2024-01-23Create test plan for optimizeAwayAlpha (#663)RunitaiLinden
2024-01-24SL-20416 Avoid of taking focus by EmojiPickerAlexander Gavriliuk
2024-01-23SL-18721 Shutdown fixes #2Andrey Kleshchev
Set DONE if decode thread is down instead of waiting for an update. Decodes can't be canceled, so fix potential situation where we get two responses
2024-01-22SL-18721 Shutdown fixesAndrey Kleshchev
1. After window closes viewer still takes some time to shut down, so added splash screen to not confuse users (and to see if something gets stuck) 2. Having two identical mWindowHandle caused confusion for me, so I split them. It looks like there might have been issues with thread being stuck because thread's handle wasn't cleaned up. 3. Made region clean mCacheMap immediately instead of spending time making copies on shutdown
2024-01-22NSException testAndrey Kleshchev
2024-01-19Merge pull request #596 from secondlife/DRTVWR-601-gha-libsnat-goodspeed
Update mikktspace, tinygltf, vulkan_gltf packages to GHA builds.
2024-01-19DRTVWR-601: Merge branch 'release/gltf-maint2' into DRTVWR-601-gha-libsNat Goodspeed