summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-20Calendar: Update month view on first_day_of_week setting changeOlivier De Cannière
Now when the user changes their preferred first day of the week in the Calendar Settings, the Calendar application and applet views are update accordingly without needing to restart them.
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-20AK: Fix bad parsing of some file:/// URLs with base URLAndreas Kling
We were dropping the base URL path components in the resulting URL due to mistakenly determining the input URL to start with a Windows drive letter. Fix this, add a spec link, and a test.
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-20StateMachineGenerator: Port to LibMain and Core::StreamSam Atkins
2022-09-20LibEDID: Use Core::Stream API to generate PnpIDsSam Atkins
2022-09-20IPCCompiler: Use Core::Stream APISam Atkins
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-20AK: Do not require an allocated String for fuzzy matchingTimothy Flynn
A StringView is sufficient here. This also removes the declaration of fuzzy_match_recursive from the header, as it's only needed from within the implementation file.
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-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.