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

Address FIXMEs in process-css-properties.py #6444

Conversation

weinig
Copy link
Contributor

@weinig weinig commented Nov 13, 2022

b45acc1

Address FIXMEs in process-css-properties.py
https://bugs.webkit.org/show_bug.cgi?id=247861
rdar://102292266

Reviewed by Darin Adler.

Address the FIXMEs I left in process-css-properties.py to make the
transition from the old script easier. This mostly was removal of
unnecessary extra sorting that was done to maintain character for
character parity with the old script.

Additionally, this removes a bunch of unnecessary list allocations
by converting list-comprehension expressions (i.e. [x for x in foo])
into generator-comprehension expressions (i.e. (x for x in foo)) where
materializing the list early was not necessary or useful. This allows
getting rid of a bunch of caching as well, which is nice.

* Source/WebCore/css/process-css-properties.py:

Canonical link: https://commits.webkit.org/256763@main

34eeee3

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe   πŸ›  πŸ§ͺ win
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-debug βœ… πŸ›  gtk βœ… πŸ›  wincairo
βœ… πŸ§ͺ webkitperl   πŸ§ͺ ios-wk2 βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ gtk-wk2
  πŸ§ͺ api-ios   πŸ§ͺ api-mac   πŸ§ͺ api-gtk
βœ… πŸ›  tv   πŸ§ͺ mac-wk1
βœ… πŸ›  tv-sim   πŸ§ͺ mac-wk2
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch   πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  watch-sim βœ… πŸ§ͺ mac-wk2-stress

@weinig weinig self-assigned this Nov 13, 2022
@weinig weinig changed the title Need a short description (OOPS!). Address FIXMEs in process-css-properties.py Nov 13, 2022
@weinig weinig force-pushed the eng/Address-FIXMEs-in-process-css-properties-py branch from 66cd049 to 097108d Compare November 13, 2022 17:41
@weinig weinig added WebKit Local Build WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore). labels Nov 13, 2022
@weinig weinig marked this pull request as draft November 13, 2022 17:41
@weinig weinig marked this pull request as ready for review November 13, 2022 17:58
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Nov 13, 2022
@weinig weinig marked this pull request as draft November 13, 2022 22:03
@weinig weinig removed the merging-blocked Applied to prevent a change from being merged label Nov 13, 2022
@weinig weinig force-pushed the eng/Address-FIXMEs-in-process-css-properties-py branch from 097108d to 7eb8cc7 Compare November 13, 2022 22:19
@weinig weinig marked this pull request as ready for review November 14, 2022 02:56
@weinig weinig added merge-queue Applied to send a pull request to merge-queue and removed merge-queue Applied to send a pull request to merge-queue labels Nov 16, 2022
@weinig weinig force-pushed the eng/Address-FIXMEs-in-process-css-properties-py branch from 7eb8cc7 to 34eeee3 Compare November 17, 2022 01:35
@weinig weinig added the merge-queue Applied to send a pull request to merge-queue label Nov 17, 2022
https://bugs.webkit.org/show_bug.cgi?id=247861
rdar://102292266

Reviewed by Darin Adler.

Address the FIXMEs I left in process-css-properties.py to make the
transition from the old script easier. This mostly was removal of
unnecessary extra sorting that was done to maintain character for
character parity with the old script.

Additionally, this removes a bunch of unnecessary list allocations
by converting list-comprehension expressions (i.e. [x for x in foo])
into generator-comprehension expressions (i.e. (x for x in foo)) where
materializing the list early was not necessary or useful. This allows
getting rid of a bunch of caching as well, which is nice.

* Source/WebCore/css/process-css-properties.py:

Canonical link: https://commits.webkit.org/256763@main
@webkit-early-warning-system webkit-early-warning-system force-pushed the eng/Address-FIXMEs-in-process-css-properties-py branch from 34eeee3 to b45acc1 Compare November 17, 2022 02:59
@webkit-commit-queue
Copy link
Collaborator

Committed 256763@main (b45acc1): https://commits.webkit.org/256763@main

Reviewed commits have been landed. Closing PR #6444 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit b45acc1 into WebKit:main Nov 17, 2022
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore).
Projects
None yet
5 participants