summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2023-10-30Revert "DRTVWR-587 Bring back the previously reverted change"Andrey Lihatskiy
This reverts commit 9d49edbc48d81f820870d43edb2c975beffa5485.
2023-10-30DRTVWR-587 Bring back the previously reverted changeAndrey Lihatskiy
2023-10-29DRTVWR-587: Fix LL::apply(function, LLSD array).Nat Goodspeed
We define a specialization of LLSDParam<const char*> to support passing an LLSD object to a const char* function parameter. Needless to remark, passing object.asString().c_str() would be Bad: destroying the temporary std::string returned by asString() would immediately invalidate the pointer returned by its c_str(). But when you pass LLSDParam<const char*>(object) as the parameter, that specialization itself stores the std::string so the c_str() pointer remains valid as long as the LLSDParam object does. Then there's LLSDParam<LLSD>, used when we don't have the parameter type available to select the LLSDParam specialization. LLSDParam<LLSD> defines a templated conversion operator T() that constructs an LLSDParam<T> to provide the actual parameter value. So far, so good. The trouble was with the implementation of LLSDParam<LLSD>: it constructed a _temporary_ LLSDParam<T>, implicitly called its operator T() and immediately destroyed it. Destroying LLSDParam<const char*> destroyed its stored string, thus invalidating the c_str() pointer before the target function was entered. Instead, make LLSDParam<LLSD>::operator T() capture each LLSDParam<T> it constructs, extending its lifespan to the lifespan of the LLSDParam<LLSD> instance. For this, derive each LLSDParam specialization from LLSDParamBase, a trivial base class that simply establishes the virtual destructor. We can then capture any specialization as a pointer to LLSDParamBase. Also restore LazyEventAPI tests on Mac.
2023-10-27DRTVWR-587: Skip Visual Studio LLSDParam<const char*> tests for now.Nat Goodspeed
They do work fine on clang... unblocking the rest of the team during diagnosis.
2023-10-26D587 Post merge fmod issues fixAndrey Kleshchev
2023-10-25Post merge build fixAndrey Kleshchev
2023-10-25Merge branch 'main' into DRTVWR-587-maint-VAndrey Lihatskiy
2023-10-25Increment viewer version to 6.6.17Nat Goodspeed
following promotion of DRTVWR-578
2023-10-25Merge branch 'main' into DRTVWR-587-maint-VAndrey Lihatskiy
# Conflicts: # autobuild.xml # indra/llcommon/tests/llleap_test.cpp # indra/newview/viewer_manifest.py
2023-10-20SL-16661 dmg installer updateAndrey Lihatskiy
2023-10-17SL-20476: Don't let the compiler know we intend to crash.Nat Goodspeed
clang has gotten smart enough to recognize an inline attempt to store to address zero. Fool it by storing to an address passed as a parameter, and pass nullptr from a different source file.
2023-10-17SL-18837: Avoid stuffing build number into 32-bit int.Nat Goodspeed
Even though LLVersionInfo::getBuild() already returns a 64-bit int, various consumers assumed it could fit into 32 bits. It was especially bad to pass it to a classic C style varargs function. Only on a little-endian CPU, and only because it was the last argument, the damage was limited to truncation -- instead of arbitrary undefined behavior. Where the consumer doesn't support 64-bit ints, pass as string instead.
2023-10-16SL-18837: Second Life Release.app=>Second Life Viewer.app in tarballNat Goodspeed
2023-10-16SL-18837: Create Second Life Viewer.app, not Second Life Release.appNat Goodspeed
2023-10-16SL-20473 Add GenericStreamingMessage and dummy handler to suppress packet ↵RunitaiLinden
loss and log spam noise when visiting GLTF enabled regions.
2023-10-12SL-18837: Unify all llrand_test.cpp in-range tests.Nat Goodspeed
The header file documents that no llrand function should ever return a value equal to the passed extent, so the one test in llrand_test.cpp that checked less than or equal to the high end of the range was anomalous. But changing that to an exclusive range means that we no longer need separate exclusive range and inclusive range functions. Replace ensure_in_range_using(), ensure_in_exc_range() and ensure_in_inc_range() with a grand unified (simplified) ensure_in_range() function.
2023-10-12Merge pull request #427 from secondlife/signal/py312nat-goodspeed
Add python 3.12 to FindPython search path
2023-10-12SL-20436 New accounts that select outfit in web fail to download clothingAndrey Kleshchev
2023-10-09SL-20430 Camera won't follow avatar above 1024mAndrey Kleshchev
Partially reverts SL-20206 commit 25388312cf28f8b30934ac3885783a96a3b2ed69
2023-10-08Add python 3.12 to FindPython search pathBennett Goble
Look for python 3.12 in the registry along with all the other versions.
2023-10-05SL-18837: When llrand_test.cpp fails, display the failing value.Nat Goodspeed
It's frustrating and unactionable to have a failing test report merely that the random value was greater than the specified high end. Okay, so what was the value? If it's supposed to be less than the high end, did it happen to be equal? Or was it garbage? We can't reproduce the failure by rerunning! The new ensure_in_exc_range(), ensure_in_inc_range() mechanism is somewhat complex because exactly one test allows equality with the high end of the expected range, where the rest mandate that the function return less than the high end. If that's a bug in the test -- if every llrand function is supposed to return less than the high end -- then we could simplify the test logic.
2023-10-04SL-18837: Merge branch 'actions-clean-manifest' into actions.Nat Goodspeed
This branch cleans up crufty code in build.yaml, build.sh and viewer_manifest.py that was packaging, signing and uploading installers before the SL-19242 work.
2023-10-04SL-18837: Fix set-but-unreferenced in LLInventoryGallery::startDrag()Nat Goodspeed
2023-10-04Revert "DRTVWR-587: Simplify Python.cmake by omitting find_package(Python3)."Andrey Lihatskiy
2023-10-04SL-18837: Restore setting ViewerManifest.package_file.Nat Goodspeed
This is referenced after running the packaging.
2023-10-04SL-18837: Merge branch 'main' of secondlife/viewer into actionsNat Goodspeed
2023-10-03SL-19242: Remove signing and packaging from viewer_manifest.pyNat Goodspeed
for Mac and Windows. That's now done by subsequent jobs in the GitHub build. Remove workflow step to upload installers before signing and packaging jobs. Remove from viewer_manifest.py conditionals for 32-bit Windows or Mac. Also bump to actions/checkout@v4, per dependabot.
2023-10-03SL-17135 Apr process creation crashAndrey Kleshchev
looks like pool regularly gets corrupted, try using separate pool
2023-10-03SL-20341 Close Item Properties on deletionAndrey Kleshchev
2023-10-03SL-20384 Add "play" button into inventory menu.Andrey Kleshchev
2023-10-03SL-20383 Fix scroll locking viewAndrey Kleshchev
2023-10-03SL-20347 Fix structure of localized panel_main_inventoryAndrey Kleshchev
2023-10-03SL-20368 Request outfits using 'links'Andrey Kleshchev
instead of getting items one by one
2023-10-03Merge branch 'main' into DRTVWR-587-maint-VAndrey Lihatskiy
# Conflicts: # indra/newview/llinventorymodel.cpp # indra/newview/llvovolume.cpp
2023-10-03Increment viewer version to 6.6.16Nat Goodspeed
following promotion of DRTVWR-567
2023-09-29SL-20244 On-screen animesh characters that start pelvis offset animations ↵Alexander Gavriliuk
disappear when root goes off-screen
2023-09-26SL-19242: Store Mac app bundle in tarball with top-level .app name.Nat Goodspeed
We were creating the tarball with the app bundle stored as the whole 'Users/someone/.../newview/Release/Second Life Mumble.app' path. Don't.
2023-09-26SL-20341 Item Properties floater closes on changes for task inventory itemAndrey Kleshchev
2023-09-26SL-19242: Allow overwriting the Mac viewer's app bundle tarball.Nat Goodspeed
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-25SL-20334 Unable to use non-square textures from inventoryAndrey Kleshchev
2023-09-25SL-20332 Crash at dragCategoryIntoFolderAndrey Kleshchev
2023-09-20SL-20308 Clearing user's data should clear mfa #2Andrey Kleshchev
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-18SL-20308 Clearing user's data should clear mfaAndrey Kleshchev
2023-09-15SL-20278 Disconnect saving MFA from saving passwordAndrey Kleshchev
2023-09-15SL-19826 Gallery multiselect support, fix right clickAndrey Kleshchev
2023-09-14SL-20269 Tab's focus jumps over item when clicking on edge itemsAndrey Kleshchev
2023-09-14SL-20285 Updated individual request count declarationAndrey Kleshchev