summaryrefslogtreecommitdiff
path: root/Userland/Applications
AgeCommit message (Collapse)Author
2023-01-15PixelPaint: Hold shift to increase move tool speed with the arrow keysTim Ledbetter
Holding shift while using the move tool with the arrow keys now moves the selected layer in 10 pixel increments.
2023-01-15Presenter: Use the non-deprecated API of `LibFileSystemAccessClient`Lucas CHOLLET
The patch is tiny as Presenter is only using `LibFSAC` for its file picker. Using only `LibFSAC` in Presenter would be nice.
2023-01-15LibJS+Everywhere: Rename Value::to_string to to_deprecated_stringTimothy Flynn
2023-01-15LibCrypto+Everywhere: Rename *BigInteger::to_base to to_base_deprecatedTimothy Flynn
2023-01-13LibJS+Everywhere: Return strings by value from PrimitiveStringTimothy Flynn
It turns out return a ThrowCompletionOr<T const&> is flawed, as the GCC expansion trick used with TRY will always make a copy. PrimitiveString is luckily the only such use case.
2023-01-13FontEditor: Fix more ignored .to_string() errorsMacDue
2023-01-13PixelPaint: Hold shift to constrain polygonal select tool line angleTim Ledbetter
Holding shift while using the polygonal select tool now constrains the line angle in 22.5 degree increments. This matches the behavior of the line tool.
2023-01-13PixelPaint: Don't allow the move tool to resize to zero pixelsTim Ledbetter
This prevents an error message appearing when we attempt to scale a layer to zero pixels using the move tool.
2023-01-13GamesSettings: Draw one of the previewed cards as "highlighted"Timothy Flynn
And draw a valid "moving" card over it to indicate that it is highlighted for a reason.
2023-01-13GamesSettings: Paint the card preview frame using a CardGame subclassTimothy Flynn
We currently paint the 3 previewed cards using ImageWidget. This works fine, but in order to preview a card hovering over a valid target card, it will be easier to use the already-existing CardGame paint logic. So this patch changes GamesSettings to display the preview as-is using a CardGame.
2023-01-13GamesSettings: Move classes into the GamesSettings namespaceTimothy Flynn
This is to allow registering future classes as with GML.
2023-01-13Userland: Remove a bunch of unveil calls on /sys/kernel/processesLiav A
These are not needed anymore since the introduction of the new get_root_session_id syscall.
2023-01-12LibWebView+Ladybird: Move DOM inspection helpers to ViewImplementationLinus Groh
2023-01-12Browser: Implement zoom :^)Linus Groh
Largely based on the Ladybird implementation in 0cc151b.
2023-01-12SoundPlayer: Don't silently ignore parsing failuresTim Schumacher
If we failed to decode a sample we'd presumably want to tell the user, and we definitely don't want to just go into another round of decoding somewhere in the middle of a broken sample.
2023-01-12LibGUI: Port AbstractThemePreview::set_theme_from_file to Core::StreamKarol Kosek
2023-01-12PixelPaint: Scale lasso tool preview path on zoom level changeTim Ledbetter
The size of the preview shown by the lasso tool now scales with the current zoom level.
2023-01-12Userland: Replace remaining Core::Timer::construct()s with try_create()Sam Atkins
2023-01-12Userland: Use Core::Timer::create_foo() factory functions where possibleSam Atkins
2023-01-12LibCore+Userland: Don't auto-start new Core::TimersSam Atkins
This was unintuitive, and only useful in a few cases. In the majority, users had to immediately call `stop()`, and several who did want the timer started would call `start()` on it immediately anyway. Case in point: There are only two places I had to add a manual `start()`.
2023-01-12LibCore+Userland: Make Core::Timer::create_single_shot() return ErrorOrSam Atkins
clang-format sure has some interesting opinions about where to put a method call that comes after a lambda. :thonk:
2023-01-12LibCore+Userland: Make Core::Timer::create_repeating() return ErrorOrSam Atkins
The FIXMEs must flow!
2023-01-11ThemeEditor: Warn about unsaved changes on file dropKarol Kosek
2023-01-11ThemeEditor: Fully load files on drop eventsKarol Kosek
Previously, only the preview frame was updated without changing any values in the right panel or even a file path in the window title.
2023-01-11ThemeEditor: Take drop events from the whole windowKarol Kosek
Drops were handled only by the Preview Widget previously. It probably made a little more sense before the program redesign, as it took most of window the space, but now honestly this idea doesn't hold up that well.
2023-01-10PDFViewer: Port to Core::Stream::FileKarol Kosek
2023-01-09AK+Everywhere: Rename Utf16View::to_utf8 to to_deprecated_stringTimothy Flynn
A subsequent commit will add to_utf8 back to create an AK::String.
2023-01-09Presenter: Rearchitect on top of LibWebAndreas Kling
This patch replaces the bespoke rendering engine in Presenter with a simple pipeline that turns presentations into single-page HTML files. The HTML is then loaded into an OutOfProcessWebView. This achieves a number of things, most importantly: - Access to all the CSS features supported by LibWeb - Sandboxed, multi-process rendering The code could be simplified a lot further, but I wanted to get the new architecture in place without changing anything about the file format.
2023-01-09VideoPlayer: Port to GMLimplicitfield
2023-01-09VideoPlayer: Propagate errors from VideoPlayerWidget::initialize_menubarimplicitfield
2023-01-09SpaceAnalyzer: Do not reset the path to '/' after a refreshArda Cinar
Clicking analyze or deleting a file would always cause the tree view in the widget to reset back to viewing the root. This was changed to stay in the directory currently being viewed
2023-01-09SpaceAnalyzer: Keep the current path via filenames, not indicesArda Cinar
The tree map widget keeps the current path to allow the user to navigate between directories. This path was being kept as indices into the children array. The indices might change after the tree is regenerated and this change is required to keep the user's current place after a re-analysis
2023-01-09SpaceAnalyzer: Add a method to TreeNode to get a child node by nameArda Cinar
This will make it easier to get to a tree node given a file path
2023-01-09SpaceAnalyzer: Make sure data fields of TreeNode are encapsulatedArda Cinar
Made the member fields of Tree and TreeNode structures private and moved the functions in main.cpp that accessed the internals of these structures inside the TreeNode class
2023-01-09SpaceAnalyzer: Remove an unnecessary level of inheritanceArda Cinar
The TreeMapNode and TreeMap structs inside TreeMapWidget.h both had single implementers, TreeNode and Tree inside main.cpp. The indirection was removed and the new structures were moved to their own file
2023-01-09Help: Update browse view when opening a new help pageTim Ledbetter
The browse view now always tracks the currently open help page.
2023-01-08Magnifier: Port to `Core::Stream`Lucas CHOLLET
2023-01-08LibJS+Everywhere: Make PrimitiveString and Utf16String fallibleTimothy Flynn
This makes construction of Utf16String fallible in OOM conditions. The immediate impact is that PrimitiveString must then be fallible as well, as it may either transcode UTF-8 to UTF-16, or create a UTF-16 string from ropes. There are a couple of places where it is very non-trivial to propagate the error further. A FIXME has been added to those locations.
2023-01-08AK+Everywhere: Make UTF-16 to UTF-8 converter fallibleTimothy Flynn
This could fail to allocate the underlying storage needed to store the UTF-8 data. Propagate this error.
2023-01-08AK+Everywhere: Make UTF-8 and UTF-32 to UTF-16 converters fallibleTimothy Flynn
These could fail to allocate the underlying storage needed to store the UTF-16 data. Propagate these errors.
2023-01-08ThemeEditor: Port to `Core::Stream`Lucas CHOLLET
2023-01-07Everywhere: Remove "LibC/" includes, add lint-rule against itBen Wiederhake
2023-01-073DFileViewer: Use AK::Time to accumulate frame and cycle countsAndrew Kaster
Let's accumulate frame times in AK::Time and only convert to ms for display.
2023-01-07Everywhere: Use ElapsedTimer::elapsed_time() for comparisonsAndrew Kaster
Simplify a lot of uses of ElapsedTimer by converting the callers to elapsed_time from elapsed, as the AK::Time returned is better for unit conversions and comparisons against constants.
2023-01-07LibGUI+Userland: Rename `try_load_from_gml()` -> `load_from_gml()` :^)Sam Atkins
It's the only one, so the `try` prefix is unnecessary now.
2023-01-07Userland: Replace all uses of `load_from_gml` with `try_load_from_gml`Sam Atkins
MOAR FIXMES! ;^)
2023-01-07PixelPaint: Port to `Core::Stream` :^)Karol Kosek
2023-01-07LibFileSystemAccessClient+CrashReporter: Introduce FSAC::File and use itKarol Kosek
The new result returned just a file stream, which wasn't sufficient enough for most applications because it didn't provide a filename. This patch will make a new File object that has both a file stream and a filename.
2023-01-07LibFileSystemAccessClient: Rename try_* functions to try_*_deprecatedKarol Kosek
These functions return the deprecated `Core::File` class, so let's mark it as such to avoid possible confusion between future non try_* functions which will use Core::Stream family classes and to possibly grab someone's attention. :^)
2023-01-07Browser: Add Accessibility Tab to Inspector WidgetJonah
This tab allows you to view the accessibility tree like you do the DOM tree. The implementation limited to the role currently, once we add the name and description calculation algorithm, those will be displayed here as well. Selections are also not currently supported.