summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-13DRTVWR-558: Extend LL::apply() to LLSD array arguments.Nat Goodspeed
Make apply(function, std::array) and apply(function, std::vector) available even when we borrow the C++17 implementation of apply(function, std::tuple). Add apply(function, LLSD) with interpretations: * isUndefined() is treated as an empty array, for calling a nullary function * scalar LLSD is treated as a single-entry array, for calling a unary function * isArray() converts function parameters using LLSDParam * isMap() is an error. Add unit tests for all flavors of LL::apply(). (cherry picked from commit 3006c24251c6259d00df9e0f4f66b8a617e6026d)
2023-07-13DRTVWR-558: Fix builds on macOS 12.5 Monterey.Nat Goodspeed
Always search for python3[.exe] instead of plain 'python'. macOS Monterey no longer bundles Python 2 at all. Explicitly make PYTHON_EXECUTABLE a cached value so if the user edits it in CMakeCache.txt, it won't be overwritten by indra/cmake/Python.cmake. Do NOT set DYLD_LIBRARY_PATH for test executables! That has Bad Effects, as discussed in https://stackoverflow.com/q/73418423/5533635. Instead, create symlinks from build-mumble/sharedlibs/Resources -> Release/Resources and from build-mumble/test/Resources -> ../sharedlibs/Release/Resources. For test executables in sharedlibs/RelWithDebInfo and test/RelWithDebInfo, this supports our dylibs' baked-in load path @executable_path/../Resources. That load path assumes running in a standard app bundle (which the viewer in fact does), but we've been avoiding creating an app bundle for every test program. These symlinks allow us to continue doing that while avoiding DYLD_LIBRARY_PATH. Add indra/llcommon/apply.h. The LL::apply() function and its wrapper macro VAPPLY were very useful in diagnosing the problem. Tweak llleap_test.cpp. This source was modified extensively for diagnostic purposes; these are the small improvements that remain. (cherry picked from commit 15d37713b9113a6f70dde48c764df02c76e18cbc) (cherry picked from commit a1adcf1905d1fbc5fe07ff5a627295ccfe461ac4)
2023-07-12Merge branch 'brad/SL-19968-vocache-objects-missing' into DRTVWR-587-maint-V ↵Brad Linden
(#273)
2023-07-12added info log lines for assistance diagnosing SL-19968Brad Linden
2023-07-12SL-18330: Merge commit '6b53036' into DRTVWR-587-maint-VNat Goodspeed
Bring over part of the LLEventDispatcher work inspired by DRTVWR-558.
2023-07-12Merge pull request #213 from secondlife/rm-cxxstdnat-goodspeed
SL-18837: Remove C++17 override, given build-variables change.
2023-07-12SL-18837: Merge branch 'DRTVWR-587-maint-V' into rm-cxxstd.Nat Goodspeed
2023-07-11SL-19986 Crash at LLConversationItemSession::findParticipantAndrey Kleshchev
Observed on bugsplat, no repro. Something destroys LLConversationItem without cleaning list (some sessions reuse the item, but they aren't supposed to remove it). Either item should inform floater to be properly removed or should be stored as an LLPointer.
2023-07-07SL-19702 restore previous double clicking behavior for objectsMaxim Nikolenko
2023-07-07SL-19963 Group Profile's money details have misleading dateAndrey Kleshchev
2023-07-07SL-19966 Reverted "SL-18721: Faster viewer shutdown time since performance ↵Andrey Lihatskiy
improvements can lead to perceived inventory loss due to cache corruption" This reverts commit cf692c40b0b9f8d0d04cd10a02a84e3f697a2e99.
2023-07-06SL-18164 Media type format not shown in the About Land's media tabAndrey Kleshchev
2023-07-06SL-19702 restore previous double clicking behavior for objects (#266)Maxim Nikolenko
2023-07-05SL-19950 don't try to change fly state if it's not neededMaxim Nikolenko
2023-07-05SL-19716 and SL-19437 viewer_managerAndrey Kleshchev
2023-06-30SL-19565 Prefs Bug when searching in PrefsAlexander Gavriliuk
2023-06-30SL-19816 Home location on world map for invalid locationsAlexander Gavriliuk
2023-06-28SL-19572 Fix some obscure cases of residents bypasing mute listAndrey Kleshchev
2023-06-27SL-19924 Update profile type namesAndrey Kleshchev
2023-06-24SL-19805 Fix touch handling logicAlexander Gavriliuk
2023-06-23SL-19805 Follow-up fixAndrey Lihatskiy
2023-06-23SL-19805 Second Life Viewer last update made invisible parts visibleAlexander Gavriliuk
2023-06-01SL-19806 Crash at vobjAndrey Kleshchev
2023-06-01SL-19762 fix for cropped label textMnikolenko Productengine
2023-05-30SL-17429 Message user when their inventory hits AIS2 limitsAndrey Kleshchev
2023-05-29SL-19787 Crash at LLUIColor::operatorAndrey Kleshchev
2023-05-23SL-19635 Better error handlingAndrey Kleshchev
2023-05-23SL-19744: Remove LLApp::startErrorThread() and references.Nat Goodspeed
2023-05-23SL-19744: Remove LLErrorThread and LLAppViewer::handleViewerCrash()Nat Goodspeed
2023-05-22SL-19635 Implement DeepL tranlation supportAndrey Kleshchev
2023-05-19DRTVWR-580 Post-merge fix - unused codeAndrey Lihatskiy
2023-05-19DRTVWR-580 Post-merge fixAndrey Lihatskiy
2023-05-18SL-19649 Adjust other classes for new deleteAllChildren mechanicsAndrey Kleshchev
2023-05-18SL-19649 reduce logging out time for larger inventoriesMaxim Nikolenko
2023-05-17Merge branch 'main' into DRTVWR-580-maint-TAndrey Lihatskiy
# Conflicts: # doc/contributions.txt # indra/llcharacter/llkeyframemotion.cpp # indra/newview/llfilepicker.cpp
2023-05-17Increment viewer version to 6.6.13Nat Goodspeed
following promotion of DRTVWR-577
2023-05-12SL-18837: Remove C++17 override, given build-variables change.Nat Goodspeed
Until now, the viewer has explicitly set(CMAKE_CXX_STANDARD 17) with a comment explaining that we hadn't dared add -std=c++17 to build-variables/variables because we didn't know if we could build all the component autobuild packages with that switch. Now that we've successfully built all of them with that switch, we've updated the viewer branch of build-variables, so we can remove the viewer's CMAKE_CXX_STANDARD override.
2023-05-10SL-19536 SL-19652 Fix inventory fetchingAndrey Kleshchev
2023-05-09SL-19660 Updated contributions docAndrey Kleshchev
2023-05-09SL-19660 Merge pull request #199 from beqjanus/mainakleshchev
BUG-233797/233798 - fix blackout when u/w fog_density < 0
2023-05-04Merge remote-tracking branch 'origin/zap-LLSDArray' into DRTVWR-577-maint-SAndrey Lihatskiy
2023-05-04Merge remote-tracking branch 'origin/zap-LLSDArray' into DRTVWR-580-maint-TAndrey Lihatskiy
2023-05-03SL-19647: Eliminate LLSDArray entirely.Nat Goodspeed
Newer C++ compilers have different semantics around LLSDArray's special copy constructor, which was essential to proper LLSD nesting. In short, we can no longer trust LLSDArray to behave correctly. Now that we have variadic functions, get rid of LLSDArray and replace every reference with llsd::array().
2023-05-03SL-19681 Updated list of contributorsAndrey Kleshchev
2023-05-03SL-19681 Merge pull request #202 from PanteraPolnocyakleshchev
Fix typos in floater_scene_load_stats.xml and llviewerstats.cpp
2023-05-03DRTVWR-575: Replace some LLSDArray() usage with llsd::array().Nat Goodspeed
It seems newer compilers have a different interpretation of exactly when to engage LLSDArray's copy constructor. In particular, this assignment: some_LLSD_map[key] = LLSDArray(...)(...)...; used to convert the LLSDArray object directly to LLSD; now it first calls the custom copy constructor, which embeds the intended array within an outer array before assigning it into the containing map. The newer llsd::array() function avoids that problem because what it returns is already an LLSD object. Taking inventory of LLSDArray assignments of that form turned up a number of workarounds like LLSD(LLSDArray(...)). Replacing those with llsd::array() is both simpler and more readable. Tip of the hat to Chorazinallen for surfacing this issue! (cherry picked from commit bb718155bddfbe7007029a0c9e69a4a98615f14d)
2023-05-02Merge branch 'main' into mainBeq Janus
2023-05-02Fixing a small typo in llviewerstats.cppPantera Północy
2023-05-02Update floater_scene_load_stats.xmlPantera Północy
Reducing the packet loss...
2023-05-02Merge branch 'main' into DRTVWR-577-maint-SAndrey Lihatskiy