summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2023-02-07SL-19134 Item Profile redesign #4Andrey Kleshchev
2023-02-07SL-19134 [WIP] Item Profile redesign #3Andrey Kleshchev
2023-02-07SL-19134 Some texture related adjustmentsAndrey Kleshchev
2023-02-07SL-19134 Replace icon in profiles with thumbnailAndrey Kleshchev
Mostly to make sure it works, but avatar images can be fairly large, so this prevents them from being permanently stored
2023-02-07SL-19134 Thumbnail ctrlAndrey Kleshchev
LLIconCtrl stores icons indefinitely which is undesired for fairly large and expected to be numerous thumbnails, LLTextureCtrl is tied to texture picker and has a number of limitations (already processes clicks, enforces label area). Intent behind LLThumbnailCtrl is to bridge the gap - to not store texture indefinitely and to allow further customisation.
2023-02-04SL-19109 Turn LLSidepanelTaskInfo into a normal panelAndrey Kleshchev
2023-02-04SL-19109 Turn LLSidepanelItemInfo into a normal panelAndrey Kleshchev
2023-02-04SL-19109 Cut out object profiles from inventoryAndrey Kleshchev
2023-02-03SL-19109 Decouple object profiles from inventoryAndrey Kleshchev
Potentially this won't stay as sidepanels, but such rework is planned for SL-19134, for now just making it possible to open multiple instances of item profiles
2023-02-03Merge branch 'xcode-14.1' into andreyk/SL-19134Andrey Kleshchev
# Conflicts: # indra/llcommon/llsdserialize.cpp # indra/llcommon/llsdserialize.h
2023-02-03SL-7277 show Advanced permissions in Item profile that was opened from inventoryMnikolenko Productengine
2023-02-03SL-19149 Highlight string match is misplaced when searching worn itemsMaxim Nikolenko
2023-02-03Merge branch 'main' into DRTVWR-567Maxim Nikolenko
# Conflicts: # indra/newview/llappearancemgr.cpp # indra/newview/llpanelmaininventory.cpp
2023-02-02Increment viewer version to 6.6.10Nat Goodspeed
following promotion of DRTVWR-570
2023-02-01SL-19104 update label and permissions displayMaxim Nikolenko
2023-02-01SL-19104 Clean up inventory UI to prepare for thumbnails (#66)Maxim Nikolenko
2023-02-01SL-19117 Textures should return asset id when thumbnail is not setAndrey Kleshchev
2023-02-01SL-19117 Extend texture preview to show thumbnails when presentAndrey Kleshchev
2023-02-01SL-18988 OSX buildfixAndrey Lihatskiy
2023-02-01Add a texture inspector and show it when hovering over an inventory textory ↵Kitty Barnett
(or folder containing - among others - exactly one texture) and when hovering over notecard embedded textures
2023-01-27Revert "SL-18581 Don't show the starter avatar toolbar button for NUX"Andrey Lihatskiy
This reverts commit 4d429b7ea31f51f653e0e2ad6b5799a515e28334.
2023-01-24Merge branch 'DRTVWR-567' of ssh://github.com/secondlife/viewer into DRTVWR-567Brad Payne (Vir Linden)
2023-01-24SL-18629 - various notes on work for D567Brad Payne (Vir Linden)
2023-01-23Merge branch 'main' into DRTVWR-567Mnikolenko Productengine
2023-01-11SL-18945 Links have no 'cut' optionAndrey Kleshchev
Links can be drag and dropped so they should be movable via 'cut' as well
2023-01-11SL-18939 Cannot copy inventory folders with copiable linksAndrey Kleshchev
2023-01-10SL-18911 My Land Holdings floater crashes viewer on the Xcode/+Monterey ↵akleshchev
branches (#47) Revert part of "DRTVWR-575: Address review comments on Xcode 14.1 type tweaks." Crash was reproduced when assigning areastr to llsd, but likely present in other cases of assigning ui strings to llsd (instead of going for lluistring's result directly copy constructor was engaged and either copy or original crashed due to invalid pointers, copy shouldn't have been created).
2023-01-09SL-18924 - basic get/set functions for thumbnail UUID, removed obsolete ↵Brad Payne (Vir Linden)
binary pack/unpack functions for inventory
2023-01-07Revert "SL-18911 [MAC] My Land Holdings floater crashes when not empty"Andrey Kleshchev
This reverts commit d6f5e5bc9424b9d45f6eeeca5d894d46dc91b279.
2023-01-07SL-18911 [MAC] My Land Holdings floater crashes when not emptyAndrey Kleshchev
2023-01-05SL-18894 The change of 'modify rights' is not recorded in IM history if the ↵Andrey Kleshchev
user is in DND mode Revert of commit for SL-15401. Messages are supposed to handle 'mute' on their own.
2023-01-05SL-18871 Debug setting's description is not scrollableAndrey Kleshchev
2023-01-04DRTVWR-575: Fix possible bad indexing in LLSD::operator[](size_t).Nat Goodspeed
One could argue that passing a negative index to an LLSD array should do something other than shrug and reference element [0], but as that's legacy behavior, it seems all too likely that the viewer sometimes relies on it. This specific problem arises if the index passed to operator[]() is negative -- either with the previous Integer parameter or with size_t (which of course reinterprets the negative index as hugely positive). The non-const ImplArray::ref() overload checks parameter 'i' and, if it appears negative, sets internal 'index' to 0. But in the next stanza, if (index >= existing size()), it calls resize() to scale the internal array up to one more than the requested index. The trouble is that it passed resize(i + 1), not the adjusted resize(index + 1). With a requested index of exactly -1, that would pass resize(0), which would result in the ensuing array[0] reference being invalid. With a requested index less than -1, that would pass resize(hugely positive) -- since, whether operator[]() accepts signed LLSD::Integer or size_t, resize() accepts std::vector::size_type. Given that the footprint of an LLSD array element is at least a pointer, the number of bytes required for resize(hugely positive) is likely to exceed available heap storage. Passing the adjusted resize(index + 1) should defend against that case.
2023-01-04DRTVWR-575: Use llsdutil.h functions for LLFloaterLandHoldings LLSDNat Goodspeed
LLFloaterLandHoldings::postBuild() was constructing an LLSD structure by assigning each map entry and array element one at a time. Chorazinallen identified a crash bug possibly caused by destroying that LLSD structure. Diagnostically try building it using nested llsd::map() and llsd::array() calls instead to see if that improves matters.
2023-01-04DRTVWR-575: Fix bug in macOS micro_sleep().Nat Goodspeed
The compiler was deducing an unsigned type for the difference (U64 desired microseconds - half KERNEL_SLEEP_INTERVAL_US). When the desired sleep was less than that constant, the difference went hugely positive, resulting in a very long snooze. Amusingly, forcing that U64 result into an S32 num_sleep_intervals worked only *because* of integer truncation: the high-order bits were discarded, resulting in a negative result as intended. Ensuring that both integer operands are signed at the outset, though, produces a more formally correct result.
2023-01-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!
2022-12-20SL-18426 At log in only a part friends reported to chat as onlineAndrey Kleshchev
Server sends updates in bulk now, so notify per agent instead of per update
2022-12-16SL-18384 Fix NSException for keyboard handlingAndrey Kleshchev
Affects accent keys for diacritical marks
2022-12-12Merge branch 'main' into DRTVWR-570-maint-QAndrey Lihatskiy
# Conflicts: # doc/contributions.txt # indra/newview/app_settings/shaders/class1/deferred/materialF.glsl # indra/newview/llfloater360capture.cpp
2022-12-12Increment viewer version to 6.6.9Nat Goodspeed
following promotion of DRTVWR-565
2022-12-12SL-16874 Added tool tips to buttons displayed by llDialog()Andrey Lihatskiy
2022-12-12SL-18826 limit teleport command usageMaxim Nikolenko
2022-12-06DRTVWR-575: Try to avoid comparison warnings in llclamp()Nat Goodspeed
2022-12-06DRTVWR-575: Defend unescape_string() against empty line.Nat Goodspeed
The unsigned index arithmetic was problematic in that case.
2022-12-06DRTVWR-575: Update a few more int lengths in llsdserialize.{h,cpp}.Nat Goodspeed
2022-12-06DRTVWR-575: Use llssize (signed size_t) for max_bytes parameters.Nat Goodspeed
Since LLSDSerialize::SIZE_UNLIMITED is negative, passing that through unsigned size_t parameters could result in peculiar behavior.
2022-12-06DRTVWR-575: Introduce LLKeyBind::endNonEmpty()Nat Goodspeed
and use it to replace dubious loops in asLLSD() and trimEmpty().
2022-12-06DRTVWR-575: Keep BufferArray::findBlock() in int domain.Nat Goodspeed
2022-12-06SL-18778 Crash at LLVoiceClient::removeObserver (#25)akleshchev
2022-12-03SL-18486 Complete Avatars floater is blank.Maxim Nikolenko