summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2023-03-17LibGfx/OpenType: Add some initial support for GPOS glyph positioningAndreas Kling
This patch parses enough of GPOS tables to be able to support the kerning information embedded in Inter. Since that specific font only applies positioning offsets to the first glyph in each pair, I was able to get away with not changing our API. Once we start adding support for more sophisticated positioning, we'll need to be able to communicate more than a simple "kerning offset" to the clients of this code.
2023-03-17LibWeb: Fix is<HTML::HTMLProgressElement>() checkMacDue
Previously HTMLProgressElement implemented is_html_input_element() not is_html_progress_element(), so is_html_progress_element() defaulted to always returning false. This broke is<HTML::HTMLProgressElement>().
2023-03-16LibWeb: Remove remaining WebAssemblyObject data to the namespace fileTimothy Flynn
2023-03-16LibWeb: Port the WebAssembly namespace to IDLTimothy Flynn
2023-03-16LibIDL: Partially implement distinguishing between interface-like typesTimothy Flynn
This is needed for WebAssembly, where we need to distinguish between a BufferSource and a WebAssembly.Module.
2023-03-16WebContent: Allow pop-ups when WebDriver is connectedAliaksandr Kalenik
Currently we have `m_should_block_pop_ups` set to true by default which means `choose_a_browsing_context` will early return if new top-level browsing context is requested and write `Pop-up blocked!` in console. It is good but when WebDriver is connected we want it to be able to actually open a new window if one is requested.
2023-03-16WebContent+WebDriver: Get window handle from WebContent processAliaksandr Kalenik
This change makes window handles on WebDriver process side be consistent with handles returned by /window/new.
2023-03-16LibWeb+WebContent+WebDriver: Add WebDriver endpoint to open new windowAliaksandr Kalenik
2023-03-16LibWeb: Create new tab if a new top level BC is requestedAliaksandr Kalenik
With current process architecture where every top level browsing context lives in a separate WebContent process we need to request a browser to spawn new WebContent process if new top level BC is requested.
2023-03-16LibWeb: Introduce RemoteBrowsingContextAliaksandr Kalenik
Remote browsing context represents top level browsing context that lives in another WebContent process.
2023-03-16LibWeb: Inherit BrowsingContext from AbstractBrowsingContextAliaksandr Kalenik
2023-03-16LibWeb: Introduce AbstractBrowsingContextAliaksandr Kalenik
Introducing class for abstract browsing context is going to make it possible to have separate implementations for: 1) Local browsing context (Top level BC of current page and iframes) 2) Remote browsing context (BC of a page that lives in another WebContent process)
2023-03-16Browser: Implement `notify_request_open_new_tab`Aliaksandr Kalenik
2023-03-16LibWeb+LibWebView+WebContent+Ladybird: Add IPC call that opens new tabAliaksandr Kalenik
2023-03-16LibWebView: Generate window handle during client creationAliaksandr Kalenik
Generate handle UUID for top-level context that is going to run in created WebContent process and sent it over IPC. Co-authored-by: Timothy Flynn <trflynn89@pm.me>
2023-03-16LibWebView: Add window handle in `ClientState` in `ViewImplementation`Aliaksandr Kalenik
Add field for a handle that is going to be used by WebDriver to identify top-level browsing contexts. It is supposed to be populated by WebContent client during creation. Co-authored-by: Timothy Flynn <trflynn89@pm.me>
2023-03-16WebContent: Add IPC call to set window handle from WebContent clientAliaksandr Kalenik
2023-03-16WebContent: Add IPC call to get window handle from WebContent clientAliaksandr Kalenik
2023-03-16LibWeb: Add `handle` member in BrowsingContextAliaksandr Kalenik
`handle` is uuid that is going to be used in WebDriver to identify browsing context.
2023-03-16LibWeb: Move code that generates uuid into separate functionAliaksandr Kalenik
Make possible to generate uuid without having crypto class instance.
2023-03-16LibTLS+Base: Rework default system certificate parserFabian Dellwing
Change the default system certificate parser from our arbitrary INI format to well-known PEM format.
2023-03-16Meta: Download cacert.pem at build timeFabian Dellwing
2023-03-16LibCrypto: Add multiple PEM parserFabian Dellwing
This adds a function to parse multiple PEMs out of a single input. This allows us to load certificates from a cacert.pem file without need for preprocessing.
2023-03-16WebContent+LibWebView: Consolidate the way browsers connect to WebDriverTimothy Flynn
Currently, on Serenity, we connect to WebDriver from the browser-side of the WebContent connection for both Browser and headless-browser. On Lagom, we connect from within the WebContent process itself, signaled by a command line flag. This patch changes Lagom browsers to connect to WebDriver the same way that Serenity browsers do. This will ensure we can do other initializers in the same order across all platforms and browsers.
2023-03-16image: Don't just crash when the input file can't be decodedNico Weber
If the input file didn't exist at all, the TRY(MappedFile::map()) gives us a (cryptic) error message, but if it existed but wasn't an image file, we would crash. Now we print a message instead.
2023-03-16image: Add --assign-color-profile= flagNico Weber
This allows assigning a color profile from a .icc file to the output. No pixel data conversion is taking place: the output will just contain this profile, so it better matches the image data already.
2023-03-16image: Add --strip-color-profile flagNico Weber
With this flag, no color profile is copied from the source image to the destination image.
2023-03-16LibGfx: Remove stray space character in a commentNico Weber
2023-03-16LibWeb: Port WebAssembly.Table to IDLTimothy Flynn
2023-03-16LibWeb: Port WebAssembly.Memory to IDLTimothy Flynn
2023-03-16LibWeb: Port WebAssembly.Instance to IDLTimothy Flynn
2023-03-16LibWeb: Port WebAssembly.Module to IDLTimothy Flynn
2023-03-16LibWeb: Define WebAssembly namespace and import it in web bindingsTimothy Flynn
This will contain concrete definitions of WebAssembly objects used by generated WebAssembly IDL.
2023-03-16LibIDL+LibWeb: Begin supporting the LegacyNamespace extended attributeTimothy Flynn
This is used by WebAssembly IDL files. For now, we mostly use this for error messages and cache keys (to ensure compatibility with existing code as WebAssembly is ported to IDL).
2023-03-16LibIDL: Allow extended attributes on non-required IDL dictionary membersTimothy Flynn
For example, WebAssembly.Memory will have: [EnforceRange] unsigned long maximum;
2023-03-16PixelPaint: Rename Layer::resize() to Layer::scale()Tim Ledbetter
This name more accurately describes the transform being performed.
2023-03-16PixelPaint: Always specify a new bounding rect when resizing layersTim Ledbetter
This commit also removes the other Layer::resize() overloads, as they are no longer used.
2023-03-16PixelPaint: Make Resize Image scale each layer to the correct sizeTim Ledbetter
The "Resize Image" action will now scale layer such that the corners of each layer maintain their position relative to the edge of the canvas. Previously, each layer was scaled to the same size of the canvas.
2023-03-16PixelPaint: Don't resize layers when resizing the canvasTim Ledbetter
Calling Image::resize() with ScalingMode::None now resizes the canvas without changing the size or position of any layers.
2023-03-16ThemeEditor: Store tab title in PropertyTabs as StringViewKarol Kosek
Removes a hop that creates a deprecated string. We cannot store the title directly as a String, because we would have to find a way to propagate the errors during constructing global static objects.
2023-03-16LibGUI+Userland: Port TabWidget set_tab_title to new stringKarol Kosek
2023-03-16LibGUI: Store Tab titles using the new string classKarol Kosek
2023-03-16LibGUI+Applications: Port SettingsWindow::add_tab() to the new stringKarol Kosek
2023-03-16LibGUI+Userland: Make TabWidget::*add_tab() take title using new stringKarol Kosek
2023-03-16PixelPaint: Port ImageEditor title to new stringKarol Kosek
2023-03-16LibGUI+HackStudio+PixelPaint: Port Widget title to the new StringKarol Kosek
I had to add a set_title(String) helper function for ImageEditor because TabWidget requires it. This is a temporary fix and will be handled in subsequent commit.
2023-03-16LibCore: Add new REGISTER_STRING_PROPERTY macroKarol Kosek
2023-03-16LibCore+Userland: Add DEPRECATED infix to REGISTER_STRING_PROPERTY macroKarol Kosek
2023-03-16LibWeb: Don't drop single <br/> linesMathis Wiehl
Previously, when having inline contexts consisting of just a `<br/>` tag, we would not create a line box. Ensure that there is always a line box when a line is explicitly being broken and also ensure it won't be trimmed due to being empty. This will a fix a number of sites that use `<br>` tags for layouts between block elements (even though the spec says they shouldn't).
2023-03-16LibGUI: Store correct address in TreeViewModel's ModelIndicesTim Ledbetter
After `8a48246` m_nodes[row] amd m_child_nodes[row] return a NonnullRefPtr<Node>, so we were putting the wrong address into the ModelIndex's data.