summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-05-13Base: Add man page for topTim Ledbetter
2023-05-13top: Add -p option to filter by pidTim Ledbetter
The -p option can now be used to only monitor processes with the specified pids. Pids are given as a comma-separated list. This option may be used multiple times.
2023-05-13tar: Convert from DeprecatedFile to Core::File and FileSystemBen Wiederhake
2023-05-13HackStudio: Prefer FileSystem over DeprecatedFileBen Wiederhake
2023-05-13aplay: Prefer FileSystem over DeprecatedFileBen Wiederhake
2023-05-13abench: Prefer FileSystem over DeprecatedFileBen Wiederhake
2023-05-13LibJS/Bytecode: Variable declarators should always prefer lexical envAndreas Kling
This fixes an issue where object environments (from `with` statement) were bypassed by statements like `var x = 1` (for objects with an `x` property). Fixes 25 tests in test262. :^)
2023-05-13LibWeb: Implement performance.{measure,clearMeasures}Luke Wilde
2023-05-13LibWeb: Capture realm in dictionary to C++ conversionLuke Wilde
Some types use the realm when converting to C++, such as unions.
2023-05-13LibWeb: Specify snake case names for navigation timing entries tooLuke Wilde
This will be used by performance.measure to read the value of a given entry in the NavigationTiming interface.
2023-05-13Ladybird: Add common handy actions to context menuMacDue
This commit adds the common actions you'd expect to the Ladybird context menu, arranged like so: ┌──────────────────────────────┐ │ Go Back Alt+Left │ │ Go Forward Alt+Right │ │ Reload Ctrl+R │ │ ──────────────────────────── │ │ Copy Ctrl+C │ │ Select All Ctrl+A │ │ ──────────────────────────── │ │ View Source Ctrl+U │ │ Inspect Element │ └──────────────────────────────┘
2023-05-13Base: Add a test page to load a video element with <source> childrenTimothy Flynn
This verifies we cycle through the source children until we land on one with a video we can play.
2023-05-13LibWeb: Partially implement HTMLSourceElement's insertion/removal stepsTimothy Flynn
This implements the substeps which concern HTMLMediaElement parents.
2023-05-13LibWeb: Implement the HTMLMediaElement child <source> selection stepsTimothy Flynn
Rather than setting the src attribute on the HTMLMediaElement, websites may append a list of HTMLSourceElement nodes to the media element. There is a series of "try the next source" steps to attempt to fetch/load each source until we find one that works.
2023-05-13LibWeb: Change Document::parse_url to accept a StringViewTimothy Flynn
There's no need for this to require a DeprecatedString - the method it wraps around already only expects a StringView. This allows passing a String instance without any conversion.
2023-05-13FontEditor: Allow application to launch without a fontthankyouverycool
Since LibFSAC requires a reified window before loading a font, it makes sense to have a safe null state for the app. This lets us stay alive after a failed file request on startup, handle failure at any point during initialization, and claw back memory from all our font RefPtrs. A default startup font or none at all can now be set in FontEditor.ini
2023-05-13LibGUI: Use ColorRole::DisabledText when AbstractView is disabledthankyouverycool
And only paint GlyphMapWidget's frame if disabled
2023-05-13LibGUI: Allow setting and clearing text in SpinBoxthankyouverycool
2023-05-13FontEditor: Let GlyphEditorWidget initialize a null BitmapFontthankyouverycool
And remove public reference getters as there is no guarantee they are nonnull.
2023-05-13LibGUI+Applications: Let GlyphMapWidget initialize a null Fontthankyouverycool
FontEditor will need to clear references to its mutable font in the future while CharacterMap has no use for the highlights clone, so let's convert GlyphMapWidget's set_font wrapper into a separate initialize function for the editor and stop hiding the base function for others. Setting font null in either ultimately points the map to the system's default font.
2023-05-13FontEditor: Move common restoration work into restore_state()thankyouverycool
2023-05-13FontEditor: Use resultant FSAC filename when Saving-asthankyouverycool
Fixes desync between file and title.
2023-05-13FontEditor: Use fallible {Input,Message}Boxesthankyouverycool
And replace DeprecatedString and fix misnamed argument in show_error()
2023-05-13FontEditor: Don't crash on missing iconsthankyouverycool
Instead of crashing on failed icon loading with TRY(), let's report missing but non-critical resources in detail and gracefully move on.
2023-05-13FontEditor: Rename m_edited_font => m_font and remove getterthankyouverycool
Pithier and it matches the naming convention used in FontEditor's child widgets. Since it was never used outside MainWidget and there will soon be no guarantee that m_font is nonnull, the public BitmapFont& getter has also been removed.
2023-05-13FontEditor: Remove unnecessary call to hide() NewFontDialogthankyouverycool
This workaround has not been needed since 5c92397
2023-05-13FontEditor: Remove unnecessary setters and gettersthankyouverycool
As these were only used internally, let's simplify things and prevent potential desync between widget state and saved settings by moving the logic into their respective actions.
2023-05-13FontEditor: Remove unnecessary deferred invokesthankyouverycool
Since moving initialization out of the constructor and recalculating GlyphMap's content size on range and font changes, these deferrals are no longer needed.
2023-05-13FontEditor: Make update_title() privatethankyouverycool
2023-05-13FontEditor: Tighten lambda capturesthankyouverycool
2023-05-13FontEditor: Propagate errors formatting preview textthankyouverycool
2023-05-13FontEditor: Propagate errors when loading GMLthankyouverycool
2023-05-13FontEditor: Port some instances of DeprecatedStringthankyouverycool
2023-05-13FontEditor: Iterate slope and weight lists by size()thankyouverycool
2023-05-13FontEditor: Convert Model lists to Vector<String>thankyouverycool
And propagate errors while building them.
2023-05-13LibGfx: Convert FontStyleMappings to Arraysthankyouverycool
This will let us neatly ensure capacities, do unchecked appends, and iterate by size() on FontEditor's models.
2023-05-13LibGUI: Add fallible factories to ItemListModelthankyouverycool
2023-05-13LibGUI: Ignore Alt+{Left,Right} key events in GlyphMapWidgetthankyouverycool
Fixes seek actions not activating by keyboard shortcut when GlyphMapWidget has focus.
2023-05-13LibWeb: Return grid container width from automatic_content_width in GFCAliaksandr Kalenik
automatic_content_width() should return grid container width that is supposed to be set by determine_intrinsic_size_of_grid_container().
2023-05-13LibWeb: Implement grid container intrinsic sizes calculationAliaksandr Kalenik
When a width/height constraint is applied to GFC it should set its own width/height to the sum of track sizes according to the spec. Changes in layout tests are improvement over what we had before.
2023-05-13LibWeb: Fix condition to determine auto tracks while sizing in GFCAliaksandr Kalenik
This solves the issue when track with "fixed" min sizing function were treated like "auto" during sizing.
2023-05-13SpiceAgent: Gracefully handle the host clearing the clipboardDaniel Bertalan
When the host clears the clipboard (e.g. by running `pbcopy </dev/null`) the Spice server sends an empty string to us. Previously, we would crash as `AnonymousBuffer::create_with_size` doesn't accept a size of 0. Fix this by passing `{}` to `async_set_clipboard_data` in this case.
2023-05-13LibWeb: Let HTMLImageElement delay the document load event againAndreas Kling
2023-05-13LibWeb: Don't force HTMLImageElement to have a legacy ImageLoaderAndreas Kling
We achieve this by adding a new Layout::ImageProvider class and having both HTMLImageElement and HTMLObjectElement inherit from it. The HTML spec is vague on how object image loading should work, which is why this first pass is focusing on image elements.
2023-05-13LibWeb: Implement enough of "update the image data" to load imagesAndreas Kling
This first pass is enough to get us: - Image loading via fetch - Source selection via srcset and sizes attributes
2023-05-13LibWeb: Add a class to represent the "source set" concept from HTMLAndreas Kling
Also comes with a little extra CSS parser helper for parsing "sizes" attributes in images.
2023-05-13LibWeb: Add class to represent "list of available images" from HTML specAndreas Kling
2023-05-13LibWeb: Start fleshing out HTML "image requests" and "image data"Andreas Kling
This patch adds HTML::ImageRequest and HTML::DecodedImageData. The latter had to use a different name than "ImageData", as there is already an IDL-exposed ImageData class in HTML.
2023-05-13Kernel/aarch64: Remove drawing of logo on the framebuffer during initLiav A
This logo was actually used as a first sign of life in the very early days of the aarch64 port. Now that we boot into the graphical mode of the system just fine there's no need to keep this.
2023-05-13LibDebug: Propagate errors around LineProgramBen Wiederhake
Found while playing Fixme-Roulette.