summaryrefslogtreecommitdiff
path: root/Userland/Applications
AgeCommit message (Collapse)Author
2022-04-06SystemMonitor: Default initialize all thread state variableskleines Filmröllchen
Having bogus values here when we just initialize the thread state with a process can lead to all sorts of bad things down the line, like infinite draws.
2022-04-06SystemMonitor: Fallback to invalid model index if there's no main threadkleines Filmröllchen
In the process model we check the thread with tid=pid to figure out the main thread of a process. This is used to construct the process view tree with non-main threads listed as children of the process row. However, there are sometimes circumstances where there is no main thread, even though the process should have been removed from the internal list by then. As a safe fallback, let's default to an invalid model index if we can't figure out what the main thread of a process is.
2022-04-06LibWeb+Browser: Remove Web::WebViewHooks classAndreas Kling
This was a mixin class that allowed sharing a set of hooks between InProcessWebView and OutOfProcessWebView. Now that there is only OOPWV, we don't need the mixin.
2022-04-06Spreadsheet: Change paste action's enabled state on clipboard changeKarol Kosek
Previously, the paste action was always enabled and always assumed that anything was selected, which led to a crash by clicking the paste action right after the application startup. This patch will automatically enable/disable the paste action depending on whether a selection exists (it usually does, except on the app launch and after adding a new tab) and if the clipboard mime type is a text/ group. So no, you can't paste an image into the app anymore, even though this mostly froze the app before...
2022-04-06SystemMonitor: Keep current process selection expanded if neededkleines Filmröllchen
This is a hack until persistent model indices work.
2022-04-06SystemMonitor: Display processes and their threads in a tree :^)kleines Filmröllchen
This shows all non-main threads as children of the process they belong to. We also show the TID as that is important to distinguish the different threads in one process. Fixes #65 :skeleyak:
2022-04-06SystemMonitor: Pass the correct parent when checking for selected valueskleines Filmröllchen
This will cause trouble later when the row is not enough to identify a selection.
2022-04-06SystemMonitor: Move TID to the front in ProcessModelkleines Filmröllchen
This will look much nicer once we enable that column.
2022-04-06AnalogClock: Keep default alpha hit thresholdAli Chraghi
2022-04-06LibGL+LibGPU+LibSoftGPU: Load SoftGPU driver dynamicallyStephan Unverwerth
This loads libsoftgpu.so during GLContext creation and instantiates the device class which is then passed into the GLContext constructor.
2022-04-04PDFViewer: Propagate more errorsMatthew Olsson
2022-04-04PDFViewer: Autosize page labelMatthew Olsson
2022-04-04PDFViewer: Respect page navigation features in multi-page modeMatthew Olsson
This includes the text box and the page up/down arrows.
2022-04-04PDFViewer: Support a continuous page view modeMatthew Olsson
2022-04-04PDFViewer: Add page mode optionMatthew Olsson
2022-04-04PDFViewer: Don't change pages on horizontal scrollMatthew Olsson
This was a bit jarring, and didn't align with the behavior of other PDF renderers.
2022-04-04PDFViewer: Clear rendered page cache on application resizeMatthew Olsson
When resizing the application, the pages are expected to grow or shrink proportionally. This means that after a resize, we need to rerender every page.
2022-04-04ClockSettings+Taskbar: Add settings for taskbar clock formatcflip
2022-04-03Applications: Use default execpromises parameter to `pledge(..)`Brian Gianforcaro
2022-04-03ThemeEditor: Open files with ReadWriteGeekFiftyFive
Open theme files with ReadWrite in order to fix issue when saving.
2022-04-03Kernel+SystemMonitor+lscpu: Rename 'CPUID' -> 'Vendor ID'Linus Groh
This is what the Intel manual, as well as Linux's cpuinfo calls it.
2022-04-03TextEditor: Update file argument parser regex patternAli Chraghi
2022-04-03Browser+LibWeb+WebContent: Add ability to inspect local storageValtteri Koskivuori
The storage inspector now has a new tab for local storage. The next step would be to persist local storage and receive real-time notifications for changes to update the table view.
2022-04-03DisplaySettings+WindowServer: Allow updating theme without backgroundBen Maxwell
With this change you can now set the theme and background color at the same time in the Display Settings. Before if both were changed before hitting 'apply' the theme background color would overwrite the custom background.
2022-04-03DisplaySettings: Stop theme tab from overriding background colorBen Maxwell
Fixes #13448
2022-04-03Calculator: Update mimic_pressed for refactor into the Button classRob Ryan
2022-04-03SystemMonitor: Move process window to GMLkleines Filmröllchen
Extra stuff done in this commit to facilitate the above (if you want to really push my commit count, ask for more atomicisation): - Register a bunch of widgets that are used in the process window. - Allow setting the pid after the fact for the process state widget.
2022-04-03SystemMonitor: Open PCI database in parallelkleines Filmröllchen
This was causing a bunch of lag (at least half a second, very noticeable) when first opening the hardware tab, as we would only load the PCI database when initializing the widget lazily. By starting the PCI database open on another thread, we avoid this entirely, as nobody can click the hardware tab this fast :^)
2022-04-03SystemMonitor: Move storage tab into custom widgetkleines Filmröllchen
2022-04-03SystemMonitor: Move hardware tab to custom widgetkleines Filmröllchen
This is just a LazyWidget with fancy initialization code that works perfectly in isolation.
2022-04-03SystemMonitor: Move entire main UI to GMLkleines Filmröllchen
:^)
2022-04-03SystemMonitor: Register GraphWidget's stack_values propertykleines Filmröllchen
2022-04-03SystemMonitor: Register a graph_widget pseudo-property in MemoryStatsWkleines Filmröllchen
The property graph_widget on MemoryStatsWidget is a-pseudo property that specifies the name of the graph widget which should be attached to the MemoryStatsWidget. When the property is set, the widget looks up the graph with that name in its parent, therefore automatically linking to the correct widget given that it's a sibling or descendant of a sibling.
2022-04-03SystemMonitor: Register MemoryStatsWidgetkleines Filmröllchen
This also requires that the associated graph widget may be null.
2022-04-03SystemMonitor: Register GraphWidgetkleines Filmröllchen
2022-04-03SystemMonitor: Move NetworkStatisticsWidget into namespace + register itkleines Filmröllchen
We don't want to clobber the global namespace with registered widgets.
2022-04-03LibGUI: Fully support TabWidget in GMLkleines Filmröllchen
TabWidgets couldn't be used in GML properly, as the GML creation routines didn't actually call the necessary functions in the TabWidget to get a new tab added. This commit fixes that by making the name of the tab a normal property, the previously introduced "title", which can be trivially set from GML. Therefore, try_add_widget() loses an argument (while try_add_tab doesn't, because it newly constructs the widget). This allows us to get rid of the silly "fixing my widget tree after the fact" code in Help and will make it super easy to use TabWidget in future GML. :^)
2022-04-02Browser: Add Ctrl-<number> actions to changes tabsOlivier De Cannière
It is now possible to quickly switch to specific tabs directly without having to 'search linearly'. Pressing Ctrl plus a number from 1 to 8 switches to the tab of that index. Pressing Ctrl-9 swithes to the last tab. This feature already exists in Firefox and Chrome.
2022-04-02DisplaySettings: Add theme selection and previewMacDue
2022-04-02LibGUI+Applications: Move abstract ThemeEditor preview to LibGUIBen Maxwell
This allows most of the theme preview code to be reused by similar theme preview widgets.
2022-04-023DFileViewer: Allow escape key to exit fullscreen modeAdam Patterson
I went into fullscreen mode, via the View menu, before looking at the associated key (F11). I had to kill Qemu to be able to escape. Escape is an intuitive way to exit most fullscreen modes.
2022-04-013DViewer: Add support for dropping filesJames Mintram
2022-04-013DFileViewer: Do not abort model loading when texture is missingStephan Unverwerth
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-03-31PixelPaint: Draw layer thumbnails with bilinear filteringAndreas Kling
This makes them look a little nicer than basic nearest-neighbor.
2022-03-31LibPDF: Fix security-handler-related nullptr regressionMatthew Olsson
2022-03-31PDFViewer: Use ArgsParserMatthew Olsson
2022-03-31Browser+WebContent: Add a Debug menu action to disable scripting :^)Linus Groh
2022-03-30SpaceAnalyzer: Fix the crash caused by using arrow keysArif Orhun Uzun
Previously, SpaceAnalyzer set focus on the selected BreadcrumbButton. Using arrow keys triggered the keydown_event of the AbstractButton, which later on caused a Function object to be deleted while it is still being used. This change sets the focus on TreeMapWidget and adds an event handler to TreeMapWidget for keydown events. Fixes #13254.
2022-03-29Browser: Make storage inspector columns sortableJelle Raaijmakers