summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2022-08-14LibWeb: Extract CanvasPathDrawingStyles class from CRC2DSam Atkins
2022-08-14LibWeb: Extract CanvasImageData class from CRC2DSam Atkins
2022-08-14LibWeb: Extract CanvasDrawImage class from CRC2DSam Atkins
2022-08-14LibWeb: Extract CanvasText class from CRC2DSam Atkins
2022-08-14LibWeb: Extract CanvasDrawPath class from CRC2DSam Atkins
Again, this is an entirely virtual class since the methods involve direct access to the Painter. Though, maybe I could just expose the Painter...
2022-08-14LibWeb: Extract CanvasRect class from CRC2DSam Atkins
This one requires drawing to the canvas, so it doesn't make so much sense to move the implementation over.
2022-08-14LibWeb: Extract CanvasFillStrokeStyles class from CRC2DSam Atkins
2022-08-14LibWeb: Extract CanvasFillStrokeStyles class from CRC2DSam Atkins
2022-08-14LibWeb: Extract CanvasTransform class from CRC2DSam Atkins
The implementation of this got a little funky, because it has to access methods from CanvasState.
2022-08-14LibWeb: Extract CanvasState class from CRC2DSam Atkins
As with CanvasPath, this is to better match the spec IDL.
2022-08-14LibWeb: Teach CRC2D to draw Path2Ds :^)Sam Atkins
2022-08-14LibGfx: Add method for copying a Path with a transform appliedSam Atkins
The Web's CanvasRenderingContext2D needs a way to draw a path with a transform applied to it, without modifying the original path, so here it is. :^)
2022-08-14LibWeb: Implement Path2D classSam Atkins
2022-08-14LibWeb: Extract CanvasPath class from CRC2DSam Atkins
This better matches the spec, and makes it possible for things like Path2D to reuse the same implementation without duplicate code. :^)
2022-08-14LibWeb: Use "unrestricted float/double" where we should in IDLSam Atkins
2022-08-14LibWeb: Use parent and sibling positions for absolutely positioned divmartinfalisse
If absolutely positioned divs do not have a fixed position, then their position must be calculated based off of the position of their parent and their siblings.
2022-08-14LibWeb: Factor out compute_y_positionmartinfalisse
Factor out the code that computes the vertical position of a Box with respect to its siblings so that it can be used when computing the absolutely positioned divs as well.
2022-08-14FileManager: Add 'Set as Desktop Wallpaper' action to file context menucflip
2022-08-14LibGUI: Avoid too large tooltip when switching to shorter textDavid Smith
The tooltip window didn't resize when setting a shorter text, or moving to a widget with shorter text, so it had extra space on the sides. Fix by allowing the window to resize without obeying the minimum size of the (previous) tooltip.
2022-08-14WorkspacePicker: Allow opening workspace settings via a context menuAndreas Kling
Previously you had to open Display Settings and navigate to the "Workspaces" tab in order to edit workspace settings. This patch adds a context menu shortcut to the same place.
2022-08-14Utilities/lsblk: Remove Interface Type columnLiav A
We are going to remove this slice of data from the SysFS later on, so lsblk must not try to read it.
2022-08-14Base: Add Icon for Partition Editorelectrikmilk
This adds a 16x16 and 32x32 icon that is missing for the Partition Editor.
2022-08-14LibJS: Make Function.prototype a callable function objectLinus Groh
20.2.3 Properties of the Function Prototype Object https://tc39.es/ecma262/#sec-properties-of-the-function-prototype-object The Function prototype object: - is itself a built-in function object.
2022-08-13Browser+Base: Allow opening multiple URLs at once from command lineSam Atkins
This lets you run `br example.com wikipedia.org some/local/file.html` in one go and have them all opened as tabs.
2022-08-13ThemeEditor: Use `FileSystemAccessServer` instead of unveiling filesLucas CHOLLET
2022-08-13HackStudio: Fix update modified document on tab widgetFederico Guerinoni
Closes #14297
2022-08-13PixelPaint: Allow configuration of default image size through GUIcflip
This adds a checkbox to the new image dialog that allows the user to set the default values without needing to manually edit the config file
2022-08-12SystemMonitor: Remove GML references to the deleted Hardware tabLiav A
2022-08-12LibWeb: Implement `linear-gradient()` transition hintsMacDue
These allow you to specify the point were the gradient transitions from one color to the next (without a transition hint the transition occurs at the point 50% of the way between the two colors). There is a little bit of guesswork in this implementation as the specification left out how hints work with the color stop fixup, though it appears that they are treated the same as color stops.
2022-08-11Shell: Avoid StringView OOB access in Formatter ctorAli Mohammad Pur
2022-08-11Shell: Stop printing 'sh -c' commandsAli Mohammad Pur
That's getting too spammy and too useless.
2022-08-10LibWeb: Follow `image-rendering` when painting image style valuesMacDue
2022-08-10HackStudio: Add fullscreen shortcutJunior Rantila
2022-08-09Terminal: Propagate more errorsJunior Rantila
2022-08-09WindowServer: Let WindowManager set serverside effectsthankyouverycool
Menu and Window animations can now be disabled and the geometry overlay made conditional. Shadow options are dependent on the current theme actually supplying bitmaps, but they provide a fast way to toggle those that do without having to edit theme files.
2022-08-09LibGUI+LibGfx: Let Desktop::the() set widget effectsthankyouverycool
Scrolling can now be set Coarse or Smooth system-wide, Splitter knurls and Tab accents toggled on and off, and Menu flashing disabled.
2022-08-09DisplaySettings: Add an Effects tabthankyouverycool
Effects tab provides the UI for setting SystemEffects. DisplaySettings is getting a bit crowded and might need a re-org at some point, but this seems like a good home for effects while the settings mature.
2022-08-09LibGUI+WindowServer: Create IPC calls for passing SystemEffectsthankyouverycool
SystemEffects are sent to the WindowManager through set_system_effects() and broadcast to Desktop clients with update_system_effects(). WindowManager is reponsible for saving, loading and rebroadcasting effects from WindowServer.ini on config changes.
2022-08-09LibGUI: Let Desktop:the() manage SystemEffects inside LibGUIthankyouverycool
These settings might well ultimately be factored into a dedicated settings manager, but until then, a charitable interpretation of Desktop::the() as the desktop environment will suffice.
2022-08-09LibGUI+WindowServer: Add a SystemEffects wrapper and helpersthankyouverycool
SystemEffects provides a tidy way to work with system-wide visual options passed through IPC.
2022-08-08Chess: Import/Export chessboards using LibFileSystemAccessClientKarol Kosek
With this change, the wpath and cpath promises as well as unveiling user's entire home directory are no longer needed. :^)
2022-08-08LibGUI: Correct cursor index during mouseup_eventMatthew B. Jones
Previously, during a m_might_drag mouse_up event, we were updating the selection directly, which caused the selection to be accurate but the location of the cursor index to be stale/incorrect. The side effect of this is then future events may point to the wrong index. Instead, call the set_cursor function with SelectionUpdate::Set, which handles both updating the cursor index as well as the selection index.
2022-08-08LibWeb: Avoid painting background-images under opaque bordersMacDue
Without this the background-image can be painted up to 8 extra times, that contribute nothing to the final image.
2022-08-08LibWeb: Convert images to common AbstractImageStyleValue baseMacDue
This commit moves both the ImageStyleValue and LinearGradientStyleValue to a common base class of AbstractImageStyleValue. This abstracts getting the natural_width/height, loading/resolving, and painting the image. Now for 'free' you get: - Linear gradients working with the various background sizing/repeat properties. - Linear gradients working as list-markers :^) -- best feature ever! P.s. This commit is a little large as it's tricky to make this change incrementally without breaking things.
2022-08-08LibGfx: Add Size<T>::to_rounded<I>()MacDue
Currently this is only specialized for rounding to integer types.
2022-08-08LibWeb: Don't allow mixed commas/no commas in rect() css valuesMacDue
This fixes the clip-rect-comma-002, clip-rect-comma-003, and clip-rect-comma-004 web platform tests.
2022-08-08LibWeb: Fix resolution of CSS clip rectMacDue
Previously the clip rect was not relative to the top/left egdes of the element, which lead to it being positioned incorrectly. This fixes the clip-rect-auto-004 and clip-rect-auto-005 web platform tests.
2022-08-08LibWeb: Enable CSS clip for `position: fixed` elementsMacDue
This fixes the clip-absolute-positioned-002 web platform test.
2022-08-08LibWeb: Fix RectStyleValue to_string() implementationTom
Fix implementation of to_string() for RectStyleValue so that it can be used by JS.
2022-08-07LibWeb: Allow % height of a % height parent in block-formatted elementsMacDue
With this you can start to see Francine's face in the CSS oil painting (https://diana-adrianne.com/purecss-francine/)