summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-05Shell: Add a "." builtin that aliases to "source" in POSIXmasterjwijenbergh
This patch adds an alias to the source builtin when an user types ".". We cannot just add an enumeration entry using __ENUMERATE_SHELL_BUILTIN because "." is not a valid name in a function. This patch adds handling similarly to the name rewriting of ":". This alias is limited to POSIX mode only.
2023-06-05Base: Add .mkv file association to Video PlayerKarol Kosek
Video Player can play VP9 videos inside Matroska. Double-clicking on such files in File Manager will now open this application.
2023-06-05LibC: Add missing spec links for string APIsEmily Trau
2023-06-05LibC: Fix memmem signature complianceEmily Trau
2023-06-05LibWeb: Ensure that contentType in Blob::slice is basic latinShannon Booth
2023-06-05Tests/LibWeb: Add some text tests for 'parsing a legacy color value'Shannon Booth
I was not aware of this framework back when implementing this back in bc54560e5942c9ff4b9049c034ad09a9f8446fb6. Add in some basic tests for this now that we are compliant with the specification.
2023-06-04Kernel: Rename Syscall.cpp => Syscalls/SyscallHandler.cppLiav A
2023-06-04Kernel: Move InterruptDisabler to the Interrupts subdirectoryLiav A
2023-06-04Kernel: Move Performance-measurement code to the Tasks subdirectoryLiav A
2023-06-04Kernel: Move TimerQueue code to the Time subdirectoryLiav A
2023-06-04Kernel: Move all boot-related code to the new Boot subdirectoryLiav A
2023-06-04Kernel: Move ExecutionMode.h to the Security subdirectoryLiav A
2023-06-04Everywhere: Move global Kernel pattern code to Kernel/Library directoryLiav A
This has KString, KBuffer, DoubleBuffer, KBufferBuilder, IOWindow, UserOrKernelBuffer and ScopedCritical classes being moved to the Kernel/Library subdirectory. Also, move the panic and assertions handling code to that directory.
2023-06-04Kernel: Move task-crash related code to the Tasks subdirectoryLiav A
2023-06-04Kernel: Move Credentials.{cpp,h} to the Security subdirectoryLiav A
2023-06-04Kernel: Move {Virtual,Physical}Address classes to the Memory directoryLiav A
2023-06-04Kernel: Move UBSanitizer and AddressSanitizer to Security subdirectoryLiav A
2023-06-04Kernel: Move Random.{h,cpp} code to Security subdirectoryLiav A
2023-06-04Kernel: Move all tasks-related code to the Tasks subdirectoryLiav A
2023-06-04Kernel: Move Jail code to a new subdirectoryLiav A
2023-06-04TextEditor: Prevent autoscroll looping overAhmed Hussein
When a text file has only 1 line with long text autoscroll to the top will no longer loop over and set the cursor to the end of the line.
2023-06-04PixelPaint: Make "Crop Image to Content" work with disjoint layersTim Ledbetter
2023-06-04PixelPaint: Make "Crop Image to Selection" work with disjoint layersTim Ledbetter
The "Crop Image to Selection" action will now crop all layers within the current selection. Any layers outside of the current selection are deleted. If there are no layers within the current selection, a new layer the same size as the selection is created, which has the same name as the current active layer.
2023-06-04LibWeb: Account for negative margins when calculating float intrusionAndreas Kling
If a box has a negative margin-left, it may have a negative effective offset within its parent BFC root coordinate system. We can account for this when calculating the amount of left-side float intrusion by flooring the X offset at 0.
2023-06-04Toolchain+Ladybird: Declare dependencies in correct nix filenetworkException
The dependencies added in b5e9b9a939cb4f54c551143ccbbea44be0cd12c5 are a better fit for Ladybird/ladybird.nix
2023-06-04Ladybird: Sort packages in nativeBuildsInputs nix listnetworkException
2023-06-04LibGfx: Fix adding active edges in filled path rasterizerMacDue
This was previously masked by sorting the edges on max_y, but if the last added edge pointed to an edge that ended on the current scanline, that edge (and what it points to) would also end up added to the active edges. These edges would then never get removed, and break things very badly!
2023-06-04LibGfx: Simplify segmentizing pathsMacDue
Remove SplitLineSegment and replace it with a FloatLine, nobody was interested in its extra fields anymore. Also, remove the sorting of the split segments, this really should not have been done here anyway, and is not required by the rasterizer anymore. Keeping the segments in stroke order will also make it possible to generate stroked path geometry (in future).
2023-06-04Ports: Update the Zig port's Serenity type definitionssin-ack
After b98f537, the Zig port's types for Serenity no longer matched what Serenity actually returned from LibC; this caused weird errors due to stat() not returning valid values anymore.
2023-06-03LibWeb: Rewind TokenStream if we reject a parsed value as out-of-boundsSam Atkins
Wrap the parsing of numbers, integers, and dimensions in a transaction, which we only commit if that parsed value was actually accepted by the property. This fixes `font: 0/0 a;` failing to parse.
2023-06-03LibWeb: Exit `parse_font_family_value()` when hitting an illegal tokenSam Atkins
...instead of looping forever. Oops! :^)
2023-06-03SystemServer: Ensure service drop privileges could fail only when rootLiav A
If we try to launch a lazily-spawned service and the SystemServer as a (running --user) session leader is running with root permissions, then if it is instructed to drop the root permissions for a the new service then it will make sense to abort the entire spawn procedure if dropping of privileges failed. For other users, trying to change UID/GID to something else doesn't make sense (and will always actually fail) as we are already running in non root permissions, hence we don't attempt to do this anymore. It should be noted that if an explicit User configuration was actually specified for a Service to be used with, we would still try to login with the requested User option value, which would fail when running as non-root user. This is useful for example when trying to run the pro utility with pls to elevate to root permissions, but the session leader is still the same so trying to "drop" privileges to UID 0 doesn't make sense.
2023-06-03Base: Remove unlicensed copy of BMFWBen Wiederhake
The creator of this site is most definitely not going to enforce his copyright, yes, but it's still a bad idea to keep around an unlicensed copy of someone else's work. We no longer use it to 'test' anything, so let's just remove it entirely.
2023-06-03Base: Replace GPL bmpsuite by link to originalBen Wiederhake
bmpsuite on GitHub is licensed under the GPLv3: https://github.com/jsummers/bmpsuite/blob/master/COPYING.txt However, we did not "conspicuously and appropriately publish on each copy an appropriate copyright notice", therefore we probably were in violation with GPLv3 paragraph 4, "Conveying Verbatim Copies". Let's just remove this entirely, because Ladybird can just access the original pages instead. At the time of writing, `bmpsuite.html` and the HTML response from the linked URL are byte-identical.
2023-06-03Ladybird: Assume file:// URL when URL starts with '/'Shannon Booth
Allowing for easily pasting into ladybird the path to some HTML file (as an example). This behavior matches chrome and firefox handling.
2023-06-03LibWeb: Don't crash when document.write a script with src attrZhiyuan Guo
To abort the processing of any nested invocations of the tokenizer, just return is enough in this case. During the process of pending parsing blocking script, the is_ready_to_be_parser_executed() check should be applied on the blocking script, not the original script.
2023-06-03Meta: Ignore Helix's configuration folderCaoimhe
2023-06-03Documentation: Add instructions for configuring the Helix editorCaoimhe
2023-06-03LibWeb: Detect and reject math functions with no resolved typeSam Atkins
... instead of crashing :^)
2023-06-03LibWeb: Resolve the `transition-delay` propertystelar7
2023-06-03LibWeb: Implement the `<symbol>` SVG elementPrestonLTaylor
2023-06-03LibWeb: Implement the `<use>` SVG elementPrestonLTaylor
The SVG <use> element is used to be able to reuse other SVG graphics without having to re-write the svg element. We now support this feature! :^)
2023-06-03LibWeb: Add document_fully_loaded event to DocumentObserverPrestonLTaylor
SVGUseElement needs to be able to query the fully loaded document for its referenced element.
2023-06-03LibWeb: Allow SVG painting to escape out of a shadow treePrestonLTaylor
The spec for the `<use>` element requires a shadow tree for the rendered content, so we need to be able to escape shadow trees when rendering svg content.
2023-06-03LibWeb: Implement `details_notification_task_steps` for <details>stelar7
2023-06-03LibWeb: Implement the <summary> elementstelar7
2023-06-03LibWeb: Make disclosure marker bounds squareSimon Wanner
This makes sure we actually render an equilateral triangle inside a square.
2023-06-03LibWeb: Support list-style-positionSimon Wanner
This moves the ::marker inside of <summary> actually inside. :^)
2023-06-03LibWeb: Make pseudo-elements inspectableSimon Wanner
This makes it possible to set a pseudo-element as the inspected node using Document::set_inspected_node(), Document then provides inspected_layout_node() for the painting related functions.
2023-06-03LibWeb: Add list-style-type: disclosure-{closed,open}Simon Wanner
These markers are rendered as equilateral triangles pointing right and down respectively. As we currently don't implement writing-mode the closed marker does not respect it.