summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-09-26DRTVWR-589: Collect int table keys in vector<int>, not set<int>.Nat Goodspeed
Given that we at least have a possibility of determining the length of a Lua table in advance, we might be able to populate a vector of keys with a single initial allocation. Even if Lua reports the length incorrectly, vector::push_back() is one of the bread-and-butter operations of the library, optimized to the extent possible. Inserting elements into a set seems more likely to incur allocations. Of course, we must then sort() the vector to determine its largest key value. Also document the requirement that we use a Lua runtime compiled for C++, that is, compiled to raise errors by C++ exceptions rather than by longjmp(). We rely on temporary stack objects being properly destroyed even if errors are raised. Conventionally, with lua_tomumble(L, index), 'index' refers to the stack index of the Lua object being converted to C++. For a Lua table, talk about table keys rather than table indexes to avoid confusing the maintainer.
2023-09-26SL-19242: Merge branch 'actions' of viewer-private into actionsNat Goodspeed
to pick up Brad's secrets fix.
2023-09-26SL-19242: Package Mac app image as tarball for artifact uploading.Nat Goodspeed
actions/upload-artifact doesn't preserve symlinks, which are important for our Mac viewer and its embedded frameworks. But tar does, so pack up the whole bundle as a tarball before posting as a GitHub artifact.
2023-09-26SL-20338 FIXED Texture tab Material drop-down does not change if same ↵Maxim Nikolenko
numbered face is selected
2023-09-25DRTVWR-589: Fix Lua table to LLSD array conversion.Nat Goodspeed
The previous implementation assumed that the Lua length function would correctly report the number of entries in a table, and that traversing a table with integer keys would produce them in numeric order. Neither assumption is true. Instead, make a preliminary pass to validate and collect indexes, and to discover the highest integer index. Armed with that, we can construct a contiguous LLSD array of correct size, and populate it with a second pass. Also add Lua-callable post_on_pump(pumpname, datablob) function.
2023-09-25Attempt to fix SL-19242 notarize creds secrets loadingBrad Linden
2023-09-25SL-20334 Unable to use non-square textures from inventoryAndrey Kleshchev
2023-09-25SL-20332 Crash at dragCategoryIntoFolderAndrey Kleshchev
2023-09-25SL-19242: Reference the actual stored GitHub repo secrets.Nat Goodspeed
Add a Mac signing step to unpack the credentials bundled into NOTARIZE_CREDS_MACOS so viewer-build-util/sign-pkg-mac need not know about that peculiarity of our secrets formatting.
2023-09-23DRTVWR-589: Further timing-proof pipe and pump fitness test.Nat Goodspeed
2023-09-23DRTVWR-589: Merge remote branch 'DRTVWR-589' into DRTVWR-589Nat Goodspeed
2023-09-22SL-20321 Fix for missing "has_te" check (thanks Henri)RunitaiLinden
2023-09-22DRTVWR-589: Introduce LuaFunction: simplified function registration.Nat Goodspeed
2023-09-22Merge branch 'DRTVWR-589' of github.com:/secondlife/viewer-private into ↵Brad Payne (Vir Linden)
DRTVWR-589
2023-09-22DRTVWR-589 - more demo.lua tweaksBrad Payne (Vir Linden)
2023-09-22SL-20325 Fix for double sided not working.RunitaiLinden
2023-09-22DRTVWR-589: Make pump&pipe fitness tests less timing sensitive.Nat Goodspeed
2023-09-22SL-18837: Bump the granularity of WorkQueue timing tests.Nat Goodspeed
On a low-powered GitHub Mac runner, the system doesn't wake up as soon as it should, and we get spurious "too late" errors. Try a bigger time increment. (cherry picked from commit 045342ba29aae186e13c711bd4dd84377d4a7e43)
2023-09-22DRTVWR-589: Bump the time deltas for ThreadSafeSchedule.Nat Goodspeed
Use whole seconds rather than tenths of seconds, since apparently the TeamCity agent machine is having trouble waking up within tenths of seconds.
2023-09-22Merge branch 'DRTVWR-589' of github.com:/secondlife/viewer-private into ↵Brad Payne (Vir Linden)
DRTVWR-589
2023-09-22DRTVWR-589 - updates to demo.lua, take avs from libraryBrad Payne (Vir Linden)
2023-09-22DRTVWR-589: Existing lua_pushmumble() functions usually return void.Nat Goodspeed
2023-09-22DRTVWR-589: lua_objlen() removed, use lua_rawlen() insteadNat Goodspeed
2023-09-21DRTVWR-589: lua_objlen() only defined in luaconf.hNat Goodspeed
2023-09-21SL-20321 Interpret missing TEs in override messages as indication overrides ↵RunitaiLinden
should be nulled out if present.
2023-09-21DRTVWR-589: Merge branch 'DRTVWR-589-llsd' into DRTVWR-589Nat Goodspeed
It seems TC only builds specific v-p branches, e.g. DRTVWR-589 but not DRTVWR-589-llsd.
2023-09-21DRTVWR-589: Add lua_tollsd() and lua_pushllsd() functions.Nat Goodspeed
2023-09-21DRTVWR-589 - allow adding branch to the menuMnikolenko Productengine
2023-09-21DRTVWR-589 - adding menu items to the top menuMnikolenko Productengine
2023-09-20Merge pull request #379 from secondlife/davep/SL-19842Brad Linden
New GLTF protocol and lighting changes
2023-09-20Remove win32 build from DRTVWR-559 github buildBrad Linden
2023-09-20SL-20308 Clearing user's data should clear mfa #2Andrey Kleshchev
2023-09-20DRTVWR-589 - added play animation and started to collect demo scriptsBrad Payne (Vir Linden)
2023-09-20SL-20298 Fix recursive fetch not working properly.Andrey Kleshchev
2023-09-20SL-19242: Pass channel and imagename to sign-pkg-mac/action.yaml.Nat Goodspeed
The viewer_manifest.py logic to determine the name of the viewer installer .dmg is a little convoluted. Make it tell viewer-build-util/sign-pkg-mac that name, rather than passing it all the relevant inputs and composing it redundantly. sign-pkg-mac also wants the viewer channel to determine the application name.
2023-09-19SL-20177: Blind attempt at fixing crash in SetWindowLongPtr. Guess based on ↵Cosmic Linden
the fact that crashes started around the time VRAM accounting was added.
2023-09-19SL-20229 Fix for mac build (and don't spam log on viewers that don't know ↵RunitaiLinden
about a particular GenericStreamingMessage method)
2023-09-19Merge branch 'DRTVWR-589' of github.com:/secondlife/viewer-private into ↵Brad Payne (Vir Linden)
DRTVWR-589
2023-09-19DRTVWR-589 - click_child, limited support for pushing buttons in a floaterBrad Payne (Vir Linden)
2023-09-19lua support for notificationsMnikolenko Productengine
2023-09-19SL-19242: Move comments out of YAML parameter text.Nat Goodspeed
2023-09-18SL-19242: Typo in changing from inline to reusable action.Nat Goodspeed
2023-09-18SL-19242: release job now depends on package jobsNat Goodspeed
and uses new viewer-build-util/release-artifacts action.
2023-09-19SL-5522 Fix applying textuers and materials with limited restrictions to ↵Andrey Kleshchev
attachments 1. Texture picker now updates filter's permissions based on selection 2. Various panels now properly check permissions
2023-09-18SL-20229 Cache GLTF updates that are received before the object they're ↵RunitaiLinden
applied to is loaded.
2023-09-18SL-20229 Add blip for GLTF messages to "Show Updates to Objects"RunitaiLinden
2023-09-18SL-20308 Clearing user's data should clear mfaAndrey Kleshchev
2023-09-18DRTVWR-589 - close_floater by nameBrad Payne (Vir Linden)
2023-09-18SEC-430 'WARNING: LLFace::getGeometryVolume: Index buffer overflow' occuring ↵Alexander Gavriliuk
500 times plus per minute
2023-09-15DRTVWR-589 - lua file browser added run button to allow re-running same scriptBrad Payne (Vir Linden)