Commit Graph

49578 Commits (2f452d06e6964b0edf26b0b3f6eaa156e3fa2d48)

Author SHA1 Message Date
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
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
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 Lihatskiy 25251c3ba8
Merge pull request #924 from secondlife/marchcat/x-merge
Emoji -> Maint X merge
2024-03-05 01:05:08 +02: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
Andrey Kleshchev d47c653682 triage#105 clearPopups() crash
onTopLost can result in popup being removed or potentially removing more
than one popup.
2024-03-01 18:01:51 +02:00
Nat Goodspeed 701d1a33bb Increment viewer version to 7.1.4
following promotion of secondlife/viewer #673
2024-03-01 10:26:00 -05:00
Nat Goodspeed 1204468415 Merge DRTVWR-489 to main on promotion of Emoji viewer (#673). 2024-03-01 10:23:56 -05:00
Andrey Lihatskiy eb01d6f770
Merge branch 'main' into DRTVWR-591-maint-X 2024-02-23 19:15:59 +02:00
Brad Linden 0f2248ea12
Improving issue templates. (#877)
making ordering explicit, and disabling blank issue submission to force
triage label to be set.
2024-02-22 13:01:49 -08:00
Vir Linden ffef19843b
Delete .github/ISSUE_TEMPLATE/issue_template.md 2024-02-22 11:28:44 -05:00
Vir Linden b9ac5e8433
Update issue_template.md 2024-02-22 11:26:54 -05:00
Vir Linden e452eeb816
Update issue_template.md 2024-02-22 11:24:55 -05:00
Vir Linden 0ad58e53ea
Merge pull request #873 from secondlife/vir-linden-issue-template
Create issue_template.md
2024-02-22 11:22:43 -05:00
Vir Linden 4b24b0d933
Create issue_template.md
Issue template for the "blank issue" option
2024-02-22 10:28:10 -05:00
Brad Linden 255bb8504d
Update cla.yaml allowlist to clear spurious errors (#804) 2024-02-14 09:54:46 -08:00
Alexander Gavriliuk 1820095dd4 #779 Emoji picker is an unintuitive UX disaster 2024-02-12 23:36:41 +02:00
Alexander Gavriliuk b4e29ec0e9 #68 The 'Recently used emoji' can not be selected by the 'Tab' key 2024-02-09 16:16:01 +03:00
Alexander Gavriliuk afc9252372 SL-20363 Option 'Debug Unicode' - show unicode values 2024-02-09 09:16:17 +03:00
Alexander Gavriliuk 7075717b7c SL-20363 Add Advanced option 'Debug Unicode' 2024-02-08 13:17:18 +03:00
Signal Linden 60c8b432b3
Merge pull request #757 from secondlife/signal/yml
Rename ISSUE_TEMPLATE/config.yaml to config.yml
2024-02-07 13:28:59 -08:00
Signal Linden 9b51fee9bc
Rename config.yaml to config.yml
Issue template configuration is the only github configuration file I've found which does not support both `*.yaml` and `*.yml` extensions. Drat.
2024-02-07 13:24:35 -08:00
Vir Linden eb623cf213
Merge pull request #738 from secondlife/signal/feedback-link
Add link to feedback portal
2024-02-07 16:14:30 -05:00
Andrey Kleshchev b348366d10 Issue #56 Redirect Help>Report Bug to Canny instead of Jira 2024-02-07 20:02:10 +02:00
Signal Linden 95f213115b
Add link to feedback portal
Provide a link to feedback.secondlife.com from the issue creation page.
2024-02-05 16:09:54 -08:00
Vir Linden edb2fb57f8
Merge pull request #702 from secondlife/signal/reduce-builds
build.yaml: Build shared branches
2024-02-01 08:29:43 -05:00
Bennett Goble 27e3fdc957 build.yaml: Build shared branches
We're currently building every single commit pushed to Github. This is
racking up $20k in build charges a month and is generally superfluous.

This changeset alters build triggers so that builds automatically run if
they are committed to a **shared branch**:

- `release/*` - A release stabilization branch
- `project/*` - A project viewer branch
- `main/*` - The default/stable branch

PR commits are also automatically built.

...need to build another commit? Developers can trigger one using a
manual workflow run.
2024-01-31 13:26:14 -08:00
Andrey Lihatskiy 70d5d91170 Merge branch 'main' into DRTVWR-591-maint-X 2024-01-31 06:00:55 +02:00
Andrey Kleshchev d3448fa204 BugSplat Crash #1409959 onTopLost
onTopLost crashed
1. It contradicts callstack, but clearPopups() definetely has an issue
due to not checking the pointer prior to calling onTopLost
2. According to callstack, crash happened around ~LLFolderViewFolder
and while it does call removePopup for itself, it isn't a popup, the
only one in the list would be the renamer, which calls back to parent,
so made sure to secure it.
3. mFlashTimer was never deleted
4. Some explicit cleanup for TopLost
2024-01-30 17:54:37 +02:00
Vir Linden c0861e9366
Merge pull request #692 from secondlife/vir-linden-issue-templates-1
Update enhancement.md
2024-01-30 09:35:03 -05:00
Vir Linden 1e4c667f47
Merge pull request #693 from secondlife/vir-linden-issue-templates
Update bug.yaml
2024-01-29 13:49:32 -05:00
Vir Linden 00962fd397
Update enhancement.md 2024-01-29 12:42:28 -05:00
Vir Linden a9158943a8
Update bug.yaml 2024-01-29 12:38:11 -05:00
Vir Linden e612a76ef2
Merge pull request #688 from secondlife/signal/contributors
Add a basic CONTRIBUTING.md
2024-01-29 11:52:28 -05:00
Vir Linden 8b030795be
Merge pull request #666 from secondlife/issue_templates
Issue templates
2024-01-29 10:44:57 -05:00
Bennett Goble 10947104db Add a basic CONTRIBUTING.md
Provide basic instructions in-repository for contributing to Second
Life.
2024-01-26 23:58:47 -08:00
Andrey Kleshchev e0c604c5f6 SL-17372 Fix viewer crashing when switching models
mDefaultPhysicsShapeP could reference a dead model if scene changes
2024-01-27 01:18:14 +02:00
Andrey Kleshchev 08cf926d3b Issue #17 Crash at autoAdjustOrigin 2024-01-26 19:54:14 +02:00