summaryrefslogtreecommitdiff
path: root/Userland/Applications/MailSettings
AgeCommit message (Collapse)Author
2023-05-23Base+Userland: Apply Human Interface Guidelines to Object textthankyouverycool
Corrects a slew of titles, buttons, labels, menu items and status bars for capitalization, ellipses and punctuation. Rewords a few actions and dialogs to use uniform language and punctuation.
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-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-03-16LibGUI+Applications: Port SettingsWindow::add_tab() to the new stringKarol Kosek
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-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-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-07-15Applications: Make settings outer margins and spacing consistentFrHun
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-05-12MailSettings: Set window modified stateSam Atkins
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-02-11LibConfig: Rename pledge_domains(String) => pledge_domain(String)Vitaly Dyachkov
pledge_domains() that takes only one String argument was specifically added as a shortcut for pledging a single domain. So, it makes sense to use singular here.
2022-02-07Meta+Userland: Run the GML formatter on CI and pre-commitkleines Filmröllchen
Now that the GML formatter is both perserving comments and also mostly agrees to the existing GML style, it can be used to auto-format all the GML files in the system. This commit does not only contain the scripts for running the formatting on CI and the pre-commit hook, but also initially formats all the existing GML files so that the hook is successfull.
2022-01-29MailSettings: Set icons from GMLDylan Katz
2022-01-28MailSettings: Use standard text placement for check box textTimothy Flynn
2021-12-05Applications: Cast unused smart-pointer TRY return values to voidSam Atkins
2021-11-28LibGUI: Move GUI::SettingsWindow setup out of the constructorAndreas Kling
In order to propagate errors that occur during UI setup, we have to move all that logic out of widget/window subclass constructors. This is a first attempt at doing that, for GUI::SettingsWindow.
2021-11-28LibGUI: Make GUI::SettingsWindow::add_tab() return ErrorOrAndreas Kling
This allows us to use TRY() when creating settings UI.
2021-11-28MailSettings: Port to LibMain :^)Andreas Kling
2021-11-20MailSettings: Migrate to using SettingsWindow :^)Sam Atkins
2021-11-08LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file()Andreas Kling
This was used in a lot of places, so this patch makes liberal use of ErrorOr<T>::release_value_but_fixme_should_propagate_errors().
2021-11-03Applications: Remove border from GroupBox marginsFrHun
2021-10-04Everywhere: Fix more Copyright header inconsistenciesTim Schumacher
2021-08-28MailSettings: Add unveilLuke Wilde
2021-08-28MailSettings: Use LibConfig instead of Core::ConfigFileLuke Wilde
This also tightens the pledges.
2021-08-28MailSettings: Remove proc and exec from plegesLinus Groh
2021-08-28MailSettings: Use the app-mail icon for the windowLinus Groh
No app-mail-settings icon exists (yet). app-mail is also what's being embedded in the executable, so let's stick with it.
2021-08-22Everywhere: Rename get in ConfigFile::get_for_{lib,app,system} to opennetworkException
This patch brings the ConfigFile helpers for opening lib, app and system configs more inline with the regular ConfigFile::open functions.
2021-08-22Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writingnetworkException
2021-08-18Userland+LibGUI: Add shorthand versions of the Margins constructorsin-ack
This allows for typing [8] instead of [8, 8, 8, 8] to specify the same margin on all edges, for example. The constructors follow CSS' style of specifying margins. The added constructors are: - Margins(int all): Sets the same margin on all edges. - Margins(int vertical, int horizontal): Sets the first argument to top and bottom margins, and the second argument to left and right margins. - Margins(int top, int vertical, int bottom): Sets the first argument to the top margin, the second argument to the left and right margins, and the third argument to the bottom margin.
2021-08-18Userland+LibGUI: Make Margins arguments match CSS orderingsin-ack
Previously the argument order for Margins was (left, top, right, bottom). To make it more familiar and closer to how CSS does it, the argument order is now (top, right, bottom, left).
2021-07-31MailSettings: Use the same app icon as MailAndreas Kling
*Settings applications should use the same icon as the app they manage the settings for.
2021-07-30MailSettings: Add basic mail settings dialogFaeliore
MailSettings: Add a GML file for Mail settings MailSettings: Add an AF desktop file for Mail Settings MailSettings: Unveil /res in mail settings, fix GML MailSettings: Mail settings texteditor->textbox MailSettings: Update mail username to correct category in settings Modified Mail settings GML to properly represent ports >100 MailSettings: Update/fix mail settings GML MailSettings: Adjust GML, add icons for mail settings MailSettings: Change Okay button to OK MailSettings: Change mail setting reset button to revert MailSettings: Fix incorrect variable names in mail settings MailSettings: Add newlines af EOF of all mail setting files MailSettings: Mail settings linting issues fixed MailSettings: Increase size of icon features Code cleaning/styling changes as per gunnarbeutner review Made settings descriptions more friendly per sin-ack review MailSettings: Fixes as per PR comments MailSettings: Fix checkbox weirdness MailSettings: Adjust width of checkbox MailSettings: Remove unneccessary update() call MailSettings: Replace port SpinBox with ComboBox MailSettings: Add colons to labels, remove port 110 option MailSettings: Remove custom model, use ItemListModel MailSettings: Change relative icon paths to absolute ones