summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-11Trim remaining trailing whitespaces after #1695Andrey Lihatskiy
2024-06-11clean up LLUIListener::callMaxim Nikolenko
2024-06-11Merge branch 'main' of github.com:secondlife/viewer into lua-bradfixNat Goodspeed
to pick up Featurettes promotion + Brad's GitHub Windows build workaround.
2024-06-11Merge branch 'release/luau-scripting' into lua-loginNat Goodspeed
2024-06-11Merge pull request #1685 from ↵nat-goodspeed
secondlife/brad/materials_featurette_build_workaround Attempted workaround for actions/runner-images#10004 build failures.
2024-06-11Clean up line endings that got mangled up during last mergeAnsariel
2024-06-11Merge branch 'main' of https://github.com/secondlife/viewer into ↵Ansariel
DRTVWR-600-maint-A # Conflicts: # indra/llappearance/llavatarappearance.h # indra/llimage/llimage.cpp # indra/llmath/llvolume.cpp # indra/llmath/llvolume.h # indra/llprimitive/llgltfmaterial.h # indra/llrender/llrendertarget.cpp # indra/llrender/llshadermgr.cpp # indra/newview/lldynamictexture.cpp # indra/newview/llenvironment.cpp # indra/newview/llfetchedgltfmaterial.cpp # indra/newview/llfloaterimagepreview.cpp # indra/newview/llfloaterimagepreview.h # indra/newview/llfloaterregioninfo.cpp # indra/newview/llfloaterregioninfo.h # indra/newview/llmaniprotate.cpp # indra/newview/llmaniptranslate.cpp # indra/newview/llpanelvolume.cpp # indra/newview/llselectmgr.cpp # indra/newview/llselectmgr.h # indra/newview/llsurface.cpp # indra/newview/llsurface.h # indra/newview/llsurfacepatch.cpp # indra/newview/lltexturectrl.cpp # indra/newview/lltexturectrl.h # indra/newview/lltinygltfhelper.cpp # indra/newview/llviewertexture.cpp # indra/newview/llviewerwindow.cpp # indra/newview/llviewerwindow.h # indra/newview/llvlcomposition.cpp # indra/newview/llvlcomposition.h # indra/newview/llvocache.cpp # indra/newview/llvovolume.cpp # indra/newview/pipeline.cpp
2024-06-11Merge pull request #1481 from secondlife/lua-ui-callbacksMaxim Nikolenko
Add trusted flag to UI callbacks, so not everything is accessible from the script
2024-06-10Merge branch 'main' into brad/materials_featurette_build_workaroundNat Goodspeed
2024-06-10secondlife/viewer#1475: Update PBR Terrain test plansCosmic Linden
2024-06-10Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into ↵Brad Linden
project/gltf_development
2024-06-10Merge remote-tracking branch 'origin/main' into project/gltf_developmentBrad Linden
2024-06-10Try to get sign-and-package-windows job a runner to run onBrad Linden
2024-06-11Re-enable compiler warnings C4127, C4512 & C4706Ansariel
Disable particular CRT and WinSock API warnings for functions Microsoft considers unsafe/deprecated
2024-06-10#1677 Add GLTF extensions serialization and support for KHR_materials_unlit ↵Dave Parks
(#1686)
2024-06-10Increment viewer version to 7.1.9Nat Goodspeed
following promotion of secondlife/viewer #648: Release/materials featurette
2024-06-10Merge release/materials_featurette to main on promotion of secondlife/viewer ↵Nat Goodspeed
#648: Release/materials featurette
2024-06-10Attempted workaround for actions/runner-images#10004 build failures.Brad Linden
2024-06-10Fix merge error introduced in eb526fec0aadcaf30363fdfb1e253a609bf83accAnsariel
2024-06-10Merge pull request #1667 from secondlife/v-1475cosmic-linden
secondlife/viewer#1475: Add PBR terrain repeats editing
2024-06-10secondlife/viewer#1475: Fix whitespace and remove commentCosmic Linden
2024-06-10Post-merge - trim trailing whitespaceAndrey Lihatskiy
2024-06-10Add line endings changes to .git-blame-ignore-revsAndrey Lihatskiy
2024-06-10Merge branch 'release/luau-scripting' into lua-loginNat Goodspeed
2024-06-10Merge pull request #1585 from secondlife/signal/trim-trailingAndrey Lihatskiy
Trim trailing whitespace
2024-06-10Merge branch 'DRTVWR-600-maint-A' into signal/trim-trailingAndrey Lihatskiy
2024-06-10Fix possible null pointer crashAnsariel
2024-06-10Fix incorrect use of VX/VY/VZ/VW indices when color components are accessedAnsariel
2024-06-10viewer#1673 Crash calling dirtyDescendantsFilterAndrey Kleshchev
2024-06-10#1654 generate normals and tangents according to gltf specification (#1662)Dave Parks
* Disable unloading of objects in background. * Add unlit GLTF shader variant
2024-06-10Fix Windows build following #1676Andrey Lihatskiy
2024-06-10Merge pull request #1676 from Ansariel/DRTVWR-600-maint-AAndrey Lihatskiy
Re-enable compiler warnings C4018, C4100, C4231 and C4506
2024-06-10Add more missing type castsAnsariel
2024-06-10Re-enable compiler warnings C4018, C4100, C4231 and C4506Ansariel
2024-06-10Update fix_whitespace.py to handle newlines correctlyAndrey Lihatskiy
2024-06-10Merge branch 'release/luau-scripting' into lua-ui-callbacksMnikolenko Productengine
2024-06-10another batch of changes to use ScopedRegistrarHelperMnikolenko Productengine
2024-06-10Remove SharedCommitCallbackRegistry; add helpers CommitRegistrarHelper and ↵Mnikolenko Productengine
ScopedRegistrarHelper
2024-06-09Merge pull request #1670 from Ansariel/DRTVWR-600-maint-AAndrey Lihatskiy
Fix issues resulting from b42f9d836b4c0f7fbd4bdae1734021e2a09fdbe8
2024-06-09Found string should not be directly at the startAnsariel
2024-06-09Fix issues resulting from b42f9d836b4c0f7fbd4bdae1734021e2a09fdbe8Ansariel
2024-06-09Merge pull request #1613 from Ansariel/DRTVWR-600-maint-AAndrey Lihatskiy
Fix/re-enable MSVC compiler warnings
2024-06-07Introduce mapargs.lua, which defines the mapargs() function.Nat Goodspeed
There are two conventions for Lua function calls. You can call a function with positional arguments as usual: f(1, 2, 3) Lua makes it easy to handle omitted positional arguments: their values are nil. But as in C++, positional arguments get harder to read when there are many, or when you want to omit arguments other than the last ones. Alternatively, using Lua syntactic sugar, you can pass a single argument which is a table containing the desired function arguments. For this you can use table constructor syntax to effect keyword arguments: f{a=1, b=2, c=3} A call passing keyword arguments is more readable because you explicitly associate the parameter name with each argument value. Moreover, it gracefully handles the case of multiple optional arguments. The reader need not be concerned about parameters *not* being passed. Now you're coding a Lua module with a number of functions. Some have numerous or complicated arguments; some do not. For simplicity, you code the simple functions to accept positional arguments, the more complicated functions to accept the single-table argument style. But how the bleep is a consumer of your module supposed to remember which calling style to use for a given function? mapargs() blurs the distinction, accepting either style. Coding a function like this (where '...' is literal code, not documentation ellipsis): function f(...) local args = mapargs({'a', 'b', 'c'}, ...) -- now use args.a, args.b, args.c end supports calls like: f(1, 2, 3) f{1, 2, 3} f{c=3, a=1, b=2} f{1, 2, c=3} f{c=3, 1, 2} -- unlike Python! In every call above, args.a == 1, args.b == 2, args.c == 3. Moreover, omitting arguments (or explicitly passing nil, positionally or by keyword) works correctly. test_mapargs.lua exercises these cases.
2024-06-07secondlife/viewer#1475: Add PBR terrain repeats editingCosmic Linden
2024-06-07Fix another merge glitchNat Goodspeed
2024-06-07Tidy up merge from main.Nat Goodspeed
2024-06-07Merge branch 'main' of secondlife/viewer into release/luau-scriptingNat Goodspeed
2024-06-07viewer#1645 Expose RenderLocalLightCount in UIAndrey Kleshchev
2024-06-07#1638 Add permissions checks to GLTF Save As and Upload buttons (#1653)Dave Parks
2024-06-06Merge pull request #1660 from secondlife/roxie/webrtc-voiceRoxanne Skelly
Merge from main into release/webrtc-voice