summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2022-03-22KeyboardSettings: Rename m_current_applied_keymapNícolas F. R. A. Prado
Rename it to m_initial_active_keymap to denote that it's the keymap that was active when the application started up.
2022-03-22SystemMonitor: Recognise wxallowed mount flagint16
2022-03-22Mount: Implement wxallowed mount optionint16
2022-03-22Browser: Append .com when pressing CTRL+Enter in the URL text editorRok Povsic
This is the behavior in Firefox / Chrome.
2022-03-22LibGUI: Add CTRL+Enter callback to TextEditorRok Povsic
2022-03-22Applications: Do not crash if decoded bitmap is nullJelle Raaijmakers
ImageViewer and PixelPaint would crash when the ImageDecoderClient returns a frame without a bitmap. This can happen with `.ico` files with an unsupported BPP, for example.
2022-03-22disk_benchmark: Port to LibMainNicholas Cellino
2022-03-22readelf: Port to LibMainBrian Gianforcaro
2022-03-22purge: Port to LibMainBrian Gianforcaro
2022-03-22ping: Utilize TRY + Core::System wrappersBrian Gianforcaro
2022-03-22traceroute: Port to LibMainBrian Gianforcaro
2022-03-22LibCore: Add Core::System::drop_privileges()Brian Gianforcaro
In a few places we intentionally drop privileges to reduce the potential security surface area of networked program, with the pattern of: ``` if (setgid(getgid()) || setuid(getuid()) { return 1; } ``` We can make this a bit nicer to use by creating a wrapper.
2022-03-22true: Port to LibMainBrian Gianforcaro
2022-03-22printf: Port to LibMainBrian Gianforcaro
2022-03-22matroska: Port to LibMainBrian Gianforcaro
2022-03-22LibWeb: Fix crash when removing event listenersJamie Mansfield
2022-03-22LibWeb: Implement HTMLSelectElement.add()Timothy Flynn
HTMLSelectElement simply defers to its HTMLOptionsCollection.
2022-03-22LibWeb: Implement HTMLOptionsCollection.add()Timothy Flynn
2022-03-22LibWeb: Expose HTMLCollection's root element to its subclassesTimothy Flynn
For example, HTMLOptionsCollection will need to access its root HTMLSelectElement.
2022-03-22LibWeb: Support `transform: translate(...)` by percentageSimon Wanner
2022-03-22LibGfx: Clip away coordinates outside the source bitmapSimon Wanner
This prevents accessing the source pixels out of bounds.
2022-03-22LibWeb: Apply the CSS transform-origin propertySimon Wanner
We don't have transform-box yet, so this applies to the border-box for now. This also makes us pass a couple Web Platform Tests as well :^) For example: https://wpt.live/css/css-transforms/css3-transform-scale-002.html
2022-03-22LibWeb: Parse the CSS transform-origin propertySimon Wanner
This is almost a PositionStyleValue, but it's serialized differently, so let's use a StyleValueList with 2 length-percentage values.
2022-03-21LibWeb: Implement Range.surroundContents(newParent)Andreas Kling
Here goes another Acid3 point :^)
2022-03-21LibWeb: Translate table cells by their top left borderKarol Kosek
2022-03-21LibWeb: Include table cell border widths when calculating cell rectsKarol Kosek
Previously, table cells would overlap when they had CSS border or padding properties defined.
2022-03-21LibWeb: Fix two spec transcription mistakes in live range updatingAndreas Kling
This scores us another point on Acid3. :^)
2022-03-21LibWeb: Begin implementing SVGRectElement's SVGAnimatedLength attributesTimothy Flynn
2022-03-21LibWeb: Implement the SVGAnimatedLength typeTimothy Flynn
2022-03-21LibWeb: Begin implementing the SVGLength typeTimothy Flynn
There are a few unimplemented features for this type: 1. The value setter should throw a DOMException if it is invoked on an SVGLength that was declared readonly in another IDL file. 2. SVG::AttributeParser does not parse unit types when it parses lengths so all SVGLength will have an "unknown" unit for now. 3. Due to (2), methods which convert between units are unimplemented.
2022-03-21LibWeb: Fix spec transcription mistake in Range.extractContents()Andreas Kling
The spec text and code didn't match up. Thanks to Tim for spotting this! :^)
2022-03-21LibWeb: Don't allow setting Range start/end to document being destroyedAndreas Kling
2022-03-21LibWeb: Update live ranges on Node insertion and removalAndreas Kling
Taking care of some old FIXMEs :^)
2022-03-21LibWeb: Update live DOM ranges on Text and CharacterData mutationsAndreas Kling
Taking care of the FIXMEs I added in earlier patches. :^)
2022-03-21LibWeb: Implement Range.insertNode(node)Andreas Kling
2022-03-21LibWeb: Implement Text.splitText(offset)Andreas Kling
With FIXMEs about updating live ranges, but still.
2022-03-21LibWeb: Fix logic mistakes in Range stringificationAndreas Kling
We were passing the wrong length argument to substring() when stringifying a range where start and end are the same text node. Also, make sure we visit all the contained text nodes when appending them to the output. This was caught by an Acid3 subtest.
2022-03-21LibWeb: Implement Range.extractContents()Andreas Kling
Another point on Acid3 coming through! :^)
2022-03-21LibWeb: Add CharacterData.replaceData(offset, count, data)Andreas Kling
Note that we don't queue mutation records or update live ranges yet, I've left those as FIXMEs.
2022-03-21LibWeb: Add CharacterData.substringData(offset, count)Andreas Kling
2022-03-21LibWeb: Implement stringifier for DOM Range :^)Andreas Kling
2022-03-21LibWeb: Implement HTMLTableRowElement.{rowIndex,sectionRowIndex}Andreas Kling
Another point on Acid3. :^)
2022-03-21LibWeb: Make parse_html_length() accept floating point numbersAndreas Kling
This makes stuff like <img width="12.5"> work. This code is not great, so I've left a FIXME about improving it.
2022-03-21LibWeb: Ignore invisible boxes and stacking contexts during hit testingAndreas Kling
2022-03-21LibWeb: Pick up the CSS "visibility" property an honor it when paintingAndreas Kling
2022-03-21LibWeb: Remove now-unused PaintableBox::for_each_child_in_paint_order()Andreas Kling
2022-03-21LibWeb: Don't compute fragment absolute rect twice while hit testingAndreas Kling
2022-03-21LibWeb: Fix O(n^2) traversal in hit testingAndreas Kling
We already walk the entire paint tree within each stacking context in the main hit testing function (StackingContext::hit_test()), so there's no need for each individual paintable to walk its own children again. By not doing that, we remove a source of O(n^2) traversal which made hit testing on deeply nested web pages unbearably slow.
2022-03-21LibWeb: Add Paintable::dom_node() convenience accessorAndreas Kling
2022-03-21LibWeb: Add Painting::HitTestResult::dom_node()Andreas Kling
This is a convenience accessor to avoid having to say this everywhere: result.paintable->layout_node().dom_node() Instead, you can now do: result.dom_node()