Commit Graph

46565 Commits (4bef4f94c0ec89ef7b14bc267f52ba00a6dcdc2b)

Author SHA1 Message Date
Andrey Kleshchev 4c364dc07e SL-14318 MacOS __write_nocancel crash
Multiple instances of viewer could write to the same uuid.inv file at the same time.
2023-01-20 00:22:18 +02:00
Maxim Nikolenko 6cbe17305c SL-18991 FIXED Autotune starts too early after login-in 2023-01-19 15:55:44 +02:00
Andrey Kleshchev 472ecc8088 SL-18999 IME disabling should be called in window's thread
For some reason positioning IME window works fine, but disabling and enabling ime works from window's thread only
2023-01-19 01:45:57 +02:00
Andrey Kleshchev e3a90ba4c1 SL-3033 flv files prompt download instead of playing
Viewer doesn't support web downloads, it should be safe to assume stream and play it
2023-01-18 22:00:01 +02:00
Andrey Kleshchev 89f3bf6c13 SL-18985 Crash at std::basic_string::erase 2023-01-18 19:20:36 +02:00
Andrey Kleshchev 1c0d478436 SL-18773 Crash incrementing directory_iterator
make_iterator_range doesn't verify errors, replaced with basic increments
2023-01-18 19:20:36 +02:00
Maxim Nikolenko cf2e153b7a SL-18978 Avatars switch to/from impostored too quickly 2023-01-18 17:14:06 +02:00
Mnikolenko Productengine a7280281a1 SL-18934 Don't adjust settings if mean frame time still doesn't exceed expected 2023-01-17 20:28:22 +02:00
Andrey Lihatskiy 8ff51bdeb2 Merge branch 'contribute' into DRTVWR-577-maint-S 2023-01-16 23:17:19 +02:00
Andrey Lihatskiy 8ec8732ec9 SL-18893 OSX buildfix 2023-01-16 23:16:43 +02:00
Andrey Kleshchev 20b16ddf05 MacOS Build fix 2023-01-16 20:43:12 +02:00
Andrey Kleshchev a1931d8cc4 SL-18735 Using "Find original" in main inventory tab breaks inventory view
Fixes folders being invidible (missing arrange)
Fixes sroll to target not working reliably
2023-01-16 20:42:20 +02:00
Andrey Kleshchev 484e3b6213 Merge branch 'xcode-14.1' into DRTVWR-577-maint-S
D577 should have picked part of the changes from contribute branch, picking up the rest for the sake of branch specific crash fixes
2023-01-16 20:07:02 +02:00
Andrey Kleshchev 77a42cb8d6 Merge branch 'contribute' into DRTVWR-577-maint-S 2023-01-16 20:04:57 +02:00
Pantera Północy b34d209abc
SL-18937 Add missing panel_* files in Polish translation (#50) 2023-01-16 20:03:58 +02:00
Andrey Kleshchev de77dc3ed3 MacOS Build fix 2023-01-16 19:52:35 +02:00
Maxim Nikolenko 6c418060c1 SL-18979 FIXED "Reset to recommended settings" should reset Maximum render time of Avatars nearby 2023-01-16 19:12:42 +02:00
Andrey Lihatskiy bea930071f Merge branch 'contribute' into DRTVWR-577-maint-S 2023-01-16 07:05:01 +02:00
Mnikolenko Productengine 752075d6d4 SL-18823 Restore fix after the merge 2023-01-13 19:47:24 +02:00
Maxim Nikolenko 1ecb7186fb SL-18973 Wait a bit after viewer regains focus before engaging the Preferred frame rate 2023-01-13 15:43:37 +02:00
Andrey Kleshchev 63494cf5c9 SL-12456 Potential fix for NSPersistentUIFileManager crash
NSPersistentUIFileManager is supposed to be responsible for restoring window position and size
2023-01-12 23:37:25 +02:00
Andrey Lihatskiy 252a590c6a DRTVWR-573 add missed argument 2023-01-12 05:10:01 +02:00
Andrey Lihatskiy bb28e9e4aa DRTVWR-573 post-merge buildfix 2023-01-12 04:39:27 +02:00
Andrey Lihatskiy f9866a3543 Merge branch 'main' into DRTVWR-573-maint-R
# Conflicts:
#	autobuild.xml
#	indra/newview/llagent.cpp
#	indra/newview/llimview.cpp
#	indra/newview/llimview.h
#	indra/newview/llinventoryfunctions.cpp
#	indra/newview/llpanelmediasettingsgeneral.cpp
#	indra/newview/pipeline.cpp
2023-01-12 04:37:42 +02:00
Maxim Nikolenko 005b29b89f SL-18933 FIXED Maximum render time cycles if the Desired framerate is much lower than current framerate 2023-01-11 20:46:28 +02:00
Andrey Kleshchev b3201e75b1 SL-18945 Links have no 'cut' option
Links can be drag and dropped so they should be movable via 'cut' as well
2023-01-11 16:03:33 +02:00
Andrey Kleshchev 007939f0a7 SL-18939 Cannot copy inventory folders with copiable links 2023-01-11 08:30:32 +02:00
Maxim Nikolenko 020bfa66ba SL-18923 Add Reset to default settings button 2023-01-10 22:55:47 +02:00
Andrey Kleshchev a66ea0a908 SL-12437 Long avatar names should stay as one string 2023-01-10 22:09:47 +02:00
Andrey Kleshchev 5d6371f568 SL-18937 Update contributions 2023-01-10 20:05:01 +02:00
akleshchev 9dcf206691
SL-18937 Merge pull request #45 from PanteraPolnocy/contribute
Translate missing control_*, floater_* menu_* and few panel_* files in Polish directory; Fix localizability in various English XMLs
2023-01-10 19:47:53 +02:00
akleshchev f3cd329b58
SL-18911 My Land Holdings floater crashes viewer on the Xcode/+Monterey 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-10 19:38:44 +02:00
Maxim Nikolenko 495e34b84f SL-18922 FIXED Imposters load with attachments using Perf floater 2023-01-10 16:29:28 +02:00
Fawrsk 7419037ef6
SL-18893 Fixes for pull requests #38, #41, and #42 (#46)
Eliminate unnecessary copies, and remove uses of auto
2023-01-10 11:43:27 +02:00
akleshchev 9c250f1a9e
SL-18893 Cleanup for loops in llcommon to use C++11 range based for loops (#44)
* Cleanup for loops in llcommon to use C++11 range based for loops
* Eliminate needless copies
2023-01-10 11:38:34 +02:00
Fawrsk 8767e6995b Eliminate needless copies 2023-01-09 19:19:12 -04:00
PanteraPolnocy 77444ca356 Translate missing control_*, floater_* menu_* and few panel_* files in Polish directory; Fix localizability in various English XMLs 2023-01-07 20:36:50 +01:00
Andrey Kleshchev 30678472ee Revert "SL-18911 [MAC] My Land Holdings floater crashes when not empty"
This reverts commit d6f5e5bc94.
2023-01-07 18:59:39 +02:00
Fawrsk 9e743c99fb Cleanup for loops in llcommon to use C++11 range based for loops 2023-01-07 00:38:12 -04:00
Andrey Kleshchev d6f5e5bc94 SL-18911 [MAC] My Land Holdings floater crashes when not empty 2023-01-07 01:10:22 +02:00
Andrey Kleshchev 7196c8c2ed SL-17659 Reset button for user profile 2023-01-06 02:48:25 +02:00
Maxim Nikolenko 24839c8cf6 SL-18884 Remove dead spot from Back button 2023-01-05 19:13:57 +02:00
Andrey Kleshchev 73933fe778 SL-18894 The change of 'modify rights' is not recorded in IM history if the user is in DND mode
Revert of commit for SL-15401. Messages are supposed to handle 'mute' on their own.
2023-01-05 18:21:53 +02:00
Fawrsk d0f115ae09
SL-18893 Cleanup for loops in llcharacter to use C++11 range based for loops (#42) 2023-01-05 13:42:27 +02:00
Fawrsk bdfb47cc6b
SL-18893 Clean up for loops in llaudio to use C++11 range based for loops (#41) 2023-01-05 03:06:12 +02:00
Andrey Kleshchev 3fd86c2f23 SL-18871 Debug setting's description is not scrollable 2023-01-05 01:34:03 +02:00
Nat Goodspeed 99c040ea99 DRTVWR-575: Fix possible bad indexing in LLSD::operator[](size_t).
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-04 17:18:31 -05:00
Andrey Kleshchev 64a42aceba SL-18904 Remove unused translation files 2023-01-04 23:52:41 +02:00
akleshchev 5bc16b94cc
SL-18904 Merge pull request #40 from PanteraPolnocy
A small batch of changes in Polish translation subdirectory
2023-01-04 23:36:40 +02:00
Andrey Kleshchev 5ea7cec092 SL-18893 Update list of contributors 2023-01-04 22:21:20 +02:00