summaryrefslogtreecommitdiff
path: root/Userland/Applications
AgeCommit message (Collapse)Author
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-11HexEditor: Add list of recently opened filesCaoimhe
2023-05-10Chess+GameSettings: Optionally highlight the king when in checkTim Ledbetter
When either king is in check, its square is now highlighted with a red background. This behavior can be toggled in GameSettings.
2023-05-10Help: Fix link to Contents pageJames Liu
2023-05-09AK: Add the `Input` word to input-only buffered streamsLucas CHOLLET
This concerns both `BufferedSeekable` and `BufferedFile`.
2023-05-09Userland: Show "Ladybird" instead of "Browser" in titles, menus, etcAndreas Kling
While the binary is still called "Browser" for now, let's make it clear that we're converging on a single name for this application.
2023-05-06ThemeEditor: Remove one usage of DeprecatedStringKarol Kosek
Up until 3d53dc82283e7eccf7a27918dbbcd391dc4988f7, to_string(ColorRole) returned char*, which prevented us from directly creating a String class.
2023-05-06PixelPaint: Use ValueSlider for radial gradient hardnessMacDue
This makes this input consistent with the hardness properties of other tools.
2023-05-05LibMarkdown+LibSyntax: Add a Markdown syntax highlighterMaciej
It currently supports only headers and code blocks.
2023-05-05LibGUI: Make `Application`'s construction fallibleLucas CHOLLET
The pattern to construct `Application` was to use the `try_create` method from the `C_OBJECT` macro. While being safe from an OOM perspective, this method doesn't propagate errors from the constructor. This patch make `Application` use the `C_OBJECT_ABSTRACT` and manually define a `create` method that can bubble up errors from the construction stage. This commit also removes the ability to use `argc` and `argv` to create an `Application`, only `Main`'s `Arguments` can be used. From a user point of view, the patch renames `try_create` => `create`, hence the huge number of modified files.
2023-05-05PixelPaint: Ensure the selection is always within image boundsTim Ledbetter
2023-05-05PixelPaint: Allow lasso tool to select outside the active layerTim Ledbetter
This makes the lasso tool behavior consistent with other selection tools.
2023-05-05PixelPaint: Use the crosshair cursor with the lasso toolTim Ledbetter
This matches the behavior of other selection tools.
2023-05-05FontEditor: Use `LibFileSystemAccessClient`Caoimhe
2023-05-05FontEditor: Don't paint in `GlyphEditorWidget` if `m_font` is nullCaoimhe
The font isn't set in the constructor, there may be a case where the font hasn't loaded before the first paint event. Therefore, we should not paint if the font is null. All other methods should be fine.
2023-05-05Base+LibChess: Move assets from /icons/ to /graphics/Cubic Love
The graphics directory is a more suitable home for game assets.
2023-05-05Base+LibCards: Move card backs from /icons/ to /graphics/Cubic Love
The graphics directory is a more suitable home for game assets. Also, move card backs into their own subfolder in preparation for a themes subfolder for card fronts.
2023-05-05Piano: Allow per-track controls (again)kleines Filmröllchen
This makes Piano exactly as usable as when I started the large refactor some years ago, which *sounds* like I'm a terrible person but now it (1) looks nicer and (2) has a flexible backend that can already deal with aribtrary kinds of processors on any track.
2023-05-05Piano: Use size_t for track countkleines Filmröllchen
2023-05-04PixelPaint: Make gradient tool hardness slider width match other inputsMacDue
2023-05-04PixelPaint: Correct variable names in GradientTool.cppMacDue
Previously these variables were all prefixed `size_`, but used for the opacity value.
2023-05-03SoundPlayer: Clear client buffer when playback is stoppedJoel Petersson
Previously we would not clear the client buffer of the ConnectionToServer when playback was stopped. This would cause old samples to be buffered and played when playback was restarted. With this commit we now perform this clearing of the client buffer correctly.
2023-05-03HexEditor: Remember all of the layout options in the configurationCaoimhe
2023-05-02SoundPlayer: Fix glitchy visualization on pause/stopJoel Petersson
Previously when pausing or stoping a track in SoundPlayer, the visualizations would glitch out. This was caused by them being updated with the same buffer over and over. With this patch a pause action will freeze the visualization at the point of the pause and a stop action will reset the visualization so it displays nothing until a track is started.
2023-05-02SoundPlayer: Introduce buffer_reset api to VisualizationWidgetJoel Petersson
Previously there was no way to clear the internal buffer in a VisualizationWidget. These buffers are what determines how a VisualizationWidget is rendered, so with this commit we are now able to reset visualizations.
2023-05-01CertificateSettings: Add missing ellipsis on import/export buttonsAndreas Kling
2023-04-30LibGfx+Userland: Merge FrameShape and FrameShadow into FrameStylethankyouverycool
Previously, Frames could set both these properties along with a thickness to confusing effect: Most shapes of the same shadowing only differentiated at a thickness >= 2, and some not at all. This led to a lot of creative but ultimately superfluous choices in the code. Instead let's streamline our options, automate thickness, and get the right look without so much guesswork. Plain shadowing has been consolidated into a single Plain style, and 0 thickness can be had by setting style to NoFrame.
2023-04-30LibGUI: Remove Label icons and replace instances with ImageWidgetthankyouverycool
These icons are a relic of GLabel and were never implemented to accomodate both image and text. This convenience can always be added in the future, but no current instance assumes or needs it, so let's replace them all with ImageWidget to show clearer intent.
2023-04-30LibGUI+Userland: Port Labels to Stringthankyouverycool
2023-04-30PixelPaint: Clip the gradient tool preview to the active layer rectTim Ledbetter
This makes it easier to see what the result will be when using two solid colors.
2023-04-29Spreadsheet: Add blank sheet when import dialog is cancelledAbuneri
If you launch the Spreadsheet app by clicking on a CSV (or other supported formats) the import dialog is immediately launched. If you cancel out of the import the application ends up in an empty state where there are no sheets added. When you launch the app normally it defaults to having a blank sheet, so we should have the same behaviour in this scenario to prevent users from having to manually add the new/blank sheet before being able to use the app
2023-04-29Spreadsheet: Enable the ability to undo/redo changes in cell colorhuttongrabiel
Cells can be updated with new background/foreground colors and then this action can be undone/redone.
2023-04-29Spreadsheet: Add CellUndoMetadataCommand classhuttongrabiel
Enables the ability to undo changes in metadata without undoing chages in data. Previously there was only CellUndoData which cannot undo things such as changes in cell background color.
2023-04-29Spreadsheet: Add CellChange constructor for changes in type metadatahuttongrabiel
Allows the creation of CellChanges where the change is in the type metadata instead of in data.
2023-04-29PixelPaint: Add radial gradient supportTorstennator
This patch adds radial gradients to the gradients tool.
2023-04-27DisplaySettings: Show bilinear filtered wallpaper in `MonitorWidget`Jelle Raaijmakers
After 7b10c8048c, this is probably more correct.