summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-06Remove Lua floaters from menu_viewer.xml; re-add if Lua enabled.Nat Goodspeed
Add a menus.lua autorun script that waits until login, then adds the Lua floaters back into the Develop->Consoles menu where they were originally. Extend UI.addMenuItem() and addMenuSeparator() to support pos argument.
2024-09-06Introduce LuaFeature debug setting, default off.Nat Goodspeed
Make central Lua engine functionality conditional on that flag.
2024-09-06Add pos to 'UI' listener's 'addMenuItem' and 'addMenuSeparator'Nat Goodspeed
'pos' is a 0-relative index at which to insert the desired menu item or separator. If 'pos' is omitted, the item is appended to the menu.
2024-09-06Allow LLMenuGL::insert() to append as well as inserting.Nat Goodspeed
Appending is effected by passing position == getItemCount(). Until now, insert() disallowed that value, so you could insert before the last existing entry but not after it.
2024-09-06Introduce llless(), and use it for llmin(), llmax().Nat Goodspeed
Add tests to verify that llless() correctly handles signed <=> unsigned comparison, which native "<" does not.
2024-09-05Avoid some classic-C style pointer casts.Nat Goodspeed
2024-09-05Fix typo in cppfeatures_test.cppNat Goodspeed
2024-09-05Merge pull request #2513 from secondlife/lua-merge-devnat-goodspeed
Merge develop branch into Lua project branch.
2024-09-05Merge branch 'release/luau-scripting' into lua-merge-devNat Goodspeed
2024-09-05Merge pull request #2451 from secondlife/lua-resultsetnat-goodspeed
Give certain `LLInventoryListener` queries an API based on result sets.
2024-09-05Fix Windows build errors from develop => release/luau-scripting.Nat Goodspeed
2024-09-05Fix build errors from merging develop into release/luau-scripting.Nat Goodspeed
2024-09-05In llcoromutex.h, pull in llcoro::RMutex from develop branch.Nat Goodspeed
Also add develop branch's comments about llcoro::LockType being deprecated.
2024-09-05Fix a merge glitch in llcoros.h.Nat Goodspeed
2024-09-05Merge branch 'develop' into release/luau-scriptingNat Goodspeed
2024-09-05Fixed md5 buffer not being correctly zero-initialized and refactored code. ↵TJ
(#2507)
2024-09-05Fix a few trailing whitespaces.Nat Goodspeed
2024-09-05Merge branch 'release/luau-scripting' into lua-resultsetNat Goodspeed
2024-09-05Merge pull request #2450 from secondlife/lua-mergenat-goodspeed
Merge updated 'main' branch into release/luau-scripting
2024-09-05#2461 changing the color of my dot on the minimapAlexander Gavriliuk
2024-09-05viewer#2411 Confine font vertex buffers to static text segmentsAndrey Kleshchev
Collection of vertex buffers happens to often with segmented text.
2024-09-05viewer#2411 Use font buffer in line editorAndrey Kleshchev
2024-09-05viewer#2411 Use font buffer in text segmentsAndrey Kleshchev
2024-09-04Insidious trailing whitespaceNat Goodspeed
2024-09-04Merge branch 'lua-merge' of github.com:secondlife/viewer into lua-mergeNat Goodspeed
2024-09-04Merge branch 'release/luau-scripting' into lua-mergeNat Goodspeed
2024-09-04Windows build fixesNat Goodspeed
2024-09-04Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into developBrad Linden
2024-09-04Merge pull request #2504 from secondlife/brad/cherry-pick-2492Brad Linden
cherry pick fix for #2490 into DeltaFPS
2024-09-04secondlife/viewer#2490: Fix PBR terrain texture transform feature flag ↵Cosmic Linden
handled by viewer in unpredictable manner
2024-09-04Swat a few more buzzing BOOLs.Nat Goodspeed
2024-09-04Adapt new code from main branch to Lua project calling convention.Nat Goodspeed
2024-09-04Resolve a few unresolved merge conflicts.Nat Goodspeed
2024-09-04Extract coroutine-aware synchronization primitives to new header.Nat Goodspeed
Changes on new main and changes on Lua project branch combined into a header circularity. Resolved by hoisting coroutine-aware synchronization primitives out to a new llcoromutex.h file in the `llcoro` namespace, rather than being literally members of the `LLCoros` class. But retained `using` declarations in `LLCoros` for backwards compatibility.
2024-09-04Fix another 1856 crash on startup case when Terrain Bake shaders are ↵Brad Linden
unsupported (#2491) fixes secondlife/viewer#1856
2024-09-04Fixed missing comma in list. Fixed loop with too small loop variable. (#2497)TJ
2024-09-04#2482 Low end NVIDIA compatibility pass (#2486)Dave Parks
- Use GL_NVX_gpu_memory_info when available - Disable transparent water on Mid+ and lower - Adjust GPU benchmark to better tell the truth - Texture bias tune up - viewer-private/#277 - Report foreground_time in viewer stats
2024-09-04Merge pull request #2492 from secondlife/v-2490cosmic-linden
secondlife/viewer#2490: Fix PBR terrain texture transform feature flag handled by viewer in unpredictable manner
2024-09-04#2471 The Destinations ComboBox on Login Screen... (quick fix)Alexander Gavriliuk
2024-09-04Fix test: new traceback info changed error message.Nat Goodspeed
2024-09-04Merge branch 'release/luau-scripting' into lua-resultsetNat Goodspeed
2024-09-04`result_view()`'s table's `close()` method need not be further wrapped.Nat Goodspeed
`LL.setdtor(desc, table, func)` eventually calls `func(table)`. So the `close()` method on the table returned by `result_view()` can be directly passed to `setdtor()`, instead of wrapped in a new anonymous function whose only job is to pass the table to it. Moreover, there's no need for the table returned by LLInventory.lua's `result()` function to lazily instantiate the `result_view()` for `categories` or `items`: neither `result_view` will fetch a slice unless asked. Just return `{categories=result_view(...), items=result_view(...), close=...}`. This dramatically simplifies the `result()` function. Since that table also defines a `close()` function, that too can be passed directly to `setdtor()` without being wrapped in a new anonymous function.
2024-09-04Instead of traversing all calling cards, pick a selected few.Nat Goodspeed
Make test_LLInventory.lua directly select from the calling_cards result set, instead of first copying all names to a separate array.
2024-09-04viewer#2411 Cleanup #2Andrey Kleshchev
2024-09-04viewer#2411 CleanupAndrey Kleshchev
2024-09-04viewer#2411 A bit more coverage for font bufferAndrey Kleshchev
2024-09-04viewer#2411 LLFontGL::render optimizations #3Andrey Kleshchev
2024-09-04viewer#2411 LLFontGL::render optimizations #2Andrey Kleshchev
2024-09-04Remove usused LLButton::mBorderEnabledAndrey Kleshchev
2024-09-04viewer#2411 LLFontGL::render optimizationsAndrey Kleshchev