summaryrefslogtreecommitdiff
path: root/Userland/Applications
AgeCommit message (Collapse)Author
2021-08-07PixelPaint: Add a Dialog for the creation of a GuideTobias Christiansen
You can select whether you want a horizontal or a vertical Guide and specify the offset you want it to be at.
2021-08-07PixelPaint: Include Guides in the ImageEditorTobias Christiansen
The ImageEditor knows about its Guides, how to draw them and exposes ways to manipulate them.
2021-08-07PixelPaint: Add Guide classTobias Christiansen
This will allow the user to add Guides to the image, that will only be visible in the Editor, not affecting the image.
2021-08-06PixelPaint: Use a StackWidget in ToolPropertiesWidgetMarcus Nilsson
Previously changing tools while simultaneously using a widget like a slider would result in a event_dispatch() failure. Instead use a StackWidget to set the active widget.
2021-08-06PixelPaint: Use the ValueSlider widget for Tool propertiesMarcus Nilsson
Use the new ValueSlider and get rid of the temporary solution with tooltips :^)
2021-08-06LibGUI+Applications: Rename Model::is_valid to is_within_rangesin-ack
The previous name did not describe what the function checked, and was easy to confuse with ModelIndex::is_valid.
2021-08-06Browser: Add more tab optionsTheFightingCatfish
Add more tab options to Browser: "Duplicate Tab" and "Close Other Tabs".
2021-08-06Everywhere: Replace Model::update() with Model::invalidate()sin-ack
Most of the models were just calling did_update anyway, which is pointless since it can be unified to the base Model class. Instead, code calling update() will now call invalidate(), which functions identically and is more obvious in what it does. Additionally, a default implementation is provided, which removes the need to add empty implementations of update() for each model subclass. Co-Authored-By: Ali Mohammad Pur <ali.mpfard@gmail.com>
2021-08-06Userland: Use Core::Process::spawn() instead of posix_spawn() in placesAndreas Kling
This replaces a bunch of very basic uses of posix_spawn() with the new Core::Process::spawn().
2021-08-05Assistant: Quit the application after losing focusKarol Kosek
Prior to this change, Assistant would just stay in the background, unless one pressed an Escape key or launched some app.
2021-08-03Everywhere: Replace most cases of exit() with Application::quit()Timothy
Application::quit() is nicer for most cases where exit() is used. Cases where exit() is used intentionally for early termination are left intact.
2021-08-03PixelPaint: Add tooltips for sliders in ToolPropertiesWidgetMarcus Nilsson
This adds a tooltip to all the slider properties showing their current value. Previously there was no indication of what value they had. Also rename the SprayTool property 'thickness' to 'size' like BrushTool calls it.
2021-08-03Calculator: Use KeypadValue class instead of doublecreator1creeper1
Calculator now uses the KeypadValue class instead of double in its internal calculations. By not constantly converting to double back-and-forth, we do not use precision simply by, for example, negating a number. This fixes #7484.
2021-08-03Calculator: Add KeypadValue classcreator1creeper1
This commit adds a basic KeypadValue class which abstracts away Keypad's internal representation in a slightly simpler format. This will allow arithmetic operations in the Calculator to not lose any precision. In cases where losing precision is necessary, an explicit conversion operator to double is provided, as well as an explicit constructor from double.
2021-08-03Userland: Make representation of 'null' IPv4-address friendlierThomas Wagenveld
Show an empty column rather than 'null' in SystemMonitor and show 'no IP' in the network applet if the adapter has no IPv4-address configured.
2021-08-03Userland: Add network adapter link status to SystemMonitor and appletThomas Wagenveld
Add a column named 'Link status' to the Network tab in SystemMonitor showing the speed and duplex if the link is up. Add the link speed behind the existing text in the applet or show 'down' if the link is down.
2021-08-03FileManager: Use the current directory as one of the initial locationsKarol Kosek
This change makes `cd /bin; FileManager` open the app in /bin.
2021-08-03FileManager: Set chdir to the current path when opening applicationsKarol Kosek
2021-08-03PixelPaint: Move properties for LineTool to ToolPropertiesWidgetMarcus Nilsson
Remove the context menu for LineTool and use the tool properties widget for options instead.
2021-08-03PixelPaint: Move properties for RectangleTool to ToolPropertiesWidgetMarcus Nilsson
Remove the context menu and move the options to the tool properties widget.
2021-08-03PixelPaint: Remove context menu for MoveToolMarcus Nilsson
Remove the context menu for MoveTool and move the actions to the layer menu instead.
2021-08-03PixelPaint: Remove context menu for SprayToolMarcus Nilsson
Remove the context menu for SprayTool and just use the tool properties widget for options.
2021-08-03PixelPaint: Move properties for EllipseTool to ToolPropertiesWidgetMarcus Nilsson
Remove the context menu for EllipseTool and use the properties widget instead for consistency between tools.
2021-08-03PixelPaint: Remove context menu for PenToolMarcus Nilsson
Remove the context menu for PenTool and just use the tool properties widget.
2021-08-03PixelPaint: Move properties for EraserTool to ToolPropertiesWidgetMarcus Nilsson
Removes the context menu for EraserTool and instead use the tool properties widget for options.
2021-08-02Mail: Use GUI::PasswordInputDialog to ask for server passwordsAndreas Kling
2021-08-02Mail: Tweak vertical spacing & margins in main UI layoutAndreas Kling
2021-08-02Browser: Tweak vertical spacing in per-tab UI layoutAndreas Kling
2021-08-02PixelPaint: Show image coordinates in the status barClément Sibille
2021-08-02Mail: Use Window::add_menu instead of Menubar::add_menusin-ack
Window::add_menu is the canonical way of adding menus to a window.
2021-08-013DFileViewer: Display frame rate optionallyK-Adam
It is turned off by default
2021-08-01SystemMonitor: Register ProcessStateModel with ProcessModel on constructsin-ack
Since this was missing, ProcessStateModel never received model_did_update, and it was possible for the ProcessModel index to go stale and show another process. Fixes #9129.
2021-08-01FileManager: Refresh DirectoryView after applying changesLuK1337
Fixes: #9136
2021-08-01FileManager: Enable/Disable mkdir and touch actions on path changeKarol Kosek
This change disables the icons in read-only directories.
2021-08-01FileManager: Remove the rename action from the tree view context menuKarol Kosek
The action never worked properly here. It used the selection from the directory view, instead of the tree view. Furthermore, the tree view isn't even editable. Just making tree view editable wouldn't fix it -- it'd probably need something like creating an on_stop_editing() function in the AbstractView to change the path after the rename. For now, I'll remove the action from the menu as a "temporary fix".
2021-08-01FileManager: Add the rename action to the toolbarKarol Kosek
When I was adding the action in #8713, the action did not have an icon yet. Now, since it has an icon now, we can add it to the toolbar!
2021-08-01Applications: Remove unused header includesBrian Gianforcaro
2021-07-31DisplaySettings: Rename "virtual desktops" => "workspaces"Andreas Kling
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-31KeyboardSettings: Remove outdated FIXMEAndreas Kling
2021-07-31Browser: Change "Custom" => "Custom..." in menus where appropriateAndreas Kling
If a menu item requires additional user input before the action can be taken, it should have an ellipsis.
2021-07-31HackStudio+TextEditor: Sync extensions from the FileIconProvider fileKarol Kosek
This adds more possible extensions for highlighting C/C++ files and JavaScript module files.
2021-07-31TextEditor: Add automatic syntax highlighting for Shell and .htm filesKarol Kosek
2021-07-31KeyboardMapper: Add menus before showing the windowLuK1337
Otherwise, space is reserved but menus aren't shown.
2021-07-31Calculator: Add menus before showing the windowLuK1337
Otherwise, space is reserved but menus aren't shown.
2021-07-31Piano: Add menus before showing the windowLuK1337
Otherwise, space is reserved but menus aren't shown.
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
2021-07-30Browser: Show a message when attempting to search with no search engineSam Atkins
Previously, it just showed an error message saying that "" failed to load, which made me think that search engines were broken.
2021-07-29SystemMonitor: Only update kill actions when pid changesMarcus Nilsson
Return early from on_selection_change if the pid hasn't changed or we get an invalid result from selected_id().
2021-07-29SystemMonitor: Use kill(pid,0) when checking for kill permissionMarcus Nilsson
We can use kill(pid,0) to check for kill permissions instead of relying on file path access. Using 0 as signal does error checking but does not send a signal.