summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-17LibWeb: Make HTMLPreElement's is_type match "listing" and "xmp"Luke
I forgot to add these when I saw that listing and xmp are mapped to HTMLPreElement.
2020-08-17FileManager: Make DirectoryView vend indexes from view modelAndreas Kling
Instead of translating between the sorting proxy and the underlying file system model at all the DirectoryView API boundaries, just hand out indexes into the sorting proxy model. The only thing those indexes are used for on the outside is to retrieve a GUI::FileSystemModel::Node for an index, so add a nice helper on DirectoryView that turns a ModelIndex into a Node&.
2020-08-17LibGUI: Don't require passing model to FileSystemModel::Node APIsAndreas Kling
The Node API was obnoxiously requiring you to pass the model into it all the time, simply because nodes could not find their way back to the containing model. This patch adds a back-reference to the model and simplifies the API.
2020-08-17FileManager: Move the "create new file" action into DirectoryViewAndreas Kling
This makes it available in both desktop and windowed modes. :^)
2020-08-17FileManager: Move "create new directory" action into DirectoryViewAndreas Kling
This makes it available in both desktop and windowed mode. :^)
2020-08-17FileManager: Partially bring back the desktop context menuAndreas Kling
2020-08-17FileManager: Don't pass DirectoryView subview to hooks that don't careAndreas Kling
2020-08-17FileManager: Use DirectoryView for both windowed and desktop modeAndreas Kling
This patch begins the process of converting FileManager's desktop mode to using the DirectoryView class. This will allow us to share most of the code between the two different runtime modes of FileManager. We lose a bit of functionality in this patch, but we'll bring it back!
2020-08-17LibWeb: Add Node.textContentNico Weber
This requires moving remove_all_children() from ParentNode to Node, which makes ParentNode.cpp empty, so remove it. It also co-opts the existing Node::text_content() method and tweaks it slightly to fit the semantics of Node.textContent.
2020-08-17Clock MenuApplet: Use Core::DateTime to simplify the codeNico Weber
2020-08-17LibJS: Add toLocaleString(), toLocaleDateString(), toLocaleTimeString() to DateNico Weber
These just return a "readable" implementation of the date for now.
2020-08-17LibJS: Implement basic functionality of Array.from()Nico Weber
The optional 2nd and 3rd arguments are not yet implemented. This assumes that `this` is the Array constructor and doesn't yet implement the more general behavior in the ES6 spec that allows transferring this method to other constructors.
2020-08-17WindowServer: Close the framebuffer fd in ~Screen()Andreas Kling
2020-08-17Kernel: Bump process thread count to a 32-bit valueAndreas Kling
We should support more than 65535 threads, after all. :^)
2020-08-17LibWeb: Rename WebContentView => OutOfProcessWebViewAndreas Kling
2020-08-17LibWeb: Rename PageView => InProcessWebViewAndreas Kling
2020-08-17LibDebug: Don't include <Libraries/...>Andreas Kling
2020-08-17LibCrypto: Don't include <Libraries/...>Andreas Kling
2020-08-17HackStudio: Move everything into the HackStudio namespaceAndreas Kling
2020-08-17LibGUI: Add WidgetClassRegistration to Forward.hAndreas Kling
2020-08-17FileManager: Apply wallpaper on startupLuke
I noticed that nothing actually applies the wallpaper on startup. I wasn't sure where to put the responsibility, so I gave it to the desktop mode file manager. Also adds a save_config option to set_wallpaper so it doesn't needlessly save the config.
2020-08-17Shell: Ensure that the cursor starts on a new lineAnotherTest
And print an indicator when it doesn't, a la zsh.
2020-08-17LibLine: Add a getter for num_lines/num_colsAnotherTest
2020-08-17Solitaire: Rename "Restart game" menu item to "New game"Tibor Nagy
Also adding a shortcut (F2) to make it consistent with other games.
2020-08-17Games: Add missing separators to the application menusTibor Nagy
2020-08-17FileManager: Don't close() twice when copying a fileAndreas Kling
2020-08-17disasm: Use make<X86::ELFSymbolProvider> instead of naked newAndreas Kling
2020-08-17LibWeb: Change cursor to IBeam when hovering textAnicJov
This is what most browsers do, hopefully it isn't too silly :^)
2020-08-17Chess: Add Help menuitemAbu Sakib
2020-08-17Kernel: Don't use copy_from_user() for kernelspace read in perf eventsAndreas Kling
Fixes #3182.
2020-08-17malloc: Keep some stats and dump them at process exit if ↵Nico Weber
LIBC_DUMP_MALLOC_STATS is set Very bare-bones and barely useful. Can go away once the perf_event-based malloc tracking is further along.
2020-08-17Kernel: Emit ProcFS pledge/veil properties as "N/A" for kernel processesBrian Gianforcaro
Pledges and Veil state don't really make sense for kernel mode processes, as they can do what ever they want since they are in kernel mode. Make this clear in the system monitor UI by marking these entries as null.
2020-08-17LibCore: Fix unitialized struct member in to_address_in, found by CoverityBrian Gianforcaro
2020-08-17FileManager: Fix descriptor leak in copy_file, found by CoverityBrian Gianforcaro
2020-08-17FileManger: Fix file descriptor leak in copy_file_or_directory, found by ↵Brian Gianforcaro
Coverity
2020-08-17Userland: Explicitly ignore number of types read, found by CoverityBrian Gianforcaro
2020-08-17LibC: Missing varargs cleanup in ioctlBrian Gianforcaro
2020-08-17LibC: Missing varargs cleanup in fcntlBrian Gianforcaro
2020-08-17UserspaceEmulator: Extra format arguments in MallocTracker, found by CoverityBrian Gianforcaro
2020-08-17UserspaceEmulator: Identical code on both branches, unify return in virt$ioctlBrian Gianforcaro
2020-08-17UserspaceEmulator: Fix conditionally uninitialized locals in virt$selectBrian Gianforcaro
2020-08-17SystemMonitor: Uninitialized struct member in ProcessModel, found by CoverityBrian Gianforcaro
This is really a nop, as the cpu_percent is computed later. Zero the value just to keep things sane.
2020-08-17LibLine: Uninitialized members in Editor, found by CoverityBrian Gianforcaro
2020-08-17SoundPlayer: Uninitialized variable in SoundPlayerWidget, found by CoverityBrian Gianforcaro
2020-08-17LibThread: Uninitialized member variable in Thread, found by CoverityBrian Gianforcaro
2020-08-17Piano: Uninitialized member variables in RollWidet, found by CoverityBrian Gianforcaro
This seem like they wouldn't cause any problems in reality, but it's nice to fix them to avoid any future misuse.
2020-08-17Chess: Uninitialized member in PromotionalDialog, found by CoverityBrian Gianforcaro
2020-08-17LibWeb: Remove unused member in LayoutNodeWithStyle, found by CoverityBrian Gianforcaro
2020-08-17LibELF: Fix uninitialized member variable in DynamicLoader, found by CoverityBrian Gianforcaro
2020-08-17LibCompress: Fix uninitialized member variable in Zlib, found by CoverityBrian Gianforcaro