Commit Graph

49663 Commits (f5a7fba76a24a96f906abcbd928f37e4eabfa76c)

Author SHA1 Message Date
Andrey Kleshchev f5a7fba76a viewer-private#226 Unhandled PngError throws application into a loop
png_read_info triggered a PngError, LLAppViewer::frame() handled it
instead of LLPngWrapper::readPng, and since status didn't
change viewer tried to decode image again and again and again.
2024-04-12 16:03:07 +03:00
Salad Dais 00e09ddcad Fix BUG-225288: Detaching stops unrelated animations
This is to do with misunderstandings related to how .find()
works with multimaps. .find() will, in fact, return an iterator
to the first iterator it finds, and will iterate through all
elements in the multimap when incremented, not just items with
the same key.

Change code working with animation sources to be aware of this
fact, so unrelated animation sources do not have their animations
stopped.
2024-04-10 17:59:25 +03:00
Guru 5b88d4d325
Merge pull request #1106 from secondlife/guru/viewer-925-missing-simple-smile-emoji
secondlife/viewer#925 Missing simple :smile emoji
2024-04-02 18:21:06 +02:00
Alexander Gavriliuk 1ad53b9707 secondlife/viewer#925 Missing simple :smile emoji 2024-04-02 04:23:54 +02:00
Henri Beauchamp 4c7a139e09 Fix the bogus, zero cloud scroll rate in default EE sky settings.
Obvioulsy, there has been a typo done when copying WL default sky parameters to EE ones.
This causes "static" and quite unrealistic clouds when this default setting is used as a
base for a new sky setting, and we see this bad static sky resurfacing now with PBR and
its "adjusted" (more like hacked, but this is another story) mid-day sky setting.

Let's fix this typo once and for all in LL's code base (most TPVs have it fixed already,
and this ever since EEP got released).

@LL: please also fix the cloud scroll rate in the PBR mid-day inventory setting accordingly.
2024-04-01 20:02:38 +03:00
Andrey Kleshchev 50a70fe2f8 viewer#1073 crash at loadSkeleton
looks like file that was being parced got corrupted 'in progress'
2024-03-28 20:38:15 +02:00
Andrey Kleshchev f382180eb5 viewer#1069 Crash after getting list of notification files 2024-03-27 23:52:08 +02:00
Alexander Gavriliuk 977168eda4 secondlife/viewer#944 Display should be consistent between llDialog text and llDialog buttons 2024-03-27 22:31:42 +01:00
Andrey Lihatskiy 2f031e1314 Post-merge cleanup (settings.xml) 2024-03-27 14:06:16 +02:00
Andrey Lihatskiy 1ae6f5dd6f Merge branch 'main' into DRTVWR-591-maint-X
# Conflicts:
#	indra/llui/lltransutil.cpp
#	indra/newview/app_settings/settings.xml
#	indra/newview/llfloaterenvironmentadjust.cpp
#	indra/newview/llpaneleditwater.cpp
#	indra/newview/llpanelface.cpp
#	indra/newview/lltexturectrl.cpp
#	indra/newview/lltexturectrl.h
2024-03-27 00:33:40 +02:00
Nat Goodspeed 9567393f80 Increment viewer version to 7.1.5
following promotion of secondlife/viewer #650
2024-03-26 16:56:26 -04:00
Nat Goodspeed c810a409e2 Merge GLTF PBR Maint 2 to main. 2024-03-26 16:55:32 -04:00
Alexander Gavriliuk 6e9cccedb5 triage#112 'No emoji found for' text is not translated to other languages in the 'Choose Emoji' floater 2024-03-25 12:32:29 +01:00
Andrey Lihatskiy 007d92b50e Merge branch 'main' into DRTVWR-591-maint-X 2024-03-18 22:22:05 +02:00
Alexander Gavriliuk 15734c1978 viewer#961 Add a notification appearing when user tries to insert a disallowed character 2024-03-18 21:19:57 +01:00
nat-goodspeed 656d1826e6
Merge pull request #980 from secondlife/brad/fix-dependency-deprecations
Fix github actions dependency deprecations
2024-03-16 17:57:08 -04:00
Henri Beauchamp b40ff113c5 Allow fading emojis characters in fading text.
In the recent emojis implementation, the text color alpha is ignored
(emojis are always rendered with an opaque white color), causing them
to fail and fade properly with the rest of the text they are printed
with.

This trivial patch fixes this issue.
2024-03-15 21:45:55 +02:00
Henri Beauchamp f496800098 Revert 326055ba82 after 2f452d06e6
It is necessary to revert commit 326055ba82
for 2f452d06e6 to work its magic and repair
script dialogs so that they render as they used to before the emojis fonts
introduction.

