summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2024-06-06Merge branch 'main' of github.com:secondlife/viewer into project/webrtc-voiceRoxie Linden
2024-06-06Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into ↵Brad Linden
project/gltf_development
2024-06-06Merge branch 'main' into DRTVWR-600-maint-AAndrey Lihatskiy
# Conflicts: # indra/cmake/Copy3rdPartyLibs.cmake
2024-06-06viewer#1641 Show accurate Alpha mode if asset is missingAndrey Kleshchev
2024-06-05Attempt to fix intermittent failuresin threadsafeschedule_test (#1623)Brad Linden
2024-06-05Ignore SIGHUP from SLPlugin processes. (#1627)Brad Linden
Under rosetta2, terminating SLPlugin child processes that would normally send SIGCHILD seem to be now sending SIGHUP. we should not terminate the viewer in this case.
2024-06-05#1527 Improve performance on Apple silicon (#1632)Dave Parks
2024-06-05Merge pull request #1634 from secondlife/brad/featurettes-gltf-dev-mergeBrad Linden
featurettes gltf dev merge
2024-06-05Merge pull request #1639 from secondlife/nat/stack-overflownat-goodspeed
Make LLLeap iterate over child stdout while read data is pending
2024-06-05Make LLLeap iterate over child stdout while read data is pendingNat Goodspeed
instead of using mutual recursion to exhaust the read buffer.
2024-06-04Fixup mix->pbr_mix after merge.Brad Linden
2024-06-04Merge remote-tracking branch 'origin/release/materials_featurette' into ↵Brad Linden
project/gltf_development
2024-06-04#989 Fix for blurry terrain on Mac (#1633)Brad Linden
Co-authored-by: Dave Parks <davep@lindenlab.com>
2024-06-04 #1628 Disable spherical mirror probes for the time being. (#1631)Jonathan "Geenz" Goodman
2024-06-04Merge pull request #1630 from secondlife/nat/fix-ftr8-exrnat-goodspeed
Update tinyexr package to package based on secondlife/3p-tinyexr.
2024-06-04Update tinyexr package to package based on secondlife/3p-tinyexr.Nat Goodspeed
2024-06-04Merge pull request #1555 from secondlife/lua-timersnat-goodspeed
Add timer support to the Lua viewer
2024-06-04Merge remote-tracking branch 'origin/release/maint-x' into ↵Brad Linden
project/gltf_development
2024-06-04Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into ↵Brad Linden
project/gltf_development
2024-06-04Fix for AMD not being able to load pbrmetallicroughnessV. (#1620)Jonathan "Geenz" Goodman
2024-06-04Merge pull request #1626 from ↵cosmic-linden
secondlife/1614-pbr-materials-exhibit-striationmoiré-patterns-in-specular-highlights 1614 pbr materials exhibit striationmoiré patterns in specular highlights
2024-06-04#1614 Fix for moire pattern in specular highlights. Incidental cleanup.RunitaiLinden
2024-06-04Comment the intent of test_timers.luaNat Goodspeed
so the user need not reverse-engineer the code to figure out the output.