summaryrefslogtreecommitdiff
path: root/Userland/Applications
AgeCommit message (Collapse)Author
2022-12-11Help: Link to LibLocalekleines Filmröllchen
This managed to fly under my radar for the LibManual PR, and somehow it only happens for the Clang build but doesn't always trigger on CI.
2022-12-11Help+man+LibManual: Move argument handling to LibManualkleines Filmröllchen
This deduplicates argument handling logic from Help and man and makes it more modular for future use cases. The argument handling works as before: two arguments specify section and page (in this order), one argument specifies either a page (the first section that it's found in is used) or a path to a manpage markdown file.
2022-12-11Help: Fix search query parsingkleines Filmröllchen
This was failing probably because AK::URL was being too strict; and the query emptyness check was flipped.
2022-12-11Help+LibManual: Move all manpage path handling to LibManualkleines Filmröllchen
This way, we'll have an easier time changing these paths.
2022-12-11LibManual: Refactor SectionNode in preparation for subsectionskleines Filmröllchen
- Calculate the full name on demand - Make section and name protected - Reorder some members logically - Change the name getter to be fallible, as some implementors need to allocate
2022-12-11Help+LibManual: Move non-UI-specific manual handling to LibManualkleines Filmröllchen
This is a first step in deduplicating code within and across Help and man. Because LibManual also doesn't contain any DeprecatedString, some adjustments to Help's string handling is included, just to interoperate with LibManual better. Further work in this area mostly requires String APIs in LibGUI.
2022-12-10SpaceAnalyzer: Consolidate the node context menusAndreas Kling
Instead of having two separate context menus and popping up either the "file" or "directory" one depending on the selected node, we now have a single context menu and update it (before popping it up) to show the context-appropriate actions. This is achieved by simply updating the visibility of the actions. This takes care of one TODO! :^)
2022-12-10Magnifier: Add a manual to Help menu and propagate construction errorsthankyouverycool
2022-12-10Magnifier: Standardize File menuthankyouverycool
File->Quit should appear as the final item in its menu
2022-12-10Magnifier: Remove always_on_top_actionthankyouverycool
This action was originally added so that Magnifier's window would always be on top by default, but it's a redundant menu item and wasn't actually setting itself at start-up. Instead, rely on the same menu item provided to all Modeless windows by default for a more consistent UX, and set the option after show() so it takes effect.
2022-12-10KeyboardSettings: Disable "activate keymap" button if keymap is activeArda Cinar
2022-12-10LibCore: Use `Core::Stream` for `ProcessStatisticsReader`Tim Schumacher
2022-12-10PDFViewer: Let users change image renderingRodrigo Tobar
A new checkbox in the toolbar now allows users toggle image rendering. A corresponding Config option makes this setting non-volatile. To void clashing with the previous "show_clipping_paths" option when caching a Page, we now use the RenderingPreferences.hash() and the pair_int_hash funcitons to compute a unique key into the page cache map for a given RenderingPreferences and zoom level.
2022-12-09SpaceAnalyzer: Display the current location in the window title :^)Sam Atkins
2022-12-09SpaceAnalyzer: Add a tooltip for the hovered tree nodeSam Atkins
Many of the nodes are visually too small to show their full name and file size, so this makes that information visible.
2022-12-09SpaceAnalyzer: Remove declaration for unimplemented methodSam Atkins
2022-12-09SpaceAnalyzer: Propagate possible errors upArda Cinar
These include a JSON parse error, file open errors, and vector appends. These fix a bunch of calls to functions with `fixme` in them.
2022-12-09SpaceAnalyzer: Use raw_delta_y in TreeMapWidget::mousewheel_eventArda Cinar
There was a FIXME about using raw delta y value of the mousewheel event in TreeMapWidget::mousewheel_event. Some time after that code was written, a raw delta x/y API was added to GUI::MouseEvent. This patch simply uses that API and removes the FIXME message there.
2022-12-09Everywhere: Use C++ concepts instead of requires clausesMoustafa Raafat
2022-12-09LibGUI: Split OpacitySlider into vertical and horizontal helper classesFrHun
2022-12-08CrashReporter: Factorize exiting behavior to `window->close()`Lucas CHOLLET
2022-12-08Browser: Store cookies in a LibSQL database :^)Timothy Flynn
Currently, cookies are ephemeral and only survive for the lifetime of Browser instance. This will make Browser instead store cookies in a SQL database for persisted access.
2022-12-08Browser+LibWebView+WebContent: Do not domain match on cookie updatesTimothy Flynn
Updating cookies through these hooks happens in one of two manners: 1. Through the Browser's storage inspector. 2. Through WebDriver's delete-cookies operation. In (1), we should not restrict ourselves to being able to delete cookies for the current page. For example, it's handy to open the inspector from the welcome page and be able to delete cookies for any domain. In (2), we already are only interacting with cookies that have been matched against the document URL.
2022-12-08LibGfx+Userland: Make PNGWriter::encode() return ErrorOr<ByteBuffer>Andreas Kling
This is a first step towards handling PNG encoding failures instead of just falling over and crashing the program. This initial step will cause encode() to return an error if the final ByteBuffer copy fails to allocate. There are more potential failures that will be surfaced by subsequent commits. Two FIXMEs were killed in the making of this patch. :^)
2022-12-08LibCore: Move `Core::Stream::File::exists()` to `Core::File`Tim Schumacher
`Core::Stream::File` shouldn't hold any utility methods that are unrelated to constructing a `Core::Stream`, so let's just replace the existing `Core::File::exists` with the nicer looking implementation.
2022-12-08CrashReporter: Disable save button until it is ready to useLucas CHOLLET
2022-12-08WindowServer+MouseSettings: Improve `buttons_switched` namingFiliph Sandström
Before this commit it was a bit ambiguous which buttons the function name were referring to; this instead now makes it clear that it's related to mouse input. Additionally, this also fixes incorrect getter naming leftover from yesteryear.
2022-12-07FileManager: Silence the "not found" error when setting no wallpaperSam Atkins
If we're setting the path to "" then we can just set the wallpaper to nullptr and carry on with our day. :^)
2022-12-07LibJS: Replace standalone js_string() with PrimitiveString::create()Linus Groh
Note that js_rope_string() has been folded into this, the old name was misleading - it would not always create a rope string, only if both sides are not empty strings. Use a three-argument create() overload instead.
2022-12-07Meta+Userland: Pass Gfx::IntSize by valueMacDue
Just two ints like Gfx::IntPoint.
2022-12-07Meta+Userland: Pass Gfx::FloatPoint by valueMacDue
Just a small 8-byte value like Gfx::IntPoint.
2022-12-07Meta+Userland: Pass Gfx::IntPoint by valueMacDue
This is just two ints or 8 bytes or the size of the reference on x86_64 or AArch64.
2022-12-07Meta+Userland: Pass Gfx::Color by valueMacDue
Gfx::Color is always 4 bytes (it's just a wrapper over u32) it's less work just to pass the color directly. This also updates IPCCompiler to prevent from generating Gfx::Color const &, which makes replacement easier.
2022-12-07LibJS: Convert MarkupGenerator to the new StringLinus Groh
2022-12-063DFileViewer: Properly propagate errors from WavefrontOBJLoaderMaciej
Fixes 3 FIXMEs.
2022-12-06Everywhere: Rename to_{string => deprecated_string}() where applicableLinus Groh
This will make it easier to support both string types at the same time while we convert code, and tracking down remaining uses. One big exception is Value::to_string() in LibJS, where the name is dictated by the ToString AO.
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-12-04MouseSettings: Add "Natural scrolling" toggleFiliph Sandström
2022-12-04DisplaySettings: Remove unnecessary check for an overridden themeOsamu-kj
Issue discussed in #16290
2022-12-03Everywhere: Run clang-formatLinus Groh
2022-11-30PixelPaint: Record action for all select operations to allow undoAndreas Oppebøen
Since selections with the select tools support undo, it makes sense for the edit operations 'select all', 'none', 'invert' and 'clear selection' to also support undo.
2022-11-30PixelPaint: Record action when erasing a selection to allow undoAndreas Oppebøen
2022-11-29TextEditor: Change Find/Replace shortcut to Ctrl+Shift+Fthankyouverycool
2022-11-27PixelPaint: Fix lasso tool preview when zoomed inMacDue
Previously only part of the preview would be visible when zoomed in, with less visible the more you zoomed. This also now doesn't scale the preview line thickness, similar to other image editing programs.
2022-11-27PixelPaint: Don't scale preview thickness for polygonal select toolMacDue
This is consistent with other editors and makes it a little easier to precisely select things when zoomed in.
2022-11-27PixelPaint: Make antialiasing the default for toolsMacDue
Our AA painting works with opacity and generally has a nicer look so lets make it the default.
2022-11-26Browser: Remove previous history entry in History::replace_current()Baitinq
The lack of this action caused a bug in my original patch (https://github.com/SerenityOS/serenity/pull/16004) that appeared when accessing a site that redirected the client and it was the first site the client loaded.
2022-11-26Assistant: Add a context menu for search resultsthankyouverycool
Right-clicking now reveals menu options for copying text and showing results in the File Manager
2022-11-26Assistant: Automatically compute Assistant's window dimensionsthankyouverycool
Disregarding minimum widget size was originally set as a quick fix when converting Assistant to a Popup window, but it's really much easier to let layout manage dynamic resizing instead of trying to add up pixels piecemeal.
2022-11-26Assistant: Convert ResultRows to Coolbar Buttonsthankyouverycool
This gives search results a more tactile look and feel, consistent with other iconified widgets across the system. Custom provider subtitles now appear as tooltips.