summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings
AgeCommit message (Collapse)Author
2023-03-16LibGUI+Applications: Port SettingsWindow::add_tab() to the new stringKarol Kosek
2023-03-13LibThreading: Register BackgroundAction with EventLoopkleines Filmröllchen
BackgroundActions are now added as a job to the event loop, therefore they get canceled when the loop exits and their on_complete action never runs. This fixes all UAF bugs related to BackgroundAction's use of EventLoops, as seen with e.g. thumbnail generation.
2023-03-10Everywhere: Support overriding the system color schemeimplicitfield
2023-03-04Userland: Use Font::pixel_size_rounded_up() instead of glyph_height()Andreas Kling
The only remaining clients of this API are specific to bitmap fonts and editing thereof.
2023-02-13LibCore: Move Stream-based file into the `Core` namespaceTim Schumacher
2023-02-13LibCore: Rename `File` to `DeprecatedFile`Tim Schumacher
As usual, this removes many unused includes and moves used includes further down the chain.
2023-02-10DisplaySettings: Capitalize fallback display mode when loading settingsJulian Offenhäuser
This setting was capitalized a while ago, except for this place where we fall back to "[C]center". This caused a crash in MonitorWidget.
2023-02-02DisplaySettings: Made select wallpaper use allowed file typesMarcus Nilsson
2023-01-26LibGfx: Remove `try_` prefix from bitmap creation functionsTim Schumacher
Those don't have any non-try counterpart, so we might as well just omit it.
2023-01-12LibGUI: Port AbstractThemePreview::set_theme_from_file to Core::StreamKarol Kosek
2023-01-12LibCore+Userland: Make Core::Timer::create_repeating() return ErrorOrSam Atkins
The FIXMEs must flow!
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! ;^)
2022-12-15LibThreading+Everywhere: Support returning error from `BackgroundAction`Lucas CHOLLET
This patch allows returning an `Error` from the `on_complete` callback in `BackgroundAction`. It also adds a custom callback to manage errors returned during its execution.
2022-12-14LibGfx+Userland: Make Gfx::SystemTheme propagate errorsCygnix Proto
This patch introduces error propagation to Gfx::SystemTheme to remove instances of release_value_but_fixme_should_propagate_errors(). Userland applications that have been affected by this change have been updated to utilise this propagation and as a result 4 such instances of the aforementioned method have been removed.
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-04DisplaySettings: Remove unnecessary check for an overridden themeOsamu-kj
Issue discussed in #16290
2022-11-15Userland: Remove workarounds for LibIPC include order sensitivityTimothy Flynn
2022-11-01Everywhere: Mark dependencies of most targets as PRIVATETim Schumacher
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
2022-10-12Userland: Properly populate GENERATED_SOURCESAli Mohammad Pur
We previously put the generated headers in SOURCES, which did not mark them as GENERATED (and did not produce a proper dependency). This commit moves all generated headers into GENERATED_SOURCES, and removes useless header SOURCES.
2022-09-29AK+Everywhere: Replace "protocol" with "scheme" url helpersnetworkException
URL had properly named replacements for protocol(), set_protocol() and create_with_file_protocol() already. This patch removes these function and updates all call sites to use the functions named according to the specification. See https://url.spec.whatwg.org/#concept-url-scheme
2022-09-24LibEDID: Remove head index when retrieving an EDID from DisplayConnectorLiav A
We simply don't need that field anymore, as it was used when one FramebufferDevice could contain multiple framebuffers within it, each for a connected screen head.
2022-09-12Everywhere: Use my very shiny serenityos.org email :^)networkException
2022-08-24WindowServer+DisplaySettings: Capitalize display mode dropdownJames Bellamy
Every other dropdown in settings is capitalized apart from this one. This commit fixes that.
2022-08-16LibGUI+WindowServer+DisplaySettings: Add Tooltips to SystemEffectsthankyouverycool
Tooltips can now be toggled on and off system-wide.
2022-08-16DisplaySettings: Update Workspaces tab GMLthankyouverycool
Removes some verbiage and arranges things consistent with other settings dialogs. Ideally we shouldn't litter UIs with shortcuts, tips, tricks, self-evident or redundant descriptions, etc, so this can be refined again in the future once there's an official way to expose/ customize keyboard shortcuts.
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-03DisplaySettings: Capitalize `s` in screen settingsFiliph Siitam Sandström
2022-08-01Userland+Base: Make the window titlebar font configurable separatelyAndreas Kling
Instead of defaulting to "bold variant of the system default font", let's allow the user to set any font they want as the titlebar font.
2022-07-23Userland: Remove stale remainders of old framebuffer devicesLiav A
2022-07-12Everywhere: Add sv suffix to strings relying on StringView(char const*)sin-ack
Each of these strings would previously rely on StringView's char const* constructor overload, which would call __builtin_strlen on the string. Since we now have operator ""sv, we can replace these with much simpler versions. This opens the door to being able to remove StringView(char const*). No functional changes.
2022-06-28LibGUI+Applications: Use the new layout system in the settings screensFrHun
2022-06-17DisplaySettings: Use IPC calls instead of current_system_theme helpernetworkException
2022-06-17DisplaySettings: Handle an override theme being activenetworkException
This patch updates the "Theme" tab to react to an override theme being set. The preview will reflect the override theme and the combo box will show no selection.
2022-06-17DisplaySettings: Update selected theme on changenetworkException
Previously the "Theme" tab in DisplaySettings would only reflect the current theme on startup and get out of sync when a theme would get selected using the taskbar menu.
2022-06-14DisplaySettings: Use absolute path for loading mouse settings iconnetworkException
This patch fixes DisplaySettings crashing when launching it from a non root working directory.
2022-05-25DisplaySettings: Link to cursor themes from "Themes" tabMacDue
This removes a few clicks to access the mouse settings and puts all theming actions in one place.
2022-05-13LibGUI+Userland: Make Dialog::ExecResult an enum classSam Atkins
2022-05-12DisplaySettings: Set window modified stateSam Atkins
2022-05-09DisplaySettings: Add 2256x1504 resolutionLinus Groh
This is a common resolution of laptops with a 3:2 aspect ratio, such as the Framework Laptop or Microsoft Surface Laptop.
2022-05-08DisplaySettings: Make the copy action copy the background path as urlKarol Kosek
Closes: #13907
2022-05-07DisplaySettings: Fix Clang build failure in ThemePreviewWidgetMacDue
2022-05-07DisplaySettings: Center preview with center_window_group_within()MacDue
2022-05-05Everywhere: Purge all support and usage of framebuffer devicesLiav A
Long live the DisplayConnector object!
2022-05-05DisplaySettings+WindowServer: Add support for display connector devicesLiav A
2022-04-21LibGUI+Applications: Add --open-tab option to FooSettings applicationsSam Atkins
Similar to SystemMonitor's option of the same name, this allows you to launch the given application with the specific tab open.
2022-04-21LibGUI+Applications: Give SettingsWindow tabs a string IDSam Atkins
This gives us a convenient way to refer to them, which will be used in the following commit.
2022-04-21WindowServer: Add the screen mode property in the screen configurationkleines Filmröllchen
This will allow us to change between a couple of properties, for now it's only Device and Virtual. (How about Remote :^) ) These get handled by a different screen backend in the Screen.
2022-04-09LibGfx: Move other font-related files to LibGfx/Font/Simon Wanner