summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-26LibWeb: Call requestAnimationFrame() callback with undefined this valueLinus Groh
We were leaking an empty value via the callback's this value: requestAnimationFrame(function () { this; // <-- empty value });
2021-03-26LibGUI: Show human readable size in filemanagerFederico Guerinoni
The size is visible only in TableView mode of the filemanager.
2021-03-26LibMarkdown: Remove unused Paragraph::add_line() declarationLinus Groh
2021-03-26Browser: Add right-click context menu item for editing bookmarksTimothy Flynn
This allows users to right-click on a bookmark button to open a small dialog for editing bookmark titles and URLs.
2021-03-26LibGUI: Allow assigning a value to a specific index in JsonArrayModelTimothy Flynn
2021-03-26AK: Allow assigning a value to a specific index in a JsonArrayTimothy Flynn
2021-03-26LibWeb: Compute height of absolutely positioned blocks when possibleTimothy Flynn
Section 10.6.4 rule 5 of the CSS height property spec outlines a method to compute the height of an absolutely positioned block when the 'top' and 'bottom' CSS properties are specified.
2021-03-26LibWeb: Consider floating children when computing auto-heightTimothy Flynn
The case for computing auto-height of block elements which have block- level children was erroneously skipping some children: 1. If the block element itself is absolute or floating, all children were skipped due to a likely typo ("box" vs. "child_box" inside the for-each loop). 2. Floating children should only be skipped if the block element's 'overflow' property computes to 'visible', per section 10.6.3 of the CSS height property spec. If the property computes to another value, section 10.6.7 only indicates that absolutely positioned children should be skipped.
2021-03-26Utilities: Add a simple "shot" utility for grabbing screenshots :^)Andreas Kling
This little CLI program grabs the current screen image from WindowServer and saves it as a PNG file.
2021-03-26WindowServer: Add an IPC call for taking a screenshotAndreas Kling
This patch adds Messages::WindowServer::GetScreenBitmap. It returns the currently displayed on-screen bitmap as-is, as a Gfx::ShareableBitmap.
2021-03-26LibWeb+WebContent: Support displaying favicons in OOPWVTimothy Flynn
In single process mode, the browser will display a page's favicon in both the location bar and tab. This adds the same support for multi- process mode.
2021-03-26Kernel: Remove unused WorkQueue::m_name.Michel Hermier
2021-03-26Kernel: Remove unused MBRPartitionTable::m_partitions_count.Michel Hermier
2021-03-26Kernel: Remove unused FileBlockCondition::m_file.Michel Hermier
2021-03-26Kernel: Remove unused EBRPartitionTable::m_partitions_count.Michel Hermier
2021-03-26Kernel: Remove unused AHCIPort::ScatterList::m_device_block_size.Michel Hermier
2021-03-26WindowServer: Keep menu open when activating a menu item with Ctrl heldAndreas Kling
This makes it easy to "try out" different options (like system themes!) in a menu without having to re-open the menu over and over. :^)
2021-03-26WindowServer: Redraw all menus on system theme changeAndreas Kling
2021-03-26WindowServer+LibGfx: Make menubar menus slightly largerAndreas Kling
Also make sure the left/right padding is equally large.
2021-03-26Taskbar: Add more prominent Help app icon in the start menuAndreas Kling
2021-03-26Taskbar: Move "About SerenityOS" to the top of the start menuAndreas Kling
2021-03-26WindowServer: Adjust position of flipped submenus by menu item heightLinus Groh
Fixes #5950.
2021-03-26WindowServer: Add clip rect to menubar painterLinus Groh
Fixes #5951.
2021-03-26WindowServer: Remove unused Menu->MenuBar link and "title font"Andreas Kling
We kept a backpointer from the Menu to its containing MenuBar, but it was not used for anything so let's remove it. Since all menus have the same font now, there's no need to track a separate "title font".
2021-03-26WindowServer: Redraw window menubars when moving with arrow keysAndreas Kling
Also, make sure we don't draw a menu in hovered state while another menu is open. Fixes #5949.
2021-03-26WindowServer: Remove some leftover unused menubar thingsAndreas Kling
2021-03-26Base: Remove SystemMenu from SystemServer.iniAndreas Kling
2021-03-25Taskbar: Only show H:M:S by default, move date to tooltipAndreas Kling
2021-03-25WindowServer+LibGUI: Remove the global menubar :^)Andreas Kling
This leaves menu applets running but invisible, and that's a regression we need to take care of obviously. But not today, because it's getting too late.
2021-03-25WindowServer: Don't fill the active menubar menu with selection colorAndreas Kling
2021-03-25Base: Tweak "Redmond 2000" theme menu colorsAndreas Kling
2021-03-25WindowServer: Remove "system menu" concept from WindowServerAndreas Kling
2021-03-25SystemMenu: Remove SystemMenu serviceAndreas Kling
This has been replaced by the Taskbar's start menu.
2021-03-25Taskbar: Add start menu :^)Andreas Kling
This will replace the system menu in the top left of the screen. The button behavior doesn't feel quite perfect yet, but this will work for now!
2021-03-25LibGUI: Make it possible to tweak icon spacing on a GUI::ButtonAndreas Kling
This is the space between the icon and the text on buttons that have both icon and text.
2021-03-25Base: Remove clock and username applets from startupAndreas Kling
The clock has moved to the taskbar, and let's see how we feel without the username being on screen all the time.
2021-03-25Taskbar: Integrate clock widget into taskbar windowAndreas Kling
Instead of running the clock widget as a separate menu applet, let's just draw a clock here in the taskbar window.
2021-03-25WindowServer: Remove SetApplicationMenubar IPC messageAndreas Kling
2021-03-25Userland: Turn all application menus into window menus :^)Andreas Kling
2021-03-25WindowServer: Remove the global app menuAndreas Kling
The SetApplicationMenu IPC message is still there, since we also need to clean up all of the client code before we can remove that.
2021-03-25WindowServer: Tweak the look of menusAndreas Kling
Paint menus with a flatter outline instead of giving them the regular window border.
2021-03-25Base: Tweak menu colors in default theme a little bitAndreas Kling
Let's brighten up the menu stripe for a slightly fresher look.
2021-03-25WindowServer+LibGfx: Show menus in windows! :^)Andreas Kling
This patch begins the transition away from the global menu towards per-window menus instead. The global menu looks neat, but has always felt clunky, and there are a number of usability problems with it, especially in programs with multiple windows. You can now call GUI::Window::set_menubar() to add a menubar to your window. It will be specific to that one window only.
2021-03-25LibGUI: Add GUI::MenuBar::menubar_id()Andreas Kling
Just exposing the menubar ID on the WindowServer side.
2021-03-25TextEditorWidget: Whitespace related optionslucastarche
2021-03-25TextEditor: Visualize leading whitespacelucastarche
2021-03-25TextEditorWidget: Added tab width submenulucastarche
2021-03-25TextEditor: Added a setter for soft_tab_widthlucastarche
2021-03-25LibJS: Use Utf8View for string prefix checksIdan Horowitz
This commit replaces the usage of String::starts_with with Utf8View::starts_with, which first decodes the utf8 encoded string, and as such can take things like overlong encoded sequences into account (which could otherwise cause the prefix check to be inconsistent with the following code points check).
2021-03-25AK: Add starts_with to Utf8ViewIdan Horowitz
Unlike String/StringView::starts_with this compares utf8 code points instead of "characters" (bytes), which is important when handling aribtary utf-8 input that could include overlong characters.