Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

dart:ui - drop deprecated hash functions #53787

Merged
merged 2 commits into from
Jul 9, 2024
Merged

dart:ui - drop deprecated hash functions #53787

merged 2 commits into from
Jul 9, 2024

Conversation

kevmoo
Copy link
Contributor

@kevmoo kevmoo commented Jul 9, 2024

These were deprecated a LONG time ago

These were deprecated a LONG time ago
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@kevmoo kevmoo requested a review from jonahwilliams July 9, 2024 22:33
part 'scene.dart';
part 'setup_hooks.dart';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

just a tiny (automatic, but unrelated) sort of the parts

@stuartmorgan-g
Copy link
Contributor

test-exempt: removing code

Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

It seems like 3.1.X was long enough ago!

@kevmoo kevmoo added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 9, 2024
@auto-submit auto-submit bot merged commit 64db5f4 into main Jul 9, 2024
31 checks passed
@auto-submit auto-submit bot deleted the drop_hash_things branch July 9, 2024 23:50
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 10, 2024
@jiahaog
Copy link
Member

jiahaog commented Jul 10, 2024

Reason for revert: There are still internal users of these hash functions (b/352191023). Flutter also exports it here so its easy for developers to use them even without importing dart:ui. Though it's an easy fix, I'd imagine this to be a breaking change for the OSS ecosystem as well.

@jiahaog jiahaog added the revert Label used to revert changes in a closed and merged pull request. label Jul 10, 2024
auto-submit bot pushed a commit that referenced this pull request Jul 10, 2024
@auto-submit auto-submit bot removed the revert Label used to revert changes in a closed and merged pull request. label Jul 10, 2024
auto-submit bot added a commit that referenced this pull request Jul 10, 2024
Reverts: #53787
Initiated by: jiahaog
Reason for reverting: There are still internal users of these hash functions (b/352191023). Flutter also exports it [here](https://github.com/flutter/flutter/blob/72f83d3237a051a8b1b849abd267d4a4e80ff774/packages/flutter/lib/src/painting/basic_types.dart#L58) so its easy for developers to use them even without importing `dart:ui`. Though it's an easy fix, I'd imagine this to be a breaking change for the OSS ecosystem a
Original PR Author: kevmoo

Reviewed By: {jonahwilliams}

This change reverts the following previous change:
These were deprecated a LONG time ago
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 10, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 10, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 10, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 10, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jul 10, 2024
…151522)

flutter/engine@371db85...db2b45b

2024-07-10 [email protected] [Impeller] Fix markdown formatting for blocks with tips. (flutter/engine#53789)
2024-07-10 98614782+auto-submit[bot]@users.noreply.github.com Reverts "dart:ui - drop deprecated hash functions (#53787)" (flutter/engine#53794)
2024-07-10 98614782+auto-submit[bot]@users.noreply.github.com Reverts "web_ui: drop internal hash code library (#53783)" (flutter/engine#53793)
2024-07-10 [email protected] Manual roll Dart SDK from ffc8bb004a64 to dba0dfbd06eb (23 revisions) (flutter/engine#53791)
2024-07-10 [email protected] Impeller really wants premultiplied alpha (flutter/engine#53770)
2024-07-09 [email protected] dart:ui - drop deprecated hash functions (flutter/engine#53787)
2024-07-09 [email protected] [Impeller] Validation errors in tests cause GTest failures. (flutter/engine#53786)
2024-07-09 [email protected] [Impeller] Update docs that specify how to select the Impeller backend. (flutter/engine#53788)

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],[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants