summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2022-09-20Calendar: Add setting to choose default viewOlivier De Cannière
This commit adds an entry to the Calendar Settings to allow the user to select between the month and year views as the startup default.
2022-09-20Calendar: Add a Calendar settings dialog for the first day of the weekOlivier De Cannière
This commit adds a new settings dialog for the Calendar application and applet. It allows the user to specify their preferred first day of the week.
2022-09-20Calendar: Support preferred first day of the weekOlivier De Cannière
2022-09-20LibWeb: Implement Element.insertAdjacentHTML() from DOM ParsingAndreas Kling
One edge case is left as a TODO() for now, since I'm not entirely sure how to construct an element to those specifications. With this patch, we can now run the Speedometer benchmark! :^)
2022-09-20LibWeb: Implement Window.frameElementAndreas Kling
2022-09-20LibWeb: Flesh out the default "quirks mode" style sheetAndreas Kling
Import all the quirks mode rules from the HTML spec. There's more to quirks mode, of course, but it's nice that we can just copy these.
2022-09-20LibWeb: Initialize document referrer from Fetch Request if availableAndreas Kling
2022-09-20LibWeb: Add referrer accessors to Fetch RequestAndreas Kling
2022-09-20LibC+LibRegex: Move central regex definitions into LibC/bitsAli Mohammad Pur
This decouples LibRegex from the serenity LibC. Fixes #15251.
2022-09-20LibCore: Actually tell people to stop using Core::File in new codeSam Atkins
Otherwise, we keep getting new code merged that uses it, which requires fixing later.
2022-09-20MasterWord: Port to Core::StreamSam Atkins
2022-09-20Profiler: Port to Core::StreamSam Atkins
2022-09-20SoundPlayer: Port M3UParser to Core::StreamSam Atkins
Also make the path parameter a StringView, since that's what gets passed in.
2022-09-20Run: Use Core::Stream API for command history fileSam Atkins
2022-09-20PixelPaint: Remove unused Image::write_to_file() methodSam Atkins
This seems to be a remnant from before FileSystemAccessClient was used.
2022-09-20LibGUI: Use fuzzy matching when searching for emoji by nameTimothy Flynn
This allows the user to have slight typos in their search query.
2022-09-20LibWeb+WebContent+Browser: Plumb visibility state from GUI to web pagesAndreas Kling
OOPWV now reacts to show/hide events and informs LibWeb about the state change. This makes visibilitychange events fire when switching tabs. :^)
2022-09-20LibGUI: Fire Show/Hide events when adding/removing widget from treeAndreas Kling
This ensures that widgets always get an initial show event.
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-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-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-18Everywhere: Fix order of includes and #pragma onceBen Wiederhake
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-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: 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-18LibWeb: Implement basic support for Document.allAndreas Kling
The finer details are missing here, but the basic API is up.
2022-09-18LibWeb: Capture self as a WeakPtr in ResourceClient::set_resource()Andreas Kling
It's not safe to capture `this` as a raw pointer here, since nothing is guaranteed to keep the ResourceClient alive (even if the Resource stays alive.)
2022-09-18LibWeb: Make Document vend the same HTMLCollections every timeAndreas Kling
2022-09-18LibWeb: Support getting and setting Attr.textContentAndreas Kling