Commit Graph

68877 Commits (b6e9dcc4e8753e0d32f908bbcd39abb2e95709fc)

Author SHA1 Message Date
Beq 3076d01fb4 update to control build channel from branch
oops
2023-01-20 18:47:10 +00:00
Callum Linden 7a3ef9e5ac DRTVWR-489-emoji: following kitty's recipe for emoji viewer - this pulls in 3p library changes for steps 1-5 (boost, colladom, googlemock, nanosvg, viewer-fonts) - final 3p change (ICU4C) coming later 2023-01-19 17:40:16 -08:00
Ansariel e02e247d34 Silence stupid Mac complaining about inconsistent override keyword usage 2023-01-19 15:58:11 +01:00
Zi Ree 34a444b0b2 Linux: Update FMOD 3p - Patch by PorkChop, thank you! 2023-01-19 12:49:14 +01:00
Zi Ree e60eb81d56 Linux: use system wide fontconfig instead of 3p library, if all goes well we can later remove it from autobuild.xml - patch by PorkChop, thank you! 2023-01-19 12:38:02 +01:00
Beq 50e8414428 Fix re-download from secondlife.com error messages. 2023-01-18 22:15:11 +00:00
Ansariel f8f4c43658 Update FMOD Studio to 2.02.11 for Windows 2023-01-18 19:23:04 +01:00
PanteraPolnocy 7421167ff2 Merge branch 'master' of https://vcs.firestormviewer.org/phoenix-firestorm 2023-01-18 15:18:10 +01:00
PanteraPolnocy dceda0b4c5 FIRE-32616 Russian translation update, by Romka Swallowtail 2023-01-18 15:18:01 +01:00
Ansariel 4526e14388 FIRE-32520: Prevent log spam when show friends only is enabled 2023-01-18 15:00:43 +01:00
Ansariel 9e6494e621 FIRE-32602: Fix context menu missing in group member list 2023-01-18 14:28:04 +01:00
Ansariel 4d6aefde72 FIRE-32614: Fix chat console font size cannot be change on the fly anymore 2023-01-18 14:10:52 +01:00
Ansariel 271ba51734 Disable C6011 code analyses warning for now popping up everywhere because of the LL_ENDL / LLERROR_CRASH macro 2023-01-17 18:54:20 +01:00
Ansariel 8a31926cd5 Fix uninitialized variable warning 2023-01-17 18:35:00 +01:00
Ansariel e90047bddd Revert "Make VS2017 runtime optional so we can compile with VS2022 (for local" since that's not true if you setup the build correctly and those runtimes need to get packaged with the viewer
This reverts commit 9ff2ed7352.
2023-01-17 17:45:07 +01:00
Ansariel 61b8870fcf Don't try to access stuff that doesn't exist anymore 2023-01-17 17:42:26 +01:00
Ansariel a0ac418814 Let's add support for VS2022, shall we? 2023-01-17 15:59:44 +01:00
Ansariel 207a817dfe We love whitespace - yes we do! (And the LLCachedControl is super pointless here...) 2023-01-14 14:07:56 +01:00
Ansariel cbb0277a77 Update German translation 2023-01-14 13:23:26 +01:00
Ansariel ca21f6bf1e Sync texture fetcher with previous release 2023-01-14 13:17:32 +01:00
PanteraPolnocy 937992df65 FIRE-32589 French translation update, by Laurent Bechir 2023-01-14 12:25:25 +01:00
PanteraPolnocy 0ade3406d7 Add name attributes in panel_script_experience.xml 2023-01-13 20:00:40 +01:00
Ansariel adae99b144 Merge branch 'DRTVWR-570-maint-Q' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/llcallingcard.cpp
#	indra/newview/llfloatersettingsdebug.cpp
#	indra/newview/llinventorybridge.cpp
2023-01-12 12:26:06 +01:00
Ansariel 4f4c9c7473 Merge branch 'master' of https://vcs.firestormviewer.org/phoenix-firestorm 2023-01-12 12:21:57 +01: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
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
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
Andrey Kleshchev d6f5e5bc94 SL-18911 [MAC] My Land Holdings floater crashes when not empty 2023-01-07 01:10:22 +02:00
Kitty Barnett 12204b210e Merge remote-tracking branch 'origin/master' into DRTVWR-489-emoji 2023-01-06 16:40:33 +01: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
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
Nat Goodspeed 4093d5b1eb DRTVWR-575: Use llsdutil.h functions for LLFloaterLandHoldings LLSD
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-04 15:13:02 -05:00
Nat Goodspeed aa112ef17f DRTVWR-575: Fix bug in macOS micro_sleep().
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-04 12:04:56 -05:00
Nat Goodspeed bb718155bd DRTVWR-575: Replace some LLSDArray() usage with llsd::array().
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!
2023-01-03 18:06:45 -05:00
Beq 0c9d4db072 [FIRE-32453][BUG-232971] Orderly shutdown of event queues
Terminate related queues before the windows thread to avoid loops. 
Also increase timeout on queue full wait as we don't expect to see this so often now.
2023-01-03 18:50:24 +00:00
Beq 6c4ba94b25 [FIRE-32453][BUG-232971] Further edge cases for thread hangs on exit 2023-01-03 10:02:01 +00:00
PanteraPolnocy f359a39195 Flip dates to 2023 2023-01-02 19:19:28 +01:00
Andrey Kleshchev cf3f577e32 SL-18384 Fix NSException for keyboard handling
Affects accent keys for diacritical marks
2022-12-22 23:03:19 +01:00
PanteraPolnocy 93aa37cc8b FIRE-32543 Change Display Name - "You cannot change ... " message overlaps other text 2022-12-21 21:46:44 +01:00
Beq 154a374310 Merge branch 'moreinventoryandhangwork' 2022-12-21 02:09:07 +00:00
Beq e1479bd185 [FIRE-32453][BUG-232971] Improve shutdown behaviour. (Ty Rick Daylight)
Alter close down behaviour to ensure that the main UI window remains open until the process finishes persisting data and other close down activities.
2022-12-21 02:07:58 +00:00
Andrey Kleshchev 6f522084ed SL-18426 At log in only a part friends reported to chat as online
Server sends updates in bulk now, so notify per agent instead of per update
2022-12-20 02:03:03 +02:00
Beq 915d39bb8a Revert "[FIRE-32453] [BUG-232971] disconnect sooner to force the cache write"
This reverts commit dbc4ab5147efb837b0f32a20375e7e2a5304dd1d.
2022-12-19 10:54:54 +00:00
Beq 49a0cdecc7 Revert "[FIRE-32453] fixup bug introduced by moving the camera shutdown"
This reverts commit 9d22f014479404346ce4fd9d700548ef68fe3f0d.
2022-12-19 10:53:47 +00:00
Beq d668b30002 Revert "Rewrite the inventory corruption fix to reduce possible side-effects"
This reverts commit 5ddbef4a25.
2022-12-19 10:53:18 +00:00
Beq 77762929bd Merge branch 'helperscripts' 2022-12-19 10:50:09 +00:00
Beq e422e80377 Refactor and improve to accept github zip archives and autounpack 2022-12-19 10:49:11 +00:00
Beq cb95457e19 A couple of quick python helpers
download_list.py produces a notecard ready listing of downloads from a local folder
parse_avatar_lad produces a list of attachment points in "priority" (id) order.
2022-12-18 00:18:56 +00:00