summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-05Kernel: Fix KBufferBuilder::append()Sergey Bugaev
insertion_ptr() already includes the offset.
2020-07-04WebContent: Plumb title changes over to the WebContentViewAndreas Kling
WebContentView now fires its on_title_change hook, like Web::PageView. We use this in the WebView test app to update the window title. :^)
2020-07-04WebContent: Illustrate multi- vs single-process diffs in documentationAndreas Kling
2020-07-04WebContent: Give the WebContentView a proper GUI::Frame look :^)Andreas Kling
2020-07-04WebContent: Translate mouse event coordinates into content spaceAndreas Kling
The WebContentView widget now passes content space coordinates along with the various mouse events. :^)
2020-07-04WebContent: Basic scrolling support! :^)Andreas Kling
The WebContentView widget now inherits from GUI::ScrollableWidget and will pass its scroll offset over to the WebContent process as it's changing. This is not super efficient and can get a bit laggy, but it will do fine as an initial scrolling implementation. Just like the single-process Web::PageView widget, WebContentView also paints scrolled content by translating the Gfx::Painter.
2020-07-04WebContent: Put some debug spam behind an #ifdefAndreas Kling
2020-07-04WebContent: Add a little text file I drew of the server/client classesAndreas Kling
2020-07-04TextEditor: Allow turning off the preview modeAndreas Kling
This patch adds a PreviewMode enum with the following values: - None - Markdown - HTML This makes it a bit more logical to implement exclusive behavior.
2020-07-04Base: Remove /home/anon/myfile.txtAndreas Kling
I added this file while originally testing the kernel's file system support. We have plenty of random files lying around these days. :^)
2020-07-04WebContent: Notify client when web content selection changesAndreas Kling
The WebContentView widgets reacts to this by requesting a repaint.
2020-07-04SystemMonitor: Change default update frequency to 3 secondsAndreas Kling
1 second is just too annoyingly jumpy when you're trying to grab something in the list.
2020-07-04LibGUI: Sort FileSystemModel alphabetically internallyAndreas Kling
This just makes everything nicer.
2020-07-04Base: Set a reasonable HoverHighlight color in Redmond themeAndreas Kling
Buttons turning deep blue when hovered was a bit too weird. :^)
2020-07-04LibGUI: Fix glitchy behavior in ScrollableWidget::scroll_into_view()Andreas Kling
This function relies on visible_content_rect() which could previously return rectangles with negative size. This was causing TableViews to scroll down a little bit when assigning a model to them. Also tweak the logic so we scroll a 0x0 rect into view, giving a slightly nicer final position.
2020-07-04SystemMonitor: New 16x16 icon in the same style as TerminalAndreas Kling
2020-07-04Taskbar: Don't wrap minimized window titles in []Andreas Kling
This actually looks a lot nicer without the [] and I'm not sure that the visual cue about minimization state was actually useful.
2020-07-04Base: New "generic window" icon based on the Terminal app iconAndreas Kling
2020-07-04Terminal: New 16x16 icon in a more '90s style :^)Andreas Kling
2020-07-04TextEditor: Tweak 16x16 iconAndreas Kling
In keeping with the slightly-higher-contrast theme.
2020-07-04Profiler: Use SortingProxyModel::set_sort_role()Andreas Kling
Use the new API to avoid duplicating code in the RunningProcessesModel.
2020-07-04WindowServer: Move window titles 1px to the rightAndreas Kling
This makes it look nicer with wide window icons.
2020-07-04LibGUI: Add SortingProxyModel::sort_role()Andreas Kling
This allows you to specify a role to sort by. Defaults to Role::Sort. Also reordered the Role enum so that Role::Custom is last.
2020-07-04Userspace: Remove a bunch of unnecessary Kernel/API/KeyCode.h includesAndreas Kling
2020-07-04Kernel: Move headers intended for userspace use into Kernel/API/Andreas Kling
2020-07-04LibGUI: Turn GUI::Application::the() into a pointerAndreas Kling
During app teardown, the Application object may be destroyed before something else, and so having Application::the() return a reference was obscuring the truth about its lifetime. This patch makes the API more honest by returning a pointer. While this makes call sites look a bit more sketchy, do note that the global Application pointer only becomes null during app teardown.
2020-07-04AK: Add Weakable::revoke_weak_ptrs()Andreas Kling
This allows you to clear all the WeakPtrs pointing at a Weakable *now* instead of waiting until the Weakable is destroyed.
2020-07-04LibGUI: Make GUI::Application a Core::ObjectAndreas Kling
Having this on the stack makes whole-program teardown iffy. Turning it into a Core::Object allows anyone who needs it to extends its lifetime.
2020-07-04Kernel: Add "child added" and "child removed" InodeWatcher eventsAndreas Kling
The child name is not yet accessible to userspace, but will be in a future patch.
2020-07-04Kernel: Remove debug spam in finalizer taskAndreas Kling
2020-07-04LibGUI: Respect per-index font when computing TreeView item rectsAndreas Kling
This makes the selected (currently shown in bold) item in HackStudio's project file view show up at the correct position.
2020-07-04Meta: Add ALT Linux packages to BuildInstructions.md (#2688)Petr Akhlamov
2020-07-04Meta: Show the outputs of failing tests in travisAnotherTest
2020-07-04LibC: Implement cf{g,s}et{i,o}speedAnotherTest
2020-07-04Kernel: Change the value of SO_KEEPALIVE to reflect LibC's constantAnotherTest
This change was partially introduced in 861eb8d, which changed the constant in LibC without changing the one in the kernel.
2020-07-04strace: Use ArgsParser for argument processingAnotherTest
2020-07-03LibWeb: Insert newlines at <br> and block boundaries in copied text :^)Andreas Kling
To make the plain text we copy out from LibWeb look at least somewhat like its original form, let's insert newlines at <br> elements and when we exit a block-level element. This is far from perfect, but seems to work pretty okay.
2020-07-03LibWeb: Add a "select all" action to the Web::PageViewAndreas Kling
This works by finding the very first and very last LayoutText nodes in the layout tree and then setting the selection bounds to those two nodes. For some reason it gets glitchy if we set the very first and very last *LayoutNode* as the selection bounds, but I didn't feel like investigating that too closely right now.
2020-07-03LibGUI: Add GUI::CommonActions::make_select_all_action() :^)Andreas Kling
2020-07-03Browser: Don't crash when inspecting an anonymous LayoutNodeAndreas Kling
Not all LayoutNodes have a corresponding DOM node.
2020-07-03LibWeb: Implement basic text copying :^)Andreas Kling
You can now press Ctrl+C to copy the selected text in a Web::PageView to the system clipboard. Very cool!
2020-07-03Base: Add TextEditor to the quick-launch area in the Taskbar :^)Andreas Kling
I'm always starting text editors by opening a Terminal and typing "te" which is a bit silly when I can have an icon for it instead!
2020-07-03Kernel: Remove /proc/PID/regsTom
There isn't an easy way to retreive all register contents anymore, so remove this functionality. We do have the ability to trace processes, so it shouldn't really be needed anymore.
2020-07-03Kernel: Fix retreiving frame pointer from a threadTom
If we're trying to walk the stack for another thread, we can no longer retreive the EBP register from Thread::m_tss. Instead, we need to look at the top of the kernel stack, because all threads not currently running were last in kernel mode. Context switches now always trigger a brief switch to kernel mode, and Thread::m_tss only is used to save ESP and EIP. Fixes #2678
2020-07-03LibC: Minor style fix for getresuid/getresgidNico Weber
2020-07-03LibC: Remove a few comments now that we have man pages for this.Nico Weber
2020-07-03Add man pages for seteuid() and friends.Nico Weber
Also add an overview page that explains the general concepts.
2020-07-03Kernel: Consolidate features into CPUFeature enumTom
This allows us to consolidate printing out all the CPU features into one log statement. Also expose them in /proc/cpuinfo
2020-07-03Kernel: Fix signal deliveryTom
When delivering urgent signals to the current thread we need to check if we should be unblocked, and if not we need to yield to another process. We also need to make sure that we suppress context switches during Process::exec() so that we don't clobber the registers that it sets up (eip mainly) by a context switch. To be able to do that we add the concept of a critical section, which are similar to Process::m_in_irq but different in that they can be requested at any time. Calls to Scheduler::yield and Scheduler::donate_to will return instantly without triggering a context switch, but the processor will then asynchronously trigger a context switch once the critical section is left.
2020-07-03Kernel: Allow recursion when writing to the debug logTom
This allows printing in the case e.g. a page fault happens during a log statement