Note that this revert won't prevent to use the new emojis should scripters
want them in their new scripted dialogs: it just ensures existing scripted
dialogs using special UTF-8 characters (which are not genuine emojis) will
render as they used to, using the monochrome fallback fonts.
2024-03-15 19:49:52 +02:00
Andrey Kleshchev 56c88b8343 SL-20288 Fix renaming
getChangedIDs is only accurate in scope of observer's callback, don't
use it onIdle.
getObject call made no sense, item was warrantied to be
LLViewerInventoryItem and would only be AT_CATEGORY if it is a link,
making the following cast to a category dangerous
2024-03-14 17:19:55 +02:00
Henri Beauchamp 2f452d06e6 Proposal #2 to restore how UI/dialogs used to render by prioritizing fallback fonts.
With the emojis support, a new font was added, which not only provides emojis
but also fancy colorful replacements for UTF-8 characters that used to be
supported by our fallback (monochrome) fonts: this causes discrepancies and
unwanted/undesired changes in scripted objects menus (e.g. an empty circle or
square may render as a black, full one, a heart may render red instead of white),
not to mention the larger font size used by the emoji characters...

This patch restores the aspect of such menus/dialogs/UI elements with UTF-8
characters that *are* supported by the usual fallback fonts (fonts which may
also vary from one viewer to another, and from one OS to another), so that
everything keeps working/rendering as it always did so far, while not impairing
the use of new colorful emojis.

