summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-17LibGfx: Fix direction of vertical gradientsMacDue
Previously the color blending and alpha blending were working from opposite sides.
2022-07-17LibGfx: Support alpha blending on gradientsMacDue
2022-07-17LibWeb: Support painting simple linear-gradientsMacDue
This is just a quick test that everything is working. Currently it paints the gradients with the existing painter.fill_rect_with_gradient(). This can only handle two-color orthogonal gradients.
2022-07-17LibWeb: Allow having a linear-gradient() as a background-imageMacDue
2022-07-17Meta: Teach GenerateCSSPropertyID about linear-gradientsMacDue
2022-07-17LibWeb: Parse the linear-gradient() CSS functionMacDue
This should parse linear-gradient()s as defined in the W3 spec https://drafts.csswg.org/css-images/#linear-gradients. Note: This currently cannot parse multi-position color stops, these are shown on MDN and work in Firefox and Chrome, though do not seem to be defined in the spec. See: https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradient#gradient_with_multi-position_color_stops P.s. This also allows -webkit-linear-gradient for compatibility.
2022-07-17LibWeb: Add LinearGradientStyleValueMacDue
2022-07-17LibWeb: Add serialize_a_srgb_value()MacDue
This moves the logic from ColorStyleValue::to_string() to a standalone function.
2022-07-17LibWeb: Fix queuing mutation records for node removalLuke Wilde
Step 19 of node removal was missing, which allows the mutations of the descendants of the removed node to still be observed by the parent. Step 20 of node removal queued the mutation record for the removed node instead of it's parent. Since queuing takes place after the node is removed from the tree, the mutation record would be lost as the only inclusive ancestor of the node at this point is only the node itself.
2022-07-17LibWeb: Rename LayoutState::NodeState => LayoutState::UsedValuesAndreas Kling
This object contains all the CSS "used values" as seen during the layout process, so calling it "used values" seems appropriate. :^)
2022-07-17LibWeb: Rename FormattingState to LayoutStateAndreas Kling
This seems a bit more descriptive (and also a bit shorter).
2022-07-17LibWeb: Implement basic stretch alignment for `flex-wrap: wrap`Andreas Kling
We currently ignore the `align-content` property, that's a FIXME for our future selves.
2022-07-17LibWeb: Update flex container intrinsic size algorithm to draft specAndreas Kling
The CSSWG draft Flexbox spec is a bit clearer on some details, so let's update our implementation to match the latest version.
2022-07-17LibWeb: Paper over a VERIFY() crash in ResourceLoader for nowAndreas Kling
2022-07-17Calculator: Set button colors from system paletteKarol Kosek
Previously, changing a system theme with Calculator opened made buttons with custom color not to update to the new theme - the background color remained from the previous one. This is because when setting the color, the widget has to copy the current palette and modify the foreground color there, which means it will no longer refer to the system theme and any change there will not happen here. Using colors from a system palette fixes this issue and makes buttons look slightly different from what was here before. But that is because they're now somewhat more integrated with the system themes! :^) Type | Old color | New color role ---- | --------- | -------------- Numbers | "blue" | SyntaxNumber Functions (sqrt, %) | "blue" | SyntaxFunction Operators (+ - * /) | text-default | SyntaxOperator Backspace, CE and C | "brown" | SyntaxControlKeyword Memory operators, = | "red" | SyntaxPreprocessorValue
2022-07-17PixelPaint: Export images using the editor title as a default basenameKarol Kosek
2022-07-17Shell: Add the |& construct for piping stderr along with stdoutsin-ack
When |& is typed, stderr will be piped to stdout before the actual piping happens. This behaves basically like a 2>&1 | (and the underlying implementation transforms it to that anyway).
2022-07-17LibLine: Ignore empty spans when stylizingsin-ack
Previously we would erroneously apply the stylization to the whoever called stylize next. Now we first check whether the span is non-empty before stylizing. All non-empty spans must have at least one character in them (end-exclusive).
2022-07-17LibWeb: Avoid needless copies during Blob constructionLinus Groh
2022-07-17LibWeb: Add support for XHR response type BlobKenneth Myhra
2022-07-17LibWeb: Introduce BlobKenneth Myhra
2022-07-17LibWeb/IDL: Add support for generating IDL BufferSource typeKenneth Myhra
2022-07-17LibWeb/IDL: Add support for optional long longKenneth Myhra
2022-07-16Ports/opfor: Update to 2022.07.14Tim Schumacher
2022-07-16Ports/halflife: Update to 2022.07.14Tim Schumacher
2022-07-16Ports/xash3d-fwgs: Update to 2022.07.14Tim Schumacher
2022-07-16Ports/SDL2: Update for the recent `StringView` changesTim Schumacher
2022-07-16LibWeb: Add definitions from '2.2.6. Responses' in the Fetch specLinus Groh
2022-07-16Toolchain: Update mold to 1.3.1Tim Schumacher
2022-07-15LibJS: Update spec numbers from the array-find-from-last proposal mergeTimothy Flynn
See: https://github.com/tc39/ecma262/commit/5f31dd6
2022-07-15LibJS: Sort TypedArray.prototype methods in spec orderTimothy Flynn
Makes it much easier to scroll through the file while comparing to the spec. Proposals are inserted alphabetically as that's where they will likely end up once merged into the main spec.
2022-07-15LibJS: Sort Array.prototype methods in spec orderTimothy Flynn
Makes it much easier to scroll through the file while comparing to the spec. Proposals are inserted alphabetically as that's where they will likely end up once merged into the main spec.
2022-07-15LibWeb: Add definitions from '2.2.5 Requests' in the Fetch specLinus Groh
2022-07-15LibWeb: Add a couple of missing includes to Fetch's Headers.hLinus Groh
2022-07-15LibWeb: Mark Origin::serialize() as constLinus Groh
2022-07-15LibWeb: Remove weird is_undefined_or_auto() helper in FFCAndreas Kling
This was a leftover from when ComputedValues stored sizes in Optionals. Now that we've gotten rid of the "undefined" state, there's no need for this helper, we can just access the size values directly.
2022-07-15LibWeb: Update flex line "remaining free space" when finishedAndreas Kling
Since we re-use this value later in the layout algorithm, we have to update it before leaving the "resolve flexible lengths" step.
2022-07-15LibGUI: Apply more padding to text on tabsnetworkException
Previously the text would be up close to the left / right border depending on the alignment. This patch increases the padding on either side from one to four pixels.
2022-07-15Kernel: Add some inline capacity to find_regions_intersectingHendiadyoin1
This should avoid some allocations during simple cases of munmap, mprotect and msync, where you usually don't have a lot of regions anyway
2022-07-15Kernel: Try to set [cm]time in Inode::did_modify_contentsHendiadyoin1
This indirectly resolves a fixme in sys$msync
2022-07-15Kernel: Handle multiple regions in sys$msyncHendiadyoin1
2022-07-15Kernel+LibC: Add posix_fallocate syscallHendiadyoin1
2022-07-15Kernel: Use find_last_split_view to get the executable name in do_execHendiadyoin1
2022-07-15AK: Add a helper to get the last split-groupHendiadyoin1
2022-07-15LibIPC: Retry post_message write on EAGAIN and yieldFrHun
This is a quick and dirty fix to at least get the Inspector working again. This is a very bad solution long term, because it will spin on the EventLoop. That is why there is a message reminding everyone this problem still needs to be fixed, every time this is actually done.
2022-07-15LibCore: InspectorServerConnection send responses with multiple writesFrHun
2022-07-15WidgetGallery: Make inspectableFrHun
WidgetGallery is only a demo anyways, and the perfect target to test the Inspector.
2022-07-15LibGUI: Sync ColorPicker's color slider with other color widgetsCodeforEvolution
The color slider on the ColorPicker widget's "Custom Color" page will now update when changing the color with the individual channel spinboxes and the larger color field box. Fixes #14425
2022-07-15Ports: Make libmpg123 compile againkleines Filmröllchen
This was as simple as copying over the libtool patches from libvorbis and removing now-unneeded Serenity-awareness patches. Co-authored-by: Tim Schumacher <timschumi@gmx.de>
2022-07-15KeyboardSettings: Improve KeymapDialog layoutFrHun