summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-20LibWeb: Flesh out a chunk of the HTML spec's frame navigation algorithmsAndreas Kling
2022-09-20LibWeb: Keep more of the navigation parameters in DocumentAndreas Kling
2022-09-20LibWeb: Flesh out "document visibility" state a bit moreAndreas Kling
We can now "update the visibility state", which also causes `visibilitychange` events to fire on the document. This still needs GUI integration work at the BrowsingContext level.
2022-09-20LibWeb: Move HistoryHandlingBehavior enum to its own headerAndreas Kling
This avoids a header cycle in a subsequent patch.
2022-09-20LibWeb: Implement more spec-compliant iframe/frame attribute processingAndreas Kling
We're still missing the lazy loading attribute handling, and once we hit the navigation step, we fall back to totally ad-hoc behavior instead of going all the way with a Fetch Request.
2022-09-20LibWeb: Set the document "completely loaded time" when appropriateAndreas Kling
2022-09-20LibWeb: Only create iframe nested context if iframe document has contextAndreas Kling
We had glossed over a condition in the spec that said we should only run the nested context creation steps when the iframe's own containing document has a browsing context.
2022-09-20LibWeb: Implement "browsing context group" concept from the HTML specAndreas Kling
2022-09-20LibWeb: Remove unused Layout::Node::did_insert_into_layout_tree()Andreas Kling
2022-09-20LibWeb: Consolidate code for resolving vertical box model metrics in BFCAndreas Kling
We already had a helper for this, but compute_height() wasn't using it. Tweak it so that compute_height() can use it, and remove the duplicated code that's now redundant.
2022-09-20GamesSettings: Always ensure last card back selected is savedne0ndrag0n
2022-09-19LibCpp: Add .clang-format to disable clang-format for the LibCpp TestsBrian Gianforcaro
We don't format these files, as they might have been intentionally formatted differently from the normal serenity style for testing. So ignore them from our global style, so clang-format doesn't pick them up by accident.
2022-09-19Meta: Use time instead of /usr/bin/time in lint-ci.shBen Wiederhake
I totally overlooked that /usr/bin/time is not universal, which broke some systems. This commit instead calls 'time', allowing either a shell built-in to kick in, or a (potentially different) binary be found anywhere in the PATH.
2022-09-18Applets/ResourceGraph: Port to Core::StreamSam Atkins
2022-09-18Applets/Network: Stop marking methods virtual unnecessarilySam Atkins
None of these are overridden, and NetworkWidget is a final class.
2022-09-18Applets/Network: Remove `include_loopback` parameterSam Atkins
This is always false, so we can do without it and simplify things a little.
2022-09-18Applets/Network: Port to Core::StreamSam Atkins
2022-09-18Meta: Fix example invocations of the serenity.sh run commandBen Wiederhake
2022-09-18Kernel: Replace KString::must_create, fix init_argsBen Wiederhake
2022-09-18Meta: Only check changed files in check-style.py during pre-commitBen Wiederhake
This speeds up the script from about 90ms down to about 10ms, for reasonably common changesets. 80ms may not feel like much, but it adds up quickly, especially since we run a dozen scripts during pre-commit.
2022-09-18Meta: Only check changed files in lint-gml-format.shBen Wiederhake
This speeds up the script from about 140ms down to <10ms, even for changesets that touch a handful of different GML files. 130ms may not feel like much, but it adds up quickly, especially since we run a dozen scripts during pre-commit.
2022-09-18Meta: Only check changed files in check-newlines-at-eofBen Wiederhake
This speeds up the script from about 120ms down to about 20ms for reasonably common changesets. 100ms may not feel like much, but it adds up quickly, especially since we run a dozen scripts during pre-commit.
2022-09-18Meta: Only check changed files in check-debug-flags during pre-commitBen Wiederhake
This speeds up the script from about 170ms down to about 80ms for changes in Debug.h.in or similarly "DEBUG"-rich files, down to <10ms for more common changesets. 160ms may not feel like much, but it adds up quickly, especially since we run a dozen scripts during pre-commit.
2022-09-18Meta: Rewrite pre-commit script check-emoji in pythonBen Wiederhake
This reduces the scripts execution time from 0.57 seconds to 0.01 seconds, while also making the check a bit tighter, leaving fewer possible problems.
2022-09-18Meta: Always show the timing of commands in lint-ci.shBen Wiederhake
This should make it easier to identify slow-running scripts. While we're at it, unify the output a little bit.
2022-09-18LibC: Fix misplaced #include in limits.hBen Wiederhake
posix1_lim.h only defines macros that start with _POSIX_*, and don't mention anything that might be defined in limits.h. Likewise, limits.h uses none of the _POSIX_* macros. Thus, it is okay to change the order of imports.
2022-09-18Kernel: Fix misplaced #include in ATA/Definitions.hBen Wiederhake
2022-09-18Everywhere: Fix order of includes and #pragma onceBen Wiederhake
2022-09-18HeaderCheck: Also check AK for broken headersBen Wiederhake
2022-09-18AK: Move heavyweight fuzzy matching to own compilation unitBen Wiederhake
2022-09-18HeaderCheck: Disable warning due to LibSoftGPUBen Wiederhake
Once LibSoftGPU drops this disable, HeaderCheck should remove it, too. Until then, it is necessary to build at all.
2022-09-18HeaderCheck: Remove outdated debug codeBen Wiederhake
This should never have been committed.
2022-09-18WindowServer: Add missing includesBen Wiederhake
This remained undetected for a long time as HeaderCheck is disabled by default. This commit makes the following file compile again: // file: compile_me.cpp #include <WindowServer/SystemEffects.h> // That's it, this was enough to cause a compilation error.
2022-09-18Kernel: Add missing include in APIBen Wiederhake
This remained undetected for a long time as HeaderCheck is disabled by default. This commit makes the following file compile again: // file: compile_me.cpp #include <Kernel/API/POSIX/ucontext.h> // That's it, this was enough to cause a compilation error.
2022-09-18Libraries: Add missing includes, add namespace qualifiersBen Wiederhake
This remained undetected for a long time as HeaderCheck is disabled by default. This commit makes the following file compile again: // file: compile_me.cpp #include <LibDNS/Question.h> // That's it, this was enough to cause a compilation error. Likewise for most other files touched by this commit.
2022-09-18LibJS: Add missing includesBen Wiederhake
This remained undetected for a long time as HeaderCheck is disabled by default. This commit makes the following file compile again: // file: compile_me.cpp #include <LibJS/Runtime/StringPrototype.h> // That's it, this was enough to cause a compilation error. Likewise for most other files touched by this commit.
2022-09-18LibWeb: Add missing includesBen Wiederhake
This remained undetected for a long time as HeaderCheck is disabled by default. This commit makes the following file compile again: // file: compile_me.cpp #include <LibWeb/HTML/CrossOrigin/CrossOriginOpenerPolicy.h> // That's it, this was enough to cause a compilation error. Likewise for most other files touched by this commit.
2022-09-18LibWeb: Remove the flex item size cachesin-ack
This was overly permissive as the FIXME stated and was causing layout issues.
2022-09-18LibWeb: Subtract border & padding when using flex line size as item sizeAndreas Kling
The flex line cross size includes the margin boxes of items, so when we're taking the flex line's cross size to use as an item cross size, we have to subtract the margin, border padding from both sides. Previous we only subtracted the cross margins, which led to oversized items in some cases.
2022-09-18LibWeb: Remove bogus main space restriction in wrapping flex layoutsAndreas Kling
2022-09-18LibJS: Handle NumberFormat's [[UseGrouping]] option for "true" / "false"Timothy Flynn
This is a normative change to the Intl NumberFormat V3 spec. See: https://github.com/tc39/proposal-intl-numberformat-v3/commit/4751da5
2022-09-18LibWeb: Allow passing null to a nullable IDL union typeAndreas Kling
This fixes an issue on Twitter where they were instantiating an IntersectionObserver with a null root. The root IDL type is `(Element or Document)?` so null needs to be allowed.
2022-09-18LibWeb: Don't replace existing Content-Type header in outgoing XHRsAndreas Kling
This fixes an issue where Twitter was HTTP 400'ing some of our XHRs.
2022-09-18LibWeb: Check document fully active status in "element cannot navigate"Andreas Kling
This resolves a FIXME and brings us closer to spec.
2022-09-18Ports: Only regenerate patches if there are actual changed commitsTim Schumacher
We were previously comparing the hash against the hash after the initial import, which caused us to regenerate patches every time as long as we did have patches (even if they haven't changed at all) and the script entirely missing that it should remove patches if the current commit is the "import" commit.
2022-09-18Ports: Handle generating a ReadMe for an empty patch directoryTim Schumacher
2022-09-18Ports: Place tags at important points in the commit historyTim Schumacher
This helps with easier rebasing and for easier comparing or returning to the state at which the last actual on-disk patches were.
2022-09-18Ports: Unify the git "origin" and the working copyTim Schumacher
I've lost more changes to "you forgot to push the changed commits to the remote" than I'd like to admit, so let's just unify both and only ever use the actual working repository for detemining whether any patches have changed.
2022-09-18Toolchain: Regenerate patches using the latest format rulesTim Schumacher
2022-09-18Ports: Force full-length file indices when formatting patchesTim Schumacher
This keeps file index lengths from being dependent on internals of the repository.