Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and document and explicit toARGB32. #56329

Merged
merged 4 commits into from
Nov 6, 2024

Conversation

matanlurey
Copy link
Contributor

@github-actions github-actions bot added the platform-web Code specifically for the web engine label Nov 1, 2024
Copy link
Member

@gaaclarke gaaclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, nit about adding test that uses deprecated member.


test('value and toARGB32 are equivalent methods', () {
const Color halfRed = Color.from(alpha: 1.0, red: 0.5, green: 0, blue: 0);
expect(halfRed.value, halfRed.toARGB32());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably better not to introduce a new test that uses a deprecated property. I'd just assert it is a specific integer.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good!

@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 1, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Nov 2, 2024
Copy link
Contributor

auto-submit bot commented Nov 2, 2024

auto label is removed for flutter/engine/56329, due to - The status or check suite Linux linux_host_engine has failed. Please fix the issues identified (or deflake) before re-applying this label.

@matanlurey
Copy link
Contributor Author

Got my local test runner working again, and I'll have this fixed and merged shortly.

@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 4, 2024
Copy link
Contributor

auto-submit bot commented Nov 5, 2024

auto label is removed for flutter/engine/56329, due to - The status or check suite Linux Web Framework tests has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Nov 5, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Nov 6, 2024
@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 6, 2024
@auto-submit auto-submit bot merged commit 382fd1e into flutter:main Nov 6, 2024
36 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2024
jason-simmons added a commit to jason-simmons/flutter_tests that referenced this pull request Nov 6, 2024
…updated for Color.toARGB32

flutter/engine#56329 added a Color.toARGB32 method.  This test is using a package that subclasses Color, and that package needs to be updated to build with the latest engine.
auto-submit bot pushed a commit to flutter/tests that referenced this pull request Nov 6, 2024
…updated for Color.toARGB32 (#421)

flutter/engine#56329 added a Color.toARGB32 method.  This test is using a package that subclasses Color, and that package needs to be updated to build with the latest engine.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Nov 6, 2024
…158283)

flutter/engine@f03f113...58ac1da

2024-11-06 [email protected] [Impeller] split downsample shader into GLES variant. (flutter/engine#56376)
2024-11-06 [email protected] Roll Skia from 82175b411c80 to b4df8dda7ffc (1 revision) (flutter/engine#56398)
2024-11-06 [email protected] Add and document and explicit `toARGB32`. (flutter/engine#56329)
2024-11-06 [email protected] Roll Fuchsia Test Scripts from _fkA2GjLQH4bc_n2p... to 6FgM4KTbxxmyYoiOs... (flutter/engine#56392)
2024-11-05 [email protected] Manual roll Dart SDK from 3e840340c412 to 1c1d0420539f (2 revisions) (flutter/engine#56391)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a toARGB32() method to the dart:ui Color.
2 participants