summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-12DRTVWR-575: Address review comments on Xcode 14.1 type tweaks.Nat Goodspeed
Introduce LLSD template constructors and assignment operators to disambiguate construction or assignment from any integer type to Integer, likewise any floating point type to Real. Use new narrow() function to validate conversions. For LLSD method parameters converted from LLSD::Integer to size_t, where the method previously checked for a negative argument, make it now check for size_t converted from negative: in other words, more than S32_MAX. The risk of having a parameter forced from negative to unsigned exceeds the risk of a valid length or index over that max. In lltracerecording.cpp's PeriodicRecording, now that mCurPeriod and mNumRecordedPeriods are size_t instead of S32, defend against subtracting 1 from 0. Use narrow() to validate newly-introduced narrowing conversions. Make llclamp() return the type of the raw input value, even if the types of the boundary values differ. std::ostream::tellp() no longer returns a value we can directly report as a number. Cast to U64.
2022-11-11DRTVWR-575 fix LLGetDarwinOSInfo for xcode-14.1. NSInteger is now 64 bitsBrad Kittenbrink
2022-11-11DRTVWR-575 fix LLWorkerThread subclasses to be compatiblie with recent ↵Brad Kittenbrink
size_t changes in base class
2022-11-11DRTVWR-575 xcode-14.1 compatibility fix. add more overloads for stricter ↵Brad Kittenbrink
size_t conversions
2022-11-11DRTVWR-575 xcode-14.1 compatibility fix. add overloads for stricter integer ↵Brad Kittenbrink
conversions
2022-11-11SL-18603 update BugsplatMnikolenko Productengine
2022-11-09Pull in latest version of the fonts used in kitty catznip's emoji contributionCallum Linden
2022-11-09Merge branch 'DRTVWR-489-emoji' of https://bitbucket.org/lindenlab/viewer ↵Callum Linden
into DRTVWR-489-emoji
2022-11-09Add support for the 3p-nanosvg SVG library that will be used to rfender the ↵Callum Linden
emoji glyphs
2022-11-09[FIXED] Viewer's ICU4C package must match the one used to build boostKitty Barnett
2022-11-09Merge branch contribution/emoji into DRTVWR-489-emojiKitty Barnett
2022-11-09Enable color on HUD textKitty Barnett
2022-11-09Show color emojis and emoji helper in notecardsKitty Barnett
2022-11-09[FIXED] Using the Windows emoji picker or pasting text containing emojis ↵Kitty Barnett
doesn't create emoji segments (=emoji size is same size as the text size) -> Partial revert of 063fe59
2022-11-08Enable color emojis (and the emoji helper) on the chat history and editorKitty Barnett
2022-11-08Add proper mouse down handler to the emoji complete panelKitty Barnett
-> the previous commit didn't properly set mFrontChild after restoring the topmost floaters -> additionally we don't want mouse clicks in "can't steal focus from frontmost" floaters to set focus to them
2022-11-08[FIXED] Various minor issuesKitty Barnett
- Typing :+1: doesn't replace the short code with the thumbs-up emoji - Moving the mouse over the emoji complete panel highlights the wrong emoji when mScrollPos > 0 - Emoji complete panel is missing attributes - Crash when attempting to show the tooltip for an emoji text segment - Emoji autocomplete panel can sometimes show empty (type ':cat', select the heart eyed one, Ctrl-Z and then type 2 which should show the emoji for :cat2 but shows an empty square instead)
2022-11-06Switch to using the Twemoji OT-SVG fontKitty Barnett
2022-11-06Merge branch contribution/emoji into contribution/emoji-uiKitty Barnett
2022-11-06Add support for OT-SVG fontsKitty Barnett
2022-11-05SL-18581 Don't show the starter avatar toolbar button for NUXAndrey Lihatskiy
2022-11-04DRTVWR-575: Introduce llssize (signed size_t) and narrow() function.Nat Goodspeed
llssize is for a function parameter that should accept a size or index (derived from size_t, which is 64 bits in a 64-bit viewer) but might need to go negative for flag values. We've historically used S32 for that purpose, but Xcode 14.1 complains about trying to pass size_t to S32. narrow() is a template function that casts a wider type (e.g. size_t or llssize) to a narrower type (e.g. S32 or U32), with validation in RelWithDebInfo builds. It verifies (using assert()) that the value being truncated can in fact fit into the target type.
2022-11-03SL-18565 Built-in bump maps and some environment textures fail to loadAndrey Kleshchev
Due to udp texture fetching no longer being present
2022-11-03DRTVWR-575: Suppress remaining size_t truncation warnings for now.Nat Goodspeed
2022-11-03DRTVWR-575: A few more tweaks addressing size_t wider than 32 bits.Nat Goodspeed
2022-11-03DRTVWR-575: Fix llcommon assumptions that size_t fits in 4 bytes.Nat Goodspeed
It's a little distressing how often we have historically coded S32 or U32 to pass a length or index. There are more such assumptions in other viewer subdirectories, but this is a start.
2022-11-03DRTVWR-575: Forbid Xcode 14.1 from implicitly signing every target.Nat Goodspeed
Or rather, attempting to implicitly sign. On TeamCity we must explicitly sign using viewer_manifest.py. On a developer system, without these changes, Xcode produces many errors of the form: error: An empty identity is not valid when signing a binary for the product type 'Command-line Tool'. (in target 'INTEGRATION_TEST_lldir' from project 'SecondLife') and refuses to compile anything at all. Thanks to Rye Mutt and NickyD. Also thanks Geir Nøklebye for additional settings to help tame Xcode 14.1 warnings.
2022-11-02Add (partial) emoji set descriptorsKitty Barnett
2022-11-02Commit immediately if the user already typed a full shortcodeKitty Barnett
2022-11-02SL-18136 fix for Japanese IMEMnikolenko Productengine
2022-11-02SL-18533 Updated ToS XUI with new languageAndrey Lihatskiy
2022-11-02Merge branch 'master' into DRTVWR-489-emojiCallum Prentice
2022-11-01Merge branch 'master' into DRTVWR-565-maint-PAndrey Lihatskiy
2022-11-01Increment viewer version to 6.6.8Nat Goodspeed
following promotion of DRTVWR-575
2022-10-31Fix SL-18511 TOS and MFA login failure handlers must cooperate to answer ↵Brad Kittenbrink
both reasons at the same time
2022-10-27SL-18230 - pull in updated 3p-freetype package for macOS/Darwin to build to ↵Callum Prentice
prevent linker errors in Viewer
2022-10-26SL-18468 - pull in the (new) 3P package containing the Viewer fonts that are ↵Callum Linden
required for Kitty's work
2022-10-26SL-18232 Library changes needed for emoji support from Kitty Barnett ↵Callum Linden
(updates for FreeType and ICU4C
2022-10-26Merge branch 'master' into DRTVWR-489-emojiCallum Linden
2022-10-26Merge branch 'master' into DRTVWR-565-maint-PAndrey Lihatskiy
2022-10-26Increment viewer version to 6.6.7Nat Goodspeed
following promotion of DRTVWR-574
2022-10-25Merge branch 'master' into DRTVWR-489-emojiCallum Linden
2022-10-24SL-18432 Fix for alpha sortingAndrey Lihatskiy
2022-10-23Refactor emoji matchingKitty Barnett
2022-10-23Cannot use the :+1 emoji shortcodeKitty Barnett
2022-10-23Mini emoji helper shows as a small slice when there are no matching emojisKitty Barnett
2022-10-23Handle return and escape in the mini emoji helperKitty Barnett
2022-10-23Show tooltip when hovering over an emoji text segment (currently will show ↵Kitty Barnett
its shortcode)
2022-10-23Provide a way for a floater to remain the topmost floater, even when focus ↵Kitty Barnett
is given to a different floater
2022-10-23Autosize the mini emoji helper to fit the number of shown emojisKitty Barnett