summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-13secondlife/viewer#1744: Fix missing LSL constant INVENTORY_SETTING in ↵Cosmic Linden
keywords_lsl_default.xml
2024-06-13secondlife/viewer#1475: Fix Terrain tab controls no longer disabled when ↵Cosmic Linden
insufficient permissions
2024-06-13lltracker::drawbeacon() rewritted for better performancemobserveur
this is a better implementation of the drawBeacon() function compared to the previous patch
2024-06-13fixed tracker beacon performance issue on apple silicon macsmobserveur
tracking beacon was causing extreme lag on apple silicon macs
2024-06-12Merge pull request #1746 from Ansariel/developBrad Linden
Fix a few merge issues
2024-06-13Fix a few merge issuesAnsariel
2024-06-12Merge pull request #1745 from secondlife/project/gltf_developmentBrad Linden
move project/gltf development to develop
2024-06-12Add whitespace change to .git-blame-ignore-revs for pr #1723Brad Linden
2024-06-12Merge pull request #1723 from secondlife/brad/maint-a-merge-to-gltf-devBrad Linden
maint a merge to gltf dev
2024-06-12Avoid messing up Lua's global namespace in 'require' modules.Nat Goodspeed
2024-06-12Add LL_DEBUGS("LLCoros") start/end messages.Nat Goodspeed
We have log messages when a coroutine terminates abnormally, but we don't report either when it starts or when it terminates normally. Address that.
2024-06-12Provide LUA Debug Console feedback for user typing LUA string.Nat Goodspeed
When the user explicitly types 'return expression[, expression]...' we convert the result of the expressions to LLSD and format them into the LUA Debug Console, which serves as a useful acknowledgment. But until now, if the user neither invoked print() nor ran a 'return' statement, the LUA Debug Console output remained empty. This could be a little disconcerting: you click Execute, or press Enter, and apparently nothing happens. You must either monitor viewer log output, or simply trust that the Lua snippet ran. When there are no 'return' results, at least emit 'ok'. But when the user is entering a series of no-output commands, vary the 'ok' output by appending a counter: 'ok 1', 'ok 2' etc.
2024-06-12Defend LLFloaterLUADebug against recursive calls to handlers.Nat Goodspeed
The special case of a Lua snippet that indirectly invokes the "LLNotifications" listener can result in a recursive call to LLFloaterLUADebug's handler methods. Defend against that case.
2024-06-12LuaState::expr() has log messages for ending, add for starting.Nat Goodspeed
It's helpful to see when expr() is actually going to start running a particular Lua chunk. We already report not only when it's done, but also if/when we start and finish a p.s. fiber.run() call.
2024-06-12Fix whitespace pre-commit hook failuresBrad Linden
2024-06-12For a single string concatenation, use operator+().Nat Goodspeed
stringize() constructs, populates and destroys a std::ostringstream, which is actually less efficient than directly allocating a std::string big enough for the result of operator+(). Maybe someday we'll specialize stringize(p0, p1) for the case in which they're both string-like, and invoke operator+() for that situation...
2024-06-12Make 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-12Extract TempSet from llcallbacklist.cpp into its own tempset.h.Nat Goodspeed
2024-06-12Fixup more signed/unsigned warnings after merge.Brad Linden
2024-06-12Merge remote-tracking branch 'origin/project/gltf_development' into ↵Brad Linden
brad/maint-a-merge-to-gltf-dev # Conflicts: # indra/newview/gltf/primitive.cpp
2024-06-12Merge pull request #1724 from secondlife/v-1475cosmic-linden
secondlife/viewer#1475: PBR Terrain texture transform UI: Second pass
2024-06-12viewer#1672 Crash at setDefaultFOVAndrey Kleshchev
Some things can make a copy of camera, like LLViewerWindow::cubeSnapshot so need to store and clean up the connection
2024-06-12viewer#1731 Crash at LLPipeline::markVisibleAndrey Kleshchev
mDrawable pointer had junk in it
2024-06-12viewer#1730 Crash in LLFetchedGLTFMaterial::bindAndrey Kleshchev
2024-06-12viewer#1728 Crash in LLViewerRegion::probeCacheAndrey Kleshchev
2024-06-12viewer#1698 Uniform being out of range shouldn't crash viewerAndrey Kleshchev
2024-06-12viewer#1692 Crash at LLVOVolume::getReflectionProbeIsBox()Andrey Kleshchev
2024-06-12viewer#1733 UI overlap in advanced settingsAndrey Kleshchev
2024-06-12Merge 'release/luau-scripting' of secondlife/viewer into lua-loginNat Goodspeed
2024-06-11Merge pull request #1726 from secondlife/roxie/webrtc-voiceRoxanne Skelly
Merge from main.
2024-06-11Add popup.lua, a preliminary API for viewer notifications.Nat Goodspeed
WIP: This is known not to work yet.
2024-06-11Add 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-11Add 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.
2024-06-11Fix a couple bugs in startup.lua.Nat Goodspeed
The 'startup' table, the module's namespace, must be defined near the top because its local waitfor:process() override references startup. The byname table's metatable's __index() function wants to raise an error if you try to access an undefined entry, but it referenced t[k] to check that, producing infinite recursion. Use rawget(t, k) instead. Also use new leap.WaitFor(args) syntax instead of leap.WaitFor:new(args).
2024-06-11Merge branch 'main' of github.com:secondlife/viewer into roxie/webrtc-voiceRoxie Linden
2024-06-11Allow Python-like 'object = ClassName(ctor args)' constructor calls.Nat Goodspeed
The discussions we've read about Lua classes conventionally use ClassName:new() as the constructor, and so far we've followed that convention. But setting metaclass(ClassName).__call = ClassName.new permits Lua to respond to calls of the form ClassName(ctor args) by implicitly calling ClassName:new(ctor args). Introduce util.classctor(). Calling util.classctor(ClassName) sets ClassName's metaclass's __call to ClassName's constructor method. If the constructor method is named something other than new(), pass ClassName.method as the second arg. Use util.classctor() on each of our classes that defines a new() method. Replace ClassName:new(args) calls with ClassName(args) calls throughout.
2024-06-11secondlife/viewer#1475: PBR Terrain texture transform UI: Second passCosmic Linden
2024-06-11Merge remote-tracking branch 'origin/release/maint-a' into ↵Brad Linden
project/gltf_development
2024-06-11Fixed signed/unsigned warnings after they got enabled in the maint-A mergeBrad Linden
2024-06-11#1718 Add GLTF support for multiple texcoords (#1720)Dave Parks
* Fix for GLTF MeshPrimitiveModes test
2024-06-11#1687 Add support for KHR_texture_transform (#1717)Dave Parks
2024-06-11mapargs() now accepts 'name1,name2,...' as argument namesNat Goodspeed
in addition to a list {'name1', 'name2', ...}.
2024-06-11Update "LLWindow" listener doc to cite github URL, not bitbucket.Nat Goodspeed
2024-06-11Merge pull request #1690 from secondlife/v-1475cosmic-linden
secondlife/viewer#1475: Update PBR Terrain test plans
2024-06-11Merge pull request #1697 from secondlife/lua-bradfixnat-goodspeed
Merge promoted Featurettes + Brad's GitHub Windows build workaround.
2024-06-11Fix some apparent previous merge errorAnsariel
2024-06-11Fix possible null pointer access crashAnsariel
2024-06-11Merge branch 'main' into DRTVWR-600-maint-AAndrey Lihatskiy
2024-06-11Windows build fix following #1695Andrey Lihatskiy
2024-06-11Merge branch 'release/luau-scripting' into lua-bradfixNat Goodspeed