summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2021-04-05LibWeb: Support two-value background-repeatTimothy Flynn
The background-repeat value may be specified as either one- or two-value identifiers (to be interpreted as horizontal and vertical repeat). This adds two pseudo-properties, background-repeat-x and background-repeat-y, to handle this. One-value identifiers are mapped to two-value in accordance with the spec.
2021-04-05LibWeb: Support "pseudo" CSS propertiesTimothy Flynn
These are properties that may used internally by LibWeb when resolving style values, but may not be set by external stylesheets. For example, 'background-repeat' may be a two-value CSS property that internally translates to 'background-repeat-x' and 'background-repeat-y'.
2021-04-05LibWeb: Move painting of background images to common locationTimothy Flynn
For now, painting of background color is kept separate. The ICB needs to perform a "translate" call between painting the color and background, whereas other divs must not make that call.
2021-04-05Taskbar: Use GUI::Button::set_menu() for the start menu button :^)Andreas Kling
2021-04-05LibGUI: Add ability to assign a menu to a GUI::ButtonAndreas Kling
When a button has a menu, it opens the menu on mousedown and the menu gains input focus immediately. While the menu is open, the button is painted in a pressed state.
2021-04-05WindowServer+LibGUI: Notify clients when menus become visible/hiddenAndreas Kling
This will allow clients to react to these events.
2021-04-05WindowServer: Exclude WindowType::Desktop windows from Super key actionsLinus Groh
The desktop window is (and must be) considered resizable by WindowServer, but none of the Super+<something> key actions should apply to it (window minimizing/maximizing/tiling). Fixes #5363.
2021-04-05LibGUI: Use normalized TextRange for early empty string checkMaciej Zygmanowski
Fixes #6141. Allows to copy "backward" selections.
2021-04-05Network: Make the applet use an alpha channelDawid Wolosowicz
2021-04-05ClipboardHistory: Make the applet use an alpha channelDawid Wolosowicz
2021-04-05WindowServer: Make applet area use the same color role as the taskbarDawid Wolosowicz
So far the taskbar has been using the "Button" as a color role, despite rest of the applet area using "Window" color role. Although it all looked alright on most system themes, it broke for the Nord theme.
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-05LibGUI: Do AbstractView::set_column_hidden() => set_column_visible()Andreas Kling
This API felt backwards, so let's change it.
2021-04-05SystemMonitor: Don't generate backtraces while not looking at themAndreas Kling
2021-04-052048: Give the board view a nice GUI::Frame look :^)Andreas 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-05PixelPaint: Empty Tool menuTim Waterhouse
Fix #4038 by not deferring the creation of the tools. The original change that introduced this, 7973f767905abd64942bf538a53e385ab207bd6e, mentions this was needed to avoid having the menu work on the wrong window, but I don't see that issue with this change so that may not be needed anymore.
2021-04-05LibRegex: Make sure there are as many group matches as actual matchesAnotherTest
Fixes #6131.
2021-04-05LibRegex: Consider named capture groups as normal capture groups tooAnotherTest
2021-04-05LibRegex: Reset capture group indices when resetting parser stateAnotherTest
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.
2021-04-04SystemMonitor: Show process-specific details in a separate windowAndreas Kling
When double-clicking a process in the process list, we now open the detailed information in a new window instead of showing it in a view below the process list. This declutters the main UI, and allows you to view details for multiple processes at the same time. This is just a first cut, there are many refinements possible here. :^)
2021-04-04SystemMonitor: Start capturing CPU/memory graphs on startupAndreas Kling
It felt really weird that the graphs didn't start filling in before you opened the graph tab for the first time.
2021-04-04SystemMonitor: Add a status bar to the main windowAndreas Kling
To get us started, this shows the number of processes and threads in the last captured state.
2021-04-04PixelPaint: Avoid notifying image when creating a layer's snapshotMarco Cutecchia
This fixes a bug where the application would crash if the user changed the default values for opacity or visibility of a layer and then tried to draw on it.
2021-04-04DHCPClient: Store current IP address instead of relaying on the yiaddrIdan Horowitz
Real DHCP servers might decide to send the DHCPAck directly to the specified ciaddr instead of as a unicast or multicast, resulting in the ack being ignored by the network adapter when we are requesting a new IPv4 address instead of renewing an existing lease, as the yiaddr (and as a result the ciaddr) is set to the offered address in that case instead of the current ip address.
2021-04-04DHCPClient: Dont set DHCPOption::ServerIdentifier on DHCPRequestIdan Horowitz
Some real DHCP servers dont set the siaddr field in the DHCPOffer to their IPv4 (and instead leave it blank - 0.0.0.0), which results in the server assuming the DHCPRequest is not directed at him when it has the ServerIdentifier option attached that specifies 0.0.0.0 as the targeted server. So instead we just omit the option and let the DHCP servers decipher the target themselves based on the requested IP.
2021-04-04DHCPClient: Parse MacAddress parts using StringUtilsIdan Horowitz
The current parsing code assumed the ascii lowercase letters came after the ascii numbers, which is not the case, and as such corrupted any mac address that included hex letters (a-f). We likely did not notice this as QEMU's emulated MAC is made up of only hex digits.
2021-04-04WindowServer: Propagate theme change to the applet areaDawid Wolosowicz
Fixes: #6056
2021-04-04WindowServer: Use non-translated rect to fill the applet area's storeDawid Wolosowicz
Fixes #6061
2021-04-04Kernel+CrashReporter: Add metadata about page faults to crash reportsAndreas Kling
Crash reports for page faults now tell you what kind of memory access failed and where. :^)
2021-04-04CrashReporter: Only create coredump metadata hash map onceAndreas Kling
We were rebuilding the metadata map a bunch of times on startup.
2021-04-04ResourceGraph.Applet: Host both CPU and memory applet in one processAndreas Kling
No reason we can't host these in the same process, and then we have one less process to dynamically link at boot. :^)
2021-04-04LibWeb: Convert ButtonBox to be a LabelableNodeTimothy Flynn
This also adds an API to Label to determine if the Label itself or its child TextNode is hovered. This allows ButtonBox to render in a hovered state when the label is hovered.
2021-04-04LibWeb: Convert CheckBox to be a LabelableNodeTimothy Flynn
2021-04-04LibWeb: Protect RadioButton and TextNode against mutating DOMTimothy Flynn
RadioButton had some protection, but also needed to be protected against click events originating from its associated label.
2021-04-04WindowServer+LibGUI: Rename WindowType::MenuApplet => AppletAndreas Kling
2021-04-04LibGfx: Avoid float->double->float when converting from linear to gammaOleg Sikorskiy
Benchmark shows 5x speedup (from 644ms to 110ms).
2021-04-04LibGfx: Add benchmarks for line drawing and rectangle fillingOleg Sikorskiy
2021-04-04Userland: Rename *.MenuApplet => *.AppletAndreas Kling
These are no longer displayed in the menu, so it doesn't make sense to call them menu applets. :^)
2021-04-04LibC: Added strtoimax() and strtoumax()Manuel Palenzuela
They are the same as strtol() and strtoul() but if there is overflow/underflow then the maximum integer val/lower integer val/maximum uint val will be returned while also setting errno to ERANGE.
2021-04-04LibWeb: Remove document_setter from Window.documentLuke
It is readonly: https://html.spec.whatwg.org/multipage/window-object.html#the-window-object:dom-document-2
2021-04-04LibWeb: Convert RadioButton to be a LabelableNodeTimothy Flynn