summaryrefslogtreecommitdiff
path: root/Userland/Applications
AgeCommit message (Collapse)Author
2023-05-17FontEditor: Filter files by BitmapFont in FilePickerthankyouverycool
2023-05-17FontEditor: Show complete filename in error messagesthankyouverycool
And clean up Save and Open action code style.
2023-05-17FontEditor: Show recently opened files in File menuthankyouverycool
And update GlyphEditorWidget on initialize(). Fixes Editor not showing the new active glyph when loading recent fonts from a menu.
2023-05-17FontEditor: Add action text to Undo and Redothankyouverycool
2023-05-16Browser: Move screenshot context menu actions above inspector actionsTimothy Flynn
Feels a bit more natural, at least to align with muscle memory from other browsers.
2023-05-16Browser: Add a context menu for video elementsTimothy Flynn
This includes actions such as controlling play state, downloading the video, and opening the video in a new tab.
2023-05-15Userland: Silence or resolve new GCC 13 warningsDaniel Bertalan
GCC 13 produces the following true positive warnings: - `-Wredundant-move` when trying to move `result->tooltip()`, which is a const reference in `Assistant/main.cpp` - `-Wuse-after-free` when freeing an environment variable before removing it from `s_malloced_environment_variables` - `-Wdangling-pointer` when storing an AST node's `this` pointer to the interpreter's node stack in LibJS. This is not actually an issue, as it is popped when the scope ends, but GCC has no way of telling this.
2023-05-15Spreadsheet: Don't release the file buffer when importing CSV filesKarol Kosek
CSVImportDialogPage takes and holds a StringView meaning that the data was dropped instantly and displayed garbage instead.
2023-05-15LibGUI+Userland: Store column names in JsonArrayModel as StringKarol Kosek
2023-05-15Userland: Port `Model::column_name()` to StringKarol Kosek
2023-05-14VideoPlayer: Use `LibFileSystemAccessClient`Caoimhe
2023-05-14VideoPlayer: Store video sizing mode in the configurationCaoimhe
2023-05-14VideoPlayer: Pledge the "VideoPlayer" configuration domainCaoimhe
2023-05-14SystemMonitor: Prefer Core::File, poll ProcessStatisticsReader correctlyBen Wiederhake
The signature of Core::ProcessStatisticsReader::get_all changed, and instead of requiring a pointer to an open file, it now needs a bool to indicate whether usernames should be polled or not. `m_proc_all` was always converted to `false` in `RefPtr::operator bool()`, so we were missing usernames for a long time.
2023-05-13Userland+Base: Don't run NetworkSettings in elevated modeFabian Dellwing
2023-05-13NetworkSettings: Use helper script to write configFabian Dellwing
This change allows us to not run the app with elevated privileges. It uses the Escalator to call a helper and passes the settings as JsonObject to it.
2023-05-13Escalator: Major rework and enable forwarding of stdin/stdoutFabian Dellwing
- Escalator now uses `posix_spawn` instead of `exec` - Escalator is now able to forward stdin and stdout - A few general changes to improve code quality
2023-05-13FontEditor: Allow application to launch without a fontthankyouverycool
Since LibFSAC requires a reified window before loading a font, it makes sense to have a safe null state for the app. This lets us stay alive after a failed file request on startup, handle failure at any point during initialization, and claw back memory from all our font RefPtrs. A default startup font or none at all can now be set in FontEditor.ini
2023-05-13FontEditor: Let GlyphEditorWidget initialize a null BitmapFontthankyouverycool
And remove public reference getters as there is no guarantee they are nonnull.
2023-05-13LibGUI+Applications: Let GlyphMapWidget initialize a null Fontthankyouverycool
FontEditor will need to clear references to its mutable font in the future while CharacterMap has no use for the highlights clone, so let's convert GlyphMapWidget's set_font wrapper into a separate initialize function for the editor and stop hiding the base function for others. Setting font null in either ultimately points the map to the system's default font.
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.