summaryrefslogtreecommitdiff
path: root/Userland/Applications/SystemMonitor
AgeCommit message (Collapse)Author
2021-07-08Kernel: Use PAE to allow accessing all physical memory beyond 4GBTom
We already use PAE for the NX bit, but this changes the PhysicalAddress structure to be able to hold 64 bit physical addresses. This allows us to use all the available physical memory.
2021-07-08Everywhere: Remove unused local variables and lambda capturesDaniel Bertalan
2021-07-02LibThreading: Add ability to cancel ongoing BackgroundActionsSpencer Dixon
Handlers of the BackgroundAction are responsible for checking if the action has been cancelled and returning early.
2021-06-24AK: Rename downcast<T> => verify_cast<T>Andreas Kling
This makes it much clearer what this cast actually does: it will VERIFY that the thing we're casting is a T (using is<T>()).
2021-06-17Everywhere: Add component declarationsGunnar Beutner
This adds component declarations so that users can select to not build certain parts of the OS.
2021-06-08Everywhere: Replace Vector<T*> with nonnull entries with Vector<T&>Ali Mohammad Pur
2021-05-28SystemMonitor: Disable menu items for inaccessible processMarcus Nilsson
Disable the context menu items if user cannot access the process. Fixes #7486
2021-05-28SystemMonitor: Use u64 for disk sizesJesse Buhagiar
This fixes #7288, which was being caused by unsigned 32-bit integer overflow
2021-05-23LibCore: Make ProcessStatisticsReader return results in a VectorAndreas Kling
The HashMap API was overkill and made using this less ergonomic than it should be.
2021-05-22SystemMonitor: Remove "Inspect Process" action from context menuAndreas Kling
Since everyone opts out of being inspectable by default now, let's not offer inspection from the menu since it will fail in a default setup.
2021-05-22SystemMonitor: Symbolicate process stacks in a background threadAndreas Kling
Use a Threading::BackgroundAction to symbolicate stacks. This avoids blocking the main thread and keeps the GUI running (mostly.)
2021-05-22SystemMonitor: Don't unveil /tmp/portal/symbolAndreas Kling
This portal doesn't exist after SymbolServer has been removed.
2021-05-22LibSymbolication: Rename Client.{cpp,h} => Symbolication.{cpp,h}Andreas Kling
2021-05-22LibSymbolication+SystemMonitor+bt: Move symbolication back in-processAndreas Kling
Process-separated symbolication was cute, but ultimately the threat model is kinda silly. We're already *running* the binary, but we're afraid to parse its symbol table? :^) This commit makes SystemMonitor and bt do symbolication in-process. SymbolServer and the symbol user will be removed separately.
2021-05-22Userland: Rename LibSymbolClient => LibSymbolicationAndreas Kling
2021-05-21Applications: Use titlecase and distinct underlined characters in menusMax Wipfli
This changes (context) menus across the system to conform to titlecase capitalization and to not underline the same character twice (for accessing actions with Alt).
2021-05-20LibGfx: Remove Gfx::FontDatabase::default_bold_font()Andreas Kling
Instead use default_font().bold_variant() in cases where we want a bold variant of the default font. :^)
2021-05-18SystemMonitor: Don't try and show process window with nothing selected (#7221)Marcus Nilsson
When right-clicking with no selected row in the process list, SystemMonitor would still show a context menu. This disables the context menu if index is invalid and also disables Alt+Enter so that build_process_window() is never called with a PID of -1. Fixes #7167.
2021-05-18SystemMonitor: Show UDP socketsbrapru
Creates a new TableView in the socket list for UDP information. Resolves #6980.
2021-05-15SystemMonitor: Make ProcessModel icon column non-sortableLinus Groh
Sorting by icon is neither intuitive nor useful, so let's disable it (like in GUI::FileSystemModel).
2021-05-15SystemMonitor: Make sure we set a model before changing column sizesAndreas Kling
Changing a view's column metadata requires that a model is set.
2021-05-13Userland: Tighten a *lot* of pledges! :^)Andreas Kling
Since applications using Core::EventLoop no longer need to create a socket in /tmp/rpc/, and also don't need to listen for incoming connections on this socket, we can remove a whole bunch of pledges!
2021-05-13SystemMonitor: Boost main thread priority to maximum on startupAndreas Kling
It's frustrating when the system is under heavy load and you want to investigate using SystemMonitor, but SystemMonitor chokes on the lag. Let's at give it a fighting chance by maxing out the main thread prio.
2021-05-12SystemMonitor: Spell process window title as "System Monitor"Linus Groh
This is what we use for the main window and elsewhere.
2021-05-12LibCore+Everywhere: Move OpenMode out of IODeviceAli Mohammad Pur
...and make it an enum class so people don't omit "OpenMode".
2021-05-01Everywhere: Rename app_menu to file_menu or game_menuAndreas Kling
2021-04-29Everywhere: "indexes" => "indices"Andreas Kling
I've wasted a silly amount of time in the past fretting over which of these words to use. Let's just choose one and use it everywhere. :^)
2021-04-23SystemMonitor: Show action status tips in the statusbar :^)Andreas Kling
2021-04-23AK: Rename adopt() to adopt_ref()Andreas Kling
This makes it more symmetrical with adopt_own() (which is used to create a NonnullOwnPtr from the result of a naked new.)
2021-04-22SystemMonitor: Only show two decimal digits for the CPU usageAndreas Kling
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-21Userland: Use Core::DirIterator::next_full_path()Andreas Kling
Simplify some code by using this instead of concatenating the full path ourselves at the call site.
2021-04-13Everywhere: It's now "Foobar", not "FooBar", and not "foo bar"Andreas Kling
I hereby declare these to be full nouns that we don't split, neither by space, nor by underscore: - Breadcrumbbar - Coolbar - Menubar - Progressbar - Scrollbar - Statusbar - Taskbar - Toolbar This patch makes everything consistent by replacing every other variant of these with the proper one. :^)
2021-04-11SystemMonitor: Add tab with detailed state to process properties windowAndreas Kling
This is done using a wrapper model that transforms all the information about a single process in the ProcessModel and turns it into a 2-column table model with only that process in it.
2021-04-11SystemMonitor: Add a little header to the process properties windowAndreas Kling
Show a larger (32x32) version of the executable icon and the process name + PID above the various property tabs.
2021-04-11SystemMonitor: Simplify executable icon lookup in ProcessModelAndreas Kling
2021-04-09SystemMonitor: Add Alt shorcuts to menu actionsAndreas Kling
2021-04-06SystemMonitor: Highlight kernel processes a bit better in SystemMonitorAndreas Kling
Kernel processes are now displayed with a gear icon and a "(*)" suffix in the process list.
2021-04-05SystemMonitor: Add Alt shortcuts for top-level menusAndreas Kling
2021-04-05SystemMonitor: Only show the most important process stats by defaultAndreas Kling
You can still enable additional columns via the context menu, and this gives us a much more focused default interface.
2021-04-05SystemMonitor: Don't generate backtraces while not looking at themAndreas Kling
2021-04-05SystemMonitor: Tweak default window sizeLinus Groh
This ensures that all information on the 'Graphs' tab is visible by default without having to resize the window. Fixes #6135.
2021-04-04SystemMonitor: Scope the process-specific actions to the process listAndreas Kling
We don't want the process-specific actions to activate via keyboard shortcuts when we're not focusing the process list.
2021-04-04SystemMonitor: Actually reuse existing process properties windowsAndreas Kling
2021-04-04LibGUI: Add GUI::CommonActions::make_properties_action()Andreas Kling
Many apps want a "Properties" action with the same icon and shortcut.
2021-04-04SystemMonitor: Remove unnecessary splitter from UI layoutAndreas Kling
2021-04-04SystemMonitor: Show total CPU usage percentage in status barAndreas Kling
2021-04-04SystemMonitor: Tweak main UI layout :^)Andreas Kling
2021-04-04SystemMonitor: Add ability to open process properties from context menuAndreas Kling
2021-04-04SystemMonitor: Remove "Process" context menu from menu barAndreas Kling
This menu is only relevant while interacting with the process list, so let's not have it in the menu bar where its presence implies universal relevance.