-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Cherry-pick 12 ladybird PRs #25378
Merged
Merged
Cherry-pick 12 ladybird PRs #25378
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These have no declared constructor, so apple clang and clang clang seem to disagree on some versions. (cherry picked from commit d2ff92077b2a4ead0a1ef65e7131702e1152cbeb)
(cherry picked from commit b0e3b289299728583847590209f9ed4b9083bbe3)
This brings back the old behaviour of Value::to<short>() (and other similar calls), which WASI depends on. To make sure all similar issues are caught in the future, this commit also introduces an static assertion in Value::to(). (cherry picked from commit 0d05ab2ad0cc56cc6fe9ee647dfcfda44a92b4f2)
This gives us free devirtualization of some hot calls inside the bytecode interpreter. Most notably the did_trap() checks. Modest performance improvement on the https://figma.com/ landing page. (cherry picked from commit 2f3128333dcd5a781f35272800631d6cf03803ad)
LibWebView: Add Kagi search engine to selection menu (cherry picked from commit b757ee0bc8863b7785fe6f5f15ae6d4d3c82896f)
(cherry picked from commit 003fc4f8eeb57eedba9a6a055002c7fa9d0aab7d)
When performing a hit test of type TextCursor, it would check if the position is around each fragment and not just inside it. This resulted in always selecting the first fragment checked. This commit computes the distance of each hit test result, and picks the closest one. (cherry picked from commit 8c465c95aa7acde2355b0ce0762987724f5f6811)
This allows you to select text at the end of fragments, just like in non-inline elements. (cherry picked from commit 813612096c6135357c9a0e079db67e52900ebd5f)
Rather than having to know what 1 means, let's use the enum value. (cherry picked from commit ae01904369fac96343bf491df1e4860018f20159)
We were generating click events always using the primary mouse button instead of the provided button, and with the buttons field set to that provided button. (cherry picked from commit dd5a0361f2307b280a910d219fbc2dfd0072409f)
(cherry picked from commit d0b97873d421d092eb41e3b7a7d8959347b3b436)
(cherry picked from commit 60d9c3929ccb8334420dc36abddc5665b5955f44)
(cherry picked from commit 9fce70069dc29f2232feb8247e69d21fe720fa94)
(cherry picked from commit 86e20ea2469c0defb6fca40de3cbb339c168b543)
(cherry picked from commit f610a12671cccc5bf96c7ce8f7773c02412b8d81)
(cherry picked from commit 9515290fde3c973226c9737cbd055ebd85df7101)
(cherry picked from commit 6189d1ac9d73347638c3cbec4d7e21a390edd238)
Fixes at least 2 subtests in wpt/device-memory. (cherry picked from commit 69f11fc1c657603b189015fd620f96e32adfb9fd)
This would previously crash because it depended on a specific order for evaluating function arguments, which is undefined. (cherry picked from commit 27b1d94e04386fd46c2c9148b9555c841595e2d3)
github-actions
bot
added
the
👀 pr-needs-review
PR needs review from a maintainer or community member
label
Nov 13, 2024
github-actions
bot
removed
the
👀 pr-needs-review
PR needs review from a maintainer or community member
label
Nov 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
LadybirdBrowser/ladybird#1005
LadybirdBrowser/ladybird#1017
LadybirdBrowser/ladybird#1089
LadybirdBrowser/ladybird#1131
LadybirdBrowser/ladybird#1126
LadybirdBrowser/ladybird#1192
LadybirdBrowser/ladybird#387
LadybirdBrowser/ladybird#1564
LadybirdBrowser/ladybird#1625
LadybirdBrowser/ladybird#701
LadybirdBrowser/ladybird#1681
LadybirdBrowser/ladybird#1742