This second proposal ensures that:
- "genuine" emojis (in the 0x1f000-0x1ffff range), will *always* be rendered
  using the new emojis font (this solves, for example, the monochrome "yellow
  faces" issue seen with some characters in my first proposal).
- Special UTF-8 characters (in the 0x2000-0x32FF range) which have been used by
  scripters so far, will render as they used to, using the monochrome fallback
  fonts (this repairs scripted dialogs menus).
- Remaining special characters, that do not have a corresponding glyph in the
  monochrome font, but do have one in the emojis font, will use the latter font
  to render.

It also got the nice side-effect of removing the dependency on the ICU4C library.

Note however that the recent commit:
326055ba82
will need to be reverted to allow this patch to actually fix scripted dialogs.

Also, some cleanup might be needed in skins/default/xui/*/emoji_characters.xml to
remove from it the special UTF-8 characters that will no longer be rendered with
fanciful colors, but instead with the monochrome font glyphs.
2024-03-14 01:47:14 +02:00
Brad Linden 231062d532 Fix github actions dependency deprecations 2024-03-12 17:49:19 -07:00
Andrey Kleshchev 6ed3a1670c
SL-20735 Fix blury profile pictures #2 (#963)
Scaling was added to thumbnail images as a measure of memory preservation and said scaling doesn't work well when larger images are needed so had to remake profile images to no longer use thumbnails.
2024-03-12 21:53:38 +02:00
Alexander Gavriliuk 326055ba82 viewer#944 [Emoji] Display should be consistent between llDialog text and llDialog buttons 2024-03-10 00:10:16 +01:00
Alexander Gavriliuk 1781e2d17b viewer#944 Make 'Debug Unicode' feature available for all LLViews 2024-03-10 00:10:16 +01:00
Andrey Lihatskiy 636bf6cade Merge branch 'main' into DRTVWR-591-maint-X 2024-03-09 19:33:40 +02:00
Signal Linden afc943acbc
Merge pull request #935 from secondlife/gh-osbuild
Make signing and symbol posting jobs conditional on secrets.
2024-03-07 22:45:49 -08:00
Alexander Gavriliuk 66d1b0f0ef triage#103 The focused state of the 'Recently used emojis' is not visible 2024-03-07 01:08:57 +01:00
Andrey Kleshchev be35287184 SL-20429 Fix emoji categories having mixed translations
Was caused by package substituting '&' with 'and' instead of '&'
2024-03-06 12:42:57 +02:00
Nat Goodspeed 041c66d59a Stop requiring BUGSPLAT_USER and BUGSPLAT_PASS in build.sh.
The build step no longer needs these variables at all: they're used in a
subsequent workflow job.
2024-03-05 14:29:24 -05:00
Nat Goodspeed 74ee07d942 To test for presence of secrets, set environment variables.
From https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#using-secrets-in-a-workflow :

"Secrets cannot be directly referenced in if: conditionals. Instead, consider
setting secrets as job-level environment variables, then referencing the
environment variables to conditionally run steps in the job."
2024-03-05 14:23:32 -05:00
Nat Goodspeed 73a12f5529 Enclose 'if:' expressions in ${{ ... }}.
The previous construct produced:

Unrecognized named-value: 'secrets'. Located at position 1 within expression:
secrets.AZURE_KEY_VAULT_URI && ...
2024-03-05 13:50:38 -05:00
Nat Goodspeed 6328cb7817 Make signing and symbol posting jobs conditional on secrets.
Specifically, when secrets aren't available (e.g. for external PRs), skip the
affected steps.
2024-03-05 13:36:18 -05:00
Alexander Gavriliuk a6e1f22a99 jira#71179 Use Emoji font in ScrollList by default 2024-03-05 15:39:57 +01:00
Alexander Gavriliuk 27dd9ee482 triage#86 Use Emoji font in LineEditor by default 2024-03-05 15:37:49 +01:00
Brad Linden dd74c2cbd5
Merge pull request #928 from secondlife/andreyk/issue_54
Issue #54 LLRender::init crash and SL-17896
2024-03-04 17:43:08 -08:00
Signal Linden e07bf1c0a2
Do not automatically close issues (#929)
Mark issues as stale but do not close them.
2024-03-04 17:32:35 -08:00
Andrey Kleshchev 6c43baf029 Issue #54 LLRender::init crash 2024-03-05 01:58:57 +02:00
Andrey Lihatskiy 25251c3ba8
Merge pull request #924 from secondlife/marchcat/x-merge
Emoji -> Maint X merge
2024-03-05 01:05:08 +02:00
Andrey Kleshchev 78ce375dda SL-17896 Don't crash silently if files are missing or out of memory
Under debug LL_ERRS will show a message as well, but release won't show
anything and will quit silently so show a notification when applicable.
2024-03-05 00:29:35 +02:00
Brad Linden 1013ea51a8 Merge remote-tracking branch 'origin/gh-relnotes' into release/gltf-maint2 2024-03-04 10:22:02 -08:00
Andrey Lihatskiy b68a05e7c3 Merge branch 'main' into marchcat/x-merge
# Conflicts:
#	indra/llcommon/llstring.cpp
#	indra/llcommon/llstring.h
2024-03-04 18:01:05 +02:00
Nat Goodspeed 9b8800f216 Now that viewer-build-util@relnotes has merged to v1, use @v1. 2024-03-01 16:43:15 -05:00
Nat Goodspeed 00d7fef75e Reference updated action-gh-release@v1
instead of the branch that got pulled.

(cherry picked from commit b42e01d7ac)
2024-03-01 16:19:02 -05:00
Nat Goodspeed 3ee3e011ff Base generated release notes on new floating tag 'release'
instead of on the current tag 7.1.2-release.

(cherry picked from commit 27b298d8bc)
2024-03-01 16:19:01 -05:00
Nat Goodspeed 7ad13c8511 Leverage action-gh-release's new previous_tag input.
This should (!) allow us to generate full release notes relative to the
previous viewer release, instead of letting action-gh-release guess
incorrectly.

Also try again to add to the release page a back-link to the specific build.

(cherry picked from commit 88ebb92f05)
2024-03-01 16:19:01 -05:00
Nat Goodspeed 7c52db381c Try basing release notes on github.sha rather than github.ref_name.
(cherry picked from commit 4edd78f2e5)
2024-03-01 16:19:01 -05:00
Nat Goodspeed d7e6a7dbd0 Try basing the GH release on github.ref_name instead of github.ref.
Using github.ref as action-gh-release's target_commitish produces:

⚠️ GitHub release failed with status: 422
[{"resource":"Release","code":"invalid","field":"target_commitish"}]

(cherry picked from commit c6a6db8488)
2024-03-01 16:19:01 -05:00
Nat Goodspeed 603d3a865a Try to generate release notes for this specific branch.
Also try to cross-reference release page and build page.

(cherry picked from commit a908b4cfa9)
2024-03-01 16:19:01 -05:00
Nat Goodspeed 9f326f5b96 Engage new viewer-build-util/which-branch with relnotes output.
Put whatever release notes we retrieve into the generated release page.

(cherry picked from commit ff543b744e)
2024-03-01 16:19:01 -05:00
Nat Goodspeed a8cd70123b SL-20546: PyGithub was only needed for local which_branch.py.
Now that which_branch.py has moved to viewer-build-util, so has the PyGithub
dependency.

(cherry picked from commit dd0ec112fe)
2024-03-01 16:13:29 -05:00