summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-08AK: Bake CLion IDE check into AK_COMPILER_CLANGAndreas Kling
For whatever reason, when CLion does its code indexing thing, it doesn't define __clang__ despite using Clang. This causes it to run into various problems that we've solved by checking for Clang. Since CLion does define __CLION_IDE__ (or sometimes __CLION_IDE_, no idea why but I have seen this issue locally), let's make that part of the AK_COMPILER_CLANG check. This makes CLion stop highlighting various things as errors.
2023-04-08Kernel: Don't reuse old master TLS region data in sys$execve()Andreas Kling
When switching to the new address space, we also have to switch the Process::m_master_tls_* variables as they may refer to a region in the old address space. This was causing `su` to not run correctly. Regression from 65641187ffb15e3512fcf9c260c02287f83b5d09.
2023-04-07Ports: Add stockfish portTim Ledbetter
2023-04-07LibWeb: Port {Mouse,UI,Wheel,}Event to new StringKenneth Myhra
This ports MouseEvent, UIEvent, WheelEvent, and Event to new String. They all had a dependency to T::create() in WebDriverConnection::fire_an_event() and therefore had to be ported in the same commit.
2023-04-07LibWeb: Move string literals to HTML::EventNamesKenneth Myhra
This moves the string literals animation{end,iteration,start} and transitionend to HTML::EVentNames.
2023-04-07LibWeb: Correct casing of webkitTransitionEnd and webkitAnimation*Kenneth Myhra
This corrects the casing of the legacy event types webkitTransitionEnd and webkitAnimation{End,Iteration,Start}.
2023-04-07LibWeb: Port CustomEvent to new StringKenneth Myhra
2023-04-07LibTimeZone: Update to TZDB version 2023cTimothy Flynn
https://mm.icann.org/pipermail/tz-announce/2023-March/000079.html
2023-04-07LibJS: Update spec numbers for the Intl Enumeration proposalTimothy Flynn
This proposal has been merged into the main ECMA-402 spec. See: https://github.com/tc39/ecma402/commit/81856b3
2023-04-07Tests: Add another test for webp lossless decodingNico Weber
2023-04-07LibGfx: Implement meta prefix code support in webp decoderNico Weber
2023-04-07LibCompress: Tolerate more than 288 entries in CanonicalCodeNico Weber
Webp lossless can have up to 2328 symbols. This code assumed the deflate max of 288, leading to crashes for webp lossless files using more than 288 symbols (such as Tests/LibGfx/test-inputs/simple-vp8l.webp). Nothing writes webp files at this point, so the m_bit_codes and m_bit_code_lengths arrays aren't ever used in practice with more than 288 entries.
2023-04-07LibGfx: Implement COLOR_TRANSFORM for webp lossless decoderNico Weber
2023-04-07LibGfx: Implement PREDICTOR_TRANSFORM for webp lossless decoderNico Weber
Very much not written for performance at this point.
2023-04-07LibGfx: Add CanonicalCode wrapper to webp lossless decoderNico Weber
WebP lossless differs from deflate in how it handles 1-element codes. Deflate consumes one bit from the bitstream to produce the element, while webp lossless consumes 0 bits. Add a wrapper class to handle this case.
2023-04-07Base: Add a simple test page to load a video and display some metadataTimothy Flynn
2023-04-07LibWeb: Create a basic layout node for HTMLVideoElementTimothy Flynn
2023-04-07LibWeb: Implement HTMLVideoElement's video{Width,Height} attributesTimothy Flynn
2023-04-07LibWeb: Begin implementing HTMLMediaElement's readyState attributeTimothy Flynn
It's not totally clear to me when all of these states are supposed to be set. For example, nothing in the HTMLMediaElement spec says to "set the readyState attribute to HAVE_ENOUGH_DATA". However, this will at least advance the readyState to HAVE_METADATA, which is needed for other useful attributes for debugging.
2023-04-07LibWeb: Implement HTMLMediaElement's duration attributeTimothy Flynn
2023-04-07LibWeb: Indicate that we may be able to play video MIME typesTimothy Flynn
2023-04-07LibWeb: Parse and load the HTMLMediaElement's src attributeTimothy Flynn
The spec for loading a media element is quite huge. This implements just enough to parse the attribute, fetch the corresponding media object, and decode the media object (if it is a video). While doing so, this also implements most network state tracking and firing DOM events that may be observed via JavaScript.
2023-04-07LibWeb: Implement TrackEvent for media eventsTimothy Flynn
2023-04-07LibWeb: Implement VideoTrack and VideoTrackListTimothy Flynn
This implements the IDL for these types and some event handling around them.
2023-04-07LibWeb: Define steps to queue a media element task on a HTMLMediaElementTimothy Flynn
2023-04-07LibWeb: Define missing media HTML event namesTimothy Flynn
2023-04-07LibWeb: Sort HTML event namesTimothy Flynn
2023-04-07LibWeb: Implement HTMLMediaElement's networkState attributeTimothy Flynn
2023-04-07LibWeb: Support taking matching tasks out of a task queueTimothy Flynn
This will be needed for HTMLMediaElement.
2023-04-07LibWeb: Support unique task sourcesTimothy Flynn
Some elements, like HTMLMediaElement, must have a unique task sources for every instance of that element that is created. Support this with a simple wrapper around IDAllocator.
2023-04-07AK: Allow specifying a minimum value for IDs returned by IDAllocatorTimothy Flynn
2023-04-07LibVideo: Extract video metadata for public-facing video track dataTimothy Flynn
This copies the video data from the Matroska document into the Track structure that outside users have access to. Because Track can actually represent other media types, this is set up such that the Track can hold metadata for those other types when they are needed. This is needed for LibWeb's HTMLMediaElement implementation.
2023-04-07Base: Update Assistant man page with icon & feature instructionsCubic Love
Add the new icon for Assistant and add instructions for using the built-in URL launcher and calculator (taken from Tips-and-Tricks.md).
2023-04-07Base: Add icons for AssistantCubic Love
Add 32px and 16px application icons for Assistant
2023-04-07Kernel: Fix typo in the FramebufferGetPitchMboxMessage nameLiav A
2023-04-07LibWeb: Use max-width property in table formattingmartinfalisse
2023-04-07LibWeb: Add table formatting testsmartinfalisse
Creates some TableFormattingContext tests based on the tests in /html/misc.
2023-04-07LibWeb: Move table tests to their own foldermartinfalisse
2023-04-07LibWeb: Don't put abspos grid/flex items in anonymous wrapperAndreas Kling
Grid and flex containers have their own rules for abspos items, so we shouldn't try to be clever and put them in the "current" anonymous wrapper block. That behavior is primarily for the benefit of block & inline layout.
2023-04-07LibGfx: Implement SUBTRACT_GREEN_TRANSFORM for webp lossless decoderNico Weber
2023-04-07LibGfx: Add scaffolding for applying transforms to webp lossless decoderNico Weber
Each of the four transforms will inherit from this class.
2023-04-07LibGfx: Add more dbgln_if()s to webp decoderNico Weber
They were useful while debugging the decoder. Keep them in for a bit.
2023-04-07LibGfx: In webp decoder, check that each transform is used only onceNico Weber
2023-04-07LibGfx: Correctly handle more than one PrefixCodeGroup in webp decoderNico Weber
The `static` here meant we always kept the alphabet sizes of the first image we happened to load -- and a single webp lossless image can store several helper images used during decoding. Usually, the helper images wouldn't use a color cache but the main image would, but the main image would then use the first entry from the helper images due to the `static`, which led us to not decoding the codes for the color cache symbols.
2023-04-06LibWeb: Port {HTML,UIEvents,XHR}::EventNames to new StringKenneth Myhra
2023-04-06AK: Add FlyString::is_one_of for variadic string comparisonKenneth Myhra
2023-04-06LibWeb: Move string literals to {HTML,UIEvents}::EventNames.hKenneth Myhra
This moves the reamining string literals from GlobalEventHandlers.h to {HTML,UIEvents}::EventNames.h.
2023-04-06LibWeb: Add the WritableStreamDefaultWriter interfaceMatthew Olsson
2023-04-06LibWeb: Add the WritableStream interfaceMatthew Olsson
2023-04-06LibWeb: Move property_to_callback to Streams/AbstractOperationsMatthew Olsson
This will be necessary for UnderlyingSink, which is WritableStream's equivalent of UnderlyingSource, and functions in much the same way.