Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-10 | LibGUI: Add ColorInput component | Hüseyin ASLITÜRK | |
ColorInput is a new GUI component for selecting color using ColorPicker dialog. It is simplify usage of ColorPicker dialog and more elegant view of current selected color. | |||
2020-04-09 | LibGUI: Keep still-valid indexes in selection after a model update | Andreas Kling | |
This is a stop-gap patch solution for the annoying problem of models being bad at updating. At least the process table will retain your selection in SystemMonitor now. | |||
2020-04-07 | LibGUI: Thumbnail keep the aspect ratio of the original file. | VAN BOSSUYT Nicolas | |
2020-04-07 | LibGUI: Center the icon in ItemView when smaller than 32px. | VAN BOSSUYT Nicolas | |
2020-04-07 | Resources: Added filetype icon for object, library, text and unknown. | VAN BOSSUYT Nicolas | |
2020-04-07 | AK: Allow %m.nf specifier for double/float in printf to set fraction with | Emanuel Sprung | |
This patch adds the missing part for the printf of double values to specify the length of the fraction part. For GVariant, a default of %.2 is used. | |||
2020-04-06 | LibGUI: Added the new icons to FileSystemModel. | VAN BOSSUYT Nicolas | |
2020-04-06 | Meta: Add missing copyright headers | Andreas Kling | |
2020-04-06 | LibGUI: Add remove_tab and on_change to TabWidget | Oriko | |
2020-04-04 | LibGUI: Add MenuBar::add_menu(name) | Andreas Kling | |
This allows us to construct menus in a more natural way: auto& file_menu = menubar->add_menu("File"); file_menu.add_action(...); Instead of the old way: auto file_menu = GUI::Menu::construct(); file_menu->add_action(...); menubar->add_menu(file_menu); | |||
2020-04-04 | LibGUI: Make GUI::TabWidget::add_tab<T>() return a T& | Andreas Kling | |
Since the newly constructed sub-widget is owned by the TabWidget, we can simply return a T& here. :^) | |||
2020-04-04 | LibGUI: Fix CppLexer assertion on incomplete #include statements | Andreas Kling | |
Thanks to @NotKyon for reporting this bug with a solid analysis. Fixes #1488. | |||
2020-04-04 | LibGUI: Move ColorPicker's helper classes fully into ColorPicker.cpp | Andreas Kling | |
Since these are not used by the outside world, no need to expose them. | |||
2020-04-04 | LibGUI: Add color palette and custom color selection in the ColorPicker | Hüseyin ASLITÜRK | |
2020-04-03 | LibGUI: Clear any hovered index when the cursor leaves an AbstractView | Andreas Kling | |
2020-03-30 | LibGUI: Fix index invalidation | Sergey Bugaev | |
When the model gets updated, we have to let go of the old indexes, because they're invalid from that moment on. Fixes https://github.com/SerenityOS/serenity/issues/1541 | |||
2020-03-30 | LibGUI: Brighten icons when hovering items in item views | Andreas Kling | |
View classes now track their hovered item and paint them in a slightly brighter shade to liven up the user interface. :^) | |||
2020-03-30 | LibGUI: Brighten buttons when hovering over them :^) | Andreas Kling | |
2020-03-30 | WindowServer+NotificationServer: Vertical title bar for notifications | Andreas Kling | |
This patch adds a specialized window type for notifications. They now have a title bar on the right-hand side, with a close button. This removes the need for the "Done" button in notifications, giving us a bit more horizontal space overall. Design based on a mock-up from @xTibor :^) | |||
2020-03-30 | LibGUI: AboutDialog now inherits the icon of its parent window | Tibor Nagy | |
2020-03-29 | WindowServer: Use Gfx::ShareableBitmap for SetWindowIconBitmap | Andreas Kling | |
2020-03-29 | LibGfx+LibIPC: Add Gfx::ShareableBitmap, a bitmap for easy IPC usage | Andreas Kling | |
With this patch, it's now possible to pass a Gfx::ShareableBitmap in an IPC message. As long as the message itself is synchronous, the bitmap will be adopted by the receiving end, and disowned by the sender nicely without any accounting effort like we've had to do in the past. Use this in NotificationServer to allow sending arbitrary bitmaps as icons instead of paths-to-icons. | |||
2020-03-29 | LibGUI: Make Label::set_icon() take a const Gfx::Bitmap* | Andreas Kling | |
2020-03-29 | LibGUI: Desktop, add methods for set background color and wallpaper mode | Hüseyin ASLITÜRK | |
2020-03-29 | LibGUI: ComboBox, add "set_selected_index" method | Hüseyin ASLITÜRK | |
Easy way to set selected item. | |||
2020-03-27 | LibGUI: Add store(), add() and remove() methods to JsonArrayModel | Emanuel Sprung | |
This patchset adds the methods to alter an JSON model and store it back to the disk. | |||
2020-03-26 | NotificationServer: Allow showing an icon in notifications | Andreas Kling | |
We currently use icon paths for this because I didn't want to deal with implementing icon bitmap sharing right now. In the future it would be better to post a bitmap somehow instead of a path. | |||
2020-03-26 | LibGUI: Make a new connection to NotificationServer each time | Andreas Kling | |
Since NotificationServer is a spawn-on-demand + die-when-not-used type of service, we can't expect a singleton connection to it to remain open and useful. We solve this for now by making a new IPC connection for every new notification sent. Maybe there's a better solution for this. | |||
2020-03-22 | WindowServer+LibGUI: Add a way to get notified at display refresh rate | Andreas Kling | |
This patch adds GUI::DisplayLink, a mechanism for registering callbacks that will fire at the display refresh rate. Note that we don't actually know the screen refresh rate, but this is instead completely driven by WindowServer's compositing timer. For all current intents and purposes it does the job well enough. :^) | |||
2020-03-22 | LibGUI: Allow constructing Variant from FlyString | Andreas Kling | |
2020-03-22 | LibGUI: Don't spam WindowServer with SetWindowOverrideCursor messages | Andreas Kling | |
Remember the override cursor in GUI::Window and avoid sending a message to WindowServer when possible. This removes a lot of synchronous IPC between Browser and WindowServer, which noticeably improves DOM event responsiveness. :^) | |||
2020-03-19 | LibGUI: Remove G prefix from macros | Tibor Nagy | |
2020-03-19 | LibGUI: Remove friend classes of TextDocumentLine | Tibor Nagy | |
They were unused. Also GTextEditor doesn't exist anymore and GCC was silently ignoring this declaration. | |||
2020-03-19 | LibGUI: Remove remaining G prefixes | Tibor Nagy | |
2020-03-18 | HackStudio: Expand project tree view by default | Oriko | |
2020-03-16 | LibGUI: Add a ThemeChange event | Oriko | |
2020-03-16 | LibGUI: Use themes for syntax highlighting | Oriko | |
2020-03-14 | LibGUI: Highlight new JS tokens | Oriko | |
2020-03-13 | LibGUI: Add missing copyright headers | Oriko | |
2020-03-13 | LibGUI: Add Javascript syntax highlighter | Oriko | |
2020-03-13 | LibGUI: Abstract token pair matching | Oriko | |
2020-03-12 | HackStudio: Abstract over syntax highlighter | Oriko | |
2020-03-12 | LibGUI: Add underlines to highlighting | Oriko | |
2020-03-12 | LibGUI: Take scroll offset into account on ItemView rubberband selection | Tibor Nagy | |
Same kind of issue as #1271. | |||
2020-03-12 | LibGUI: Parse #include statements separately | Oriko | |
2020-03-12 | LibGUI: Track window visibility with a separate flag (#1424) | Alex Muscar | |
See https://github.com/SerenityOS/serenity/pull/1410 for the motivation. | |||
2020-03-11 | LibGUI: Don't update windows that aren't visible (#1410) | Alex Muscar | |
Because the ID of a hidden window is 0, the window server will fail to update them when the system theme is changed. This manifests when an application has multiple windows, some of which are hidden, and the system theme is changed (see https://github.com/SerenityOS/serenity/issues/1378). This PR changes the window code to ignore update messages if the window has the ID 0--is hidden. Ideally the window ID would not change, and visibility would be managed separately. | |||
2020-03-11 | LibGUI: Skip non-font files in the FontDatabase constructor | Tibor Nagy | |
2020-03-11 | LibGUI: Highlight various number literals | Oriko | |
2020-03-11 | LibGUI: Fix overflow crash in highlighter | Oriko | |